Communication method and apparatus

By sending service data progress information from the terminal device to the network device during handover or RRC connection reconstruction, the problem of network devices being unable to complete task-level transmission on time is solved, thus achieving reliability and low latency in task-level transmission.

WO2026026403A1PCT designated stage Publication Date: 2026-02-05HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/105101
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-30
Filing Date
2025-06-28
Publication Date
2026-02-05

AI Technical Summary

Technical Problem

When terminal devices and network devices are transmitting data at the task level, the terminal device may connect to other network devices, causing the task to fail to complete on time and affecting the user experience.

Method used

During handover or RRC connection reconstruction, the terminal device sends progress information of the first service data, including data volume and time information, to the first network device so that the first network device can perceive the remaining data volume and remaining time, ensure that the transmission can be completed on time, and notify the terminal device through confirmation information whether the task-level transmission can be completed.

Benefits of technology

This avoids business disruptions caused by network devices failing to complete task-level transmissions on time, reduces latency, and ensures business continuity and quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025105101_05022026_PF_FP_ABST
    Figure CN2025105101_05022026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a communication method and apparatus. The method comprises: in the case of a handover or in the case of radio resource control (RRC) connection reestablishment, a terminal device or a second network device sending progress information of first service data to a first network device, wherein the progress information comprises information of the data volume of the first service data and / or information of time of the first service data; alternatively, in the case of a handover or RRC connection reestablishment, the terminal device terminating the transmission of the first service data. The first network device is a network device accessed by the terminal device after the RRC connection reestablishment, and the second network device is a network device accessed by the terminal device before the RRC connection reestablishment. When a terminal device accesses a first network device, the method can prevent the first network device from affecting a service corresponding to first service data due to a lack of awareness of progress information of the first service data.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and apparatus

[0001] The present application claims priority to the Chinese patent application No. 202411035329.1, filed on July 30, 2024, entitled "Communication method and apparatus", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] Embodiments of the present application relate to the field of communication technology, in particular to a communication method and apparatus. BACKGROUND

[0003] Currently, the data transmission requirement is usually at the data packet level, for example, each data packet on a data stream has its corresponding delay requirement. For task-level transmission, since a task contains many data packets, the task-related delay requirement is required when transmitting the data of the task. The task-level transmission can be applied to end-cloud collaborative services, such as cloud-based photo enhancement services and cloud-based game enhancement services.

[0004] When the terminal device accesses other network devices during the task-level transmission process of the terminal device and the network device, the transmission of the task often cannot be completed on time, thereby affecting the user experience. SUMMARY

[0005] The present application discloses a communication method and apparatus, which can avoid affecting the corresponding service of the first service data when the terminal device accesses the first network device during the transmission of the first service data by the terminal device and the second network device.

[0006] The present application will be described from different aspects below. It should be understood that the implementation and advantages of the different aspects below can be mutually referred to.

[0007] In a first aspect, the present application discloses a communication method, which can be executed by a terminal device or a module (for example, a chip) in the terminal device. The method can include: sending first progress information of first service data to a first network device in a handover case or in a radio resource control (RRC) connection reestablishment case; wherein the first progress information includes information of a data amount of the first service data, and / or information of a time of the first service data.

[0008] In the embodiments of the present application, the first network device can perceive the progress information of the data volume and time of the first service data after obtaining the first progress information of the first service data of the terminal device, so as to avoid that the first network device does not complete the transmission of the first service data in time or does not notify the terminal device in time because of no perception of the progress information of the first service data, thereby causing an impact on the service corresponding to the first service data.

[0009] With reference to the first aspect, in a possible implementation, the information of the data volume of the first service data includes information of a remaining data volume of the first service data, the remaining data volume being obtained according to the first data volume and the second data volume; the information of the time of the first service data includes information of a remaining time of the first service data, the remaining time being obtained according to the first time and the second time; the first data volume is a total data volume of the first service data that can be transmitted by the second network device within the first time, and the second data volume is a data volume of the first service data that has been transmitted by the terminal device within the second time; the first network device is a network device accessed by the terminal device after switching or RRC connection reestablishment, and the second network device is a network device accessed by the terminal device before switching or RRC connection reestablishment.

[0010] The information of the data volume of the first service data is used to indicate the remaining data volume of the first service data, and the information of the time of the first service data is used to indicate the remaining time of the first service data; the first data volume can be a total data volume of the first service data; if the first network device is a network device accessed by the terminal device after switching, the second network device is a network device accessed by the terminal device before switching; if the first network device is a network device accessed by the terminal device after RRC connection reestablishment, the second network device is a network device accessed by the terminal device before RRC connection reestablishment.

[0011] In the embodiments of the present application, the first network device can obtain the remaining data volume and the remaining time of the first service data, so as to determine whether the first network device can complete the transmission of the remaining data volume within the remaining time, thereby avoiding that the first network device does not notify the terminal device in time because of being unable to complete the transmission of the first service data in time, thereby causing an impact on the service corresponding to the first service data.

[0012] With reference to the first aspect, in a possible implementation, the first progress information further includes first information, the first information being used to indicate whether the terminal device has generated the first service data.

[0013] With reference to the first aspect, in a possible implementation, the method further includes: receiving first confirmation information from the first network device, the first confirmation information being used to indicate whether the first network device can complete the transmission of the first service data.

[0014] In the embodiments of the present application, in the RRC connection reestablishment / handover scenario, the terminal device sends first progress information to the first network device, the first network device sends first confirmation information determined based on the first progress information to the terminal device, and the first confirmation information is used to indicate whether the first network device can complete transmission of the first service data, so that the terminal device can learn as soon as possible whether the first network device can complete transmission of the first service data (which can also be referred to as task-level transmission), and if the first network device cannot complete transmission of the first service data, the terminal device can start local processing as soon as possible, thereby reducing the time delay and avoiding affecting the service corresponding to the first service data.

[0015] In combination with the first aspect, in a possible implementation manner, the first confirmation information includes second information or third information, wherein the second information is used to indicate that the first network device can complete transmission of the first service data, and the third information is used to indicate that the first network device cannot complete transmission of the first service data.

[0016] For example, the first confirmation information is used to indicate whether the first network device can complete transmission of the remaining data amount of the first service data within the remaining time, the second information is used to indicate that the first network device can complete transmission of the remaining data amount of the first service data within the remaining time, and the third information is used to indicate that the first network device cannot complete transmission of the remaining data amount of the first service data within the remaining time.

[0017] In combination with the first aspect, in a possible implementation manner, the first confirmation information includes third information, and the first confirmation information further includes information of a third data amount and / or information of a third time, wherein the third data amount is an amount of data that the first network device can complete transmission of within the third time.

[0018] In the embodiments of the present application, the first network device can also send transmission capability of the first network device to the terminal device, such as the information of the third data amount and / or the information of the third time. This method can help the terminal device to determine whether to perform local processing based on the transmission capability of the first network device, thereby avoiding that the terminal device is unaware of the transmission capability of the first network device, and thus affecting the service corresponding to the first service data.

[0019] In combination with the first aspect, in a possible implementation manner, in the case of handover, the sending of the first confirmation information includes: at the time of completion of the handover, or after completion of the handover, or during the handover; in the case of RRC connection reestablishment, the sending of the first confirmation information includes: at the time of completion of the RRC connection reestablishment, or after completion of the RRC connection reestablishment, or during the RRC connection reestablishment.

[0020] With reference to the first aspect, in a possible implementation manner, the sending, to the first network device, of the first progress information of the first service data upon completion of the switching comprises: sending the first progress information to the first network device in a switching completion message or an RRC reconfiguration completion message; or the sending, to the first network device, of the first progress information of the first service data after completion of the switching comprises: sending the first progress information to the first network device after sending the switching completion message or the RRC reconfiguration completion message; or the sending, to the first network device, of the first progress information of the first service data during the switching comprises: sending the first progress information to the first network device after receiving an RRC reconfiguration message from the first network device; or the sending, to the first network device, of the first progress information of the first service data upon completion of the RRC connection reestablishment comprises: sending the first progress information to the first network device in an RRC connection reestablishment completion message; or the sending, to the first network device, of the first progress information of the first service data after completion of the RRC connection reestablishment comprises: sending the first progress information to the first network device after sending the RRC connection reestablishment completion message; or the sending, to the first network device, of the first progress information of the first service data during the RRC connection reestablishment comprises: sending the first progress information to the first network device in an RRC connection reestablishment request message.

[0021] With reference to the second aspect, the present application discloses a communication method, which can be executed by a first network device or a module (for example, a chip) in the first network device, and can comprise: receiving, in a case of switching or in a case of RRC connection reestablishment, first progress information of first service data sent by a terminal device; wherein the first progress information comprises information of a data amount of the first service data, and / or information of a time of the first service data.

[0022] With reference to the second aspect, in a possible implementation manner, the information of the data amount of the first service data comprises information of a remaining data amount of the first service data, the remaining data amount being obtained according to a first data amount and a second data amount; the information of the time of the first service data comprises information of a remaining time of the first service data, the remaining time being obtained according to a first time and a second time; the first data amount is a total data amount of the first service data that can be transmitted by a second network device within the first time, the second data amount is a data amount of the first service data that has been transmitted by the terminal device within the second time; the first network device is a network device to which the terminal device accesses after the switching or the RRC connection reestablishment, and the second network device is a network device to which the terminal device accesses before the switching or the RRC connection reestablishment.

[0023] With reference to the second aspect, in a possible implementation manner, the first progress information further comprises first information, the first information being used to indicate whether the terminal device has generated the first service data.

[0024] With reference to the second aspect, in a possible implementation manner, the method further includes: sending, to the terminal device, first confirmation information, the first confirmation information being used to indicate whether the first network device can complete transmission of the first service data.

[0025] With reference to the second aspect, in a possible implementation manner, the first confirmation information includes second information or third information, where the second information is used to indicate that the first network device can complete transmission of the first service data, and the third information is used to indicate that the first network device cannot complete transmission of the first service data.

[0026] With reference to the second aspect, in a possible implementation manner, the first confirmation information includes the third information, and the first confirmation information further includes: information of a third data amount, and / or information of a third time; where the third data amount is an amount of data that the first network device can complete transmission of within the third time.

[0027] With reference to the second aspect, in a possible implementation manner, in the case of handover, the receiving the first progress information of the first service data sent by the terminal device includes: receiving the first progress information in a handover completion message or an RRC reconfiguration complete message sent by the terminal device; or in the case of RRC connection reestablishment, the receiving the first progress information of the first service data sent by the terminal device includes: receiving the first progress information in an RRC connection reestablishment completion message sent by the terminal device.

[0028] With reference to the second aspect, in a possible implementation manner, in the case of handover, the receiving the first progress information of the first service data sent by the terminal device includes: receiving the first progress information in a handover completion message or an RRC reconfiguration complete message sent by the terminal device; or in the case of RRC connection reestablishment, the receiving the first progress information of the first service data sent by the terminal device includes: receiving the first progress information in an RRC connection reestablishment completion message sent by the terminal device.

[0029] In a third aspect, the present application discloses a communication method, which can be executed by a second network device or a module (for example, a chip) in the second network device. The method can include: receiving first information from a first network device, the first information being used to request context information of a terminal device; and sending second progress information of first service data of the terminal device to the first network device, wherein the second progress information includes information of a data volume of the first service data and / or information of a time of the first service data; the first network device is a network device accessed by the terminal device after RRC connection reestablishment, and the second network device is a network device accessed by the terminal device before RRC connection reestablishment.

[0030] In the embodiments of the present application, the first network device can perceive the progress information such as the data volume and the time of the first service data after obtaining the second progress information of the first service data of the terminal device, thereby avoiding the first network device from not completing the transmission of the first service data in time or not notifying the terminal device in time due to the lack of perception of the progress information of the first service data, and thus causing an impact on the service corresponding to the first service data.

[0031] In combination with the third aspect, in a possible implementation manner, the first information is carried in extract user equipment (UE) context request information, and / or the second progress information is carried in extract UE context response information.

[0032] In combination with the third aspect, in a possible implementation manner, the information of the data volume of the first service data includes information of a remaining data volume of the first service data, the remaining data volume being obtained according to a first data volume and a second data volume; the information of the time of the first service data includes information of a remaining time of the first service data, the remaining time being obtained according to a first time and a second time; the first data volume is a total data volume of the first service data that can be transmitted by the second network device within the first time, and the second data volume is a data volume of the first service data that has been transmitted by the terminal device within the second time.

[0033] In the embodiments of the present application, the first network device can obtain the remaining data volume and the remaining time of the first service data, thereby determining whether the first network device can complete the transmission of the remaining data volume within the remaining time, thereby avoiding the first network device from not notifying the terminal device in time due to the inability to complete the transmission of the first service data in time, and thus causing an impact on the service corresponding to the first service data.

[0034] In a fourth aspect, a communication method is disclosed, which can be performed by a first network device or a module (e.g., a chip) in the first network device. The method can include: sending, to a second network device, first information, the first information being used to request context information of a terminal device; receiving second progress information of first service data of the terminal device sent by the second network device; wherein the second progress information includes information of a data amount of the first service data, and / or information of a time of the first service data; the first network device is a network device accessed by the terminal device after RRC connection reestablishment, and the second network device is a network device accessed by the terminal device before the RRC connection reestablishment.

[0035] With reference to the fourth aspect, in a possible implementation, before the first information is sent to the second network device, the method further includes: receiving second information sent by the terminal device, the second information being used to request reestablishment of an RRC connection.

[0036] With reference to the fourth aspect, in a possible implementation, the method further includes: sending, to the terminal device, first confirmation information, the first confirmation information being used to indicate whether the first network device can complete transmission of the first service data.

[0037] In the embodiments of the present application, in the RRC connection reestablishment / handover scenario, the second network device sends the second progress information to the first network device, the first network device sends the first confirmation information determined based on the first progress information to the terminal device, and the first confirmation information is used to indicate whether the first network device can complete transmission of the first service data, so that the terminal device can learn as soon as possible whether the first network device can complete transmission of the first service data (which can also be referred to as task-level transmission), and if the first network device cannot complete transmission of the first service data, the terminal device can start local processing as early as possible, thereby reducing the time delay and avoiding affecting the service corresponding to the first service data.

[0038] With reference to the fourth aspect, in a possible implementation, the first confirmation information includes third information or fourth information, wherein the third information is used to indicate that the first network device can complete transmission of the first service data, and the fourth information is used to indicate that the first network device cannot complete transmission of the first service data.

[0039] With reference to the fourth aspect, in a possible implementation, the first confirmation information includes the fourth information, and the first confirmation information further includes information of a third data amount and / or information of a third time; wherein the third data amount is an amount of data that can be transmitted by the first network device within the third time.

[0040] With reference to the fourth aspect, in a possible implementation manner, the information of the data amount of the first service data includes information of a remaining data amount of the first service data, the remaining data amount being obtained according to the first data amount and the second data amount; the information of the time of the first service data includes information of a remaining time of the first service data, the remaining time being obtained according to the first time and the second time; the first data amount is a total data amount of the first service data that can be transmitted by the second network device within the first time, and the second data amount is a data amount of the first service data that has been transmitted by the terminal device within the second time.

[0041] With reference to the fifth aspect, the present application discloses a communication method, which can be executed by a terminal device or a module (for example, a chip) in the terminal device. The method can include: ending transmission of first service data in a case of handover or RRC connection reestablishment.

[0042] In the embodiments of the present application, in the RRC connection reestablishment / handover scenario, the terminal device gives up the task-level transmission as soon as possible, so that the terminal device can start local processing as soon as possible, and avoid affecting the service corresponding to the first service data due to the network device being unable to complete the transmission of the first service data on time after the handover or RRC connection reestablishment.

[0043] With reference to the fifth aspect, in a possible implementation manner, ending the transmission of the first service data includes: discarding the first service data.

[0044] With reference to the fifth aspect, in a possible implementation manner, in the case of handover or RRC connection reestablishment includes: satisfying a first condition; wherein the first condition includes at least one of the following: receiving an RRC reconfiguration message from the first network device; or, sending a handover complete message or an RRC reconfiguration complete message to the first network device; or, triggering RRC connection reestablishment; or, sending an RRC connection reestablishment request message to the first network device; or, receiving an RRC connection reestablishment message or an RRC connection setup message from the first network device; or, sending an RRC connection reestablishment complete message to the first network device; wherein the first network device is a network device accessed by the terminal device after handover or RRC connection reestablishment, and the second network device is a network device accessed by the terminal device before RRC connection reestablishment.

[0045] With reference to the sixth aspect, the present application provides a communication apparatus, which can be a terminal device or a chip / circuit therein. The communication apparatus is configured to perform the method in the first aspect, or the fifth aspect or any possible implementation manner of any of the aspects. The communication apparatus includes a unit configured to perform the method in the first aspect, or the fifth aspect or any possible implementation manner of any of the aspects.

[0046] In a seventh aspect, the present application provides a communication apparatus, which can be a network device or a chip / circuit therein. The communication apparatus is configured to perform the method in the second aspect, or any possible implementation of the third aspect, or the fourth aspect, or any of the aspects. The communication apparatus comprises a unit configured to perform the method in the second aspect, or any possible implementation of the third aspect, or the fourth aspect, or any of the aspects.

[0047] In the sixth aspect or the seventh aspect, the communication apparatus can comprise a transceiver unit and a processing unit. The specific description of the transceiver unit and the processing unit can also be referred to the apparatus embodiments shown below. The beneficial effects of the sixth aspect to the seventh aspect can be referred to the related description of the first aspect to the fifth aspect, which will not be described here.

[0048] In an eighth aspect, the present application provides a communication apparatus, which can comprise a processor and an interface circuit, which are connected. The interface circuit is configured to interact (or transceive or input / output) information or data, and the processor is configured to run program instructions, so that the communication apparatus performs the method described in the first aspect, or the second aspect, or the third aspect, or the fourth aspect, or the fifth aspect, or any possible implementation of any of the aspects. The interface circuit can be a communication interface, or a transceiver. The transceiver can be a radio frequency module in the communication apparatus, or a combination of a radio frequency module and an antenna, or an input / output interface of a chip or circuit.

[0049] In a ninth aspect, the present application provides a readable storage medium, which stores program instructions, when the program instructions are run on a computer, the computer performs the method described in the first aspect, or the second aspect, or the third aspect, or the fourth aspect, or the fifth aspect, or any possible implementation of any of the aspects.

[0050] In a tenth aspect, the present application provides a program product comprising program instructions, when the program instructions are run, the method described in the first aspect, or the second aspect, or the third aspect, or the fourth aspect, or the fifth aspect, or any possible implementation of any of the aspects is performed.

[0051] In an eleventh aspect, the present application provides an apparatus, which can be implemented in a form of a chip or a device. The apparatus includes a processor. The processor is configured to read and execute a program stored in a memory, so as to execute the method provided in any one or more of the first aspect, or the second aspect, or the third aspect, or the fourth aspect, or the fifth aspect, or any possible implementation of any of the aspects. Optionally, the apparatus further includes the memory, which is connected to the processor by an electrical circuit. Further optionally, the apparatus further includes a communication interface, which is connected to the processor. The communication interface is configured to receive information to be processed. The processor acquires the information from the communication interface, processes the information, and outputs the processing result through the communication interface. The communication interface can be an input / output interface.

[0052] In a possible implementation, the processor and the memory can be physically independent units, or the memory can be integrated with the processor.

[0053] In a twelfth aspect, the present application provides a communication system, which includes a terminal device and a first network device. The terminal device is configured to execute the method described in the first aspect or any possible implementation of the first aspect. The first network device is configured to execute the method described in the second aspect or any possible implementation of the second aspect. Alternatively, the communication system includes a first network device and a second network device. The second network device is configured to execute the method described in the third aspect or any possible implementation of the third aspect. The first network device is configured to execute the method described in the fourth aspect or any possible implementation of the fourth aspect.

[0054] The technical effects achieved by the above aspects can be referred to each other or the beneficial effects shown in the method embodiments below, which will not be described here. BRIEF DESCRIPTION OF DRAWINGS

[0055] FIG. 1 is a flow diagram of service data transmission according to an embodiment of the present application;

[0056] FIG. 2A is a flow diagram of RRC connection reestablishment according to an embodiment of the present application;

[0057] FIG. 2B is a flow diagram of cell switching according to an embodiment of the present application;

[0058] FIG. 3 is a system architecture diagram of a communication system according to an embodiment of the present application;

[0059] FIG. 4 is a flow diagram of a communication method according to an embodiment of the present application;

[0060] FIG. 5 is a flow diagram of another communication method according to an embodiment of the present application;

[0061] FIG. 6 is a flow diagram of another communication method according to an embodiment of the present application;

[0062] FIG. 7 is a flow diagram of another communication method according to an embodiment of the present application;

[0063] FIG. 8 is a flow diagram of another communication method according to an embodiment of the present application;

[0064] FIG. 9 is a flow diagram of another communication method according to an embodiment of the present application;

[0065] FIG. 10 is a flow diagram of another communication method according to an embodiment of the present application;

[0066] FIG. 11 is a flow diagram of another communication method according to an embodiment of the present application;

[0067] FIG. 12 is a schematic diagram of a structure of a communication apparatus according to an embodiment of the present application;

[0068] FIG. 13 is a schematic diagram of another structure of a communication apparatus according to an embodiment of the present application;

[0069] FIG. 14 is a schematic diagram of another structure of a communication apparatus according to an embodiment of the present application. DETAILED DESCRIPTION

[0070] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B; "and / or" in this document only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0071] Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more features. In the description of the embodiments, unless otherwise specified, the meaning of "multiple" is two or more than two.

[0072] Furthermore, the term "comprising" and "including" and their variants are intended to be open-ended, and do not exclude additional, unrecited elements or method steps. For example, processes, methods, systems, products, or apparatuses that comprise a list of steps or elements as a part of a more general list of steps or elements do not, without further constraints, require the presence of the more general list in order to fall within the scope of the processes, methods, systems, products, or apparatuses. The term "consisting of" and its variants, are intended to be closed, and exclude additional, unrecited elements or method steps. For example, processes, methods, systems, products, or apparatuses that consist of a list of steps or elements as a part of a more general list of steps or elements require the presence of the more general list in order to fall within the scope of the processes, methods, systems, products, or apparatuses.

[0073] In the present embodiments, the word "exemplary" or "for example" is used to mean "an example of" or "an example, only. Any embodiment or design described herein as "exemplary" or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the exemplary or for example embodiments are to be seen as examples — only — of the generic or more general context of the embodiments described in the present embodiments.

[0074] It should be understood that, in the present embodiments, "at least one" means one or more. "Multiple" means two or more. "At least two" means two or three and more. "And / or", used to describe the relationship between the associated objects, means that there can be three relationships. For example, "A and / or B" can mean that there are three cases: only A, only B, and A and B at the same time, where A and B can be singular or plural. The character " / " generally represents that the associated objects before and after are in an "or" relationship. "At least one of the following" or the like means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c, can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple. "When" and "if" both mean that under certain objective circumstances, the corresponding processing will be done, not limited to time, and does not require a judgment action when implemented, nor does it mean that there are other limitations.

[0075] In the present embodiments, "indication" can include: direct indication, or indirect indication, or explicit indication, or implicit indication.

[0076] In the present embodiments, "including" can include: direct inclusion, or indirect inclusion, or explicit inclusion, or implicit inclusion.

[0077] It should be understood that the prior art can change as the technical solutions evolve, and the technical solutions provided in the present embodiments are not limited to the provided prior art.

[0078] It should be noted that different embodiments or parts of steps (for example, any one or more steps) in different embodiments in the present application can be combined with each other to form new embodiments. It should be noted that the parts of steps or any one or more steps in different embodiments can include optional steps in certain embodiments, or can include mandatory steps in certain embodiments, or can include optional steps and mandatory steps in certain embodiments, and the present application is not limited.

[0079] It should be noted that the terms and / or descriptions between different embodiments have consistency and can be mutually referred to if there is no special description and logical conflict.

[0080] It should be noted that the order of the steps in the embodiments of the present application is not limited by the present application.

[0081] It should be noted that the order of the steps in the embodiments of the present application is not limited by the present application.

[0082] It should be noted that the "after" and "time" in the present application are not strictly limited to the time point.

[0083] It should be noted that the terms, terms and the like involved in the present application are only examples, which can also be other names, and the present application is not limited.

[0084] In order to facilitate the understanding of the technical solutions of the embodiments of the present application, first, a brief introduction of the related technologies and terms of the present application is given.

[0085] I. Business

[0086] The part of the terminal processing required for business processing is completed by the cloud side to assist the end side. The end cloud collaborative business can include cloud-based photo enhancement business and cloud-based game enhancement business.

[0087] (1) Cloud-based photo enhancement business (referred to as cloud-based photo)

[0088] Generally, after the terminal device takes a photo locally, the terminal device locally performs image processing to meet the requirement of enhancing image quality. Common image post-processing techniques include: denoising, super-resolution, dark light enhancement, beautification, etc. Some of these processes require a large amount of computing power, and the terminal device is limited by the processing capacity of the terminal device when processing locally. The processing quality is difficult to improve after reaching a certain level.

[0089] To meet the requirement of image quality enhancement, one way is that the terminal device transmits the photo to the cloud for processing. A large number of graphic processing units (GPUs) can be deployed on the cloud to perform image processing, so that the quality of the processed image is better than that of the local image. The specific process can be as follows: after the terminal device takes a photo, the photo is uploaded to the cloud, the photo is returned to the local after being processed by the cloud, and the local explicitly displays the terminal device.

[0090] (2) Cloud gaming enhanced service

[0091] Generally, the rendering effect of a terminal device (such as a mobile phone) on a game is limited by the rendering computing power. In order to obtain a better rendering effect, the terminal device can upload three-dimensional model data to be rendered and user position, rendering perspective and the like to the cloud side, so that the cloud side performs rendering, and then the cloud side can return the rendering result to the terminal device, and the terminal device displays the result to the user after post-processing.

[0092] (3) Use scenario of end-cloud collaboration service

[0093] The task processing of the end-cloud collaboration service can be divided into cloud processing and local processing. The same processing task can be processed according to the actual situation. The cloud processing result can have two use scenarios:

[0094] 1) Real-time use

[0095] Real-time use means that the cloud processing result returned to the local can completely replace the effect of local processing. For example, the photo enhancement can return to the local within 3s to meet the real-time processing effect, and the local does not need to process the task.

[0096] For example, for the game rendering scenario, if the uploaded 3D model can be completed within a given time delay such as 10ms, the downlink rendering result can be returned in real time, and the UE does not need to render the model locally, and can wait for the network to return the result directly.

[0097] 2) Non-real-time use

[0098] If it cannot be returned within 3s, the local real-time display processing result needs to be processed by AI, and at this time, the photo return result is still meaningful, and can be used to update the local photo as a non-real-time effect.

[0099] For the game rendering scenario, if the uploaded 3D model cannot be completed within a given time, the local needs to render to serve as a fallback, but the model itself can continue to be uploaded and can be used as input for subsequent frame rendering.

[0100] For example, in an embodiment of the present application, the service data (such as the first service data) can be service data of an end-cloud collaborative service. For example, the processing of the service data in the present application can be flexibly processed in combination with real-time use and non-real-time use.

[0101] (4) Service transmission

[0102] For example, under the 5G Qos framework, various services are mapped to quality of service flows (Qos flows) through certain rules, and after the Qos flows arrive at the radio access network (RAN), the RAN maps the Qos flows to data radio bearers (DRBs) for transmission.

[0103] II. Task-level transmission

[0104] For example, task-level transmission is aimed at bursty big data. For example, task-level transmission requires task-level latency and / or data volume guarantee. For example, task-level transmission does not require packet-level latency and / or data volume guarantee.

[0105] For example, for task-level transmission, a task contains many data packets, and there is no packet-level requirement for the transmission of each data packet during transmission, but all data packets related to the entire task are required to meet what kind of latency requirement. For example, it needs to be transmitted within 2s.

[0106] For example, task-level transmission also has the following characteristics: the triggering of the task is random; the data volume, data generation, and whether to handle the cloud (or whether the UE sends data to the base station) of the task depend on the air interface condition (for example, whether the base station can promise that it can transmit the task, and what is the promised data volume).

[0107] For example, task-level transmission is suitable for end-cloud collaborative services. For example, taking cloud photography as an example, after local photography of the mobile phone, the mobile phone will perform image processing to meet the enhancement of picture quality. Common image post-processing techniques include noise reduction, super-resolution, dark light enhancement, beautification, etc. Some of these processing require large computing power, and the processing quality is limited by the processing capability of the mobile phone, and it is difficult to improve after reaching a certain level. One way is to upload the photo to the cloud for processing, and the cloud can deploy a large number of graphical processing units (GPUs) for image processing, so that the processing quality can be better than local. This requires the user to take a photo, the mobile phone uploads the photo to the cloud, the cloud processes the photo and returns it to the local, and the local explicitly displays it to the user. For example, cloud photography is randomly triggered, and the data volume is large, for example, 50M or 100M.

[0108] For example, taking a cloud photo as an example, Fig. 1 shows a flowchart of service transmission. For example, after a user touches a photo shooting control on an application interface of a UE APP (such as a camera application), the UE modem can interact with a RAN (such as a base station) to determine the maximum data volume and latency that can be guaranteed by the RAN before actually generating data, and the UE determines a photo format based on this to generate photo data.

[0109] For example, as shown in Fig. 1, the process includes at least one of the following three stages:

[0110] For example, after starting the camera application or triggering photo shooting, the first stage, channel establishment, is entered. For example, it can specifically include: establishing a Qos flow and a DRB corresponding to the Qos flow. Optionally, the Qos flow corresponds to a data volume range, i.e., a burst size range, and a burst latency. Optionally, a channel (such as a DRB between the UE and the RAN) is first established between the UE and the network device, and after the channel is established, the data volume of a task that can be transmitted on the channel is within a certain range, and the latency requirement of the task that can be transmitted on the channel is determined.

[0111] For example, after internal processing of the camera application, the second stage, resource request, is entered. For example, it can specifically include: the UE sends a burst resource request to the RAN, the request including a data arrival time, and the RAN sends a resource confirm message to the UE, the message carrying a burst data size allowed by the RAN. It can be understood that after the UE triggers a task, the UE needs to confirm with the RAN whether the task can be transmitted, and confirm the maximum data volume of the task that can be transmitted by the RAN. The RAN can confirm that it can transmit a task with a data volume, or it can confirm that it cannot transmit the task, so that the UE processes locally and no longer transmits to the cloud.

[0112] For example, after photo encoding is completed, the third stage, data transfer, is entered.

[0113] For example, buffer status reporting (BSR) is used to request resources required for data transmission, and the data transmission process is based on the established Qos flow and DRB to transmit data.

[0114] III. RRC connection reestablishment

[0115] For example, the UE initiates / triggers RRC connection reestablishment if one of the following conditions is met: (1) after detecting radio link failure (RLF) of a master cell group (MCG); or, (2) after a synchronization reconfiguration failure of the MCG; or, (3) after a mobility failure from new radio (NR); or, (4) a lower layer integrity check failure indication related to a signalling radio bearer (SRB) (e.g., SRB1 or SRB2) is detected, unless the integrity check failure is detected in an RRCReestablishment message; or, (5) upon an RRC reconfiguration failure.

[0116] The purpose of RRC connection reestablishment is to reestablish the RRC connection. After the UE sends an RRC connection reestablishment request message (RRCReestablishment Request) to the network, e.g., a next generation Node B (gNB), if the network (gNB) can find and verify a valid UE context, the connection reestablishment is successful, and the network device can send an RRC connection reestablishment (RRCReestablishment) message to the UE, and the UE sends an RRC connection reestablishment complete (RRCReestablishmentComplete) message to the network; or, if the network cannot retrieve the UE context, and the network responds with an RRC connection setup (RRCSetup) message, and then the UE sends an RRC connection setup complete (RRCSetupComplete) message to the network. For example, the gNB can include / replace a base station, or a network device.

[0117] For example, the network (gNB) obtains the UE context by sending an extract context request to the last serving base station (Last serving gNB) of the UE.

[0118] FIG. 2A is a flowchart of an RRC connection reestablishment according to an embodiment of the present application. As shown in FIG. 2A, the UE initiates / triggers RRC connection reestablishment, and the UE can send an RRC connection reestablishment request to gNB1; then, gNB1 sends a request to extract the UE context to the last serving base station (for convenience, referred to as gNB2) of the UE; gNB2 sends a context response to gNB1, and the response includes the UE context; then, gNB1 can send an RRC connection reestablishment message to the UE; and the UE can send an RRC connection reestablishment complete message to gNB1.

[0119] Four, cell handover

[0120] (1) Cell, also called cellular cell, for example, the cell can refer to a part or all of the area covered by the signal of a base station in a cellular mobile communication system, in which area electronic devices can communicate with the base station through a wireless channel.

[0121] For example, the cell in the embodiments of the present application does not refer to a physical area, but refers to an area covered by the signal of a base station. For example, the same physical area can be covered by cells of different base stations, wherein the mode and frequency of the cells on the physical area can be the same or different. The electronic device is an electronic device with data processing and transceiving capability or a device (such as a chip or an integrated circuit) in the electronic device, and the electronic device can include a terminal device or a network side device.

[0122] (2) Cell handover process

[0123] FIG. 2B is a flowchart of a cell handover process according to an embodiment of the present application. As shown in FIG. 2B, the process can include the following steps:

[0124] Step S1: The source base station (source gNB) initiates handover and sends a handover request (HANDOVER REQUEST) on the Xn interface.

[0125] Step S2: The target base station (target gNB) performs admission control and provides a new RRC configuration as part of the handover request acknowledgement message (HANDOVER REQUEST ACKNOWLEDGE).

[0126] Step S3: The source gNB provides RRC configuration to the UE by forwarding the RRC reconfiguration message (RRCReconfiguration message) received in the HANDOVER REQUEST ACKNOWLEDGE.

[0127] Step S4: The UE moves the RRC connection to the target gNB and replies with the RRC reconfiguration complete message (RRCReconfigurationComplete).

[0128] Five, service data

[0129] In the embodiments of the present application, the service data can be data related to the execution of certain services or functions by the terminal device (i.e., the service data can refer to data related to services), and the specific form of the service data can include but is not limited to: photo (picture) data, video data, voice data, text, web page, signal, information, symbol. The format of the service data is associated with the specific form of the data; for example, for image data, the format includes BMF, JPG, etc.; for video data, the corresponding format includes AVI, DAT, etc. For text data, the format includes: word, wps, etc.; other service data is not listed one by one.

[0130] Exemplarily, in the scenario of cloud photography, the characteristics of photo (picture) type data are: sudden large data. Specifically, the following can be used:

[0131] a. The data volume of each photo is large. For example, it takes a certain time to submit the data of a photo from the APP layer of the terminal device to the AS layer of the terminal device;

[0132] b. The action of taking a photo is not periodic, but sudden.

[0133] For example, for the scenario of cloud photography, after the user presses the shutter, and before the data to be transmitted is actually generated / determined, the terminal device needs to interact with the base station, so that the terminal device obtains the maximum data volume and delay that can be guaranteed by the base station, and then the terminal device can generate / determine the data to be transmitted based on the maximum data volume and delay.

[0134] For example, for the processing of picture data, multiple pictures can be processed in time (for example, the time interval can be 30 ms or 33.34 ms, etc.) to obtain a photo, which can obtain time gain. However, the photo after image processing is a photo. Therefore, there can be: the data of multiple photos in time is generated together; or the data of multiple photos in time is generated in stages. Therefore, the photo (picture) involved in the embodiments of the present application can be a photo obtained by one-time photography, or can be multiple photos (pictures) in time.

[0135] In a communication service, the service data in the embodiments of the present application can be associated with one or more of the corresponding quality of service flow (Qos flow), data radio bearer (DRB), packet data convergence protocol (PDCP) entity, radio link control (RLC), logical channel (LCH).

[0136] For example, the service data can also be referred to as data, or a data set, or target data, or other names, which are not limited.

[0137] In order to better understand the communication method and related apparatus proposed in the present application, the system architecture and service scenario of the embodiments of the present application are described below. It should be noted that the system architecture and service scenario described in the present application are for more clearly illustrating the technical solutions of the present application, and do not constitute a limitation on the technical solutions provided by the present application. Those skilled in the art can know that, with the evolution of system architecture and the appearance of new service scenarios, the technical solutions provided by the present application are also applicable to similar technical problems.

[0138] Please refer to FIG. 3, which is a system architecture diagram of a communication system provided by an embodiment of the present application.

[0139] As shown in FIG. 3, the system architecture can include a first network device 101, a second network device 102 and a terminal device 103. The terminal device 103 can be connected to the second network device 102 in a wireless manner and can access the core network through the second network device 102. After handover or RRC connection reestablishment, the terminal device 103 can access the first network device 101, so that the terminal device 103 can be connected to the first network device 101 in a wireless manner and can access the core network through the first network device 101. The terminal device 103 can be fixed in position or movable.

[0140] For example, the terminal device 103 is the UE in FIG. 2A, the first network device 101 is the gNB1 in FIG. 2A, and the second network device is the gNB2 in FIG. 2A. For another example, the terminal device 103 is the UE in FIG. 2B, the first network device 101 is the target base station in FIG. 2A, and the second network device is the source base station in FIG. 2A.

[0141] The first network device 101 and the second network device 102 can be entities for transmitting or receiving signals, can be devices for communicating with the terminal device 103, and can be base stations (BTSs) in a global system for mobile communications (GSM) system or a code division multiple access (CDMA) system, can be base stations (NodeBs, NBs) in a wideband code division multiple access (WCDMA) system, can be evolved NodeBs (eNBs or eNodeBs) in an LTE system, can be radio controllers in a cloud radio access network (CRAN) scenario, or can be relay stations, access points, vehicle-mounted devices, wearable devices, network devices in a 5G network, or network devices in a future evolved PLMN network, and the like. Embodiments of the present application are not limited. The network device can be a device in a wireless network, for example, a RAN node that accesses the terminal device 103 to the wireless network. Currently, some examples of the RAN node are: a base station, a next-generation base station gNB, a transmission reception point (TRP), an evolved Node B (eNB), a home base station, a baseband unit (BBU), or an access point (AP) in a WiFi system, and the like. In a network structure, the network device can include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including the CU node and the DU node. In an O-RAN system, the CU can also be referred to as an O-CU, and the DU can also be referred to as an O-DU.

[0142] The terminal device 103 is a user-side entity for receiving or transmitting signals, and is mainly used to realize the function of wireless communication with the first network device 101 or the second network device 102.

[0143] The terminal device 103 can be an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device, for example. The terminal device 103 can also be a mobile phone, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a Pad, a computer with wireless transceiver functionality, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in an industrial control, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device having wireless communication functionality, a computing device, or other processing devices connected to a wireless modem, an in-vehicle device, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wearable device (e.g., a smart watch, a smart bracelet, a pedometer, etc.), a terminal device in a 5G network, or a terminal device in a future evolved public land mobile network (PLMN), etc. The embodiments of the present application do not limit the terminal device 103. The terminal device 103 can be deployed on land, including indoors or outdoors, handheld, wearable, or in-vehicle, can be deployed on water (e.g., a ship, etc.), and can be deployed in the air (e.g., on an airplane, a balloon, and a satellite, etc.). In the embodiments of the present application, the terminal device 103 can be a legacy UE, can be an RB-level partial frequency hopping (RPFS) UE supporting SRS coverage and capacity enhancement, or can be another UE. The present application does not limit the type of the terminal device 103. The legacy UE refers to a user equipment supporting an existing mechanism, for example, a user equipment supporting release-15 or release-16.

[0144] In the embodiments of the present application, the terminal device 103 or the first network device 101 or the second network device 102 includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes central processing unit (CPU), memory management unit (MMU), memory (also known as main memory), and the like. The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or windows operating system, and the like. The application layer includes browsers, address books, word processing software, instant messaging software, and the like. Moreover, the embodiments of the present application do not particularly limit the specific structure of the execution subject of the method provided by the embodiments of the present application, as long as the execution subject can communicate according to the method provided by the embodiments of the present application by running a program in which the code of the method provided by the embodiments of the present application is recorded. For example, the execution subject of the method provided by the embodiments of the present application can be the terminal device 103 or the first network device 101 or the second network device 102, or a functional module in the terminal device 103 or the first network device 101 or the second network device 102 that can call and execute the program.

[0145] It should be noted that the number and type of terminal devices 103 included in the system architecture shown in FIG. 3 are only an example, and the embodiments of the present application are not limited thereto. For example, more or fewer terminal devices that communicate with the first network device 101 can also be included, and for the sake of brevity, they are not described one by one in the drawings.

[0146] In addition, in the system architecture as shown in FIG. 3, although the first network device 101, or the second network device 102 and the terminal device 103 are shown, the application scenario can not be limited to including the first network device 101, or the second network device 102 and the terminal device 103, for example, a core network device or a device for carrying virtualized network functions, and the like, wherein the core network device communicates with the terminal device 103 through the first network device 101 or the second network device 102.

[0147] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) system, a general packet radio service (GPRS), a long term evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD), a universal mobile telecommunication system (UMTS), a worldwide interoperability for microwave access (WiMAX) communication system, a 5th generation (5G) system or a new radio, and a future communication system, without limitation.

[0148] Further, based on the system architecture of the communication system shown in FIG. 3, a service scenario provided in an example of the present application is introduced.

[0149] In the service scenario, the terminal device 103 and the second network device 102 confirm the commitment (such as the data volume and the delay) of the task-level transmission for the first task, for example, the first task can correspond to an end-cloud collaborative service; in the process of the task-level transmission (or the first task transmission), the terminal device 103 triggers RRC connection reestablishment or handover; after the RRC connection reestablishment is completed or the handover is completed, the network device providing the service for the terminal device 103 is the first network device 101. The scenario often occurs that the task-level transmission (or the transmission of the first task) cannot be completed on time, if the terminal device 103 cannot obtain the information whether the first network device 101 can complete the transmission of the first task in time, the local processing cannot be started in time, which will increase the delay and affect the user experience; or, if the terminal device 103 cannot obtain the information whether the first network device 101 can complete the transmission of the first task in time, the local processing is always started at the same time as the transmission of the first task to the first network device 101, in the case that the first network device 101 can complete the transmission of the first task, the power consumption of the terminal device 103 will be increased.

[0150] For example, usually in order to meet the enhancement of image quality, the user's mobile phone needs to process the image obtained by shooting locally. However, as the requirement for the quality of the processed image is improved, it is difficult for the mobile phone to meet the requirement by processing the image locally; for this reason, a way of processing the image of the mobile phone by cloud assistance is proposed, that is, the mobile phone can upload the image to the cloud through the base station, and the cloud processes the image and returns the processed image to the mobile phone through the base station. For this image processing method, the mobile phone needs to obtain the maximum data volume and the delay that can be guaranteed by the base station to complete the transmission before generating the image data, and then the mobile phone can generate and / or transmit data of a corresponding size according to the information of the base station, so as to ensure that the entire image data of the mobile phone can be effectively uploaded to the cloud through the base station within a specified time. However, in a mobility scenario, the user's mobile phone switches from a source base station to a target base station, and the target base station cannot necessarily meet the maximum data volume and the delay that can be guaranteed by the source base station to complete the transmission; if the target base station cannot complete the transmission of the image data of the user's mobile phone and does not inform the user, the user's mobile phone transmits the image data to the target base station to reach the maximum threshold of the data volume or the delay, and then learns that the target base station cannot complete the transmission, and at this time, the mobile phone processes the image data locally, which increases the processing delay and leads to a poor user experience. Therefore, in the mobility scenario, how to ensure that the terminal device learns in time whether the service data can be uploaded through the base station is one of the problems to be solved at present. Or, in an RRC connection reestablishment scenario, the user's mobile phone accesses a new base station, and the new base station cannot necessarily meet the maximum data volume and the delay that can be guaranteed by the original base station to complete the transmission; if the new base station cannot complete the transmission of the image data of the user's mobile phone and does not inform the user, the user's mobile phone transmits the image data to the new base station to reach the maximum threshold of the data volume or the delay, and then learns that the new base station cannot complete the transmission, and at this time, the mobile phone processes the image data locally, which increases the processing delay and leads to a poor user experience. Therefore, in the RRC connection reestablishment scenario, how to ensure that the terminal device learns in time whether the service data can be uploaded through the base station is one of the problems to be solved at present.

[0151] The inventors of the present application have found that the causes of the problem include:

[0152] 1, the first network device 101 has the ability to complete the transmission of the first task, but cannot complete the transmission of the first task on time because it does not know the progress of the task transmission and thus does not transmit data according to the time requirement of the task, resulting in the inability to complete the transmission of the first task on time. For example, for the first task, after the terminal device 103 and the second network device 102 confirm the commitment (such as the data volume and the delay), RRC connection reestablishment is triggered due to RLF, reconfiguration failure, integrity check failure, and the like. In this case, after RRC connection reestablishment, if the network device providing services for the terminal device 103 is the first network device 101, the first network device 101 does not know the progress of the first task and cannot guarantee the transmission of the first task or cannot end the transmission of the first task as soon as possible.

[0153] 2, the first network device 101 cannot complete the transmission of the task, and the terminal device 103 does not timely perceive and cannot timely avoid the influence on the first service through local processing. For example, the first network device 101 cannot complete the transmission of the first task on time, but does not inform the terminal device 103, so that the terminal device 103 discovers that the transmission cannot be completed only after the time delay requirement is reached. At this time, if the terminal device 103 goes back to local processing, the user will obviously feel an increase in the time delay, and the user experience is not good.

[0154] Therefore, embodiments of the present application provide a communication method and device. In the method, the terminal device or the second network device can send progress information of the first service data to the first network device in the case of switching or in the case of RRC connection reestablishment. The progress information includes information of the data volume of the first service data and / or information of the time of the first service data. Alternatively, the terminal device ends the transmission of the first service data in the case of switching or RRC connection reestablishment. The first network device is a network device to which the terminal device accesses after RRC connection reestablishment, and the second network device is a network device to which the terminal device accesses before RRC connection reestablishment. The method can avoid affecting the service corresponding to the service data when the terminal device accesses the first network device in the process of transmitting the service data by the terminal device and the second network device, and guarantee that the service is completed on time. It should be understood that the terminal device and the second network device can send the progress information of the first service data to the first network device, which can be the same or different. For the convenience of understanding, the present application refers to the progress information of the first service data sent by the terminal device to the first network device as first progress information, and refers to the progress information of the first service data sent by the second network device to the first network device as second progress information.

[0155] The communication method provided in the embodiments of the present application takes the second network device, the first network device, and the terminal device as an example to introduce the scheme, and the embodiments of the present application can be executed by the second network device, the first network device, and the terminal device, or by the components (modules, chips, etc.) corresponding to the second network device, the first network device, and the terminal device, or by the devices corresponding to and matched with the second network device, the first network device, and the terminal device. The embodiments of the present application do not limit the specific forms and quantities of the second network device, the first network device, and the terminal device. In addition, in actual applications, the second network device, the first network device, and the terminal device can also be replaced by other devices (for example, a second device, a first device, and a third device) or other devices (for example, a second device, a first device, and a third device), and the present application does not limit this. This is uniformly described here, and subsequent embodiments will not be described again.

[0156] In the present application, the names of various messages in each of the following processes are only examples. As the communication technology evolves or the application scenario changes, the names of various information / messages / data, etc. in each of the following processes may change. However, as long as the meaning is the same as the function or meaning in the present application, the change in the name falls within the protection scope of the present application.

[0157] It should be noted that the "first service data" in the present application can include / replace any one or more of the following: first PDCP, first RLC entity, first DRB, first Qos flow, first LCH, data associated with the first PDCP, data associated with the first RLC entity, data associated with the first DRB, data associated with the first Qos flow, and data associated with the first LCH.

[0158] It should be noted that the DRB in the present application can include / replace a bearer or a radio bearer.

[0159] In combination with the system architecture described above, the communication method provided in the embodiments of the present application is described below.

[0160] Please refer to FIG. 4, which is a flowchart of a communication method provided in an embodiment of the present application. The functions executed by the terminal device in the embodiments of the present application can also be executed by the modules (for example, chips) in the terminal device. The functions executed by the first network device in the embodiments of the present application can also be executed by the modules (for example, chips) in the first network device. In FIG. 4, the optional steps are represented by dashed lines and dashed boxes, that is, the method can not include steps S402 and / or S403.

[0161] As shown in FIG. 4, the communication method can include the following steps:

[0162] S401: In the case of handover or in the case of RRC connection reestablishment, the terminal device sends first progress information of first service data to the first network device.

[0163] Correspondingly, the first network device receives the first progress information of the first service data from the terminal device.

[0164] For example, in the embodiments of the present application, handover can also be referred to as mobile handover, or cell handover, or handover, etc., which is not limited in the present application. Hereinafter, the subsequent description will not be repeated.

[0165] For example, the first service data is uplink data. For example, the first service data can be / including: data or total data corresponding to a task in a task-level transmission.

[0166] For example, the first service data can be determined or generated by the terminal device based on the information of the first data amount from the second network device and / or the information of the first time. For example, the first data amount can be the amount of data that the second network device can complete transmission within the first time.

[0167] For example, the first service data can be associated with one or more of the first Qos flow, the first DRB, the first PDCP entity, the first RLC entity, and the first LCH, which is not limited.

[0168] For example, the first service data or the first service data of the terminal device in the present application can be carried in one or more of the first Qos flow, the first DRB, the first PDCP layer (or entity), the first RLC layer (or entity), and the first LCH.

[0169] For example, the specific form of the first service data can be photo (picture) data, video data, text data, signal, task, which is not limited in the present application.

[0170] For example, the first service data is associated with a task.

[0171] For example, the first service data can include / replace: a first data set, a first task, or data corresponding to the first task, or other names, which are not limited in the present application.

[0172] In the embodiments of the present application, the first progress information can also be replaced by other names, such as the sixth information / message, which is not limited. The first progress information can be transmitted alone or carried in other messages, which is also not limited.

[0173] For example, in the embodiments of the present application, progress can also be referred to as transmission progress or progress, etc., which is not limited in the present application. Hereinafter, the subsequent description will not be repeated.

[0174] Optionally, the first progress information of the first service data can be carried in an RRC message (for example, a handover completion message or an RRC reconfiguration completion message or an RRC connection reestablishment completion message or an RRC connection reestablishment request message) or a medium access control control element (MAC CE) or the like, and no limitation is made thereto.

[0175] Optionally, in the embodiments of the present application, the RRC connection can include / replace: RRC.

[0176] In the embodiments of the present application, the terminal device sends the first progress information of the first service data to the first network device, which includes but is not limited to the following possible implementation manners:

[0177] Implementation manner one: the first progress information can include: information of a data amount of the first service data, and / or information of a time of the first service data.

[0178] Optionally, in the implementation manner one, the first progress information can further include information of generation of the first service data, the information of generation of the first service data being used to indicate that the terminal device has generated the first service data.

[0179] Optionally, in the implementation manner one, the first progress information can further include information that the terminal device has generated the first service data.

[0180] Optionally, in the case that the terminal device has generated the first service data, the implementation manner one can be adopted.

[0181] Implementation manner two: the first progress information can include: information that the terminal device has not generated the first service data, and / or information of a fifth time of the first service data.

[0182] For example, the information of generation of the first service data is used to indicate that the terminal device has generated the first service data, or is used to indicate information that the terminal device has not generated the first service data. For example, the fifth time of the first service data is how long the first service data will / can be generated, or a time point of generation of the first service data.

[0183] Optionally, in the implementation manner two, the first progress information can include information of generation of the first service data, the information of generation of the first service data being used to indicate that the terminal device has not generated the first service data.

[0184] Optionally, in the implementation manner two, the first progress information can further include information of a data amount of the first service data, and / or information of a time of the first service data.

[0185] Optionally, in the implementation manner two, the first progress information can further include information of the first data amount, and / or information of the first time.

[0186] Optionally, in the case that the terminal device has not generated the first service data, the implementation manner two can be adopted.

[0187] In a possible implementation, the information of the data amount of the first service data can include or replace the information of the remaining data amount of the first service data. In a possible implementation, the information of the time of the first service data can include or replace the information of the remaining time of the first service data. Optionally, the implementation can be applied in the case that the terminal device has generated the first service data.

[0188] In a possible implementation, the information of the data amount of the first service data can include or replace the information of the total data amount of the first service data. Optionally, the implementation can be applied in the case that the terminal device has generated the first service data.

[0189] In a possible implementation, the information of the time of the first service data can include or replace the information of the deadline of the first service data. Optionally, the implementation can be applied in the case that the terminal device has generated the first service data.

[0190] In a possible implementation, the information of the data amount of the first service data can include or replace the information of the first data amount. In a possible implementation, the information of the time of the first service data can include or replace the information of the first time. Optionally, the implementation can be applied in the case that the terminal device has not generated the first service data.

[0191] In a possible implementation, the data amount of the first service data is equal to the first data amount. In a possible implementation, the time of the first service data is equal to the first time. Optionally, the implementation can be applied in the case that the terminal device has not generated the first service data.

[0192] Optionally, the first data amount is sent by the second network device to the terminal device. For example, the first data amount is the data amount that the second network device promises to complete to the terminal device.

[0193] Optionally, the first time is sent by the second network device to the terminal device. For example, the first time is the time that the second network device promises to complete to the terminal device.

[0194] For example, the first data amount is the data amount that the second network device can complete within the first time.

[0195] In a possible implementation, the first progress information can further include information of a fifth time of the first service data. For example, the information of the fifth time is used to indicate how long the first service data will / can be generated, or a time point of generation of the first service data. Optionally, the implementation can be used in a case where the first service data has not been generated.

[0196] Optionally, in the second implementation, the first progress information can further include information of a fifth time of the first service data.

[0197] For example, the first network device is a network device accessed by the terminal device after handover, or a network device accessed by the terminal device after RRC connection reestablishment.

[0198] For example, the second network device is a network device accessed by the terminal device before handover, or a network device accessed by the terminal device before RRC connection reestablishment.

[0199] For example, the second network device is a source access network device (for example, a source base station) of the terminal device. For example, the first network device is a target access network device (for example, a target base station) of the terminal device. For example, in a mobile handover / handover scenario, the terminal device can be handed over from the second network device to the first network device, or from a source cell served by the second network device to a target cell served by the first network device.

[0200] For example, the second network device is a Last serving gNB or a Last serving gNB of the terminal device. For example, the first network device is a gNB or a gNB of the terminal device. For example, in an RRC connection reestablishment scenario, before RRC connection reestablishment, the terminal device works in the Last serving gNB, and after RRC connection reestablishment, the terminal device works in the gNB. For example, the gNB can include / replace a base station, a network device, or an access network device.

[0201] Optionally, the remaining data amount of the first service data can be less than or equal to the total data amount of the first service data. For example, after the terminal device transmits part of the first service data to the second network device, the terminal device is handed over or triggers RRC connection reestablishment to access the first network device, and the remaining data amount of the first service data is less than the total data amount of the first service data. For another example, after the terminal device confirms that the second network device can complete the total data amount of the first service data within the first time, and before the terminal device transmits the first service data to the second network device, the terminal device is handed over or triggers RRC connection reestablishment to access the first network device, and the remaining data amount of the first service data is equal to the total data amount of the first service data.

[0202] Optionally, the first progress information of the first service data can be used to request the first confirmation information of the first service data.

[0203] Optionally, the first progress information of the first service data can be sent by the terminal device to the first network device in a case of handover, which can include / replace at least one of the following: the first progress information of the first service data is sent by the terminal device to the first network device in a handover complete message or an RRC reconfiguration complete message; or, the first progress information of the first service data is sent by the terminal device to the first network device after sending the handover complete message or the RRC reconfiguration complete message.

[0204] Optionally, the first progress information of the first service data can be sent by the terminal device to the first network device in a case of RRC connection reestablishment, which can include / replace at least one of the following: the first progress information of the first service data is sent by the terminal device to the first network device in an RRC connection reestablishment complete message; or, the first progress information of the first service data is sent by the terminal device to the first network device after sending the RRC connection reestablishment complete message; or, the first progress information of the first service data is sent by the terminal device to the first network device in an RRC connection reestablishment request message.

[0205] Optionally, the RRC connection reestablishment complete message can include / replace an RRC connection setup complete message.

[0206] Optionally, in the case of handover, it can include / replace at least one of the following: at the time of handover completion, or after handover completion, or during handover.

[0207] Optionally, in the case of RRC connection reestablishment, it can include / replace at least one of the following: at the time of RRC connection reestablishment completion, or after RRC connection reestablishment completion, or during RRC connection reestablishment, or RRC connection reestablishment is triggered, or at the time of RRC connection reestablishment being triggered, or after RRC connection reestablishment being triggered.

[0208] Optionally, the RRC connection reestablishment completion can include / replace an RRC connection setup completion.

[0209] Optionally, the RRC connection reestablishment being triggered can include / replace the terminal device triggering the RRC connection reestablishment.

[0210] Optionally, the first progress information of the first service data can be sent by the terminal device to the first network device at the time of handover completion, which can include / replace the first progress information being sent by the terminal device to the first network device in a handover complete message or an RRC reconfiguration complete message.

[0211] Exemplarily, the sending, by the terminal device, of the first progress information of the first service data to the first network device after the handover is completed can comprise / replace: the sending, by the terminal device, of the first progress information of the first service data to the first network device after the sending of the handover complete message or the RRC reconfiguration complete message.

[0212] Exemplarily, the sending, by the terminal device, of the first progress information of the first service data to the first network device during the handover can comprise / replace: the sending, by the terminal device, of the first progress information of the first service data to the first network device after the receiving of the RRC reconfiguration message (e.g., the synchronous reconfiguration message) from the first network device. For example, the RRC reconfiguration message (e.g., the synchronous reconfiguration message) from the first network device can comprise / replace: the RRC reconfiguration message (e.g., the synchronous reconfiguration message) from the first network device which is transparently transmitted / forwarded by the second network device. For example, in the embodiments of the present application, the RRC reconfiguration can comprise / replace: the RRC reconfiguration, or the RRC connection reconfiguration, or the RRC connection reconfigure.

[0213] Exemplarily, the sending, by the terminal device, of the first progress information of the first service data to the first network device when the RRC connection reestablishment is completed can comprise / replace: the sending, by the terminal device, of the first progress information of the first service data to the first network device in the RRC connection reestablishment complete message.

[0214] Exemplarily, the sending, by the terminal device, of the first progress information of the first service data to the first network device after the RRC connection reestablishment is completed can comprise / replace: the sending, by the terminal device, of the first progress information of the first service data to the first network device after the sending of the RRC connection reestablishment complete message.

[0215] Exemplarily, the sending, by the terminal device, of the first progress information of the first service data to the first network device during the RRC connection reestablishment can comprise / replace: the sending, by the terminal device, of the first progress information of the first service data to the first network device in the RRC connection reestablishment request message.

[0216] Exemplarily, the sending, by the terminal device, of the first progress information of the first service data to the first network device when the RRC connection reestablishment is triggered can comprise / replace: the sending, by the terminal device, of the first progress information of the first service data to the first network device in the RRC connection reestablishment request message.

[0217] Exemplarily, the sending, by the terminal device, of the first progress information of the first service data to the first network device when the RRC connection reestablishment is triggered can comprise / replace: the sending, by the terminal device, of the first progress information of the first service data to the first network device in the RRC connection reestablishment request message.

[0218] For example, after the RRC connection reconstruction is triggered, the terminal device sends the first progress information of the first service data to the first network device, which may include / be replaced by: the terminal device sending the first progress information to the first network device in the RRC connection reconstruction request message.

[0219] Optionally, in this embodiment of the application, the terminal device may obtain information about the amount of data in the first service data through one or more of the following methods, including but not limited to:

[0220] Method 1: The terminal device can determine the data volume of the first business data based on its own known data volume information.

[0221] In Method 1, the terminal device determines the data volume of the first service data based on its known data volume information, which can be achieved through any of the following methods:

[0222] a1: The terminal device determines the data volume of the first service data based on the information of the total data volume of the first service data and the information of the second data volume.

[0223] For example, the data volume of the first business data is the difference between the total data volume of the first business data and the second data volume (i.e., the data volume of the first business data = the total data volume of the first business data - the second data volume).

[0224] For example, the second data volume may be, but is not limited to: the amount of data that the terminal device has transmitted for the first service data, or the amount of data that the terminal device has transmitted for the first service data in the second time period.

[0225] a2: The terminal device determines the data volume of the first business data based on the information of the first data volume and the information of the second data volume.

[0226] For example, the data volume of the first business data is the difference between the first data volume and the second data volume (i.e., the data volume of the first business data = the first data volume - the second data volume).

[0227] Method 2: The terminal device can determine the data volume of the first service data based on the data volume information from the second network device.

[0228] In method two, the terminal device determines the data volume of the first service data based on the data volume information from the second network device, which can be achieved through any of the following:

[0229] b1: The terminal device determines the data volume of the first service data based on the information of the total data volume of the first service data and the information of the fourth data volume from the second network device.

[0230] For example, the data amount of the first service data is a difference between the total data amount of the first service data and the fourth data amount (i.e., the data amount of the first service data = the total data amount of the first service data - the fourth data amount).

[0231] For example, the fourth data amount can be, but is not limited to, a data amount of the first service data received by the second network device, or a data amount of the first service data received by the second network device within the second time.

[0232] Optionally, the second network device can actively, or periodically, or based on the query information / request information of the terminal device, or based on an event / condition trigger, send the information of the fourth data amount to the terminal device. For example, the terminal device sends the request information to the second network device, and the request information can be used to query / request / inquire the information of the fourth data amount from the second network device. Correspondingly, the second network device sends the information of the fourth data amount to the terminal device.

[0233] b2: The terminal device determines the information of the data amount of the first service data according to the information of the first data amount and the information of the fourth data amount from the second network device. For example, the data amount of the first service data is a difference between the first data amount and the fourth data amount (i.e., the data amount of the first service data = the first data amount - the fourth data amount).

[0234] Optionally, in the embodiments of the present application, the terminal device can obtain the information of the time of the first service data in any one or more of the following ways:

[0235] Method one: The terminal device can determine the information of the time of the first service data based on the time information known by itself.

[0236] In method one, the terminal device determines the information of the time of the first service data according to the time information known by itself, which can be implemented in any one of the following ways:

[0237] c1: The terminal device determines the information of the time of the first service data according to the information of the total time of the first service data and the information of the second time. For example, the time of the first service data is a difference between the total time of the first service data and the second time (i.e., the time of the first service data = the total time of the first service data - the second time).

[0238] For example, the second time can be, but is not limited to, a time length occupied by the terminal device for transmitting the first service data, or a time length occupied by the terminal device for transmitting the first service data of the second data amount.

[0239] c2: The terminal device determines the time information of the first service data according to the first time information and the second time information. For example, the time of the first service data is the difference between the first time and the second time (i.e., the time of the first service data = the first time - the second time).

[0240] Option two: The terminal device can determine the time information of the first service data based on the time information from the second network device.

[0241] In option two, the terminal device determines the time information of the first service data according to the time information from the second network device, which can be implemented by any of the following:

[0242] d1: The terminal device determines the time information of the first service data according to the total time information of the first service data and the fourth time information from the second network device.

[0243] For example, the time of the first service data is the difference between the total time of the first service data and the fourth time (i.e., the time of the first service data = the total time of the first service data - the fourth time).

[0244] For example, the fourth time can be, but is not limited to, the time length during which the second network device has received the first service data, or the time length during which the second network device has received the first service data of the second data amount.

[0245] Optionally, the second network device can actively, or periodically, or based on the query information / request information of the terminal device, or based on event / condition triggering, send the fourth time information to the terminal device. For example, the terminal device sends a request information to the second network device, and the request information can be used to query / request / inquire the fourth time information from the second network device. Correspondingly, the second network device sends the fourth time information to the terminal device.

[0246] d2: The terminal device determines the time information of the first service data according to the first time information and the fourth time information from the second network device. For example, the time of the first service data is the difference between the first time and the fourth time (i.e., the time of the first service data = the first time - the fourth time).

[0247] Optionally, S402: The terminal device receives the first confirmation information of the first service data from the first network device.

[0248] Correspondingly, the first network device sends the first confirmation information of the first service data to the terminal device.

[0249] In some embodiments, the first network device can send the first confirmation information to the terminal device after receiving the first progress information.

[0250] For example, the first confirmation information is used to indicate whether the network device (or, the first network device) can complete the transmission of the first service data.

[0251] In the embodiments of the present application, the first confirmation information of the first service data can also be replaced by other names, such as fifth information / message, which is not limited. The first confirmation information of the first service data can be transmitted alone or carried in other messages, which is not limited.

[0252] For example, the first confirmation information of the first service data can be carried in an RRC message (such as an RRC reconfiguration message) or a MAC CE or a downlink control information (DCI) or the like, which is not limited.

[0253] In the embodiments of the present application, the terminal device receiving the first confirmation information of the first service data from the first network device can include the following implementation manners:

[0254] Implementation manner A: The first confirmation information of the first service data can include information that the network device (or, the first network device) can complete the transmission of the first service data, or information that the network device (or, the first network device) cannot complete the transmission of the first service data.

[0255] Optionally, the network device (or the first network device) can complete the transmission of the first service data can include or be replaced by any one or more of the following: the network device (or, the first network device) can complete the transmission of the first service data according to the first progress information (or, the first data amount information and / or the first time information) of the first service data, without discarding (or, the terminal device not discarding) the first service data, or without releasing (or, the terminal device not releasing) one or more of the first Qos flow, the first DRB, the first PDCP entity, the first RLC entity, the first LCH, etc. corresponding to the first service data.

[0256] For example, the first data amount information and / or the first time information can include / understand as: the network device (or, the second network device) promises, the information of the data amount (such as the first data amount information) and / or the time information (such as the first time information) promised by the network device (or, the second network device). For example, promised can include / replace as: previously promised.

[0257] Optionally, the network device (or, the first network device) failing to complete the transmission of the first service data can comprise or be replaced by any one or more of the following: the network device (or, the first network device) failing to complete the transmission of the first service data according to the first progress information (or, the information of the first data amount and / or the information of the first time) of the first service data, or, discarding (or, discarding by the terminal device) the first service data, or, releasing (or, releasing by the terminal device) one or more of the first Qos flow, the first DRB, the first PDCP entity, the first RLC entity, the first LCH, etc. corresponding to the first service data.

[0258] Optionally, the first confirmation information of the first service data can be used to indicate whether the network device (or, the first network device) can complete the transmission of the first service data.

[0259] For example, the information that the network device (or, the first network device) can complete the transmission of the first service data, or, the information that the network device (or, the first network device) fails to complete the transmission of the first service data can comprise / replaced by: information of whether the network device (or, the first network device) can complete the transmission of the first service data.

[0260] Optionally, whether the network device (or, the first network device) can complete the transmission of the first service data can comprise or be replaced by any one or more of the following: whether the network device (or, the first network device) can complete the transmission of the first service data according to the first progress information (or, the information of the first data amount and / or the information of the first time) of the first service data, or, whether to discard (or, whether the terminal device discards) the first service data, or, whether to release (or, whether the terminal device releases) one or more of the first Qos flow, the first DRB, the first PDCP entity, the first RLC entity, the first LCH, etc. corresponding to the first service data.

[0261] Optionally, in the case that the network device (or, the first network device) fails to complete the transmission of the first service data, the first confirmation information of the first service data can comprise: information that the network device (or, the first network device) fails to complete the transmission of the first service data.

[0262] Optionally, in the case that the network device (or, the first network device) can complete the transmission of the first service data, the first confirmation information of the first service data can comprise: information that the network device (or, the first network device) can complete the transmission of the first service data.

[0263] Optionally, in the case that the network device (or, the first network device) cannot complete the transmission of the first service data according to the first progress information (or, the information of the first data amount and / or the information of the first time) of the first service data, the first acknowledgement information of the first service data can further comprise: the information of the third data amount and / or the information of the third time; or, the first acknowledgement information of the first service data can further comprise: the information of the data amount (e.g., the information of the third data amount) that the network device (or the first network device) can complete, or the information of the time (e.g., the information of the third time) that the network device (or the first network device) can complete, or the information that the network device (or the first network device) can complete the transmission of the data corresponding to the third data amount within the third time.

[0264] For example, the third data amount can be the data amount that the network device (or the first network device) can complete within the third time. Illustratively, the information of the third time is used to indicate the time required for the network device (or the first network device) to complete the transmission of the data corresponding to the data amount of the first service data or the third data amount, or the time for the network device (or the first network device) to complete the transmission of the data corresponding to the data amount of the first service data or the third data amount.

[0265] For example, the information of the data amount that the network device (or the first network device) can complete can comprise / replace: the information of the data amount that the network device (or the first network device) can complete for the transmission of the first target data, or the information of the data amount that the network device (or the first network device) can complete for the transmission of the first target data within the time of the first service data. For example, the information of the time that the network device (or the first network device) can complete can comprise / replace: the information of the time required for the network device (or the first network device) to complete the transmission of the first target data, or the information of the time required for the network device (or the first network device) to complete the transmission of the data corresponding to the data amount of the first target data.

[0266] Optionally, the first acknowledgement information can comprise second information or third information. For example, the second information is used to indicate that the first network device can complete the transmission of the first service data. For example, the third information is used to indicate that the first network device cannot complete the transmission of the first service data. Illustratively, the first acknowledgement information is used to indicate whether the first network device can complete the transmission of the data corresponding to the remaining data amount of the first service data within the remaining time of the first service data. Illustratively, the second information is used to indicate that the first network device can complete the transmission of the data corresponding to the remaining data amount of the first service data within the remaining time of the first service data. Illustratively, the third information is used to indicate that the first network device cannot complete the transmission of the data corresponding to the remaining data amount of the first service data within the remaining time of the first service data.

[0267] For example, the first confirmation information includes the third information, and the first confirmation information further includes: information of the third data amount, and / or information of the third time.

[0268] In an implementation, the first confirmation information of the first service data includes: information of a third data amount, and / or information of a third time; or, the first confirmation information of the first service data includes: information of a data amount that the network device (or the first network device) can complete, or information of a time that the network device (or the first network device) can complete, or information that the network device (or the first network device) can complete the third data amount in the third time.

[0269] Optionally, the method further includes: determining, by the network device (or the first network device), the information of the third data amount, and / or the information of the third time.

[0270] Optionally, the network device can be replaced by a second network device or another network device, which is not limited in the present application.

[0271] In a possible implementation, the first confirmation information can be used to indicate whether the network device (or the first network device) can complete the transmission of the first service data before the deadline of the first service data. Optionally, the first confirmation information includes: information that the network device (or the first network device) can complete the transmission of the first service data before the deadline of the first service data, or information that the network device (or the first network device) cannot complete the transmission of the first service data before the deadline of the first service data.

[0272] In some embodiments of the present application, if the terminal device does not receive the first confirmation information of the first service data from the first network device, the terminal device can default / consider that the network device (or the first network device) can complete the transmission of the first service data.

[0273] Optionally, S403: determining, by the terminal device, whether to send or not to send the first service data according to the first confirmation information of the first service data.

[0274] In some embodiments, the terminal device determines, according to the first confirmation information of the first service data, whether to discard or not to discard the first service data, or whether to release or not to release one or more of the following: a first Qos flow, a first DRB, a first PDCP entity, a first RLC entity, and a first LCH corresponding to the first service data.

[0275] S403 is an optional step.

[0276] Optionally, in embodiments of the present application, determining whether to send or not to send the first service data can include / replaced by any one or more of the following: determining whether to discard or not to discard the first service data, or determining whether to release or not to release one or more of the first Qos flow, the first DRB, the first PDCP entity, the first RLC entity, the first LCH, etc. corresponding to the first service data.

[0277] For example, sending or not sending the first service data can include / replaced by: sending or not sending the first service data to the first network device (or network device).

[0278] The present application provides a communication method, which comprises: in the case of handover or in the case of RRC connection reestablishment, the terminal device sends first progress information of first service data to the first network device; and then the terminal device receives first confirmation information of the first service data from the first network device. In the scenario of handover or RRC connection reestablishment, through this method, the terminal device can timely know whether the network device can complete the transmission of the service data of the terminal device, and then the terminal device can timely perform the next step of decision (such as continuing to send service data to the network device, or suspending / stopping sending service data (or returning to local processing)), which is beneficial to the energy saving of the terminal device, beneficial to reducing the latency, and also beneficial to the user experience.

[0279] The method embodiments shown in FIG. 4 include many possible implementation schemes. Some implementation schemes will be exemplified below in combination with FIGS. 5-6. It should be noted that related concepts, operations or logical relationships not explained in FIGS. 5-6 can be referred to the corresponding descriptions in the embodiments shown in FIG. 4.

[0280] In the present application, the embodiments shown in FIGS. 5 and 6 can be a separate embodiment respectively, and the embodiments shown in FIGS. 5 and 6 can not depend on the technical solutions of FIG. 4; some steps in the embodiments shown in FIGS. 5 and 6 can also be a separate embodiment.

[0281] FIG. 5 is a flowchart of another communication method according to an embodiment of the present application. In FIG. 5, the optional steps are represented by dashed lines, i.e., the method can not include any of steps S501, S502, S504 and S505.

[0282] The embodiments of the present application are applied to the case of RRC connection reestablishment.

[0283] For example, in embodiments of the present application, the terminal device can be a UE, the first network device and the second network device can be two different base stations, and the first service data can correspond to task 1, and the first service data can also be referred to as the data of task 1, and the first progress information can also be referred to as the progress information of task 1.

[0284] As shown in FIG. 5, the communication method can include some or all of the following steps:

[0285] Optionally, S501: The terminal device determines that the second network device can complete transmission of the first service data.

[0286] For example, the terminal device interacts with the second network device to determine that the second network device can complete transmission of the first service data.

[0287] For example, the terminal device sends a request message (or message 1) to the second network device, where the request message can include total data volume and / or total time information of the first service data; the second network device sends a response message (or message 2, or an acknowledgement message) to the terminal device, where the response message is used to indicate that the second network device can complete transmission of the first service data within a time corresponding to the total time information, or is used to indicate that the second network device cannot complete transmission of the first service data within the time corresponding to the total time information.

[0288] Optionally, S502: The terminal device triggers RRC connection reestablishment.

[0289] It should be noted that the present application does not limit the triggering condition of RRC connection reestablishment.

[0290] S503: The terminal device sends first progress information of the first service data to the first network device.

[0291] Correspondingly, the first network device receives the first progress information from the terminal device.

[0292] For example, S503 can include / replace: In the case of RRC connection reestablishment, the terminal device sends first progress information of the first service data to the first network device.

[0293] For example, the specific implementation of step S503 can refer to the related content of step S401, which will not be described here.

[0294] For example, the terminal device can indicate the progress information of task 1 (i.e., the first progress information) to the first network device after completion of RRC connection reestablishment or during RRC connection reestablishment or after the RRC connection reestablishment is triggered, and request confirmation of the first network device.

[0295] It should be noted that the present application does not limit the time of sending the first progress information and the signaling carrying the first progress information. For example, the first progress information can be sent in the RRC connection reestablishment completion / RRC establishment completion message, or sent after the RRC connection reestablishment completion / RRC establishment completion message is sent, or sent in the RRC connection reestablishment request message.

[0296] Optionally, the first progress information may include any one or more of the following: the remaining time corresponding to task 1 (i.e., information on the remaining time of the first business data) and information on the remaining amount of data corresponding to task 1 (i.e., information on the remaining amount of the first business data); or, indication information for indicating whether the data for task 1 has been generated (i.e., information on the generation of the first business data). For example, if the data for task 1 has not been generated, the first progress information may also include information for indicating the expected time of generation.

[0297] Optionally, S504: The first network device sends a first confirmation message for the first service data to the terminal device.

[0298] Correspondingly, the terminal device receives the first confirmation information of the first service data from the first network device.

[0299] For example, the specific implementation of step S504 can be found in the relevant content of step S402, and will not be repeated here.

[0300] For example, the first confirmation information may include any one or more of the following: information that the network device (or, the first network device) can complete the transmission of task 1, or information that the network device (or, the first network device) cannot complete the transmission of task 1.

[0301] Optionally, S505: The terminal device determines whether to send or not send the first service data based on the first confirmation information of the first service data.

[0302] For example, step S505 can be referred to step S403, and will not be repeated here.

[0303] In one possible implementation, the terminal device determines to send the first service data based on the first confirmation information of the first service data; subsequently, the terminal device sends the remaining data of the first service data to the first network device. Correspondingly, the first network device receives the remaining data of the first service data from the terminal device.

[0304] It should be understood that in some embodiments of this application, the terminal device may send only a portion of the remaining data of the first service data to the first network device, or the network device providing the service may be replaced before the remaining data of the first service data is sent, and the remaining data of the first service data may be transmitted with the replaced network device. This application does not limit this.

[0305] Figure 6 is a flowchart illustrating another communication method provided in an embodiment of this application. In Figure 6, dashed lines represent optional steps, meaning that the method may not include any of steps S601, S602, S604, and S605.

[0306] The embodiment of the present application is applied to the case of handover.

[0307] For example, in the embodiment of the present application, the terminal device can be a UE, the first network device and the second network device can be two different base stations, the first service data can correspond to task 1, the first service data can also be referred to as the data of task 1, and the first progress information can also be referred to as the progress information of task 1.

[0308] As shown in FIG. 6, the communication method can include some or all of the following steps:

[0309] Optionally, S601: The terminal device determines that the second network device can complete the transmission of the first service data.

[0310] For example, the content related to S601 can refer to the related description of S501, which will not be repeated here.

[0311] Optionally, S602: The terminal device performs handover.

[0312] It should be noted that the present application does not limit the triggering or occurrence condition of handover.

[0313] S603: The terminal device sends the first progress information of the first service data to the first network device.

[0314] Correspondingly, the first network device receives the first progress information from the terminal device.

[0315] For example, S603 can include / replace: In the case of handover, the terminal device sends the first progress information of the first service data to the first network device.

[0316] For example, the specific implementation of S603 can refer to the related content of S401, such as the first progress information can refer to the introduction of the first progress information in S401, which will not be repeated here.

[0317] For example, the terminal device can indicate the progress information of task 1 (i.e. the first progress information) to the first network device after the completion of handover or during handover, and request the confirmation of the first network device.

[0318] It should be noted that the present application does not limit the time of sending the first progress information and the signaling carrying the first progress information. For example, the first progress information can be sent in the handover completion / reconfiguration completion message, or sent after the handover completion / reconfiguration completion message is sent.

[0319] Optionally, the first progress information can include any one or more of the following: remaining time corresponding to the task 1 (i.e., information of remaining time of the first service data) and information of remaining data amount corresponding to the task 1 (i.e., information of remaining data amount of the first service data); or, indication information for indicating whether the data of the task 1 has been generated (i.e., information of generation of the first service data). For example, if the data of the task 1 has not been generated, the first progress information can further include information for indicating time when the data is expected to be generated.

[0320] Optionally, S604: The first network device sends first confirmation information of the first service data to the terminal device.

[0321] Correspondingly, the terminal device receives the first confirmation information of the first service data from the first network device.

[0322] Illustratively, the specific implementation of step S604 can refer to the related content of step S402 or S504, which will not be repeated here.

[0323] Optionally, S605: The terminal device determines whether to send or not to send the first service data according to the first confirmation information of the first service data.

[0324] Illustratively, the related content of step S605 can refer to the content in step S403 or S505, which will not be repeated here.

[0325] In a possible implementation, the terminal device determines to send the first service data according to the first confirmation information of the first service data; and then, the terminal device can send the remaining data of the first service data to the first network device. Correspondingly, the first network device receives the remaining data of the first service data from the terminal device.

[0326] It should be understood that, in some embodiments of the present application, the terminal device can only send part of the remaining data of the first service data to the first network device, or the network device providing the service is replaced before the remaining data of the first service data is sent, and the transmission of the remaining data of the first service data is performed with the replaced network device, which is not limited in the present application.

[0327] The embodiment of FIGS. 5-6 is that, in the case of RRC connection reestablishment or in the scenario of handover, the terminal device sends first progress information to the first network device, and then the first network device sends first confirmation information to the terminal device, so that the terminal device learns as soon as possible whether the first network device (or network device) can complete the transmission of the first service data. If the first network device (or network device) cannot complete the transmission of the first service data, the terminal device can start local processing as soon as possible, reduce the time delay, avoid affecting the service corresponding to the first service data, be conducive to energy saving of the terminal device, and be conducive to user experience.

[0328] Please refer to FIG. 7, which is a flowchart of another communication method provided by an embodiment of the present application. The functions performed by the terminal device in the embodiment of the present application can also be performed by a module (for example, a chip) in the terminal device. The functions performed by the first network device in the embodiment of the present application can also be performed by a module (for example, a chip) in the first network device. The functions performed by the second network device in the embodiment of the present application can also be performed by a module (for example, a chip) in the second network device. In FIG. 7, the optional steps are represented by dashed lines and dashed boxes, that is, the method can not include at least one of steps S700, S701, S703 and S704.

[0329] As shown in FIG. 7, the communication method can include the following steps:

[0330] Optionally, S701: The first network device sends first information to the second network device.

[0331] Correspondingly, the first network device receives the first information from the second network device.

[0332] For example, the first information is used to request context (or UE context) information of the terminal device. Alternatively, the first information is carried in the retrieve UE context request information / message. Alternatively, the first information is the retrieve UE context request information / message. For example, the retrieve UE context request is also called the retrieve UE context request. For example, the retrieve UE context request in English can be RETRIEVE UE CONTEXT REQUEST.

[0333] For example, the first network device is the network device accessed by the terminal device after RRC connection reestablishment.

[0334] For example, the second network device is the network device accessed by the terminal device before RRC connection reestablishment.

[0335] Exemplarily, the second network device is a Last serving gNB or a Last serving gNB of the terminal device. Exemplarily, the first network device is a gNB or a gNB of the terminal device. For example, in the scenario of RRC connection reestablishment, before the RRC connection reestablishment, the terminal device works at the Last serving gNB, and after the RRC connection reestablishment, the terminal device works at the gNB. For example, the gNB can include / replace: a base station, or a network device, or an access network device.

[0336] Optionally, in some embodiments, before the first network device sends the first information to the second network device, the application can further include: the first network device receives second information sent by the terminal device. Correspondingly, the terminal device sends the second information to the first network device.

[0337] For example, the second information is used to request to reestablish the RRC connection. For example, the second information is carried in an RRC connection reestablishment request message. Optionally, the second information is the RRC connection reestablishment request message.

[0338] For example, after the first network device receives the second information sent by the terminal device, the first network device sends the first information to the second network device.

[0339] For example, in the CU-DU separated architecture, the first network device in S701 can be / include / replace: a first DU, or a first CU.

[0340] For example, in the CU-DU separated architecture, the second network device in S701 can be / include / replace: a second DU, or a second CU.

[0341] Optionally, S702 can further include S700 before S702.

[0342] It should be noted that S700 can be after S701, or before S701, which is not limited.

[0343] Optionally, S700: the terminal device sends third progress information of the first service data to the second network device. Correspondingly, the second network device receives the third progress information of the first service data.

[0344] Optionally, in the CU-DU separated architecture, the second network device in S700 can be / include / replace: a DU, or a second DU. For example, the terminal device sends the third progress information of the first service data to the second DU.

[0345] Optionally, in the CU-DU separated architecture, the application can further include: the second DU sends the third progress information of the first service data to the second CU.

[0346] In the embodiments of the present application, the third progress information can also be replaced by other names, for example, the ninth information / message, and the present application is not limited in this regard. The third progress information can be transmitted alone or carried in other messages, and the present application is not limited in this regard.

[0347] In the embodiments of the present application, the terminal device sends the third progress information of the first service data to the second network device, including but not limited to any one or more of the following possible implementation manners:

[0348] Implementation manner one: the third progress information can include information of a data amount of the first service data, and / or information of a time of the first service data.

[0349] Optionally, in the implementation manner one, the third progress information can further include information that the terminal device has generated the first service data.

[0350] Optionally, in the implementation manner one, the third progress information can further include information of generation of the first service data, the information of generation of the first service data being used to indicate that the terminal device has generated the first service data.

[0351] Optionally, in the case that the terminal device has generated the first service data, the implementation manner one can be adopted.

[0352] Implementation manner two: the third progress information can include information of generation of the first service data, and / or information of a fifth time of the first service data.

[0353] For example, the information of generation of the first service data is used to indicate that the terminal device has generated the first service data, or is used to indicate that the terminal device has not generated the first service data. For example, the fifth time of the first service data is how long the first service data will / can be generated, or a time point of generation of the first service data.

[0354] Optionally, in the implementation manner two, the third progress information can further include information of a data amount of the first service data, and / or information of a time of the first service data.

[0355] Optionally, in the implementation manner two, the third progress information can further include information of generation of the first service data, the information of generation of the first service data being used to indicate that the terminal device has not generated the first service data.

[0356] Optionally, in the implementation manner two, the third progress information can further include information of the first data amount, and / or information of the first time.

[0357] Optionally, in the case that the terminal device has not generated the first service data, the implementation manner two can be adopted.

[0358] In a third implementation, the third progress information can comprise: information of the second data amount, and / or information of the second time.

[0359] For example, the second data amount can be, but is not limited to, an amount of data of the first service data that has been transmitted by the terminal device, or an amount of data of the first service data that has been transmitted by the terminal device within the second time.

[0360] Optionally, in the third implementation, the third progress information can further comprise information that the terminal device has generated the first service data.

[0361] Optionally, in the third implementation, the third progress information can further comprise information of generation of the first service data, the information of generation of the first service data being used to indicate that the terminal device has generated the first service data.

[0362] Optionally, the third implementation can be applied in a case where the terminal device has generated the first service data.

[0363] In a fourth implementation, the third progress information can comprise: information of a total data amount of the first service data.

[0364] For example, the total data amount of the first service data can be, but is not limited to, a total amount of data of the first service data that has been generated by the terminal device.

[0365] Optionally, in the fourth implementation, the third progress information can further comprise information that the terminal device has generated the first service data.

[0366] Optionally, in the fourth implementation, the third progress information can further comprise information of generation of the first service data, the information of generation of the first service data being used to indicate that the terminal device has generated the first service data.

[0367] Optionally, the fourth implementation can be applied in a case where the terminal device has generated the first service data.

[0368] In a possible implementation, the information of the data amount of the first service data can comprise or be replaced by: information of a remaining data amount of the first service data. In a possible implementation, the information of the time of the first service data can comprise or be replaced by: information of a remaining time of the first service data. Optionally, the implementation can be applied in a case where the terminal device has generated the first service data.

[0369] In a possible implementation, the information of the data amount of the first service data can comprise or be replaced by: information of a total data amount of the first service data. Optionally, the implementation can be applied in a case where the terminal device has generated the first service data.

[0370] In a possible implementation, the information of the time of the first service data can comprise or replace information of a deadline of the first service data. Optionally, the implementation can be applied in a case where the terminal device has generated the first service data.

[0371] In a possible implementation, the information of the data amount of the first service data can comprise or replace information of a first data amount. In a possible implementation, the information of the time of the first service data can comprise or replace information of a first time. Optionally, the implementation can be applied in a case where the terminal device has not generated the first service data.

[0372] In a possible implementation, the data amount of the first service data is equal to the first data amount. In a possible implementation, the time of the first service data is equal to the first time. Optionally, the implementation can be applied in a case where the terminal device has not generated the first service data.

[0373] Optionally, the first data amount is sent by the second network device to the terminal device. For example, the first data amount is a data amount that the second network device promises to complete to the terminal device.

[0374] Optionally, the first time is sent by the second network device to the terminal device. For example, the first time is a time that the second network device promises to complete to the terminal device.

[0375] For example, the first data amount is a data amount that the second network device can complete within the first time.

[0376] Optionally, in the embodiments of the present application, the terminal device can obtain the information of the data amount of the first service data in any one or more of the following ways, but is not limited to the following ways:

[0377] Way one: The terminal device can determine the information of the data amount of the first service data based on the data amount information known by itself.

[0378] In way one, the terminal device determines the information of the data amount of the first service data based on the data amount information known by itself, which can be implemented in any one of the following ways:

[0379] a1: The terminal device determines the information of the data amount of the first service data according to the information of the total data amount of the first service data and the information of the second data amount.

[0380] For example, the data amount of the first service data is a difference between the total data amount of the first service data and the second data amount (i.e., the data amount of the first service data = the total data amount of the first service data - the second data amount).

[0381] For example, the second data amount can be, but is not limited to, an amount of data of the first service data that has been transmitted by the terminal device, or an amount of data of the first service data that has been transmitted by the terminal device within the second time.

[0382] a2: The terminal device determines the information of the data amount of the first service data according to the information of the first data amount and the information of the second data amount.

[0383] For example, the data amount of the first service data is a difference between the first data amount and the second data amount (i.e., the data amount of the first service data = the first data amount - the second data amount).

[0384] Mode two: The terminal device can determine the information of the data amount of the first service data based on the data amount information from the second network device.

[0385] In mode two, the terminal device determines the information of the data amount of the first service data based on the data amount information from the second network device, which can be implemented by any of the following:

[0386] b1: The terminal device determines the information of the data amount of the first service data according to the information of the total data amount of the first service data and the information of the fourth data amount from the second network device.

[0387] For example, the data amount of the first service data is a difference between the total data amount of the first service data and the fourth data amount (i.e., the data amount of the first service data = the total data amount of the first service data - the fourth data amount).

[0388] For example, the fourth data amount can be, but is not limited to, an amount of data of the first service data that has been received by the second network device, or an amount of data of the first service data that has been received by the second network device within the second time.

[0389] Optionally, the second network device can actively, or periodically, or based on the query information / request information of the terminal device, or based on event / condition triggering, send the information of the fourth data amount to the terminal device. For example, the terminal device sends a request information to the second network device, and the request information can be used to query / request / inquire the information of the fourth data amount from the second network device. Accordingly, the second network device sends the information of the fourth data amount to the terminal device.

[0390] b2: The terminal device determines the information of the data amount of the first service data according to the information of the first data amount and the information of the fourth data amount from the second network device. For example, the data amount of the first service data is a difference between the first data amount and the fourth data amount (i.e., the data amount of the first service data = the first data amount - the fourth data amount).

[0391] Optionally, in the embodiments of the present application, the terminal device can obtain the information of the time of the first service data in any one or more of the following ways, but is not limited to:

[0392] Option 1: The terminal device can determine the information of the time of the first service data based on the time information known by itself.

[0393] In option 1, the terminal device determines the information of the time of the first service data according to the time information known by itself, which can be implemented in any of the following ways:

[0394] c1: The terminal device determines the information of the time of the first service data according to the information of the total time of the first service data and the information of the second time. For example, the time of the first service data is the difference between the total time of the first service data and the second time (i.e., the time of the first service data = the total time of the first service data - the second time).

[0395] For example, the second time can be, but is not limited to, the time length occupied by the terminal device for transmitting the first service data, or the time length occupied by the terminal device for transmitting the first service data of the second data amount.

[0396] c2: The terminal device determines the information of the time of the first service data according to the information of the first time and the information of the second time. For example, the time of the first service data is the difference between the first time and the second time (i.e., the time of the first service data = the first time - the second time).

[0397] Option 2: The terminal device can determine the information of the time of the first service data based on the time information from the second network device.

[0398] In option 2, the terminal device determines the information of the time of the first service data according to the time information from the second network device, which can be implemented in any of the following ways:

[0399] d1: The terminal device determines the information of the time of the first service data according to the information of the total time of the first service data and the information of the fourth time from the second network device.

[0400] For example, the time of the first service data is the difference between the total time of the first service data and the fourth time (i.e., the time of the first service data = the total time of the first service data - the fourth time).

[0401] For example, the fourth time can be, but is not limited to, the time length occupied by the second network device for receiving the first service data, or the time length occupied by the second network device for receiving the first service data of the second data amount.

[0402] Optionally, the second network device can actively, or periodically, or based on the terminal device's query information / request information, or based on event / condition triggering, send the fourth time information to the terminal device. For example, the terminal device sends a request information to the second network device, and the request information can be used to query / request / inquire the fourth time information from the second network device. Accordingly, the second network device sends the fourth time information to the terminal device.

[0403] d2: The terminal device determines the first service data time information according to the first time information and the fourth time information from the second network device. For example, the first service data time is the difference between the first time and the fourth time (i.e., the first service data time = the first time - the fourth time).

[0404] It should be noted that S700 can be an independent embodiment and does not depend on other steps.

[0405] S702: The second network device sends the terminal device's second progress information of the first service data to the first network device.

[0406] Accordingly, the first network device receives the terminal device's second progress information of the first service data.

[0407] Optionally, in the CU-DU separated architecture, the second network device sending the terminal device's second progress information of the first service data to the first network device can include one or more of the following cases:

[0408] Case 1: In the CU-DU separated architecture, the second network device in S702 can be / include / replace: DU, or second DU. For example, the second DU sends the terminal device's second progress information of the first service data to the first network device.

[0409] Case 2: In the CU-DU separated architecture, the second network device in S702 can be / include / replace: CU, or second CU. For example, the second CU sends the first service data's second progress information to the first network device.

[0410] Case 3: In the CU-DU separated architecture, the first network device in S702 can be / include / replace: DU, or first DU. For example, the second network device sends the first service data's second progress information to the first DU.

[0411] Case 4: In the CU-DU separated architecture, the first network device in S702 can be / include / replace: CU, or first CU. For example, the second network device sends the first service data's second progress information to the first CU.

[0412] For example, the second DU sends second progress information of the first service data to the first DU.

[0413] Optionally, in the CU-DU separated architecture, the application can further include that the second DU sends second progress information of the first service data to the second CU.

[0414] Optionally, in the CU-DU separated architecture, the application can further include that the second CU sends second progress information of the first service data to the second DU.

[0415] Optionally, in the CU-DU separated architecture, the application can further include that the first DU sends second progress information of the first service data to the first CU.

[0416] Optionally, in the CU-DU separated architecture, the application can further include that the first CU sends second progress information of the first service data to the first DU.

[0417] For example, the first service data is uplink data. For example, the first service data can be / include data corresponding to a task or total data in a task-level transmission.

[0418] For example, the first service data can be determined or generated by the terminal device based on information of a first data amount from the second network device and / or information of a first time. For example, the first data amount can be an amount of data that the second network device can complete transmission within the first time.

[0419] For example, the first service data can be associated with one or more of a first Qos flow, a first DRB, a first PDCP entity, a first RLC entity, and a first LCH, without limitation.

[0420] For example, the first service data or the first service data of the terminal device in the application can be carried in one or more of a first Qos flow, a first DRB, a first PDCP layer (or entity), a first RLC layer (or entity), and a first LCH.

[0421] For example, the specific form of the first service data can be photo (picture) data, video data, text data, a signal, a task, without limitation.

[0422] For example, the first service data is associated with a task.

[0423] For example, the first service data can include / replace: a first data set, or a first task, or data corresponding to the first task, or other names, without limitation.

[0424] In the embodiments of the present application, the second progress information can also be replaced by other names, for example, the seventh information / message, and the present application is not limited in this regard. The second progress information can be transmitted alone or carried in other messages, and the present application is not limited in this regard.

[0425] Exemplarily, the second progress information of the first service data can be carried in the extract UE context response information / message. For example, the extract UE context response is also called retrieve UE context response. For example, the extract UE context response in English can be RETRIEVE UE CONTEXT RESPONSE.

[0426] In the embodiments of the present application, the second network device sends the second progress information of the first service data of the terminal device to the first network device, including but not limited to the following possible implementation manners:

[0427] Implementation manner one: the second progress information can include the information of the data amount of the first service data, and / or the information of the time of the first service data.

[0428] Optionally, in the implementation manner one, the second progress information can further include the information of the generation of the first service data, and the information of the generation of the first service data is used to indicate that the terminal device has generated the first service data.

[0429] Optionally, in the implementation manner one, the second progress information can further include the information that the terminal device has generated the first service data.

[0430] Optionally, in the case that the terminal device has generated the first service data, the implementation manner one can be adopted.

[0431] Implementation manner two: the second progress information can include the information that the terminal device has not generated the first service data, and / or the information of the fifth time of the first service data.

[0432] Optionally, in the implementation manner two, the second progress information can include the information of the generation of the first service data, and the information of the generation of the first service data is used to indicate that the terminal device has not generated the first service data.

[0433] Optionally, in the implementation manner two, the second progress information can further include the information of the data amount of the first service data, and / or the information of the time of the first service data.

[0434] Optionally, in the implementation manner two, the second progress information can further include the information of the first data amount, and / or the information of the first time.

[0435] Optionally, in the case that the terminal device has not generated the first service data, the implementation manner two can be adopted.

[0436] In a possible implementation, the information of the data amount of the first service data can comprise or be replaced by information of a remaining data amount of the first service data. In a possible implementation, the information of the time of the first service data can comprise or be replaced by information of a remaining time of the first service data. Optionally, the implementation can be applied in a case that the terminal device has generated the first service data.

[0437] In a possible implementation, the information of the data amount of the first service data can comprise or be replaced by information of a total data amount of the first service data. Optionally, the implementation can be applied in a case that the terminal device has generated the first service data.

[0438] In a possible implementation, the information of the time of the first service data can comprise or be replaced by information of a deadline of the first service data. Optionally, the implementation can be applied in a case that the terminal device has generated the first service data.

[0439] In a possible implementation, the information of the data amount of the first service data can comprise or be replaced by information of a first data amount. In a possible implementation, the information of the time of the first service data can comprise or be replaced by information of a first time. Optionally, the implementation can be applied in a case that the terminal device has not generated the first service data.

[0440] In a possible implementation, the data amount of the first service data is equal to the first data amount. In a possible implementation, the time of the first service data is equal to the first time. Optionally, the implementation can be applied in a case that the terminal device has not generated the first service data.

[0441] Optionally, the first data amount is sent by the second network device to the terminal device. For example, the first data amount is a data amount that the second network device promises to complete to the terminal device.

[0442] Optionally, the first time is sent by the second network device to the terminal device. For example, the first time is a time that the second network device promises to complete to the terminal device.

[0443] For example, the first data amount is a data amount that the second network device can complete within the first time.

[0444] In a possible implementation, the second progress information can further comprise information of a fifth time of the first service data. For example, the information of the fifth time is used to indicate how long the first service data will / can be generated, or a time point of generation of the first service data. Optionally, the implementation can be applied in a case that the first service data has not been generated.

[0445] Optionally, in the second implementation, the second progress information can further include information of the fifth time of the first service data.

[0446] Optionally, the third progress information and the second progress information can be the same or different, and the present application does not limit this.

[0447] Optionally, in the embodiments of the present application, the second network device can obtain the information of the data amount of the first service data through but not limited to any one or more of the following ways:

[0448] Method one: the second network device can determine the information of the data amount of the first service data based on the information from the terminal device.

[0449] In the first method, the second network device determines the information of the data amount of the first service data based on the information from the terminal device, which can be implemented by any one of the following:

[0450] A1: the second network device receives the information of the data amount of the first service data from the terminal device.

[0451] Optionally, the terminal device can actively, or periodically, or based on the query information of the second network device, or based on event / condition triggering, send the information of the data amount of the first service data to the second network device.

[0452] For example, the second network device can send the query information to the terminal device, and the query information can be used to query / request / inquire the information of the data amount of the first service data from the terminal device. Correspondingly, the terminal device sends the information of the data amount of the first service data to the second network device.

[0453] For example, A1 can be implemented by the second network device receiving the third progress information from the terminal device in S700, or implemented by other processes, or implemented by independent transmission processes, which are not limited.

[0454] Optionally, in the embodiments of the present application, the query information can be replaced by other names, such as request information / message, or eighth information / message, which are not limited. The query information can be transmitted alone or carried in other messages, which are not limited.

[0455] A2: the second network device determines the information of the data amount of the first service data according to the information of the total data amount of the first service data from the terminal device and the information of the second data amount from the terminal device. For example, the data amount of the first service data is the difference between the total data amount of the first service data and the second data amount (the data amount of the first service data = the total data amount of the first service data-second data amount).

[0456] Optionally, the terminal device can actively, or periodically, or based on the query information of the second network device, or based on event / condition triggering, send the information of the total data volume of the first service data and / or the information of the second data volume to the second network device. Correspondingly, the second network device receives the information of the total data volume of the first service data and / or the information of the second data volume from the terminal device.

[0457] For example, the second network device can send the query information to the terminal device, and the query information can be used to query / request / inquire the information of the total data volume of the first service data and / or the information of the second data volume from the terminal device; accordingly, after receiving the query information, the terminal device sends the information of the total data volume of the first service data and / or the information of the second data volume to the second network device.

[0458] For example, the second data volume can be, but is not limited to, the data volume of the first service data that has been transmitted by the terminal device, or the data volume of the first service data that has been transmitted by the terminal device within the second time.

[0459] A3: The second network device determines the information of the data volume of the first service data according to the information of the first data volume and the information of the second data volume from the terminal device.

[0460] For example, the data volume of the first service data is the difference between the first data volume and the second data volume (i.e., the data volume of the first service data = the first data volume - the second data volume).

[0461] A4: The second network device determines the information of the data volume of the first service data according to the information of the total data volume of the first service data from the terminal device and the information of the fourth data volume.

[0462] For example, the data volume of the first service data is the difference between the total data volume of the first service data and the fourth data volume (i.e., the data volume of the first service data = the total data volume of the first service data - the fourth data volume).

[0463] For example, the fourth data volume can be, but is not limited to, the data volume of the first service data that has been received by the second network device, or the data volume of the first service data that has been received by the second network device within the second time.

[0464] A5: The second network device determines the information of the data volume of the first service data according to the information of the generation of the first service data from the terminal device. The information of the generation of the first service data is used to indicate that the terminal device has not generated the first service data.

[0465] Optionally, the terminal device can actively, or periodically, or based on the query information from the second network device, or based on event / condition triggering, send the generated information of the first service data to the second network device. Correspondingly, the second network device receives the generated information of the first service data from the terminal device.

[0466] For example, the second network device can send query information to the terminal device, and the query information can be used to query / request / inquire the generated information of the first service data from the terminal device; accordingly, after receiving the query information, the terminal device sends the generated information of the first service data to the second network device.

[0467] For example, the data amount of the first service data is equal to the first data amount.

[0468] Optionally, in the embodiment of the present application, the second network device can determine the information of the data amount of the first service data based on the data amount information known by itself.

[0469] In the second mode, the second network device determines the information of the data amount of the first service data based on the data amount information known by itself, which can be implemented by the following modes:

[0470] B1: The second network device determines the information of the data amount of the first service data according to the information of the first data amount and the information of the fourth data amount. For example, the data amount of the first service data is the difference between the first data amount and the fourth data amount (i.e. the data amount of the first service data = the first data amount - the fourth data amount).

[0471] Optionally, in the embodiment of the present application, the second network device can obtain the information of the time of the first service data by any one or more of the following modes:

[0472] Optionally, in the embodiment of the present application, the second network device can obtain the information of the time of the first service data by any one or more of the following modes:

[0473] In the first mode, the second network device determines the information of the time of the first service data based on the information from the terminal device, which can be implemented by any one of the following modes:

[0474] C1: The second network device receives the information of the time of the first service data from the terminal device.

[0475] Optionally, the terminal device can actively, or periodically, or based on the query information from the second network device, or based on event / condition triggering, send the information of the time of the first service data to the second network device.

[0476] For example, the second network device can send a query information to the terminal device, the query information can be used to query / request / inquire the information of the time of the first service data from the terminal device. Correspondingly, the terminal device sends the information of the time of the first service data to the second network device.

[0477] For example, C1 can be implemented by that the second network device receives the third progress information from the terminal device in S700, or implemented by other processes, or implemented by an independent transmission process, which is not limited.

[0478] C2: The second network device determines the information of the time of the first service data according to the information of the total time of the first service data and the information of the second time from the terminal device.

[0479] For example, the time of the first service data is the difference between the total time of the first service data and the second time (i.e. the time of the first service data = the total time of the first service data-second time).

[0480] Optionally, the terminal device can actively or periodically send the information of the total time of the first service data and the information of the second time to the second network device based on the query information of the second network device or based on event / condition triggering. Correspondingly, the second network device receives the information of the total time of the first service data and the information of the second time from the terminal device.

[0481] For example, the second network device can send a query information to the terminal device, the query information can be used to query / request / inquire the information of the total time of the first service data and the information of the second time from the terminal device; correspondingly, the terminal device receives the query information and sends the information of the total time of the first service data and the information of the second time to the second network device.

[0482] For example, the second time can be but not limited to: the time length of the terminal device having transmitted the first service data, or the time length of the terminal device having transmitted the first service data of the second data amount.

[0483] C3: The second network device determines the information of the time of the first service data according to the information of the first time and the information of the second time from the terminal device.

[0484] For example, the time of the first service data is the difference between the first time and the second time (i.e. the time of the first service data = the first data amount-second data amount).

[0485] C4: The second network device determines the information of the data amount of the first service data according to the information of the total time of the first service data and the information of the fourth time from the terminal device.

[0486] For example, the data amount of the first service data is a difference between the total time of the first service data and the fourth time (i.e., the time of the first service data = the total time of the first service data - the fourth time).

[0487] The fourth time can be, but is not limited to, a time length during which the second network device has received the first service data, or a time length during which the second network device has received the second data amount of the first service data.

[0488] C5: The second network device determines the information of the time of the first service data according to the generated information of the first service data from the terminal device. The generated information of the first service data is used to indicate that the terminal device has not generated the first service data.

[0489] Optionally, the terminal device can actively or periodically send the generated information of the first service data to the second network device, or trigger based on the query information from the second network device, or based on an event / condition. Correspondingly, the second network device receives the generated information of the first service data from the terminal device.

[0490] For example, the second network device can send query information to the terminal device, and the query information can be used to query / request / inquire the generated information of the first service data from the terminal device. Correspondingly, the terminal device sends the generated information of the first service data to the second network device after receiving the query information.

[0491] For example, the time of the first service data is equal to the first time.

[0492] Mode two: The second network device can determine the information of the time of the first service data based on the time information known by itself.

[0493] In mode two, the second network device determines the information of the time of the first service data based on the time information known by itself, which can be implemented in the following ways:

[0494] D1: The second network device determines the information of the time of the first service data according to the information of the first time and the information of the fourth time.

[0495] For example, the time of the first service data is equal to a difference between the first time and the fourth time (i.e., the time of the first service data = the first time - the fourth time).

[0496] In an optional implementation, the time can include / replace time length, or time period, etc. For example, the time can be expressed by any one or more of the following: superframe number, frame number, time slot number, subframe number, symbol number, and absolute time length (e.g., millisecond). For example, the time of the first service data can also include / replace "time length of the first service data", which is not limited.

[0497] In another optional implementation, the time can include / replace a time point, or a time instant, or a deadline, etc. For example, the time can be expressed by any one or more of a hyper frame number (HFN), a system frame number (SFN), a time slot (or a time slot number), a subframe (or a subframe number), a symbol (or a symbol number), an absolute time, a coordinated universal time (UTC) time, without limitation. For example, the time of the first service data can also include / replace a time point of the first service data, or a deadline of the first service data, or a specified time of the first service data, without limitation.

[0498] For example, in S700, the third progress information sent by the terminal device to the second network device can include information of the deadline of the first service data, or the terminal device can send the deadline of the first service data to the second network device. For example, the deadline of the first service data can mean that the network device (or the first network device) needs to complete the transmission of the first service data before this deadline, or the transmission of the first service data needs to be completed before this deadline. Optionally, the deadline of the first service data can be determined by the terminal device. For example, the terminal device determines the deadline of the first service data according to the current time and the information of the time of the first service data (or the information of the remaining time of the first service data). In addition, the terminal device can also determine the deadline of the first service data in other manners, which are not limited by the present application.

[0499] For example, the second progress information sent by the second network device to the first network device can include the deadline of the first service data, or the second network device can send the deadline of the first service data to the first network device. For example, the deadline of the first service data can mean that the network device (or the first network device) needs to complete the transmission of the first service data before this deadline, or the transmission of the first service data needs to be completed before this deadline.

[0500] Optionally, the deadline of the first service data can come from the terminal device and be determined by the terminal device based on the time information known by itself and / or the time information provided from the second network device. For example, the terminal device determines the deadline of the first service data according to the current time and the information of the time of the first service data (or the information of the remaining time of the first service data).

[0501] Optionally, the deadline of the first service data can be determined by the second network device based on time information known by itself and / or time information provided by the terminal device. For example, the second network device determines the deadline of the first service data according to current time and information of time of the first service data (or information of remaining time of the first service data).

[0502] Optionally, the information of time of the first service data (or information of remaining time of the first service data) can be determined by the terminal device or the second network device.

[0503] In addition, the second network device can also determine the deadline of the first service data through other manners or obtain the deadline of the first service data through other ways, which are not limited herein.

[0504] Optionally, in the embodiments of the present application, the second network device can obtain the information of the fifth time of the first service data through any one or more of the following manners, but is not limited to the following manners:

[0505] Manner one: the second network device can determine the information of the fifth time of the first service data based on information from the terminal device.

[0506] In the manner one, the second network device determines the information of the fifth time of the first service data based on information from the terminal device can be implemented through any one of the following manners:

[0507] A1: the second network device receives the information of the fifth time of the first service data from the terminal device.

[0508] Optionally, the terminal device can actively or periodically send the information of the fifth time of the first service data to the second network device, or send the information based on query information of the second network device, or based on event / condition triggering.

[0509] For example, the second network device can send query information to the terminal device, and the query information can be used to query / request / inquire the information of the fifth time of the first service data from the terminal device. Correspondingly, the terminal device sends the information of the fifth time of the first service data to the second network device.

[0510] For example, A1 can be implemented by that the second network device receives the third progress information from the terminal device in S700, or implemented through other procedures, or implemented through independent transmission procedures, which are not limited herein.

[0511] Optionally, in the embodiments of the present application, the query information can be replaced by other names, such as request information / message, or third information / message, which are not limited herein. The query information can be transmitted alone or carried in other messages, which are not limited herein.

[0512] Way two: the second network device can determine the information of the fifth time of the first service data based on the time information known by itself.

[0513] In way two, the second network device determines the information of the fifth time of the first service data based on the time information known by itself, which can be implemented in the following way:

[0514] B1: the second network device determines the information of the fifth time of the first service data according to the information of the sixth time.

[0515] For example, the fifth time of the first service data is the sixth time. The information of the sixth time is used to indicate how long the first service data will / can be generated or the time point of the generation of the first service data.

[0516] For example, the information of the sixth time can be reported by the terminal device to the second network device (or, the network device).

[0517] B2: the first access network device determines the information of the fifth time of the first service data according to the information of the sixth time and the information of the seventh time.

[0518] For example, the seventh time is the time elapsed since the second network device (or, the network device) receives the information of the sixth time.

[0519] For example, the fifth time of the first service data is the difference between the sixth time and the seventh time (i.e., the fifth time of the first service data = the sixth time - the seventh time).

[0520] Optionally, S703: the first network device sends the first confirmation information of the first service data to the terminal device. Correspondingly, the terminal device receives the first confirmation information of the first service data.

[0521] In some embodiments, the first network device can send the first confirmation information to the terminal device after receiving the second progress information.

[0522] For example, the specific implementation of step S703 can refer to the specific implementation of step S402, which will not be described here.

[0523] For example, the content of the first confirmation information can refer to the related introduction of the first confirmation information in the embodiment shown in FIG. 4, which will not be described here.

[0524] Optionally, S704: the terminal device determines whether to send or not to send the first service data according to the first confirmation information of the first service data.

[0525] For example, the specific implementation of step S704 can refer to the specific implementation of step S403, which will not be described here.

[0526] The application provides a communication method, which comprises: in the case of RRC connection reestablishment, a second network device sends second progress information of first service data of a terminal device to a first network device; and then the terminal device receives first confirmation information of the first service data from the first network device. In the case of RRC connection reestablishment, through the method, the terminal device can learn whether the network device can complete the transmission of the service data of the terminal device in time, and then the terminal device can execute the next decision (for example, continuing to send the service data to the network device, or suspending / stopping sending the service data (or returning to local processing)) in time, which is beneficial to the energy saving of the terminal device, beneficial to reducing the time delay, and also beneficial to the user experience.

[0527] The method embodiment shown in FIG. 7 contains many possible implementation schemes, and some implementation schemes thereof will be exemplarily described below in combination with FIG. 8. It should be noted that the related concepts, operations or logical relationships not explained in FIG. 8 can be referred to the corresponding description in the embodiment shown in FIG. 7.

[0528] In the application, the embodiment shown in FIG. 8 can be taken as a separate embodiment, and the embodiment shown in FIG. 8 can not depend on the technical scheme of FIG. 4. Some steps in the embodiment shown in FIG. 8 can also be taken as a separate embodiment.

[0529] FIG. 8 is a flowchart of another communication method provided by the embodiment of the application. In FIG. 8, the optional steps are represented by dashed lines, that is, the method can not include any of steps S801, S802, S803, S804, S806 and S807.

[0530] The embodiment of the application is applied to the case of RRC connection reestablishment.

[0531] For example, in the embodiment of the application, the terminal device can be a UE, the first network device and the second network device can be two different base stations, the first service data can correspond to task 1, the first service data can also be referred to as the data of task 1, and the second progress information can also be referred to as the progress information of task 1.

[0532] Optionally, S801: the terminal device determines that the second network device can complete the transmission of the first service data.

[0533] For example, the content related to S801 can be referred to the related description of step S501, which will not be described herein again.

[0534] Optionally, S802: the terminal device triggers RRC connection reestablishment.

[0535] It should be noted that the application does not limit the triggering condition of RRC connection reestablishment.

[0536] Optionally, S803: The terminal device sends second information to the first network device.

[0537] Correspondingly, the first network device receives the second information sent by the terminal device.

[0538] For example, the content related to S803 can be found in the related description in FIG. 7, which will not be repeated here.

[0539] Optionally, S804: The first network device sends the first information to the second network device.

[0540] Correspondingly, the first network device receives the first information from the second network device.

[0541] In some embodiments, the first network device is gNB1, the second network device is Last serving gNB, and the terminal device is UE. After gNB1 receives the RRC connection reestablishment request sent by UE, gNB1 requests UE context from Last serving gNB.

[0542] For example, the content related to S804 can be found in the related description of step S701, which will not be repeated here.

[0543] S805: The second network device sends second progress information of the first service data of the terminal device to the first network device.

[0544] Correspondingly, the second network device receives the second progress information of the first service data of the terminal device from the first network device.

[0545] For example, the specific implementation of step S805 can be found in the related content of step S702, which will not be repeated here.

[0546] In some embodiments, the first network device is gNB1, the second network device is Last serving gNB, and the terminal device is UE. After gNB1 receives the reestablishment request sent by UE, gNB1 requests UE context from Last serving gNB. Then, Last serving gNB can carry the progress information of task 1 (i.e., the second progress information) in the UE context sent to gNB1.

[0547] Optionally, the second progress information can include any one or more of the following: remaining time corresponding to the task 1 (i.e., information of the remaining time of the first service data) and information of the remaining data amount corresponding to the task 1 (i.e., information of the remaining data amount of the first service data); or, indication information indicating whether the data of the task 1 has been generated (i.e., information of the generation of the first service data). For example, if the data of the task 1 has not been generated, the second progress information can include information indicating the time when the data is expected to be generated.

[0548] Optionally, S806: The first network device sends first confirmation information of the first service data to the terminal device.

[0549] Correspondingly, the terminal device receives the first confirmation information from the first network device.

[0550] For example, the specific implementation of step S806 can refer to the related content of step S402 or S504 or S703, which will not be repeated here.

[0551] Optionally, S807: The terminal device determines whether to send or not to send the first service data according to the first confirmation information of the first service data.

[0552] For example, the related content of step S807 can refer to the content in step S403 or S505 or S704, which will not be repeated here.

[0553] In a possible implementation, the terminal device determines to send the first service data according to the first confirmation information of the first service data, and then sends the remaining data of the first service data to the first network device. Correspondingly, the first network device receives the remaining data of the first service data from the terminal device.

[0554] It should be understood that, in some embodiments of the present application, the terminal device can only send part of the remaining data of the first service data to the first network device, or the network device providing the service is replaced before the remaining data of the first service data is sent, and the transmission of the remaining data of the first service data is performed with the replaced network device, which is not limited in the present application.

[0555] In the scenario of RRC connection reestablishment, the second network device sends the second progress information to the first network device, and then the first network device sends the first confirmation information to the terminal device, so that the terminal device can learn as soon as possible whether the first network device (or the network device) can complete the transmission of the first service data. If the first network device (or the network device) cannot complete the transmission of the first service data, the terminal device can start local processing as early as possible, reduce the time delay, avoid the impact on the service corresponding to the first service data, be conducive to the energy saving of the terminal device, and be conducive to the user experience.

[0556] For example, the first progress information and the second progress information can have the same meaning or different meaning, which is not limited in the present application. For example, if the first progress information and the second progress information have the same meaning, the specific information indicated by the first progress information and the second progress information can be the same or different, which is not limited in the present application. For example, in the embodiments corresponding to FIG. 4 to FIG. 6, the first progress information is determined by the terminal device, and in the embodiments corresponding to FIG. 7 and FIG. 8, the second progress information is determined by the second network device.

[0557] Please refer to FIG. 9, which is a flow diagram of another communication method provided by the embodiments of the present application. The functions performed by the terminal device in the embodiments of the present application can also be performed by the modules (for example, chips) in the terminal device, and the functions performed by the first network device in the embodiments of the present application can also be performed by the modules (for example, chips) in the first network device. In FIG. 9, the optional steps are represented by dashed lines, that is, the method can not include step S901 and / or S902.

[0558] As shown in FIG. 9, the communication method can include the following steps:

[0559] Optionally, S901: The terminal device determines that the second network device can complete the transmission of the first service data.

[0560] For example, the terminal device interacts with the second network device to determine that the second network device can complete the transmission of the first service data.

[0561] For example, the terminal device sends a request message (or message 1) to the second network device, and the request message can include the total data amount of the first service data and / or the total time information; the second network device sends a response message (or message 2, or confirmation message) to the terminal device, and the response message is used to indicate that the second network device can complete the transmission of the first service data within the time corresponding to the total time information or to indicate that the second network device cannot complete the transmission of the first service data within the time corresponding to the total time information.

[0562] Optionally, S902: The terminal device triggers RRC connection reestablishment, or the terminal device occurs handover.

[0563] It should be noted that the present application does not limit the triggering condition of RRC connection reestablishment.

[0564] It should be noted that the present application does not limit the triggering or occurrence condition of handover.

[0565] In some embodiments, the handover of the terminal device or the triggering of RRC connection reconstruction may occur after it is determined that the second network device can complete the transmission of the first service data, and before the transmission of the first service data begins or during the transmission of the first service data. This application does not limit this to any particular scenario.

[0566] S903: In the event of a handover or the re-establishment of an RRC connection, the terminal device terminates the transmission of the first service data.

[0567] For example, "end" can be replaced with "give up".

[0568] For example, ending the transmission of the first service data may include / be replaced by at least one of the following: discarding the first service data, or not sending the first service data, or releasing one or more of the first QoS flow, first DRB, first PDCP entity, first RLC entity, first LCH, etc. corresponding to the first service data.

[0569] For example, in the case of a switchover or in the case of an RRC connection rebuild, it may include / be replaced by: satisfying a first condition.

[0570] For example, the first condition may include at least one of the following:

[0571] The terminal device receives an RRC reconfiguration message (e.g., a synchronization reconfiguration message) from the first network device; or,

[0572] The terminal device sends a handover completion message or an RRC reconfiguration completion message to the first network device; or,

[0573] The terminal device triggers RRC connection reconstruction; or,

[0574] The terminal device sends an RRC connection re-establishment request message to the first network device; or,

[0575] The terminal device receives an RRC connection re-establishment message or an RRC connection establishment message from the first network device; or,

[0576] The terminal device sends an RRC connection reconstruction complete message to the first network device.

[0577] For example, an RRC reconfiguration message (e.g., a synchronization reconfiguration message) from a first network device may include / be replaced with: an RRC reconfiguration message (e.g., a synchronization reconfiguration message) from a first network device that is transparently transmitted / forwarded through a second network device. For example, in embodiments of this application, an RRC reconfiguration message may include / be replaced with: an RRC reconfiguration message.

[0578] For example, "The terminal device triggers RRC connection reconstruction" can include / be replaced with: "RRC connection reconstruction is triggered".

[0579] For example, the first network device is a network device accessed by the terminal device after handover, or a network device accessed by the terminal device after RRC connection reestablishment.

[0580] For example, the second network device is a network device accessed by the terminal device before handover, or a network device accessed by the terminal device before RRC connection reestablishment.

[0581] For example, the second network device is a source access network device (for example, a source base station) of the terminal device. For example, the first network device is a target access network device (for example, a target base station) of the terminal device. For example, in a mobile handover scenario, the terminal device can be handed over from the second network device to the first network device, or handed over from a source cell served by the second network device to a target cell served by the first network device.

[0582] For example, the second network device is a Last serving gNB or a Last serving gNB of the terminal device. For example, the first network device is a gNB or a gNB of the terminal device. For example, in an RRC connection reestablishment scenario, before RRC connection reestablishment, the terminal device works in the Last serving gNB, and after RRC connection reestablishment, the terminal device works in the gNB. For example, the gNB can include / replace a base station, a network device, or an access network device.

[0583] The present application provides a communication method, which comprises: in the case of handover or in the case of RRC connection reestablishment, the terminal device ends the transmission of the first service data. In the handover or RRC connection reestablishment scenario, by the method, the terminal device can give up the transmission of the service data as soon as possible, and then the terminal device can return / start local processing in time, which is beneficial to energy saving of the terminal device, beneficial to reducing the delay, and also beneficial to user experience.

[0584] The method embodiment shown in FIG. 9 includes many possible implementation schemes. Some implementation schemes will be described below with reference to FIGS. 10-11. It should be noted that related concepts, operations, or logical relationships not explained in FIGS. 10-11 can be referred to the corresponding description in the embodiment shown in FIG. 9.

[0585] In the present application, the embodiments shown in FIGS. 10 and 11 can be separate embodiments, and the embodiments shown in FIGS. 10 and 11 can not depend on the technical solution of FIG. 9. Some steps in the embodiments shown in FIGS. 10 and 11 can also be separate embodiments.

[0586] FIG. 10 is a flow diagram of another communication method according to an embodiment of the present application. In FIG. 10, the optional steps are represented by dashed lines, i.e., the method can not include step S1001 and / or S1002.

[0587] The embodiments of the present application are applied to the case of RRC connection reestablishment.

[0588] For example, in the embodiments of the present application, the terminal device can be a UE, the first network device and the second network device can be two different base stations, and the first service data can correspond to task 1, which can also be referred to as task 1 data.

[0589] As shown in FIG. 10, the communication method can include the following part or all steps:

[0590] Optionally, S1001: The terminal device determines that the second network device can complete the transmission of the first service data.

[0591] For example, the content related to S1001 can be referred to the related description of step S501 or S901, which will not be repeated here.

[0592] In some embodiments, the terminal device can send the first service data to the second network device after determining that the second network device can complete the transmission of the first service data.

[0593] S1002: The terminal device triggers RRC connection reestablishment.

[0594] It should be noted that the present application does not limit the triggering condition of RRC connection reestablishment.

[0595] For example, the content related to S1002 can be referred to the related description of step S902, which will not be repeated here.

[0596] In some embodiments, the terminal device triggers RRC connection reestablishment can be after determining that the second network device can complete the transmission of the first service data, specifically, before starting the transmission of the first service data or in the process of the transmission of the first service data, which is not limited by the present application.

[0597] S1003: The terminal device ends the transmission of the first service data.

[0598] For example, S1003 can include / replace: In the case of RRC connection reestablishment, the terminal device ends the transmission of the first service data.

[0599] For example, the content related to S1003 can be referred to the related description of step S903, which will not be repeated here.

[0600] In some embodiments, the terminal device is a UE, after the UE triggers the RRC connection reestablishment, the UE abandons the task-level transmission and discards the task-related data. Optionally, the UE can abandon all task-level transmissions, or only abandon part (e.g., half) of the task-level transmissions.

[0601] FIG. 11 is a flow diagram of another communication method according to an embodiment of the present application. In FIG. 11, the optional steps are represented by dashed lines, i.e., the method can not include step S1101 and / or S1102.

[0602] The embodiments of the present application are applied to the case of handover.

[0603] For example, in the embodiments of the present application, the terminal device can be a UE, the first network device and the second network device can be two different base stations, and the first service data can correspond to task 1, which can also be referred to as the data of task 1.

[0604] As shown in FIG. 11, the communication method can include the following part or all steps:

[0605] Optionally, S1101: The terminal device determines that the second network device can complete the transmission of the first service data.

[0606] In some embodiments, after determining that the second network device can complete the transmission of the first service data, the terminal device can send the first service data to the second network device.

[0607] For example, the content related to S1101 can refer to the related description of step S501 or S901, which will not be repeated here.

[0608] S1102: The terminal device performs handover.

[0609] It should be noted that the present application does not limit the triggering or occurrence conditions of handover.

[0610] For example, the content related to S1102 can refer to the related description of step S902, which will not be repeated here.

[0611] In some embodiments, the handover of the terminal device can be after determining that the second network device can complete the transmission of the first service data, specifically, before starting the transmission of the first service data or in the process of the transmission of the first service data, which is not limited by the present application.

[0612] S1103: The terminal device ends the transmission of the first service data.

[0613] For example, S1103 can include / replace: In the case of handover, the terminal device ends the transmission of the first service data.

[0614] For example, the content related to S1103 can be referred to the related description of step S903, and details are not repeated here.

[0615] In some embodiments, the terminal device is a UE, and after the UE triggers the RRC connection reestablishment, the UE abandons the task-level transmission and discards the task-related data. Optionally, the UE can abandon all task-level transmissions, or only abandon part (e.g., half) of the task-level transmissions.

[0616] In the embodiments of FIGS. 8-11, in the RRC connection reestablishment / handover scenario, the terminal device (e.g., UE) quickly abandons the task-level transmission, so that the terminal device can start local processing as soon as possible, reduce the latency, and avoid affecting the service corresponding to the task-level transmission. The terminal device can start local processing as soon as possible, reduce the latency, and avoid affecting the service corresponding to the first service data, which is beneficial to the energy saving of the terminal device and the user experience.

[0617] The above describes the method provided by the present application in detail. In order to facilitate the implementation of the above-mentioned scheme of the embodiments of the present application, the embodiments of the present application also provide a corresponding device or equipment.

[0618] The present application divides the functional modules of the terminal device, the second network device and the first network device according to the above-mentioned method embodiments. For example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing module. The above-mentioned integrated module can be realized in the form of hardware or in the form of software functional module. It should be noted that the division of the modules in the present application is illustrative, and is only a logical function division. In actual implementation, there can be another division method. The communication device of the embodiments of the present application will be described in detail below with reference to FIGS. 12-14.

[0619] Referring to FIG. 12, FIG. 12 is a structure schematic diagram of a communication device provided by an embodiment of the present application. As shown in FIG. 12, the communication device can include a transceiver unit 10 and a processing unit 20.

[0620] In some embodiments of the present application, the communication device can be the terminal device shown above or a chip or circuit provided in the terminal device. That is, the communication device can be used to perform the steps or functions performed by the terminal device in the above method embodiments.

[0621] In one design, the transceiver unit 10 is configured to: in the case of handover or in the case of RRC connection reestablishment, send first progress information of the first service data to the first network device; wherein the first progress information includes information of a data amount of the first service data, and / or information of a time of the first service data.

[0622] In a possible implementation, the processing unit 20 is configured to determine the first progress information.

[0623] For example, the information of the data amount of the first service data includes information of a remaining data amount of the first service data, the remaining data amount being obtained according to the first data amount and the second data amount; the information of the time of the first service data includes information of a remaining time of the first service data, the remaining time being obtained according to the first time and the second time; the first data amount is a total data amount of the first service data that can be transmitted by the second network device within the first time, and the second data amount is a data amount of the first service data that has been transmitted by the terminal device within the second time; the first network device is a network device to which the terminal device accesses after handover or RRC connection reestablishment, and the second network device is a network device to which the terminal device accesses before handover or RRC connection reestablishment.

[0624] Optionally, the first progress information further includes first information, the first information being used to indicate whether the terminal device has generated the first service data.

[0625] In a possible implementation, the transceiver 10 is configured to receive first confirmation information from the first network device, the first confirmation information being used to indicate whether the first network device can complete transmission of the first service data.

[0626] Optionally, the first confirmation information includes second information or third information, the second information being used to indicate that the first network device can complete transmission of the first service data, and the third information being used to indicate that the first network device cannot complete transmission of the first service data.

[0627] For example, the first confirmation information includes the third information, and the first confirmation information further includes information of a third data amount and / or information of a third time; the third data amount is a data amount that can be transmitted by the first network device within the third time.

[0628] For example, in the case of handover, the first time includes when the handover is completed, after the handover is completed, or during the handover; in the case of RRC connection reestablishment, the first time includes when the RRC connection reestablishment is completed, after the RRC connection reestablishment is completed, or during the RRC connection reestablishment.

[0629] In a possible implementation, the first progress information of the first service data is sent to the first network device when the handover is completed, including: the first progress information is sent to the first network device in a handover complete message or an RRC reconfiguration complete message; or,

[0630] The first progress information of the first service data is sent to the first network device after the handover is completed, including: the first progress information is sent to the first network device after a handover complete message or an RRC reconfiguration complete message is sent; or,

[0631] The sending, to the first network device, of the first progress information of the first service data during the handover comprises: sending, to the first network device, the first progress information after receiving an RRC reconfiguration message from the first network device; or

[0632] The sending, to the first network device, of the first progress information of the first service data when the RRC connection reestablishment is completed comprises: sending, to the first network device, the first progress information in an RRC connection reestablishment complete message; or

[0633] The sending, to the first network device, of the first progress information of the first service data after the RRC connection reestablishment is completed comprises: sending, to the first network device, the first progress information after sending an RRC connection reestablishment complete message; or

[0634] The sending, to the first network device, of the first progress information of the first service data during the RRC connection reestablishment comprises: sending, to the first network device, the first progress information in an RRC connection reestablishment request message.

[0635] In the embodiments of the present application, the description of the first service data and the first progress information can refer to the description in the method embodiments shown in FIG. 4 to FIG. 6, which will not be repeated here.

[0636] It can be understood that the specific description of the transceiver unit 10 and the processing unit 20 shown in the embodiments of the present application is only an example. For the specific functions or steps of the transceiver unit 10 and the processing unit 20, etc., please refer to the method embodiments shown in FIG. 4 to FIG. 6. Here, it will not be described in detail. In addition, the technical effects of the embodiments of the present application are described in the foregoing method embodiments shown in FIG. 4 to FIG. 6. In order to be brief, it will not be described here.

[0637] Referring to FIG. 12, in some embodiments of the present application, the communication apparatus can be the second network device shown above or a chip or circuit arranged in the second network device. That is, the communication apparatus can be used to perform the steps or functions performed by the second network device in the method embodiments above.

[0638] In some embodiments of the present application, the communication apparatus can be the second network device shown above or a chip or circuit arranged in the second network device. That is, the communication apparatus can be used to perform the steps or functions performed by the second network device in the method embodiments above.

[0639] In one design, the transceiver unit 10 is configured to: receive first information from a first network device, the first information being used to request context information of a terminal device; and send second progress information of first service data of the terminal device to the first network device, wherein the second progress information comprises information of a data amount of the first service data and / or information of a time of the first service data; the first network device is a network device to which the terminal device accesses after RRC connection reestablishment, and the second network device is a network device to which the terminal device accesses before RRC connection reestablishment.

[0640] Optionally, the first information is carried in extraction UE context request information, and / or the second progress information is carried in extraction UE context response information.

[0641] For example, the information of the data amount of the first service data comprises information of a remaining data amount of the first service data, the remaining data amount being obtained according to a first data amount and a second data amount; the information of the time of the first service data comprises information of a remaining time of the first service data, the remaining time being obtained according to a first time and a second time; the first data amount is a total data amount of the first service data that can be transmitted by the second network device within the first time, and the second data amount is a data amount of the first service data that has been transmitted by the terminal device within the second time.

[0642] In one possible implementation, the processing unit 20 is configured to determine the second progress information.

[0643] In the embodiments of the present application, the descriptions of the first information, the second progress information and the extraction UE context request information can refer to the descriptions in the method embodiments shown in FIGS. 7 and 8, which will not be repeated here.

[0644] It can be understood that the specific descriptions of the transceiver unit 10 and the processing unit 20 shown in the embodiments of the present application are only examples, and the specific functions or steps of the transceiver unit 10 and the processing unit 20 can refer to the method embodiments shown in FIGS. 7 and 8, which will not be repeated here. In addition, the technical effects of the embodiments of the present application can refer to the technical effects of the method embodiments shown in FIGS. 7 and 8, which will not be repeated here for brevity.

[0645] Referring to FIG. 12, in some embodiments of the present application, the communication apparatus can be the first network device shown above or a chip or circuit arranged in the first network device. That is, the communication apparatus can be configured to perform the steps or functions performed by the first network device in the method embodiments shown above.

[0646] In some embodiments of the present application, the communication apparatus can be the first network device shown above or a chip or circuit arranged in the first network device. That is, the communication apparatus can be configured to perform the steps or functions performed by the first network device in the method embodiments shown above.

[0647] In one design, the transceiver 10 is configured to: send, to a second network device, first information, the first information being used to request context information of a terminal device; and receive, from the first network device, second progress information of first service data of the terminal device, the second progress information including information of a data amount of the first service data and / or information of a time of the first service data, the first network device being a network device to which the terminal device accesses after RRC connection reestablishment, and the second network device being a network device to which the terminal device accesses before the RRC connection reestablishment.

[0648] In one possible implementation, before sending the first information to the second network device, the transceiver 10 is configured to: receive, from the terminal device, second information, the second information being used to request reestablishment of an RRC connection.

[0649] In one possible implementation, the transceiver 10 is configured to: send, to the terminal device, first confirmation information, the first confirmation information being used to indicate whether the first network device can complete transmission of the first service data.

[0650] Optionally, the first confirmation information includes third information or fourth information, the third information being used to indicate that the first network device can complete transmission of the first service data, and the fourth information being used to indicate that the first network device cannot complete transmission of the first service data.

[0651] For example, the first confirmation information includes the fourth information, and the first confirmation information further includes information of a third data amount and / or information of a third time, the third data amount being an amount of data that the first network device can complete transmission of within the third time.

[0652] For example, the information of the data amount of the first service data includes information of a remaining data amount of the first service data, the remaining data amount being obtained based on a first data amount and a second data amount, the information of the time of the first service data includes information of a remaining time of the first service data, the remaining time being obtained based on a first time and a second time, the first data amount being a total data amount of the first service data that the second network device can complete transmission of within the first time, and the second data amount being an amount of data of the first service data that the terminal device has transmitted within the second time.

[0653] In one possible implementation, the processing unit 20 is configured to generate the first information.

[0654] In the embodiments of this application, the descriptions of the first information, the first service data, and the second information can refer to the descriptions in the above-described method embodiments of FIGS. 7 and 8, and will not be repeated here.

[0655] It can be understood that the specific description of the transceiver unit 10 and the processing unit 20 shown in the embodiments of the present application is only an example. For the specific functions or executed steps of the transceiver unit 10 and the processing unit 20, etc., please refer to the method embodiments shown in FIGS. 7-8 described above, which will not be described in detail here. In addition, the technical effects of the embodiments of the present application refer to the technical effects in the method embodiments shown in FIGS. 7-8 described above. For the sake of brevity, they will not be described here.

[0656] In some embodiments of the present application, the communication device can be the terminal device shown above or the chip or circuit arranged in the terminal device. That is, the communication device can be used to execute the steps or functions performed by the terminal device in the above method embodiments.

[0657] In some embodiments of the present application, the communication device can be the terminal device shown above or the chip or circuit arranged in the terminal device. That is, the communication device can be used to execute the steps or functions performed by the terminal device in the above method embodiments.

[0658] In one design, the processing unit 20 is configured to end the transmission of the first service data in case of handover or RRC connection reestablishment.

[0659] For example, the processing unit 20 is configured to discard the first service data.

[0660] For example, the case of handover or RRC connection reestablishment includes that the first condition is met, and the first condition includes at least one of the following: receiving an RRC reconfiguration message from the first network device; or, sending a handover complete message or an RRC reconfiguration complete message to the first network device; or, triggering RRC connection reestablishment; or, sending an RRC connection reestablishment request message to the first network device; or, receiving an RRC connection reestablishment message or an RRC connection setup message from the first network device; or, sending an RRC connection reestablishment complete message to the first network device; wherein the first network device is a network device accessed by the terminal device after handover or RRC connection reestablishment, and the second network device is a network device accessed by the terminal device before RRC connection reestablishment.

[0661] In one possible implementation, the transceiver unit is configured to send the first service data.

[0662] In the embodiments of the present application, the description of the first service data and the first condition can refer to the description in the method embodiments shown in FIGS. 9-11 described above, which will not be described one by one here.

[0663] It can be understood that the specific description of the transceiver unit 10 and the processing unit 20 shown in the embodiments of the present application is only an example. For the specific functions or executed steps of the transceiver unit 10 and the processing unit 20, reference can be made to the method embodiments shown in FIGS. 9 to 11. The technical effects of the embodiments of the present application are described above with reference to the method embodiments shown in FIGS. 9 to 11. For brevity, the technical effects will not be described here again.

[0664] The terminal device, the second network device and the first network device of the embodiments of the present application are introduced above. The possible product forms of the terminal device, the second network device and the first network device are introduced below. It should be understood that any form of product that has the functions of the terminal device or the first network device or the second network device described above with reference to FIG. 12 falls within the protection scope of the embodiments of the present application. It should also be understood that the following introduction is only an example and does not limit the product form of the communication apparatus of the embodiments of the present application.

[0665] In a possible implementation, in the communication apparatus shown in FIG. 12, the processing unit 20 can be one or more processors, and the transceiver unit 10 can be a transceiver. Alternatively, the transceiver unit 10 can also be a sending unit and a receiving unit. The sending unit can be a transmitter, and the receiving unit can be a receiver. The sending unit and the receiving unit are integrated in one device, for example, a transceiver. In the embodiments of the present application, the processor and the transceiver can be coupled, and the connection manner of the processor and the transceiver is not limited in the embodiments of the present application. In the process of executing the above method, the process of sending information in the above method can be understood as the process of outputting the above information by the processor. When the above information is outputted, the processor outputs the above information to the transceiver so as to be transmitted by the transceiver. After the above information is outputted by the processor, it can also need to be processed further and then reaches the transceiver. Similarly, the process of receiving information in the above method can be understood as the process of receiving the inputted above information by the processor. When the processor receives the inputted information, the transceiver receives the above information and inputs it to the processor. Furthermore, after the transceiver receives the above information, the above information can need to be processed further and then inputted to the processor.

[0666] Referring to FIG. 13, FIG. 13 is another structure schematic diagram of a communication apparatus provided by the embodiments of the present application. As shown in FIG. 13, the communication apparatus provided by the embodiments of the present application can be used to implement the methods described in the above method embodiments, which can be referred to the descriptions in the above method embodiments. The communication apparatus can be a terminal device, or a first network device, or a second network device, or a chip therein. Exemplarily, the communication apparatus includes one or more processors 1001 and a transceiver 1002. The communication apparatus can further include a memory 1003. In an implementation, the communication apparatus further includes an input output apparatus (not shown in FIG. 13).

[0667] The processor 1001 is mainly configured to process communication protocols and communication data, control the whole communication device, execute software programs, and process data of the software programs. The memory 1003 is mainly configured to store software programs and data. The transceiver 1002 can include a control circuit and an antenna. The control circuit is mainly configured to convert baseband signals and radio frequency signals and process the radio frequency signals. The antenna is mainly configured to transceive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, keyboards, etc., are mainly configured to receive user input data and output data to users.

[0668] When the communication device is powered on, the processor 1001 can read the software programs in the memory 1003, interpret and execute instructions of the software programs, and process data of the software programs. When data needs to be transmitted wirelessly, the processor 1001 performs baseband processing on the data to be transmitted, and outputs the baseband signals to the radio frequency circuit. The radio frequency circuit converts the baseband signals into radio frequency signals, and transmits the radio frequency signals in the form of electromagnetic waves through the antenna. When data is transmitted to the communication device, the radio frequency circuit receives the radio frequency signals through the antenna, converts the radio frequency signals into baseband signals, and outputs the baseband signals to the processor 1001. The processor 1001 converts the baseband signals into data and processes the data.

[0669] In another implementation, the radio frequency circuit and the antenna can be arranged independently of the processor that performs baseband processing, for example, in a distributed scenario, the radio frequency circuit and the antenna can be arranged remotely from the communication device.

[0670] The processor 1001, the transceiver 1002, and the memory 1003 can be connected through a communication bus.

[0671] For example, when the communication device is configured to perform the steps or methods or functions performed by the terminal device in the embodiment shown in FIG. 4, the transceiver 1002 can be configured to perform step S401 and step S402 in FIG. 4, and the processor 1001 can be configured to perform other processes for determining the first progress information and / or for the techniques described herein.

[0672] For example, when the communication device is configured to perform the steps or methods or functions performed by the first network device in the embodiment shown in FIG. 4, the transceiver 1002 can be configured to perform step S401 and step S402 in FIG. 4, and / or for other processes for the techniques described herein.

[0673] For example, when the communication apparatus is configured to perform the steps or methods or functions performed by the second network device in the embodiment shown in FIG. 7, the transceiver 1002 can be configured to perform steps S701 and S702 in FIG. 7, and / or other processes of the techniques described herein.

[0674] In any of the above implementation manners, the processor 1001 can include a transceiver for implementing the receiving and sending functions. For example, the transceiver can be a transceiver circuit, or an interface, or an interface circuit. The transceiver circuit, interface or interface circuit for implementing the receiving and sending functions can be separate or integrated together. The above transceiver circuit, interface or interface circuit can be used for reading and writing of code / data, or the above transceiver circuit, interface or interface circuit can be used for transmission or transfer of signals.

[0675] In any of the above implementation manners, the processor 1001 can store instructions, which can be a computer program, and the computer program can run on the processor 1001 to enable the communication apparatus to perform the methods described in the above method embodiments. The computer program can be fixed in the processor 1001, and in this case, the processor 1001 can be implemented by hardware.

[0676] In an implementation manner, the communication apparatus can include a circuit, which can implement the functions of sending or receiving or communication in the above method embodiments. The processor and the transceiver described in the present application can be implemented on an integrated circuit (IC), an analog IC, a radio frequency integrated circuit (RFIC), a mixed-signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and the transceiver can also be manufactured by various IC technology, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), positive channel metal oxide semiconductor (PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0677] It can be understood that the communication apparatus shown in the embodiments of the present application can also have more components than those shown in FIG. 13, and the embodiments of the present application do not limit this. The method performed by the processor and the transceiver shown above is only an example, and the specific steps performed by the processor and the transceiver can refer to the description of the method embodiments above.

[0678] In another possible implementation, the communication apparatus shown in FIG. 13 can further include a processing unit, which can be one or more logic circuits, and the transceiving unit 10 can be an input / output interface, also referred to as a communication interface, or an interface circuit, or an interface, etc. Alternatively, the transceiving unit 10 can also be a sending unit and a receiving unit, the sending unit can be an output interface, and the receiving unit can be an input interface, and the sending unit and the receiving unit are integrated in one unit, for example, an input / output interface.

[0679] Referring to FIG. 14, FIG. 14 is another structural schematic diagram of a communication apparatus provided by the embodiments of the present application. As shown in FIG. 14, the communication apparatus shown in FIG. 14 includes a logic circuit 901 and an interface 902. That is, the above-mentioned processing unit can be implemented by the logic circuit 901, and the transceiving unit 10 can be implemented by the interface 902. The logic circuit 901 can be a chip, a processing circuit, an integrated circuit, or a system on chip (SoC) chip, etc., and the interface 902 can be a communication interface, an input / output interface, a pin, etc. For example, FIG. 14 is shown by taking the above-mentioned communication apparatus as a chip, which includes the logic circuit 901 and the interface 902.

[0680] In the embodiments of the present application, the logic circuit and the interface can also be coupled to each other. The specific connection mode of the logic circuit and the interface is not limited in the embodiments of the present application.

[0681] For example, when the communication apparatus is used to perform the steps or methods or functions performed by the terminal device in the method embodiment shown in FIG. 4, the interface 902 is configured to send the first progress information.

[0682] For example, when the communication apparatus is used to perform the steps or methods or functions performed by the first network device in the method embodiment shown in FIG. 4, the interface 902 is configured to receive the first progress information.

[0683] For example, when the communication apparatus is used to perform the steps or methods or functions performed by the terminal device in the method embodiment shown in FIG. 7, the interface 902 is configured to send the second progress information.

[0684] In the embodiments of this application, the description of the first progress information and the second progress information can refer to the description in the method embodiments above, which will not be repeated here. It can be understood that the specific description of the logic circuit 901 and the interface 902 can also refer to the description of the processing unit and the transceiver unit shown in FIG. 12, which will not be repeated here.

[0685] It can be understood that the communication apparatus shown in the embodiments of this application can implement the method provided by the embodiments of this application in the form of hardware, or implement the method provided by the embodiments of this application in the form of software, etc., which is not limited in the embodiments of this application.

[0686] For the specific implementation of each embodiment shown in FIG. 14, it can also refer to the above-mentioned embodiments, which will not be described here.

[0687] The embodiments of this application also provide a communication system, which includes a terminal device and a first network device, and the terminal device and the first network device can be used to execute the method in any one of the preceding method embodiments (FIG. 4 to FIG. 6).

[0688] The embodiments of this application also provide a communication system, which includes a first network device and a second network device, and the first network device and the second network device can be used to execute the method in any one of the preceding method embodiments (FIG. 7 to FIG. 8).

[0689] The embodiments of this application also provide a communication system, which includes a terminal device, a first network device and a second network device, and the terminal device, the first network device and the second network device can be used to execute the method in any one of the preceding method embodiments (FIG. 4 to FIG. 11).

[0690] In addition, the present application also provides a computer program for implementing the operations and / or processes performed by the communication apparatus (such as the terminal device, the second network device and the first network device) in the method provided by the present application.

[0691] The present application also provides a computer readable storage medium, which stores computer code, when the computer code runs on the computer, so that the computer executes the operations and / or processes performed by the communication apparatus (such as the terminal device, the second network device and the first network device) in the method provided by the present application.

[0692] The present application also provides a computer program product, which includes computer code or computer program, when the computer code or computer program runs on the computer, so that the operations and / or processes performed by the communication apparatus (such as the terminal device, the second network device and the first network device) in the method provided by the present application are executed.

[0693] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. For example, the described device embodiments are merely schematic. For example, the division of the units is only a logical function division. There can be another division manner for the actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be electric, mechanical or in other forms.

[0694] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they can be located in one place, or distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the technical effects of the solutions provided in the embodiments of the present application.

[0695] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0696] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part of the prior art that contributes to the technical solutions, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a readable storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in the embodiments of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and various program code storage media.

[0697] The above is merely specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A communication method characterized by comprising: The method is applied to a terminal device, and comprises: In a case of handover or in a case of radio resource control (RRC) connection reestablishment, sending first progress information of first service data to a first network device; The first progress information comprises information of a data amount of the first service data and / or information of a time of the first service data.

2. The method of claim 1, wherein, The information of the data amount of the first service data comprises information of a remaining data amount of the first service data, which is obtained according to a first data amount and a second data amount; The information of the time of the first service data comprises information of a remaining time of the first service data, which is obtained according to a first time and a second time; The first data amount is a total data amount of the first service data that can be transmitted by a second network device within the first time, and the second data amount is a data amount of the first service data that has been transmitted by the terminal device within the second time; the first network device is a network device accessed by the terminal device after handover or RRC connection reestablishment, and the second network device is a network device accessed by the terminal device before handover or RRC connection reestablishment.

3. The method according to claim 1 or 2, characterized in that, The first progress information further comprises first information, which is used to indicate whether the terminal device has generated the first service data.

4. The method according to any one of claims 1-3, characterized in that, The method further comprises: Receiving first confirmation information from the first network device, the first confirmation information being used to indicate whether the first network device can complete transmission of the first service data.

5. The method of claim 4, wherein, The first confirmation information comprises second information or third information, wherein the second information is used to indicate that the first network device can complete transmission of the first service data, and the third information is used to indicate that the first network device cannot complete transmission of the first service data.

6. The method of claim 5, wherein, The first confirmation information comprises the third information, and further comprises information of a third data amount and / or information of a third time; The third data amount is a data amount that can be transmitted by the first network device within the third time.

7. The method of any one of claims 1-6, wherein: the case of handover comprises when handover is completed, after handover is completed, or during handover; the case of RRC connection reestablishment comprises when RRC connection reestablishment is completed, after RRC connection reestablishment is completed, or during RRC connection reestablishment.

8. The method of claim 7, wherein: when handover is completed, the first progress information of the first service data is sent to the first network device in a handover complete message or an RRC reconfiguration complete message; or after handover is completed, the first progress information of the first service data is sent to the first network device after a handover complete message or an RRC reconfiguration complete message is sent; or when RRC connection reestablishment is completed, the first progress information of the first service data is sent to the first network device in a handover complete message or an RRC reconfiguration complete message; or after RRC connection reestablishment is completed, the first progress information of the first service data is sent to the first network device after a handover complete message or an RRC reconfiguration complete message is sent. The first progress information of the first service data sent to the first network device during the handover includes: sending the first progress information to the first network device after receiving an RRC reconfiguration message from the first network device; or, The first progress information of the first service data sent to the first network device when the RRC connection reestablishment is completed includes: sending the first progress information to the first network device in an RRC connection reestablishment completion message; or, The first progress information of the first service data sent to the first network device after the RRC connection reestablishment is completed includes: sending the first progress information to the first network device after sending an RRC connection reestablishment completion message; or, The first progress information of the first service data sent to the first network device during the RRC connection reestablishment includes: sending the first progress information to the first network device in an RRC connection reestablishment request message.

9. A communication method characterized by comprising: The method applied to the second network device includes: Receiving first information from the first network device, the first information being used for requesting context information of a terminal device; Sending second progress information of first service data of the terminal device to the first network device; The second progress information includes information of a data volume of the first service data, and / or information of a time of the first service data; The first network device is a network device accessed by the terminal device after radio resource control (RRC) connection reestablishment, and the second network device is a network device accessed by the terminal device before the RRC connection reestablishment.

10. The method of claim 9, wherein The first information is carried in extraction user equipment (UE) context request information; and / or The second progress information is carried in extraction UE context response information.

11. The method according to claim 9 or 10, characterized in that, The information of the data volume of the first service data includes information of a remaining data volume of the first service data, the remaining data volume being obtained according to a first data volume and a second data volume; The information of the time of the first service data includes information of a remaining time of the first service data, the remaining time being obtained according to a first time and a second time; The first data volume is a total data volume of the first service data that can be transmitted by the second network device within the first time, and the second data volume is a data volume of the first service data that has been transmitted by the terminal device within the second time.

12. A communication method, comprising: The method applied to the first network device includes: Sending first information to a second network device, the first information being used for requesting context information of a terminal device; Receiving second progress information of first service data of the terminal device sent by the first network device; The second progress information includes information of a data volume of the first service data, and / or information of a time of the first service data; The first network device is a network device accessed by the terminal device after radio resource control (RRC) connection reestablishment, and the second network device is a network device accessed by the terminal device before the RRC connection reestablishment.

13. The method of claim 12, wherein, Before the first information is sent to the second network device, the method further includes: receiving second information sent by the terminal device, the second information being used for requesting to reestablish the RRC connection.

14. The method according to claim 12 or 13, characterized in that, The method further includes: sending first confirmation information to the terminal device, the first confirmation information being used for indicating whether the first network device can complete transmission of the first service data.

15. The method of claim 14, wherein, The first confirmation information includes third information or fourth information, wherein the third information is used for indicating that the first network device can complete transmission of the first service data, and the fourth information is used for indicating that the first network device cannot complete transmission of the first service data.

16. The method of claim 15, wherein, The first confirmation information includes the fourth information, and further includes information of a third data amount and / or information of a third time. The third data amount is an amount of data that the first network device can complete transmission within the third time.

17. The method according to any one of claims 12-16, characterized by, The information of the data amount of the first service data includes information of a remaining data amount of the first service data, the remaining data amount being obtained according to a first data amount and a second data amount. The information of the time of the first service data includes information of a remaining time of the first service data, the remaining time being obtained according to a first time and a second time. The first data amount is a total data amount of the first service data that the second network device can complete transmission within the first time, and the second data amount is an amount of data of the first service data that the terminal device has transmitted within the second time.

18. A method of communication, comprising: Applied to a terminal device, the method includes: ending transmission of first service data in a case of handover or radio resource control (RRC) connection reestablishment.

19. The method of claim 18, wherein, The ending of the transmission of the first service data includes: discarding the first service data.

20. The method of claim 18 or 19, wherein, The case of the handover or the RRC connection reestablishment includes: satisfying a first condition. The first condition includes at least one of the following: receiving an RRC reconfiguration message from a first network device; or, sending a handover complete message or an RRC reconfiguration complete message to the first network device; or, triggering RRC connection reestablishment; or, sending an RRC connection reestablishment request message to the first network device; or, receiving an RRC connection reestablishment message or an RRC connection setup message from the first network device; or, sending an RRC connection reestablishment complete message to the first network device. The first network device is a network device to which the terminal device accesses after handover or RRC connection reestablishment, and the second network device is a network device to which the terminal device accesses before RRC connection reestablishment.

21. A communications device, characterized by The apparatus includes a module or unit for performing the method of any one of claims 1 to 20.

22. A communications device, characterized by The apparatus includes a processor and an interface circuit for receiving signals from other communication devices and transmitting signals to the processor or sending signals from the processor to other communication devices, and the processor is used for implementing the method of any one of claims 1 to 20 by means of a logic circuit or executing code instructions.

23. A readable storage medium characterized by, A non-transitory computer-readable medium storing a program for execution by one or more processors such that an apparatus including the one or more processors performs a method as claimed in any of claims 1 to 20.

24. A communication system, characterized by comprising: A second network device for performing the method of any of claims 9 to 11 and a second network device for performing the method of any of claims 12 to 17.

Citation Information

Patent Citations

  • Cell switching method and device

    CN116264721A

  • Method, device and terminal for processing radio link failure of main cell group

    CN116367361A

  • Method and apparatus for data transmission

    US20230108725A1

  • Switching method and apparatus

    WO2022056863A1

  • Communication method, apparatus, and system

    WO2023134410A1