Search

EP-4738970-A1 - TASK PROCESSING METHOD AND APPARATUS

EP4738970A1EP 4738970 A1EP4738970 A1EP 4738970A1EP-4738970-A1

Abstract

A task processing method and an apparatus are provided, pertaining to the field of communication technologies, to support a terminal device in performing task processing in an inactive state, and reduce a delay, signaling overheads, and energy consumption of performing task processing by the terminal device, so that a device in the inactive state can still participate in task processing, thereby facilitating realization of an internet of things scenario. The method includes: A first communication apparatus receives a task, where the task is a non-session task; the first communication apparatus obtains first task data obtained by executing the task; and when sending of the first task data meets a first condition, the first communication apparatus sends the first task data to a second communication apparatus based on a small data transmission mechanism. The first communication apparatus is a terminal device, and the second communication apparatus is a network device; or the first communication apparatus is a network device, and the second communication apparatus is a terminal device. The terminal device is in the inactive state.

Inventors

  • YANG, LU
  • LIU, Zhe
  • PENG, CHENGHUI

Assignees

  • Huawei Technologies Co., Ltd.

Dates

Publication Date
20260506
Application Date
20230830

Claims (18)

  1. A task processing method, comprising: receiving, by a first communication apparatus, a task, wherein the task is a non-session task, and the first communication apparatus or a second communication apparatus that participates in the task is in an inactive state; obtaining, by the first communication apparatus, first task data obtained by executing the task; and when sending of the first task data meets a first condition, sending, by the first communication apparatus, the first task data to the second communication apparatus based on a small data transmission mechanism.
  2. The method according to claim 1, wherein that sending of the first task data meets the first condition comprises: a data volume of the first task data is less than or equal to a first threshold.
  3. The method according to claim 2, wherein the first threshold comprises a token (token) quantity threshold and/or an embedding (embedding) vector dimension threshold, and that the data volume of the first task data is less than or equal to the first threshold comprises: a quantity of tokens corresponding to the first task data is less than or equal to the token quantity threshold; or an embedding vector dimension corresponding to the first task data is less than or equal to the embedding vector dimension threshold.
  4. The method according to claim 2 or 3, wherein that sending of the first task data meets the first condition further comprises: quality of a channel between the first communication apparatus and the second communication apparatus is greater than or equal to a channel quality threshold of the small data transmission mechanism.
  5. The method according to any one of claims 1 to 4, wherein before sending, by the first communication apparatus, the first task data to the second communication apparatus based on the small data transmission mechanism, the method further comprises: sending, by the first communication apparatus, a task initiation request to the second communication apparatus based on the small data transmission mechanism, wherein the task initiation request comprises a task identifier of the task; and receiving, by the first communication apparatus, a task acknowledgment response sent by the second communication apparatus based on the small data transmission mechanism, wherein the task acknowledgment response comprises the task identifier of the task.
  6. The method according to any one of claims 1 to 5, wherein the method further comprises: sending, by the first communication apparatus based on the small data transmission mechanism, the task identifier corresponding to the first task data to the second communication apparatus.
  7. The method according to any one of claims 1 to 6, wherein the first communication apparatus is a terminal device, the second communication apparatus is a network device, and sending, by the first communication apparatus, the first task data to the second communication apparatus based on the small data transmission mechanism comprises: sending, by the first communication apparatus, the first task data to the second communication apparatus through a random access request in a two-step random access procedure; or sending, by the first communication apparatus, the first task data to the second communication apparatus through a radio resource control RRC resume request in a four-step random access procedure; or sending, by the first communication apparatus, the first task data to the second communication apparatus through an RRC resume request that is sent to the second communication apparatus on a configured grant resource.
  8. The method according to any one of claims 1 to 7, wherein the first communication apparatus is the terminal device, the second communication apparatus is the network device, the first communication apparatus is in the inactive state, and the method further comprises: when sending of the first task data does not meet the first condition, switching, by the first communication apparatus, to a connected state; and sending, by the first communication apparatus, the first task data to the second communication apparatus based on a non-small data transmission mechanism.
  9. The method according to any one of claims 1 to 7, wherein the first communication apparatus is the terminal device, the second communication apparatus is the network device, the first communication apparatus is in the inactive state, the first task data is an N th round of task data obtained by the first communication apparatus by executing the task, N is an integer greater than or equal to 1, and the method further comprises: when sending of second task data does not meet the first condition, switching, by the first communication apparatus, to a connected state, wherein the second task data is a K th round of task data obtained by the first communication apparatus by executing the task, and K is an integer greater than N; and sending, by the first communication apparatus, the second task data to the second communication apparatus based on a non-small data transmission mechanism.
  10. The method according to any one of claims 1 to 6, wherein the first communication apparatus is a network device, the second communication apparatus is a terminal device, and sending, by the first communication apparatus, the first task data to the second communication apparatus based on the small data transmission mechanism comprises: sending, by the first communication apparatus, the first task data to the second communication apparatus through an RRC release with suspend indication, wherein the RRC release with suspend indication is used to respond to an RRC resume request sent by the second communication apparatus.
  11. The method according to any one of claims 1 to 6 and claim 10, wherein the first communication apparatus is the network device, the second communication apparatus is the terminal device, the second communication apparatus is in the inactive state, and the method further comprises: when sending of the first task data does not meet the first condition, sending, by the first communication apparatus, a paging message to the second communication apparatus, wherein the paging message is used to trigger the second communication apparatus to switch to a connected state; and after the second communication apparatus switches to the connected state, sending, by the first communication apparatus, the first task data to the second communication apparatus based on a non-small data transmission mechanism.
  12. The method according to any one of claims 1 to 6 and claim 10, wherein the first communication apparatus is the network device, the second communication apparatus is the terminal device, the second communication apparatus is in the inactive state, the first task data is an N th round of task data obtained by the first communication apparatus by executing the task, N is an integer greater than or equal to 1, and the method further comprises: when sending of second task data does not meet the first condition, sending, by the first communication apparatus, a paging message to the second communication apparatus, wherein the paging message is used to trigger the second communication apparatus to switch to a connected state, the second task data is a K th round of task data obtained by the first communication apparatus by executing the task, and K is an integer greater than N; and after the second communication apparatus switches to the connected state, sending, by the first communication apparatus, the second task data to the second communication apparatus based on a non-small data transmission mechanism.
  13. The method according to any one of claims 1 to 12, wherein the small data transmission mechanism comprises: a random access small data transmission mechanism and/or a configured grant small data transmission mechanism.
  14. A communication apparatus, comprising a module or a unit configured to perform the method according to any one of claims 1 to 13.
  15. A communication apparatus, comprising a processor and an interface circuit, wherein the interface circuit is configured to: receive a signal from a communication apparatus other than the communication apparatus and transmit the signal to the processor, or send a signal from the processor to a communication apparatus other than the communication apparatus, and the processor is configured to implement the method according to any one of claims 1 to 13 through a logic circuit or by executing instructions.
  16. A computer program product, comprising a computer program or instructions, wherein when the computer program or the instructions are executed by a processor, the method according to any one of claims 1 to 13 is implemented.
  17. A chip system, wherein the chip system comprises a processor, the processor is configured to be coupled to a memory, the memory is configured to store a computer program or instructions, and when the computer program or the instructions are executed by the processor, the method according to any one of claims 1 to 13 is implemented.
  18. A computer-readable storage medium, wherein the storage medium stores a computer program or instructions, and when the computer program or the instructions are executed by a processor, the method according to any one of claims 1 to 13 is implemented.

Description

TECHNICAL FIELD This application relates to the field of communication technologies, and in particular, to a task processing method and an apparatus. BACKGROUND In new radio (new radio, NR), a terminal device has three different radio resource control (radio resource control, RRC) states: an idle (idle) state, an inactive (inactive) state, and a connected (connected) state. In a future-oriented intelligent inclusive scenario, a cloud (for example, a central node of cloud computing), an edge (for example, an edge device of cloud computing), a device (for example, a terminal device), and the like of a network need to collaborate to perform task processing. However, existing task processing usually requires the terminal device to be in the connected state. Therefore, a terminal device in the inactive state needs to switch to the connected state to complete task processing. Frequent state switching causes problems such as a long delay, high signaling overheads, and high energy consumption. Therefore, how to reduce a delay, signaling overheads, and energy consumption of performing task processing by the terminal device is a problem that needs to be considered. SUMMARY This application provides a task processing method and an apparatus, to support a terminal device in performing task processing in an inactive state, and reduce a delay, signaling overheads, and energy consumption of performing task processing by the terminal device. According to a first aspect, an embodiment of this application provides a task processing method. The method includes: A first communication apparatus receives a task, where the task is a non-session task, and the first communication apparatus or a second communication apparatus that participates in the task is in an inactive state; the first communication apparatus obtains first task data obtained by executing the task; and when sending of the first task data meets a first condition, the first communication apparatus sends the first task data to the second communication apparatus based on a small data transmission mechanism. In the foregoing task processing method, the first communication apparatus may be a terminal device, a component (for example, a processor, a chip, or a chip system) of a terminal device, or an apparatus used in combination with a terminal device; and the second communication apparatus may be a network device, a component (for example, a processor, a chip, or a chip system) of a network device, or an apparatus used in combination with a network device. Alternatively, the first communication apparatus may be a network device, a component (for example, a processor, a chip, or a chip system) of a network device, or an apparatus used in combination with a network device; and the second communication apparatus may be a terminal device, a component (for example, a processor, a chip, or a chip system) of a terminal device, an apparatus used in combination with a terminal device, or the like. A communication apparatus corresponding to the terminal device, the component (for example, the processor, the chip, or the chip system) of the terminal device, or the apparatus used in combination with the terminal device is in the inactive state. According to the foregoing method, the terminal device in the inactive state is enabled to complete the task based on the small data transmission mechanism. In comparison with a case in which the terminal device needs to switch to a connected state to perform task processing, a quantity of switching times of the terminal device between the inactive state and the connected state can be effectively reduced, thereby reducing the delay, the signaling overheads, and the energy consumption of the terminal device during task processing. In a possible design, that sending of the first task data meets the first condition includes: a data volume of the first task data is less than or equal to a first threshold. It may be understood that, when the first communication apparatus receives a plurality of tasks, and the first communication apparatus executes the plurality of tasks to obtain a plurality of pieces of first task data, if the first communication apparatus sends the plurality of pieces of first task data together based on the small data transmission mechanism, a total data volume of the plurality of pieces of first task data should be less than or equal to the first threshold; or if the first communication apparatus separately sends the plurality of pieces of first task data based on the small data transmission mechanism, a data volume of each first task in the plurality of pieces of first task data should be less than or equal to the first threshold. According to the foregoing design, it can be ensured that the task data sent based on the small data transmission mechanism meets a transmission data volume threshold of the small data transmission mechanism, and reliability of task data transmission is ensured. In a possible design, the first th