[core] Request comments on draft-li-coap-task-resources-00

Linzhe Li <lilz@zgclab.edu.cn> Fri, 03 July 2026 03:39 UTC

Return-Path: <lilz@zgclab.edu.cn>
X-Original-To: core@mail2.ietf.org
Delivered-To: core@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 7B43C10D3F558 for <core@mail2.ietf.org>; Thu, 2 Jul 2026 20:39:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783049963; bh=J+ZQHmN/psUt10drg/3jg+h0CGActuj83V2AsyNI/XQ=; h=Date:From:To:Subject; b=lwAEn1xdjP7HjSNEmbXhAsPVUxCvF4hOa+huX0jfbQvuot9+l5n6QmHGHrpaJx3SE Fj6YPdKIEi18nSWgw+g0+gZongQymOBHxWdMWRMWnGv/wsYCBUByCLvd7QyLfAWsfa AdZPZZC3EP0n08TaL7V6kL9XK255nzF1YvKLpChQ=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=zgclab.edu.cn
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CH9PHn7hKDbX for <core@mail2.ietf.org>; Thu, 2 Jul 2026 20:39:17 -0700 (PDT)
Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [13.75.44.102]) by mail2.ietf.org (Postfix) with ESMTP id B103110D3F2C3 for <core@ietf.org>; Thu, 2 Jul 2026 20:36:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zgclab.edu.cn; s=dkim; h=Received:Date:From:To:Subject: Content-Type:MIME-Version:Message-ID; bh=J+ZQHmN/psUt10drg/3jg+h 0CGActuj83V2AsyNI/XQ=; b=l1Ibxke2/P+2OzXAiniQGf+XjlM2yTvi4CCnTsl pK6O4k6NrHIkhhS5ZlV6RSSAoLt7G5B2kNXKC/L8m0A8M46Kyk6B/a4cK6A1c+Dl k+HmGjqwoj5qW0O1AWX/tSZEUh4AR3nsLWJyvqAOHhS8subI0CKgNoeOFuk49krK 8Jhk=
Received: from lilz$zgclab.edu.cn ( [58.206.210.181] ) by ajax-webmail-web2 (Coremail) ; Fri, 3 Jul 2026 11:36:15 +0800 (GMT+08:00)
X-Originating-IP: [58.206.210.181]
Date: Fri, 03 Jul 2026 11:36:15 +0800
X-CM-HeaderCharset: UTF-8
From: Linzhe Li <lilz@zgclab.edu.cn>
To: core@ietf.org
X-Priority: 3
X-Mailer: Coremail Webmail Server Version 2024.2-cmXT5 build 20250909(015d6f0a) Copyright (c) 2002-2026 www.mailtech.cn mispb-4df55a87-4b50-4a66-85a0-70f79cb6c8b5-tsinghua.edu.cn
Content-Type: multipart/alternative; boundary="----=_Part_2045277_802932001.1783049775297"
MIME-Version: 1.0
Message-ID: <60853342.8e7e5.19f260c68c1.Coremail.lilz@zgclab.edu.cn>
X-Coremail-Locale: zh_CN
X-CM-TRANSID: yQQGZQC3k5svLkdqrmu1Ag--.17371W
X-CM-SenderInfo: holo6qx2jfztveohv3gofq/1tbiAQYRCGpG5LFtxgABsN
X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWDJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU=
Message-ID-Hash: ZMDJAY3PI5JWSQ5QTF3JPABESMWGH7FT
X-Message-ID-Hash: ZMDJAY3PI5JWSQ5QTF3JPABESMWGH7FT
X-MailFrom: lilz@zgclab.edu.cn
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-core.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [core] Request comments on draft-li-coap-task-resources-00
List-Id: "Constrained RESTful Environments (CoRE) Working Group list" <core.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/4-ih7H4xXQKrAJu5lJZAPDnI1SY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Owner: <mailto:core-owner@ietf.org>
List-Post: <mailto:core@ietf.org>
List-Subscribe: <mailto:core-join@ietf.org>
List-Unsubscribe: <mailto:core-leave@ietf.org>

Hi ALL,

We have prepared an individual draft that standardizes the abstraction of asynchronous operations as CoAP task resources. Draft details are as follows:

CoAP Extensions for Asynchronous Task Resources

draft-li-coap-task-resources-00




Motivation:Many CoAP deployments involve long-running operations unfit for one request-response round trip, such as firmware upgrade, diagnostics and automation tasks.

Today these tasks are handled via proprietary methods: custom task URIs in payloads, repeated resource polling, vendor-defined Observe payloads or profile-specific state machines.

These schemes only work within one profile, blocking cross-device/cross-profile interoperability for standard CoAP clients, gateways and management systems.




Lightweight CoAP Task Resource Interaction Pattern Proposed in the Draft:

●Upon receiving a request for an asynchronous operation, the server creates a temporary task resource.

●The response carries a link pointing to the task resource, which can reuse Location-family options, optionally alongside a dedicated Progress-Link option.

●Clients may retrieve the task resource via GET or subscribe to it via Observe to continuously monitor task status.

●Where permitted by the upper-layer application profile, clients can modify task configurations using PATCH/iPATCH or cancel the task via DELETE.

●Task status is described in a unified CBOR binary format with standardized states: pending, active, completed, failed, aborted, and rejected.

●Subresources reporting numeric task states and progress values can directly reuse the conditional query parameters already defined for the CoAP Observe mechanism.




This draft omits device capability/operation semantic models and new Observe filter options, focusing on CoAP resource patterns while maximizing reuse of existing mechanisms.

We welcome feedback from the Working Group on whether this standardization topic falls within the scope of CoRE’s charter, and how this specification can best align with existing CoRE deliverables.




All comments and improvement suggestions are highly appreciated.




Best regards,

Linzhe

Beijing ZGC Lab