A method and device for transmitting data

By sending uplink data multiple times in idle or inactive states between the terminal and the network device, the problem of data transmission delay in 5G communication scenarios is solved, and more efficient data transmission and power consumption management is achieved.

CN114175744BActive Publication Date: 2024-11-22HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980098825.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-02
Publication Date
2024-11-22
Estimated Expiration
2039-08-02

AI Technical Summary

Technical Problem

In 5G communication scenarios, the data transmission delay is longer after the terminal establishes a connection with the network device, especially in the case of Internet of Things terminals and narrowband Internet terminals, resulting in an increase in transmission delay.

Method used

By establishing a state between the terminal and the network device, i.e. i.e. i.e. i.e. inactive state, the terminal allows the terminal to send uplink data multiple times without entering the connected state, thereby reducing the number of air-to-door interactions and coordinating the data transmission process through instructing information , to reduce transmission delay.

Benefits of technology

It effectively reduces the data transmission delay, saves the power consumption of the terminal, and improves the data transmission efficiency, especially when there is a lot of data to be sent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114175744B_ABST
    Figure CN114175744B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for transmitting data, the method comprising: a terminal receives a first uplink authorization from a network device; the terminal uses the first uplink authorization to send first uplink data in the data to be sent to the network device; the terminal receives a second uplink authorization from the network device; the terminal uses the second uplink authorization to send second uplink data to the network device, the second uplink data is at least part of the uplink data in the data to be sent except the first uplink data, the terminal is in a first state, and the first state includes an idle state or an inactive state. The embodiments of the present application are helpful to reduce the delay in the data transmission process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and more specifically, to a method and device for transmitting data. Background Art

[0002] The third generation partnership project (3GPP) summarizes the typical use cases of the future fifth generation (5G) into the following three types: enhanced mobile broadband (eMBB) service, massive machine type communication (mMTC) service and ultra-reliable and low latency communications (URLLC) service. In these scenarios, how to reduce the transmission delay during data transmission has become a new problem.

[0003] For example, IoT terminals (machine type communication (MTC) or narrowband internet of things (NB-IoT) terminals) do not have high requirements for voice, mobility, speed, etc., but have higher demands for cost, coverage, terminal energy consumption, etc. Considering that such terminals need to establish a network connection with network devices before sending data to network devices, the process of establishing a network connection between the terminal and the network device may consume more signaling, which may increase the delay of data transmission. Summary of the invention

[0004] The present application provides a method and device for data transmission, in order to reduce the delay in the data transmission process.

[0005] In a first aspect, a method for transmitting data is provided, the method comprising: a terminal receives a first uplink authorization from a network device; the terminal uses the first uplink authorization to send first uplink data in data to be sent to the network device; the terminal receives a second uplink authorization from the network device; the terminal uses the second uplink authorization to send second uplink data to the network device, the second uplink data being at least part of the uplink data in the data to be sent except the first uplink data, wherein the terminal is in a first state, and the first state includes an idle state or an inactive state.

[0006] In the method for transmitting data in the embodiment of the present application, the terminal can send uplink data to the network device multiple times in an idle state or an inactive state. Compared with sending data to the network device after the terminal enters a connected state, this helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0007] In an embodiment of the present application, the network device can send a second uplink authorization to the terminal so that when the terminal's to-be-sent data cannot be sent in the first uplink data or new data arrives after the sending is completed, this part of the data can be sent to the network device in time.

[0008] In some possible implementations, the second uplink data is uplink data that arrives newly after the terminal sends the first uplink data.

[0009] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the terminal sends first indication information to the network device, and the first indication information is used to indicate that the data to be sent has not been sent completely.

[0010] In an embodiment of the present application, the terminal indicates to the network device that the data to be sent has not been sent, so that the network device can instruct the terminal to continue to stay in the first state to send uplink data. Compared with the terminal sending data to the network device after entering the connected state, this helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0011] In some possible implementations, the first indication information is used to indicate that the terminal wishes to complete data sending in an idle state or an inactive state; or, the first indication information is used to indicate that the terminal has further uplink data; or, the first indication information is used to request a second uplink authorization.

[0012] In combination with the first aspect, in certain implementations of the first aspect, the first indication information includes information for indicating the amount of uplink data remaining in the data to be sent.

[0013] In some possible implementations, the first indication information is used to indicate the amount of data to be sent, where the amount of data to be sent actually refers to the amount of data remaining after the terminal sends the first uplink data. Exemplarily, the first indication information is used to indicate the amount of available data after the medium access control layer protocol data unit (MAC PDU) is packaged. Exemplarily, the value of the data amount can be 0.

[0014] In the embodiment of the present application, the terminal indicates the amount of data to be sent in the first indication information, which helps the network device to make a judgment on whether to adjust the terminal state, helps to reduce the number of air interface interactions, and thus helps to reduce the delay of transmitting data. At the same time, if the network device determines that the amount of data to be sent is relatively small (for example, the network device determines that the terminal can send all the data to be sent through the second uplink authorization), it can instruct the terminal to continue to stay in the first state, thereby helping to save power consumption of the terminal.

[0015] In some possible implementations, the first indication information is provided through one or more indications of a radio resource control (RRC) indication, a buffer status report (BSR) indication, a simplified L2 signaling, or an L1 signaling.

[0016] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the terminal receives second indication information from the network device, and the second indication information is used to instruct the terminal to stay in the first state.

[0017] In some possible implementations, the second indication information may be carried in an RRC message, such as an RRC release message, an RRC recovery message, or an RRC reconfiguration message.

[0018] In an embodiment of the present application, the network device may instruct the terminal to continue to stay in the first state after receiving the first uplink data, which helps to save power consumption of the terminal.

[0019] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: the terminal sends third indication information to the network device, and the third indication information is used to indicate that the sending of the data to be sent is completed; the terminal receives fourth indication information from the network device, and the fourth indication information is used to indicate that the terminal stays in the first state.

[0020] In some possible implementations, the second indication information and the fourth indication information are the same.

[0021] In some possible implementations, the terminal may not send the first indication information to the network device, but may send the third indication information to the network device (at this time the terminal may still have data to be sent), and after receiving the third indication information, the network device may send the fourth indication information to the terminal, instructing the terminal to continue to stay in the first state. Exemplarily, the third indication information may be a BSR, and the amount of data in the buffer state in the BSR is set to 0.

[0022] It should be understood that the third indication information is used to indicate that the data to be sent has been sent. It can also be understood that the third indication information is used to indicate that the terminal has no further uplink data and / or further downlink data. It can also be understood that the third indication information is used to instruct the terminal to send the data to be sent in the first state without switching to the connected state to send the data to be sent.

[0023] In an embodiment of the present application, the network device may instruct the terminal to continue to stay in the first state after determining that the terminal has no further uplink data, which helps to save power consumption of the terminal.

[0024] In combination with the first aspect, in certain implementations of the first aspect, sending the first uplink data in the data to be sent to the network device includes: the terminal sends a first message of a random access process to the network device, and the first message of the random access process includes the first uplink data.

[0025] The method for transmitting data in the embodiment of the present application can be applied to the random access process. The terminal can carry the first uplink data in the first message of the random access. The terminal can send uplink data multiple times in the first state. Compared with sending data to the network device after the terminal enters the connected state, it helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0026] In some possible implementations, the first message of the random access procedure also includes signaling, and the signaling is used to initiate the random access procedure.

[0027] In some possible implementations, the signaling may be a random access preamble.

[0028] In combination with the first aspect, in certain implementations of the first aspect, the terminal receives a second uplink authorization from the network device, including: the terminal receives a second message of a random access process from the network device, and the second message of the random access process includes the second uplink authorization.

[0029] The method for transmitting data in the embodiment of the present application can be applied to the random access process. The network device can carry a second uplink authorization in the second message of the random access process for the terminal to transmit new data. The terminal can continue to send uplink data in the first state, which helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0030] In combination with the first aspect, in certain implementations of the first aspect, sending the second uplink data to the network device includes: the terminal sends a first message of another random access process to the network device, and the first message of the other random access process message includes the second uplink data.

[0031] The method for transmitting data in the embodiment of the present application can be applied to the random access process. The terminal can send the first message of the random access process to the network device multiple times, and carry the uplink data in the first message of the random access process, so that the uplink data can be sent in the first state, which helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0032] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: the terminal receives a second message of a random access process from the network device, the second message of the random access process includes a third uplink authorization, and the third uplink authorization is used to retransmit the first uplink data; the terminal uses the third uplink authorization to retransmit the first uplink data.

[0033] In combination with the first aspect, in some implementations of the first aspect, the second uplink authorization is a preconfigured uplink authorization.

[0034] In combination with the first aspect, in certain implementations of the first aspect, the sending of the first uplink data in the data to be sent to the network device includes: sending the first uplink data to the network device when a preset condition is met, wherein the preset condition includes one or more of the following: the terminal determines that there is data to be sent; the terminal determines that the data volume of the data to be sent is less than or equal to a preset threshold value; the terminal receives fifth indication information from the network device, and the fifth indication information is used to instruct the terminal to send the data to be sent to the network device; the terminal determines that the data to be sent is a service data unit SDU.

[0035] In the method for transmitting data in an embodiment of the present application, the terminal can send uplink data in a first state after determining that a preset condition is met. Compared with sending data to a network device after the terminal enters a connected state, this helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0036] In combination with the first aspect, in certain implementations of the first aspect, the terminal receives a first uplink authorization from a network device, including: the terminal receives radio resource control RRC signaling from the network device, and the RRC signaling includes the first uplink authorization.

[0037] In a second aspect, a method for transmitting data is provided, the method comprising: a network device sends a first uplink authorization to a terminal; the network device receives first uplink data in the data to be sent sent by the terminal using the first uplink authorization; the network device sends a second uplink authorization to the terminal; the network device receives second uplink data sent by the terminal using the second uplink authorization, the second uplink data being at least part of the uplink data in the data to be sent except the first uplink data, wherein the terminal is in a first state, and the first state includes an idle state or an inactive state.

[0038] In some possible implementations, the second uplink data is uplink data that arrives newly after the terminal sends the first uplink data.

[0039] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the network device receives first indication information from the terminal, and the first indication information is used to indicate that the data to be sent has not been completely sent.

[0040] In combination with the second aspect, in certain implementations of the second aspect, the first indication information includes information for indicating the amount of uplink data remaining in the data to be sent.

[0041] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the network device sends second indication information to the terminal, and the second indication information is used to indicate that the terminal stays in the first state.

[0042] In combination with the second aspect, in certain implementations of the second aspect, the method also includes: the network device receives third indication information from the terminal, and the third indication information is used to indicate that the sending of the data to be sent is completed; the network device sends fourth indication information to the terminal according to the third indication information, and the fourth indication information is used to indicate that the terminal stays in the first state.

[0043] In combination with the second aspect, in certain implementations of the second aspect, the method also includes: the network device receives fifth indication information, and the fifth indication information is used to indicate that there is no downlink data of the terminal; wherein the network device sends fourth indication information to the terminal according to the third indication information, including: the terminal sends the fourth indication information to the terminal according to the third indication information and the fifth indication information.

[0044] In combination with the second aspect, in certain implementations of the second aspect, the fifth indication information is used to indicate whether there is downlink data of the terminal, and the value of the fifth indication information is a first value, and the first value is used to indicate that there is no downlink data of the terminal.

[0045] In combination with the second aspect, in certain implementations of the second aspect, the network device receives the first uplink data in the data to be sent by the terminal using the first uplink authorization, including: the network device receives a first message of a random access process from the terminal, and the first message of the random access process includes the first uplink data.

[0046] In combination with the second aspect, in certain implementations of the second aspect, the network device sends a second uplink authorization to the terminal, including: the network device sends a second message of a random access process to the terminal, and the second message of the random access process includes the second uplink authorization.

[0047] In combination with the second aspect, in certain implementations of the second aspect, the network device receives the second uplink data sent by the terminal using the second uplink authorization, including: the network device receives a first message of another random access process from the terminal, and the first message of the other random access process message includes the second uplink data.

[0048] In combination with the second aspect, in certain implementations of the second aspect, the method also includes: the network device sends a second message of a random access process to the terminal, the second message of the random access process includes a third uplink authorization, and the third uplink authorization is used to retransmit the first uplink data; the network device receives the first uplink data retransmitted by the terminal using the third uplink authorization.

[0049] In combination with the second aspect, in some implementations of the second aspect, the second uplink authorization is a preconfigured uplink authorization.

[0050] In combination with the second aspect, in certain implementations of the second aspect, the network device sends a first uplink authorization to the terminal, including: the network device sends RRC signaling to the terminal, and the RRC signaling includes the first uplink authorization.

[0051] According to a third aspect, a method for transmitting data is provided, the method comprising: a terminal in a first state sends first indication information to a network device, the first indication information being used to indicate that the terminal has data to be sent, the first state comprising an idle state or an inactive state; the terminal receives second indication information from the network device, the second indication information being used to indicate that the terminal switches to a connected state; and the terminal sends the data to be sent to the network device in the connected state.

[0052] In an embodiment of the present application, when the terminal has data to send, it can send first indication information to the network device, and the network device can promptly instruct the terminal to switch from the first state to the connected state, thereby completing the sending of uplink data.

[0053] In some possible implementations, the first indication information is used to indicate that the terminal wishes to complete data transmission in an idle state or an inactive state; or, the first indication information is used to indicate that the terminal has further uplink data.

[0054] In some possible implementations, the first indication information includes information for indicating the data volume of the data to be sent.

[0055] In the embodiment of the present application, the terminal indicates the amount of data to be sent in the first indication information, which helps the network device to make a judgment on whether to adjust the terminal state, helps to reduce the number of air interface interactions, and thus helps to reduce the delay of transmitting data. At the same time, if the network device determines that the amount of data to be sent is relatively large (for example, the network device determines that the terminal cannot send all the data to be sent through the second uplink authorization), it can instruct the terminal to switch to the connected state.

[0056] In some possible implementations, the first indication information is indicated by one or more of RRC indication, BSR indication, simplified L2 signaling or L1 signaling.

[0057] In combination with the third aspect, in certain implementations of the third aspect, the method also includes: the terminal receives a first uplink authorization from a network device; the terminal, in the first state, uses the first uplink authorization to send first uplink data to the network device, wherein the first indication information is used to indicate that in addition to the first uplink data, the terminal also has data to be sent.

[0058] In some possible implementations, the terminal receives a first uplink authorization from a network device, including: the terminal receives a radio resource control RRC signaling from the network device, and the RRC signaling includes the first uplink authorization.

[0059] In some possible implementations, the data to be sent may be uplink data that arrives newly after the terminal sends the first uplink data, or may be uplink data that remains after the terminal sends the first uplink data.

[0060] In the method for transmitting data in the embodiment of the present application, the terminal can send uplink data to the network device multiple times in the first state and the connected state. Compared with sending data to the network device after the terminal enters the connected state, it helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0061] In combination with the third aspect, in certain implementations of the third aspect, sending the first uplink data to the network device includes: the terminal sends a first message of a random access process to the network device, and the first message of the random access process includes the first uplink data.

[0062] The method for transmitting data in the embodiment of the present application can be applied to the random access process. The terminal can carry the first uplink data in the first message of the random access. The terminal can send uplink data multiple times in the first state and the connected state. Compared with sending data to the network device after the terminal enters the connected state, it helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0063] In combination with the third aspect, in certain implementations of the third aspect, the first message of the random access process also includes the first indication information.

[0064] In combination with the third aspect, in certain implementations of the third aspect, the terminal receives a first uplink authorization from a network device, including: the terminal receives RRC signaling from the network device, and the RRC signaling includes the first uplink authorization.

[0065] In combination with the third aspect, in certain implementations of the third aspect, the terminal receives second indication information from the network device, including: the terminal receives a second message of a random access process from the network device, and the second message of the random access process includes the second indication information.

[0066] In combination with the third aspect, in certain implementations of the third aspect, the method also includes: the terminal sends third indication information to the network device, and the third indication information is used to indicate that the sending of the data to be sent is completed; the terminal receives fourth indication information from the network device, and the fourth indication information is used to instruct the terminal to switch to the first state.

[0067] In a fourth aspect, a method for transmitting data is provided, the method comprising: a network device receives first indication information from a terminal in a first state, the first indication information being used to indicate that the terminal has data to be sent, the first state comprising an idle state or an inactive state; the network device sends second indication information to the terminal, the second indication information being used to indicate that the terminal switches to a connected state; the network device receives the data to be sent sent by the terminal in the connected state.

[0068] In combination with the fourth aspect, in certain implementations of the fourth aspect, the method also includes: the network device sends a first uplink authorization to the terminal; the network device receives first uplink data sent by the terminal in the first state using the first uplink authorization, wherein the first indication information is used to indicate that in addition to the first uplink data, the terminal also has data to be sent.

[0069] In combination with the fourth aspect, in certain implementations of the fourth aspect, the network device receives the first uplink data sent by the terminal in the first state using the first uplink authorization, including: the network device receives a first message of a random access process from the terminal, and the first message of the random access process includes the first uplink data.

[0070] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first message of the random access process also includes the first indication information.

[0071] In combination with the fourth aspect, in certain implementations of the fourth aspect, the network device sends a first uplink authorization to the terminal, including: the network device sends RRC signaling to the terminal, and the RRC signaling includes the first uplink authorization.

[0072] In combination with the fourth aspect, in certain implementations of the fourth aspect, the network device sends second indication information to the terminal, including: the network device sends a second message of a random access process to the terminal, and the second message of the random access process includes the second indication information.

[0073] In combination with the fourth aspect, in certain implementations of the fourth aspect, the method also includes: the network device receives third indication information from the terminal, and the third indication information is used to indicate that the sending of the data to be sent is completed; the network device sends fourth indication information to the terminal according to the third indication information, and the fourth indication information is used to instruct the terminal to switch to the first state.

[0074] In combination with the fourth aspect, in certain implementations of the fourth aspect, the method also includes: the network device receives fifth indication information, and the fifth indication information is used to indicate that there is no downlink data of the terminal; wherein the network device sends fourth indication information to the terminal according to the third indication information, including: the network device sends the fourth indication information to the terminal according to the third indication information and the fifth indication information.

[0075] In combination with the fourth aspect, in certain implementations of the fourth aspect, the fifth indication information is used to indicate whether there is downlink data for the terminal, and the value of the fifth indication information is a first value, and the first value is used to indicate that there is no downlink data for the terminal.

[0076] In a fifth aspect, a method for transmitting data is provided, the method comprising: a network device receives first indication information, the first indication information being used to indicate that there is no downlink data of the terminal; the network device sends second indication information to the terminal according to the first indication information, the second indication information being used to instruct the terminal to stay or switch to a first state, the first state including an idle state or an inactive state.

[0077] In the data transmission method of the embodiment of the present application, when the network device receives indication information indicating that there is no downlink data of the terminal, the network device can instruct the terminal to remain in the first state or switch to the first state, which helps to save power consumption of the terminal.

[0078] In some possible implementations, the network device receiving the first indication information includes: the network device receiving the first indication information sent by another network device.

[0079] In some possible implementations, the network device may be an access network device, and the other network device may be a core network device.

[0080] It should be understood that the method of the fifth aspect in the embodiments of the present application can be combined with any one of the methods of the first to fourth aspects mentioned above.

[0081] In combination with the fifth aspect, in certain implementations of the fifth aspect, the method also includes: the network device receives third indication information, and the third indication information is used to indicate that the terminal has no uplink data; wherein the network device sends second indication information to the terminal according to the first indication information, including: the network device sends the second indication information to the terminal according to the first indication information and the third indication information.

[0082] In combination with the fifth aspect, in certain implementations of the fifth aspect, the first indication information is used to indicate whether there is downlink data for the terminal, and the first indication information is a first value, which is used to indicate that there is no downlink data for the terminal.

[0083] In a sixth aspect, a method for transmitting data is provided, the method comprising: a network device sends first indication information to another network device, the first indication information being used to indicate that there is no downlink data of the terminal.

[0084] In combination with the sixth aspect, in certain implementations of the sixth aspect, the first indication information is used to indicate whether there is downlink data for the terminal, and the first indication information is a first value, which is used to indicate that there is no downlink data for the terminal.

[0085] In combination with the sixth aspect, in certain implementations of the sixth aspect, the network device is a core network device, and the other network device is an access network device.

[0086] In a seventh aspect, a device for transmitting data is provided, the device comprising units or means for executing each step of the first aspect or the third aspect above.

[0087] In an eighth aspect, a device for transmitting data is provided, which includes units or means for executing each step of the second aspect, the fourth aspect or the fifth aspect.

[0088] In a ninth aspect, a device for transmitting data is provided, which includes units or means for executing each step of the sixth aspect above.

[0089] In a tenth aspect, a device for transmitting data is provided, the device comprising at least one processor and a memory, the at least one processor being used to execute the method provided in the first aspect or the third aspect above.

[0090] In the eleventh aspect, a device for transmitting data is provided, the device comprising at least one processor and a memory, the at least one processor being used to execute the method provided in the second aspect, the fourth aspect or the fifth aspect above.

[0091] In a twelfth aspect, a device for transmitting data is provided, the device comprising at least one processor and a memory, the at least one processor being used to execute the method provided in the sixth aspect above.

[0092] In a thirteenth aspect, a device for transmitting data is provided, the device comprising at least one processor and an interface circuit, the at least one processor being used to execute the method provided in the first or third aspect above.

[0093] In a fourteenth aspect, a device for transmitting data is provided, the device comprising at least one processor and an interface circuit, the at least one processor being used to execute the method provided in the second aspect, the fourth aspect or the fifth aspect above.

[0094] In a fifteenth aspect, a device for transmitting data is provided, the device comprising at least one processor and an interface circuit, the at least one processor being used to execute the method provided in the sixth aspect above.

[0095] In the sixteenth aspect, a terminal is provided, which includes the device provided in the seventh aspect, or the terminal includes the device provided in the tenth aspect, or the terminal includes the device provided in the thirteenth aspect.

[0096] In the seventeenth aspect, an access network device is provided, which includes the apparatus provided in the eighth aspect, or the access network device includes the apparatus provided in the eleventh aspect, or the access network device includes the apparatus provided in the fourteenth aspect.

[0097] In the eighteenth aspect, a core network device is provided, which includes the apparatus provided in the ninth aspect, or the core network device includes the apparatus provided in the twelfth aspect, or the core network device includes the apparatus provided in the fifteenth aspect.

[0098] In the nineteenth aspect, a program is provided, which, when executed by a processor, is used to execute the method provided in any one of the first to sixth aspects.

[0099] In a twentieth aspect, the present application provides a program product, such as a computer-readable storage medium, comprising the program of the nineteenth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0100] Figure 1 It is a schematic diagram of a communication system provided in an embodiment of the present application.

[0101] Figure 2 It is a schematic diagram of a network architecture provided in an embodiment of the present application.

[0102] Figure 3 It is a schematic diagram of another network architecture provided in an embodiment of the present application.

[0103] Figure 4 It is a schematic flow chart of a terminal and a network device completing random access through four steps.

[0104] Figure 5 It is a schematic flow chart of a terminal and a network device completing random access in two steps.

[0105] Figure 6 The following is a schematic diagram of the format of a MAC PDU.

[0106] Figure 7 This is a schematic diagram of another MAC PDU format.

[0107] Figure 8 It is a schematic flowchart of the method for transmitting data provided in an embodiment of the present application.

[0108] Fig. 9 It is a schematic diagram of a MAC CE or a MAC subheader.

[0109] Fig.10 It is another schematic flowchart of the method for transmitting data provided in an embodiment of the present application.

[0110] Fig.11 It is another schematic flowchart of the method for transmitting data provided in an embodiment of the present application.

[0111] Fig.12 It is another schematic flowchart of the method for transmitting data provided in an embodiment of the present application.

[0112] Fig.13 It is another schematic flowchart of the method for transmitting data provided in an embodiment of the present application.

[0113] Fig.14 It is another schematic flowchart of the method for transmitting data provided in an embodiment of the present application.

[0114] Fig.15 It is another schematic flowchart of the method for transmitting data provided in an embodiment of the present application.

[0115] Fig.16 It is a schematic block diagram of a device for transmitting data provided in an embodiment of the present application.

[0116] Fig.17 It is a schematic block diagram of a device for transmitting data provided in an embodiment of the present application.

[0117] Fig.18 It is a schematic block diagram of a device for transmitting data provided in an embodiment of the present application.

[0118] Fig.19 It is a schematic block diagram of a device for transmitting data provided in an embodiment of the present application.

[0119] Fig. 20 It is a schematic block diagram of a device for transmitting data provided in an embodiment of the present application.

[0120] Fig.21 The figure is a schematic diagram of the structure of the terminal provided in the embodiment of the present application.

[0121] Fig. 22 The figure is a schematic diagram of the structure of the network device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0122] Below, some terms used in this application are explained:

[0123] 1) Terminal, also known as user equipment (UE), mobile station (MS), or mobile terminal (MT), is a device that provides voice / data connectivity to users, such as a handheld device with wireless connection function or a vehicle-mounted device. At present, some examples of terminals are: mobile phones, tablet computers, laptops, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes.

[0124] 2) Network equipment is equipment in a wireless network, such as a radio access network (RAN) node that connects a terminal to a wireless network. At present, some examples of RAN nodes are: gNB, transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), base band unit (BBU), or wireless fidelity (Wifi) access point (AP), etc. In a network structure, the network equipment may include a centralized unit (CU) node, a distributed unit (DU) node, or a RAN device including a CU node and a DU node.

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

[0126] Before introducing the embodiments of the present application, several concepts related to the embodiments of the present application are briefly introduced.

[0127] Scheduling process: The network device can schedule the terminal to perform uplink transmission through two methods: dynamic scheduling and pre-configured resource scheduling. For example, by sending a dynamic UL grant or a pre-configured UL grant, the terminal is instructed to send uplink data.

[0128] Dynamic scheduling: The network device sends an uplink scheduling authorization (uplink grant, UL grant), sends DCI on the physical downlink control channel (physical downlink control channel, PDCCH), that is, a dynamic UL grant, and scrambles it with the terminal identifier. If the terminal successfully decodes the control information, it can obtain the physical layer resource size corresponding to this uplink scheduling and the time domain / frequency domain distribution of the physical layer resources, as well as the HARQ information required for this uplink scheduling transmission, so that the terminal performs the HARQ process and completes the uplink transmission.

[0129] Preconfigured resource scheduling: The network device can also preconfigure the resources required for the terminal uplink transmission by semi-static resource allocation, that is, preconfigure UL grant. It should be understood that the preconfigured UL grant can appear periodically, and the terminal does not need to obtain uplink authorization before sending uplink transmission each time. For example, the network device can configure the UL grant for uplink transmission through radio resource control (RRC) signaling, and can also include the period of preconfigured UL grant, so that the terminal transmits on the preconfigured resource scheduling, and the method can be configured grant type 1; the network device can also configure part of the uplink transmission information through RRC signaling, such as the period of preconfigured UL grant, and carry the UL grant for uplink transmission through physical layer signaling and activate the resources for uplink transmission, so that the terminal transmits on the preconfigured resource scheduling, and the method can be configured grant type 2. Both of the above can be preconfigured resource scheduling.

[0130] It should be noted that in the embodiments of the present application, "uplink authorization" and "uplink authorization message" can be understood as signaling for scheduling physical uplink resources, for example, downlink control information for uplink authorization, or, RRC signaling for semi-static configuration, or, downlink control information for activating uplink authorization resources in a semi-static configuration mode, etc. "Uplink authorization resources" can be understood as resources indicated by uplink authorization. In the LTE or NR protocol, "uplink authorization", "uplink authorization message" and "uplink authorization resources" can all correspond to UL grant, and those skilled in the art can understand their meanings.

[0131] It should also be noted that in the embodiments of the present application, "protocol" may refer to a standard protocol in the communication field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, and the present application does not limit this.

[0132] Figure 1 is a schematic diagram of a communication system 100 provided in an embodiment of the present application, such as Figure 1 As shown, the terminal 130 accesses the wireless network to obtain services of an external network (such as the Internet) through the wireless network, or communicates with other terminals through the wireless network. The wireless network includes a RAN 110 and a core network (CN) 120, wherein the RAN 110 is used to access the terminal 130 to the wireless network, and the CN 120 is used to manage the terminal and provide a gateway for communicating with the external network.

[0133] It should be understood that the data transmission method provided in the present application can be applied to wireless communication systems, for example, Figure 1 The wireless communication system 100 shown in FIG. Two communication devices in the wireless communication system have a wireless communication connection, and one of the two communication devices may correspond to Figure 1 The terminal 130 shown in FIG. 1 may be, for example, Figure 1 The terminal 130 in the embodiment may also be a chip configured in the terminal 130; the other communication device in the two communication devices may correspond to Figure 1 The RAN 110 shown in FIG. 1 may be, for example, Figure 1 The RAN110 in the example may also be a chip configured in the RAN110.

[0134] Below, without loss of generality, the interaction process between a terminal and a network device is taken as an example to describe the embodiment of the present application in detail. It can be understood that any terminal in a wireless communication system can communicate with one or more network devices with wireless communication connections based on the same method. This application does not limit this.

[0135] It should be understood that Figure 1 In the communication system shown, the network device may be Figure 1In the RAN 110, the terminal may be Figure 1 Terminal 130 in.

[0136] Figure 2 is a schematic diagram of a network architecture provided by an embodiment of the present application, such as Figure 2 As shown, the network architecture includes CN equipment and RAN equipment. The RAN equipment includes a baseband device and a radio frequency device, wherein the baseband device can be implemented by one node or multiple nodes, and the radio frequency device can be implemented independently from the baseband device, or integrated with the baseband device in the same physical device, or partially remote and partially integrated with the baseband device. For example, in an LTE communication system, an eNB as a RAN device includes a baseband device and a radio frequency device, wherein the radio frequency device can be arranged remotely relative to the baseband device, for example, a remote radio unit (RRU) is arranged remotely relative to a BBU.

[0137] The communication between RAN equipment and terminals follows a certain protocol layer structure. For example, the control plane protocol layer structure may include the functions of the RRC layer, packet data convergence protocol (PDCP) layer, radio link control (RLC) layer, media access control (MAC) layer and physical layer. The user plane protocol layer structure may include the functions of the PDCP layer, RLC layer, MAC layer and physical layer; in one implementation, the service data adaptation protocol (SDAP) layer may also be included above the PDCP layer.

[0138] The functions of these protocol layers may be implemented by one node or by multiple nodes; for example, in an evolutionary structure, a RAN device may include a centralized unit (CU) and a distributed unit (DU), and multiple DUs may be centrally controlled by one CU. Figure 3 As shown, CU and DU can be divided according to the protocol layers of the wireless network, for example, the functions of the PDCP layer and above protocol layers are set in the CU, and the functions of the protocol layers below the PDCP, such as the RLC layer and the MAC layer, are set in the DU.

[0139] This division of the protocol layer is only an example. It can also be divided in other protocol layers, such as dividing in the RLC layer, setting the functions of the RLC layer and the protocol layers above in the CU, and the functions of the protocol layers below the RLC layer in the DU; or dividing in a certain protocol layer, for example, setting some functions of the RLC layer and the functions of the protocol layers above the RLC layer in the CU, and setting the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer in the DU. In addition, it can also be divided in other ways, such as dividing by latency, setting the functions whose processing time needs to meet the latency requirements in the DU, and the functions that do not need to meet the latency requirements in the CU.

[0140] In addition, the radio frequency device can be remote and not placed in the DU, or can be integrated in the DU, or can be partially remote and partially integrated in the DU, without any limitation here.

[0141] Please continue to refer to Figure 3 , Figure 3 A schematic diagram of another network architecture provided by an embodiment of the present application is shown. Figure 2 The architecture shown can also separate the control plane (CP) and user plane (UP) of the CU and implement them in different entities, namely, the control plane CU entity (CU-CP entity) and the user plane CU entity (CU-UP entity).

[0142] In the above network architecture, the signaling generated by the CU can be sent to the terminal through the DU, or the signaling generated by the terminal can be received by the DU and then sent to the CU. The DU can directly encapsulate the signaling through the protocol layer and transparently transmit it to the terminal or CU without parsing it. In the following embodiments, if the transmission of such signaling between the CU and the terminal is involved, at this time, the sending or receiving of the signaling by the DU includes this scenario. For example, the signaling of the RRC or PDCP layer will eventually be processed into physical layer data and sent to the terminal, or converted from the received physical layer data. Under this architecture, the signaling of the RRC or PDCP layer can be considered to be sent by the DU, or sent by the DU and the radio frequency.

[0143] In the above embodiments, the CU is divided into a network device on the RAN side. In addition, the CU may also be divided into a network device on the CN side, which is not limited here.

[0144] The apparatus in the following embodiments of the present application may be located in a terminal or a network device according to the functions implemented. When the above CU-DU structure is adopted, the network device may be a CU node, or a DU node, or a network device including a CU node and a DU node.

[0145] Figure 4 The schematic flow chart of the terminal and the network device completing random access through four steps is shown. It should be understood that Figure 4Taking contention based random access (CBRA) as an example, the process includes:

[0146] S210, the terminal sends a random access process message 1 (Msg1) to the network device.

[0147] It should be understood that the random access process message 1 (Msg1) may also be called a random access request message or a random access preamble.

[0148] The main function of the preamble is to inform the network device that there is a random access request and enable the network device to estimate the transmission delay between it and the terminal so that the network device can calibrate the uplink timing and inform the terminal of the calibration information through the random access process message 2 (Msg2) in S220.

[0149] Each cell has 64 available preamble sequences. The terminal can select a preamble and transmit it on the physical random access channel (PRACH). The network device informs the terminal of the PRACH time-frequency resource set that can be used to transmit the preamble in the current cell through a system message. When the terminal initiates random access, it selects the PRACH resource to send the preamble.

[0150] S220, the network device sends a random access process message 2 (Msg2) to the terminal.

[0151] It should be understood that the random access process message 2 (Msg2) may also be referred to as a random access response message.

[0152] Specifically, after receiving the preamble sent by the terminal, the network device sends a corresponding random access response (RA response, RAR) to the terminal, which may include at least one of the following parameters: time domain and frequency domain information of the random access process message three (Msg3) transmitted in S230, the modulation and coding mode used for Msg3, the preamble identifier, the timing advance (TA) information, the initial uplink grant (uplink grant, UL grant) information, and may also carry the identification information of the terminal. For CBRA, after receiving Msg2, the terminal determines whether the preamble identifier in Msg2 is the same as the preamble sent in S210. If they are the same, it is considered that Msg2 is received successfully, otherwise, it is considered that Msg2 is received unsuccessfully, and the terminal can re-trigger the random access (RA) process.

[0153] S230, the terminal sends a random access process message three (Msg3) to the network device.

[0154] Specifically, the terminal sends data through a physical uplink shared channel (PUSCH) in a corresponding uplink transmission resource according to the UL grant information indicated in Msg2, which may include at least one of the following data types:

[0155] (1) User plane data, including the user's data to be sent. When the terminal is configured with at least one logical channel, the user plane data may include the data of the at least one logical channel. One possible way is that the user plane data may be carried in a non-access stratum (NAS) message, and the NAS message may be included in an RRC message. Another possible way is that the user plane data and the RRC message may be multiplexed together instead of being included in the RRC message.

[0156] (2) An RRC message, including identification information of the terminal, such as C-RNTI information of the terminal, a resume ID or an inactive RNTI (I-RNTI) of the terminal, wherein the Resume ID or I-RNTI is allocated to the terminal by a network device, and the terminal reports the identification for the network device to identify the identity of the terminal and related configuration information, etc. The identification information of the terminal may be carried in the RRC message or in the MAC PDU that carries the RRC message.

[0157] S240, the network device sends a random access process message four (Msg4) to the terminal.

[0158] Specifically, since the terminal in S230 carries the identification information of the terminal, the network device will carry the identification information of the terminal through Msg4 in S240 in the conflict resolution mechanism to specify the terminal that wins the conflict resolution, and other terminals that do not win the conflict resolution will re-initiate random access. Optionally, Msg4 can also carry user plane data. One possible way is that the user plane data can be carried in a NAS message, and the NAS message can be included in an RRC message. Another possible way is that the user plane data and the RRC message can be multiplexed together, rather than included in the RRC message.

[0159] Figure 5 A schematic flow chart showing a terminal and a network device completing random access in two steps, the process comprising:

[0160] S310, the network device sends an RRC message to the terminal.

[0161] It should be understood that the RRC message may be sent to the terminal in a broadcasting manner (eg, a system message) or may be sent to the terminal via RRC dedicated signaling.

[0162] Specifically, the RRC message may include UL grant information, may include time domain and frequency domain information of the random access process message 1 (MsgA) in transmission S320, modulation and coding mode for MsgA, etc.

[0163] S320, the terminal sends a random access process message 1 (MsgA) to the network device.

[0164] It should be understood that the random access process message 1 (MsgA) may also be referred to as a random access request message, and the message 1 (MsgA) may include at least one of the following signals:

[0165] (1) Preamble: Optionally, the network device can also perform channel estimation based on the preamble, which is used for signal processing at the receiving end of the data;

[0166] (2) Demodulation reference signal (DMRS), which is used for data demodulation and other related signal processing at the receiving end.

[0167] Message A may also carry data, including at least one of the following data types:

[0168] (1) User plane data, including the user's data to be sent. When the terminal is configured with at least one logical channel, the data of the at least one logical channel may be included. One possible way is that the user plane data may be carried in a NAS message, and the NAS message may be included in an RRC message. Another possible way is that the user plane data and the RRC message may be multiplexed together, rather than being included in the RRC message.

[0169] (2) An RRC message, including identification information of the terminal, such as C-RNTI information of the terminal, a resume ID or an inactive RNTI (I-RNTI) of the terminal, wherein the Resume ID or I-RNTI is allocated to the terminal by a network device, and the terminal reports the identification for the network device to identify the identity of the terminal and related configuration information, etc. The identification information of the terminal may be carried in the RRC message or in the MAC PDU that carries the RRC message.

[0170] Specifically, the terminal sends data through a physical layer channel in the corresponding uplink transmission resource according to the UL grant information indicated in the RRC message in S310. The physical layer channel can be a PUSCH channel or a contention-based physical layer channel different from PUSCH, which is not limited here.

[0171] S330, the network device sends a random access process message 2 (MsgB) to the terminal.

[0172] It should be understood that the random access process message 2 (MsgB) may also be referred to as a random access response message.

[0173] Specifically, after receiving the MsgA sent by the terminal, the network device sends a corresponding random access response (RAresponse, RAR) to the terminal, and optionally, may also send an RRC message, and optionally, may also carry user plane data. One possible way is that the user plane data may be carried in a NAS message, and the NAS message may be included in an RRC message. Another possible way is that the user plane data and the RRC message may be multiplexed together instead of being included in the RRC message. The RAR and the RRC message may include at least one of the following parameters: a preamble identifier, timing advance (TA) information, uplink grant (UL grant) information, and may also carry a contention resolution identity.

[0174] Optionally, if the MsgB includes a preamble identifier, after receiving the MsgB, the terminal determines whether the preamble identifier in the MsgB is the same as the preamble sent in S320. If they are the same, it is considered that the MsgB is received successfully, otherwise, it is considered that the MsgB is received unsuccessfully, and the terminal can re-trigger the RA process.

[0175] Optionally, if the MsgB includes a conflict resolution identifier, after receiving MsgB, the terminal determines whether the conflict resolution identifier in MsgB matches the RRC message sent in S320 or whether it matches the first 48 bits of the RRC message sent in S320. If they match, it is considered that MsgA is sent successfully.

[0176] Before describing the method of transmitting data in the embodiments of the present application, two MAC PDU formats are first introduced.

[0177] Format 1

[0178] Figure 6 A MAC PDU format is shown, such as Figure 6As shown, the MAC PDU may include two parts: a MAC subheader and a MAC payload. The MAC payload may be a medium access control layer service data unit (MAC SDU) or a medium access control layer control element (MAC CE) or padding.

[0179] Format 2

[0180] Figure 7 Another MAC PDU format is shown, such as Figure 7 As shown, the MAC PDU may include one or more media access control layer sub-protocol data units (MAC subPDUs), wherein the MAC subPDU may include a MAC subheader and may also include a MAC payload, wherein the MAC payload may be a MAC SDU or a MAC CE or padding, wherein a MAC SDU or a MAC CE or padding are distributed in the MAC PDU in the form of a MAC subPDU in an overlapping manner.

[0181] Before introducing the embodiments of the present application, several states of the terminal in the embodiments of the present application are described. In existing wireless communication systems, multiple communication states are defined for terminals. For example, if a terminal has established a communication connection with a network device, the terminal is defined to be in a connected state; if the terminal is in a standby state, the terminal is defined to be in an idle state. In addition, an inactive state is also defined in the 5G communication system. In the inactive state, the terminal can retain some context information of the communication connection with the network device. Among them, in the connected state, the terminal can communicate continuously with the network device.

[0182] The following describes a method for transmitting data provided by an embodiment of the present application.

[0183] Figure 8 A schematic flow chart of a method 400 for transmitting data provided in an embodiment of the present application is shown. Figure 8 As shown, the execution subject of the method 400 may be a device for transmitting data (e.g., a terminal or a chip or device for a terminal, a network device or a chip or device for a network device), and the following description is made by taking the execution subject as a terminal and a network device as an example. The method 400 includes the following steps S410-S440.

[0184] S410: The network device sends a first uplink authorization to the terminal, and the terminal receives the first uplink authorization from the network device.

[0185] Optionally, the first uplink authorization may be carried in an RRC broadcast message sent by the network device to the terminal, or the first uplink authorization may be configured to the terminal in a protocol pre-configuration manner.

[0186] Optionally, the first uplink authorization may also be carried in RRC dedicated signaling and sent by the network device to the terminal. The RRC dedicated signaling may be an RRC release message, an RRC reconfiguration message, an RRC recovery message or an RRC reconstruction message.

[0187] Exemplarily, when the terminal changes from a connected state to an idle state or an inactive state, the network device may configure the first uplink authorization for the terminal to use through RRC dedicated signaling.

[0188] Optionally, the RRC dedicated signaling may also carry a valid duration of the first uplink authorization, and the first uplink authorization is available within the valid duration.

[0189] Exemplarily, the terminal may use the first uplink grant to send uplink data within a valid duration starting from receiving the RRC dedicated signaling.

[0190] S420: The terminal in the first state uses the first uplink authorization to send first uplink data in the data to be sent to the network device, and the network device receives the first uplink data from the terminal.

[0191] Optionally, the first state includes an idle state or an inactive state.

[0192] Optionally, the terminal sending first uplink data in the data to be sent to the network device includes: when a preset condition is met, the terminal sending the first uplink data to the network device, wherein the preset condition includes one or more of the following:

[0193] Preset condition one: the terminal determines that there is data to be sent.

[0194] As long as the terminal determines that the data to be sent needs to be sent to the network device, the data transmission process of S420-S440 can be triggered.

[0195] Preset condition two: the terminal determines that the amount of the data to be sent is less than or equal to a first preset threshold value.

[0196] Optionally, the first preset threshold value may be sent by the network device to the terminal through an air interface message, or the terminal may also obtain the first preset threshold value in a protocol pre-configuration manner.

[0197] Optionally, the first preset threshold value may be notified to the terminal via an RRC message, such as a system message or RRC dedicated signaling, and the RRC dedicated signaling may be an RRC release message, an RRC reconfiguration message, an RRC recovery message or an RRC reconstruction message.

[0198] Optionally, the first preset threshold value may be presented in the form of a transport blocksize (TBS) threshold, a protocol data unit (PDU) or the number of service data units (SDU).

[0199] Preset condition three: the network device indicates that the terminal can trigger the process of transmitting data.

[0200] Exemplarily, when the network device instructs the terminal to trigger the data transmission process, the data transmission process of S420 - S440 can be triggered.

[0201] Optionally, the network device may notify the terminal through an RRC message, for example, the indication may be carried in a system message or RRC dedicated signaling, and the RRC dedicated signaling may be an RRC release message, an RRC reconfiguration message, an RRC recovery message, or an RRC reconstruction message.

[0202] In one embodiment, the network device may indicate that when the amount of data to be sent by the terminal (for example, the amount of uplink data to be sent) is greater than or equal to the second preset threshold value, the terminal can perform data transmission through the data transmission process; or, the network device may indicate that when the amount of data to be sent by the terminal (for example, the amount of uplink data to be sent) is less than or equal to the second preset threshold value, the terminal can perform data transmission through the data transmission process. At this time, after receiving the indication, the terminal can determine the relationship between the amount of data to be sent and the second preset threshold value, thereby determining whether data transmission can be performed through the data transmission process.

[0203] It should be understood that the first preset threshold value and the second preset threshold value may be the same or different.

[0204] In another embodiment, the network device may indicate to the terminal whether data can be transmitted through the data transmission process.

[0205] Exemplarily, when the network device instructs the terminal to perform data transmission through the data transmission process, the terminal can perform data transmission through the data transmission process.

[0206] Preset condition four: the terminal determines that the data to be sent is a service data unit SDU, such as a PDCP SDU.

[0207] In one embodiment, when the data to be sent by the terminal is a packet data convergence layer protocol layer service data unit PDCP SDU or a radio link control layer service data unit RLC SDU, the terminal can trigger the process of transmitting the data. That is, in S420, if the PDCP SDU or RLC SDU cannot be completely sent through the first uplink authorization, for example, due to the message size limit, the terminal cannot use the first uplink authorization to send out the complete PDCP SDU or RLC SDU, the remaining part of the PDCP SDU or RLC SDU can also be sent in S440 through the second uplink authorization by segmentation, and the process of transmitting the data can also be triggered at this time.

[0208] In the embodiment of the present application, when the terminal determines that one or more of the above preset conditions are met, the process of S420-S440 can be triggered.

[0209] In the method for transmitting data in an embodiment of the present application, the terminal can send uplink data in a first state after determining that a preset condition is met. Compared with sending data to a network device after the terminal enters a connected state, this helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0210] It should be understood that the above preset conditions 1 to 4 are merely exemplary, and there may be other preset conditions, which are not limited in any way in the embodiments of the present application.

[0211] Exemplarily, when the terminal determines that there is data to be sent, the terminal may use the first uplink grant to send the first uplink data to the network device; or,

[0212] When the terminal determines that the data to be sent is less than or equal to the first preset threshold value, the terminal may use the first uplink grant to send the first uplink data to the network device; or,

[0213] After the terminal receives the indication information from the network device indicating that the terminal can trigger the process of transmitting data, the terminal can use the first uplink grant to send the first uplink data to the network device; or,

[0214] The terminal determines that the data to be sent is a service data unit SDU, such as a PDCP SDU, and the terminal may use the first uplink grant to send the first uplink data to the network device.

[0215] Exemplarily, when the terminal determines that there is data to be sent and the terminal receives indication information from the network device indicating that the terminal can trigger the process of transmitting the data, the terminal can use the first uplink authorization to send the first uplink data to the network device.

[0216] Exemplarily, when the terminal determines that the data to be sent is less than or equal to a first preset threshold value and the terminal receives indication information from the network device indicating that the terminal can trigger the process of transmitting the data, the terminal can use the first uplink authorization to send the first uplink data to the network device.

[0217] Exemplarily, when the terminal determines that the data to be sent is an SDU, such as a PDCP SDU, and the data size of the SDU is less than the first preset threshold value, and the terminal receives an indication message from the network device indicating that the terminal can trigger the process of transmitting the data, the terminal can use the first uplink authorization to send the first uplink data to the network device.

[0218] It should also be understood that if the terminal does not meet any one of the above conditions, or the terminal does not meet any several of the above conditions, the terminal may first switch states, for example, entering the connected state from the first state and then sending the data to be sent; or, the terminal may only complete the sending of part of the data to be sent in the first state, for example, sending part of the data by using the first uplink authorization in S420 or sending part of the data by using the second uplink authorization in S440.

[0219] In one embodiment, the terminal sends first uplink data in the data to be sent to the network device, including: the terminal sends a first message to the network device, and the first message includes the first uplink data.

[0220] Optionally, the first message may include signaling for initiating random access.

[0221] Optionally, the terminal sends first uplink data in data to be sent to the network device, including: the terminal sends a first message of a random access process to the network device, and the first message of the random access process includes the first uplink data.

[0222] It should be understood that the first message of the random access process may be Msg1 in the above method 200 or MsgA in the above method 300.

[0223] Optionally, the first message of the random access process also includes signaling, and the signaling is used to initiate random access. For example, the signaling may include a random access preamble and a DMRS, wherein the preamble is used to initiate the random access process.

[0224] The method for transmitting data in the embodiment of the present application can be applied to the random access process. The terminal can carry the first uplink data in the first message of the random access. The terminal can send uplink data multiple times in the first state. Compared with sending data to the network device after the terminal enters the connected state, it helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0225] Optionally, the first message may include only DMRS but not preamble.

[0226] It should be understood that including only DMRS in the first message can also be understood as a case of pre-configured resource scheduling.

[0227] Optionally, if the first message of the random access process is MsgA in the above method 300, the first message of the random access process may also include information for contention resolution, for example, identification information of the terminal. As described in the above method 300, the identification information of the terminal may be one or more of the C-RNTI information of the terminal, the resume ID of the terminal, or the inactive ID (inactive RNTI, I-RNTI).

[0228] Optionally, the first message may not include the above-mentioned signaling for initiating random access.

[0229] Optionally, the first message may also include channel status information (CSI), such as channel quality information (CQI), which is used to indicate the channel status of the current downlink. The CSI information may also be CSI information of a synchronization signal block (SSB) of one or more beams.

[0230] Optionally, when one or more of the following preset conditions are met, the terminal may not carry the preamble signaling in the first message.

[0231] Preset condition five: The synchronization timer maintained by the terminal is still running.

[0232] It should be understood that the different timers maintained by the terminal are still running, which can also be understood as the synchronization timer not timing out.

[0233] In one embodiment, the synchronization timer may be configured by the network device to the terminal via an air interface message, and the synchronization timer may run in an idle state or an inactive state.

[0234] Preset condition six: the terminal has not moved to a new cell or a new area.

[0235] It should be understood that the terminal does not move to a new cell or a new area. It can also be understood that the terminal still resides in the previous serving cell or area when the data transmission process is triggered. The area may be composed of at least one cell.

[0236] Preset condition seven: the terminal determines that the first uplink authorization is still valid.

[0237] Exemplarily, the first uplink authorization is configured with a valid duration or a timer, and the terminal determining that the first uplink authorization is still valid can be understood as the terminal determining that the first uplink authorization is within the valid duration or the timer is still running.

[0238] Preset condition eight: the terminal detects the signal quality of the downlink signal, and by comparing with a third preset threshold value, the terminal determines that the signal quality of the downlink signal is greater than or equal to the third preset threshold value.

[0239] In one embodiment, the third preset threshold value may be configured to the terminal by the network device through an air interface message, or may be embodied in a protocol pre-configuration manner.

[0240] Preset condition nine: the terminal receives indication information from the network device for indicating that the terminal does not need to send the signaling.

[0241] Exemplarily, the indication information may be sent by the network device to the terminal via an air interface RRC message.

[0242] It should be understood that when the terminal satisfies one or more of the above preset conditions five to nine, the terminal may not carry the preamble signaling for initiating random access in the first message.

[0243] Optionally, the method 400 further includes: the terminal sends first indication information to the network device, and the network device receives the first indication information sent by the terminal, where the first indication information is used to indicate that the data to be sent has not been completely sent.

[0244] It should be understood that the first indication information is used to indicate that the data to be sent has not been sent completely. It can also be understood that the first indication information is used to indicate that the terminal has completed the transmission of the data to be sent through the method 400. It can also be understood that the terminal hopes to complete the data sending in an idle state or an inactive state. It can also be understood that the first indication information is used to indicate that the terminal has further uplink data. It can also be understood that the first indication information is used to request a second uplink authorization.

[0245] In an embodiment of the present application, the terminal indicates to the network device that the data to be sent has not been sent, so that the network device can instruct the terminal to continue to stay in the first state to send uplink data. Compared with the terminal sending data to the network device after entering the connected state, this helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0246] Optionally, the first indication information includes information for indicating the data amount of the data to be sent, such as the data amount of available data after MAC PDU packetization, and the value of the data amount may be 0.

[0247] In the embodiment of the present application, the terminal indicates the amount of data to be sent in the first indication information, which helps the network device to make a judgment on whether to adjust the terminal state, helps to reduce the number of air interface interactions, and thus helps to reduce the delay of transmitting data. At the same time, if the network device determines that the amount of data to be sent is relatively small (for example, the network device determines that the terminal can send all the data to be sent through the second uplink authorization), it can instruct the terminal to continue to stay in the first state, thereby helping to save power consumption of the terminal.

[0248] It should be understood that the first indication information here includes information for indicating the data amount of the sent data, and it can also be understood that the first indication information includes information for indicating the data amount of the remaining data in the data to be sent, or it can also be understood that the first indication information includes information for indicating the data amount of the remaining data in the data to be sent except the first uplink data.

[0249] Optionally, the first indication information may include an information element, and the information element is used to indicate that the data to be sent has not been sent completely.

[0250] Optionally, the first indication information may include an information element, and the information element is used to indicate the data amount of the data to be sent. The information element may also implicitly indicate that the data to be sent has not been completely sent.

[0251] Optionally, the first indication information may include two information elements, wherein one information element is used to indicate that the data to be sent has not been sent completely, and the other information element is used to indicate the data amount of the data to be sent.

[0252] Optionally, the first indication information may be carried in at least one of the following ways:

[0253] Method 1: RRC Instruction

[0254] The terminal may add a new cause value in the RRC indication, for example, the data to be sent by the terminal has not been sent completely.

[0255] Method 2: BSR indication

[0256] Optionally, the BSR indication may be a short BSR indication or a long BSR indication or a padding BSR indication.

[0257] Optionally, when the terminal's data to be sent has not been sent completely or the terminal has further uplink data, that is, after the terminal has sent the first uplink data in the data to be sent, it needs to send the second uplink data to complete the transmission of the data to be sent, the terminal can indicate the data amount of the data to be sent through the BSR.

[0258] Method 3: Simplified L2 signaling indication

[0259] Optionally, the terminal may use a new MAC CE or a MAC subheader. Fig. 9 A schematic diagram of a MAC CE or MAC subheader is shown, such as Fig. 9 As shown, the above is a new MAC CE, which includes a data volume field and a logical channel group bitmap (LCG bitmap). The LCG bitmap can be used to indicate which logical channel groups (LCG) have data to be sent. For example, "1" can be set at the corresponding bit position, otherwise, it can be set to "0". The following is a new MAC subheader. The MAC field includes an R field, an F field and a logical channel identify (LCID). When the MAC subheader is included, it can indicate that the logical channel (LCH) has data to be sent.

[0260] Optionally, a special bit may also be set in an existing PDCP or RLC subheader. Exemplarily, when the value of the bit is "1", it indicates that the data to be sent by the terminal has not been sent completely or the terminal has further uplink data.

[0261] Method 4: L1 signaling

[0262] Optionally, the L1 signaling may be uplink control information (UCI), including but not limited to a physical uplink control channel (PUCCH).

[0263] Optionally, the first uplink data and the first indication information may be carried in a first message and sent to the network device.

[0264] Optionally, the first message may also include an RRC message, such as an uplink common control channel (UL CCCH message, including but not limited to at least one of the following messages: an RRC establishment request, an RRC recovery request, an RRC reconstruction request, an RRC system message request, etc.

[0265] Another possibility is that the first message may not include an RRC message, but may carry some or all information elements (IE) included in the RRC message, such as I-RNTI, recovery reason value, etc., and the some or all information elements may be sent via a MAC layer message, such as MAC CE.

[0266] S430: The network device sends a second uplink grant to the terminal, and the terminal receives the second uplink grant from the network device.

[0267] Optionally, the second uplink grant may be a preconfigured uplink grant.

[0268] Exemplarily, when the terminal is in the connected state, the network device may configure the second uplink authorization for the terminal, and when the terminal is in the first state, the second uplink authorization may not be released.

[0269] For example, the network device may configure the second uplink authorization to the terminal through a system message or RRC dedicated signaling.

[0270] For example, the RRC-specific signaling can be an RRC release message, an RRC reconfiguration message, an RRC recovery message or an RRC reconstruction message, etc., or the second uplink authorization can be configured to the terminal via an RRC system message, or configured via protocol pre-configuration, without the need for the network device to notify the terminal.

[0271] Optionally, the network device sends a second uplink authorization to the terminal, including: the network device sends a second message to the terminal, the second message including the second uplink authorization.

[0272] In an embodiment of the present application, the network device can carry a second uplink authorization in the second message, so that when the terminal's to-be-sent data cannot be sent in the first message or new data arrives after sending, this part of the data can be sent to the network device in time.

[0273] Optionally, the second message may be a second message of a random access procedure.

[0274] Optionally, if the second message of the random access process is Msg2 in method 200, then the second message of the random access process may include a preamble ID.

[0275] Optionally, if the second message of the random access process is MsgB in method 300, then the second message of the random access process may include contention resolution information in addition to the preamble ID. Exemplarily, the contention resolution information may be a conflict resolution identifier. If the conflict resolution identifier matches the RRC message sent by the terminal in the first message (MsgA) of the random access process or the MAC layer message sent by the terminal in the first message (MsgA) of the random access process, or matches the first 48 bits of the RRC message sent by the terminal in the first message (MsgA) of the random access process or the first 48 bits of the MAC layer message sent by the terminal in the first message (MsgA) of the random access process, then the terminal considers that the conflict resolution is successful.

[0276] The method for transmitting data in the embodiment of the present application can be applied to the random access process. The network device can carry a second uplink authorization in the second message of the random access process for the terminal to transmit new data. The terminal can continue to send uplink data in the first state, which helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0277] Optionally, the second message may also carry an RRC message, such as a downlink dedicated control channel (DL DCCH) message, including but not limited to at least one of the following messages: RRC reconfiguration message, RRC recovery message, RRC release message, RRC reconstruction message, downlink information transmission, etc.

[0278] Another possibility is that the second message may not include the RRC message, but may carry part or all of the information elements included in the RRC message. The part or all of the information elements may be sent via MAC layer signaling, such as MAC CE.

[0279] Optionally, the second message may also carry a conflict resolution identifier MAC CE, which is used to indicate whether the conflict is resolved successfully by the terminal.

[0280] Optionally, the second message may also carry downlink data, and the downlink data may be multiplexed with the RRC message in the same MAC PDU, or may not be multiplexed with the RRC message in the same MAC PDU, that is, sent to the terminal via two messages, one of which is the RRC message and the other is the downlink data. The downlink data may also be sent to the terminal via multiple downlink messages.

[0281] Optionally, the method further includes: the network device sends second indication information to the terminal, and the terminal receives the second indication information from the network device, where the second indication information is used to instruct the terminal to stay in the first state.

[0282] In an embodiment of the present application, the network device may instruct the terminal to continue to stay in the first state after receiving the first uplink data, which helps to save power consumption of the terminal.

[0283] In one embodiment, if the first indication information in S410 can indicate the amount of data to be sent, the network device can determine whether to instruct the terminal to stay in the first state or to instruct the terminal to switch to the connected state based on the size of the data, thereby sending the second indication information to the terminal.

[0284] Exemplarily, if the network device determines that the terminal can use the second uplink data to send all the remaining data to be sent at once, the network device can send a second indication message to the terminal, where the second indication message is used to instruct the terminal to stay in the first state.

[0285] Optionally, the network device may also implicitly instruct the terminal to stay in the first state through other information elements in the second message.

[0286] Exemplarily, when the terminal receives the second uplink authorization sent by the network device, the terminal can implicitly learn through the second uplink authorization that the network device wants the terminal to stay in the first state.

[0287] Optionally, the second indication information may be carried in an RRC message, such as an RRC release message, an RRC recovery message or an RRC reconfiguration message.

[0288] In an embodiment of the present application, the network device can instruct the terminal to continue to stay in an idle state or an inactive state to prevent the terminal from entering a connected state for data transmission, which helps to save power consumption of the terminal.

[0289] S440: When the terminal is in the first state, use the second uplink authorization to send second uplink data to the network device.

[0290] Optionally, the second uplink data may be at least part of the uplink data in the data to be sent except the first uplink data.

[0291] Optionally, the second uplink data may be newly arrived uplink data after the terminal sends the first uplink data.

[0292] Optionally, the second uplink data may also be uplink data other than the first uplink data in the data to be sent and newly arrived uplink data.

[0293] Optionally, the terminal sends the second uplink data to the network device, including: the terminal sends a third message to the network device, and the third message includes the second uplink data.

[0294] Optionally, the third message may be the first message of the random access procedure.

[0295] In one embodiment, if the second message carries the second uplink grant, the terminal may send the second uplink data through the second uplink grant.

[0296] In one embodiment, if the second message does not carry the second uplink grant, or the uplink grant carried in the second message cannot be used to transmit new data, the terminal may send the second uplink data through the second uplink grant dynamically scheduled by the network device, for example, the network device may schedule uplink grant resources through downlink control information (DCI) scrambled by the terminal identifier.

[0297] Optionally, the method 400 includes: the terminal receives a second message from the network device, the second message includes a third uplink authorization, and the third uplink authorization is used to retransmit the first uplink data; the terminal uses the third uplink authorization to retransmit the first uplink data to the network device.

[0298] In the embodiment of the present application, the second message may carry a second uplink authorization for the terminal to send second uplink data, or for the terminal to send new data; or the second message may also carry a third uplink authorization for retransmission of the first uplink data. When the third uplink authorization carried in the second message is used for retransmission of the first uplink data, the terminal may use the second uplink authorization dynamically scheduled by the network device to send the second uplink data.

[0299] It should be understood that if the second message carries the third uplink authorization instead of the second uplink authorization, the terminal can implicitly know that the first uplink data has not been sent successfully and needs to be retransmitted.

[0300] In one embodiment, if the terminal still has uplink data to be sent after sending the second uplink data using the second uplink authorization, the terminal can continue to indicate to the network device that the data to be sent has not been sent, and the network device can continue to send uplink authorization to the terminal, so that the terminal continues to send uplink data.

[0301] Optionally, the network device may send a second message to the terminal multiple times, and the second message may carry a new uplink authorization for transmitting new data, so that the terminal may use multiple uplink authorizations carried in multiple second messages to send uplink data to the network device multiple times.

[0302] Optionally, the terminal may also send uplink data to the network device multiple times by using the pre-configured uplink authorization multiple times.

[0303] In the method for transmitting data in the embodiment of the present application, the terminal can send uplink data to the network device multiple times in an idle state or an inactive state. Compared with sending data to the network device after the terminal enters a connected state, this helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0304] Optionally, the method 400 also includes: the terminal sends third indication information to the network device, and the third indication information is used to indicate that the data to be sent has been sent; the terminal receives fourth indication information from the network device, and the fourth indication information is used to indicate that the terminal stays in the first state.

[0305] It should be understood that the second indication information and the fourth indication information may be the same.

[0306] It should also be understood that the third indication information is used to indicate that the data to be sent has been sent. It can also be understood that the third indication information is used to indicate that the terminal has no further uplink data and / or further downlink data. It can also be understood that the third indication information is used to indicate that the terminal sends the data to be sent in the first state without switching to a connected state to send the data to be sent. It can also be understood that the third indication information is used to indicate that the data to be sent and the newly arrived uplink data after the first uplink data are sent have been sent.

[0307] In one embodiment, the third indication information may be a BSR, and the amount of data in the cache state in the BSR is set to 0.

[0308] In another embodiment, the terminal may not send the third indication information to the network device. If the network device does not receive the third indication information, the network device may know that the terminal has no further uplink data.

[0309] It should also be understood that the indication method of the third indication information can refer to the indication method of the first indication information mentioned above, and for the sake of brevity, it will not be repeated here.

[0310] When the terminal's pending data has been sent, the terminal can send the third indication information to the network device. After receiving the third indication information, the network device can determine that the terminal's pending data has been sent, and then send the fourth indication information to the terminal. After receiving the fourth indication information, the terminal continues to stay in the idle state or inactive state.

[0311] In an embodiment of the present application, after the terminal has completed sending the data to be sent, it can indicate to the network device that there is no further uplink data, and the network device can instruct the terminal to continue to stay in an idle state or an inactive state, which helps to save power consumption of the terminal.

[0312] Optionally, the method 400 also includes: the network device receives fifth indication information, where the fifth indication information is used to indicate that there is no downlink data of the terminal; and the network device sends the fourth indication information to the terminal according to the third indication information and the fifth indication information.

[0313] Optionally, the fifth indication information is used to indicate whether there is downlink data of the terminal, and the value of the fifth indication information is a first value, and the first value is used to indicate that there is no downlink data of the terminal.

[0314] Optionally, the network device may receive fifth indication information sent by another network device (e.g., a core network device) before sending the fourth indication information to the terminal, and the fifth indication information may be used to indicate that there is no downlink data of the terminal. At this time, if the network device determines through the third indication information that the terminal has no further uplink data, and through the fifth indication information that the terminal has no downlink data, the network device may send the fourth indication information to the terminal.

[0315] Optionally, the fifth indication information may be one or more of the following indication information:

[0316] (1) Terminal granularity indication information, used to indicate that there is no further downlink data for the terminal;

[0317] (2) session granularity indication information, used to indicate that there is no further downlink data for the session of the terminal;

[0318] (3) flow granularity indication information, used to indicate that there is no further downlink data of the quality of service (QoS) flow of the terminal;

[0319] (4) Bearer granularity indication information, used to indicate that there is no further downlink data carried by the terminal.

[0320] Fig.10 FIG. 5 is a schematic flow chart of a method 500 for transmitting data according to an embodiment of the present application. Fig.10 As shown, the method 500 includes the following steps S510-S570.

[0321] S510: The terminal determines to initiate a data transmission process.

[0322] It should be understood that the terminal may determine to initiate the data transmission process when one or more of preset conditions 1 to 4 are met. Preset conditions 1 to 4 may refer to the description of the above method 400, and will not be repeated here for the sake of brevity.

[0323] S520, when the terminal is in the first state, the terminal sends a first message to the network device, and the network device receives the first message sent by the terminal. The first message includes first uplink data and first indication information, and the first indication information is used to indicate that the terminal has further uplink data. The first state is an idle state or an inactive state.

[0324] Optionally, the terminal uses a first uplink authorization to send the first message to the network device.

[0325] It should be understood that the method for obtaining the first uplink authorization can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0326] It should also be understood that the indication method of the first indication information can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0327] Optionally, the first message may be a first message of random access.

[0328] It should be understood that the description of the first message of the random access may refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0329] S530, the network device sends a second message to the terminal, and the terminal receives the second message sent by the network device, where the second message includes a second uplink authorization, and the second uplink authorization is used by the terminal to send new data.

[0330] Optionally, the second message may be a second message of a random access procedure.

[0331] It should be understood that the description of the second message of the random access process can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0332] Optionally, the second message may also carry downlink data.

[0333] Optionally, the second message may also carry second indication information, where the second indication information is used to instruct the terminal to stay in the first state.

[0334] It should be understood that the indication method of the second indication information can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0335] S540: The terminal uses the second uplink authorization to send a third message to the network device, where the third message includes the second uplink data and third indication information, and the third indication information is used to indicate that the terminal has no further uplink data.

[0336] Optionally, the second uplink data may be uplink data remaining after the terminal has sent the first uplink data, or may be uplink data newly arrived after the terminal has sent the first uplink data.

[0337] Optionally, the indication method of the third indication information may refer to the description in the above method 400, which will not be repeated here for the sake of brevity.

[0338] Optionally, if the third indication information indicates that the terminal has further uplink data, the method 500 further includes:

[0339] S550, the terminal receives a second message sent by the network device, where the second message includes a fourth uplink authorization, and the second uplink authorization is used by the terminal to send new data;

[0340] S560: The terminal uses the fourth uplink grant to send a third message to the network device, where the third message includes third uplink data.

[0341] Optionally, in S560, the terminal may also carry indication information in the third message for indicating whether the terminal has further uplink data. If the terminal indicates in S560 that there is further uplink data, the network device may continue to carry a new uplink authorization in the second message, so that the terminal continues to send uplink data; if the terminal has no further uplink data in S560, the network device may send a fourth message to the terminal.

[0342] S570: The network device sends a fourth message to the terminal.

[0343] Optionally, the fourth message may carry the fourth indication information.

[0344] Optionally, the fourth message may also carry downlink data.

[0345] It should be understood that the description of the fourth indication information can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0346] Optionally, the fourth message may be a confirmation message of the third message.

[0347] For example, the fourth message may be L1 signaling, such as DCI, used to indicate that the third message is received successfully.

[0348] For another example, the fourth message may also be an RRC release message, and the RRC release message may be used to instruct the terminal to continue to stay in the first state.

[0349] Optionally, the RRC release message may also carry a new I-RNTI, a paging cycle, and a next hop chaining count (NCC) for updating the key.

[0350] Optionally, before the network device sends the fourth message to the terminal, the method 500 further includes: the network device receives fifth indication information sent by another network device, where the fifth indication information is used to indicate that there is no downlink data of the terminal.

[0351] The network device sending the fourth indication information to the terminal includes: the network device sending the fifth indication information to the terminal according to the third indication information and the fourth indication information.

[0352] For example, when the network device determines through the third indication information that the terminal has no further uplink data, and determines through the fifth indication information that the terminal has no downlink data, the network device may send the fourth indication information to the terminal.

[0353] It should be understood that the description of the fifth indication information can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0354] In the data transmission method of the embodiment of the present application, the terminal can send uplink data through the first message and one or more third messages, and the uplink data can be sent completely in the idle state or inactive state, so as to avoid the terminal entering the connected state to send uplink data, thereby saving signaling overhead. At the same time, instructing the terminal to stay in the idle state or inactive state through the network device helps to save power consumption of the terminal.

[0355] Fig.11 FIG. 6 is a schematic flow chart of a method 600 for transmitting data according to an embodiment of the present application. Fig.11 As shown, the method 600 includes the following steps S610-S660.

[0356] S610: The terminal determines to initiate a data transmission process.

[0357] S620, when the terminal is in the first state, the terminal sends a first message to the network device, and the network device receives the first message sent by the terminal. The first message includes first uplink data and first indication information, and the first indication information is used to indicate that the terminal has further uplink data. The first state is an idle state or an inactive state.

[0358] In one embodiment, when the terminal is in the first state, the terminal sends a first message to the network device, and the network device receives the first message sent by the terminal, the first message includes first uplink data and third indication information, and the third indication information is used to indicate that the terminal has no further uplink data. After receiving the first message, the network device can learn that the terminal does not want to switch from the first state to the connected state. The terminal in the first state can send the first message to the network device multiple times, and the first message carries uplink data. Exemplarily, the third indication information can be a BSR, and the amount of data in the cache state in the BSR is set to 0. Optionally, the network device can send the fourth message to the terminal each time it receives the first message.

[0359] It should be understood that when the terminal sends the first uplink data, there may be data to be sent. However, since the terminal does not want the network device to switch itself to a connected state, a third indication information can be carried in the first message. After receiving the third indication information, the network device can determine that the terminal has no further uplink data (in fact, the terminal may have further uplink data), thereby allowing the terminal to continue to stay in the first state, and the terminal can continue to send the data to be sent to the network device in the first state.

[0360] In one embodiment, the terminal may include the first uplink data and the third indication information in the first message, and the third indication information is used to indicate that the terminal has no further uplink data. At a certain moment, when the network device receives the uplink data and the third indication information through the first message, and receives the fifth indication information sent by another network device, the fourth message may be sent to the terminal.

[0361] It should be understood that S610 - S620 may refer to the above-mentioned process of S510 - S520 , and for the sake of brevity, they will not be described in detail here.

[0362] S630: The network device sends a second message to the terminal.

[0363] Optionally, the second message carries a third uplink grant, and the third uplink grant is used for data retransmission.

[0364] Optionally, the second message carries a third uplink grant, and the third uplink grant can be used to transmit the first uplink data, that is, can be used to retransmit the first uplink data.

[0365] In one embodiment, when the third uplink authorization is used to retransmit the first uplink data, the terminal can determine that the first uplink data is not sent successfully. When the terminal receives the third uplink authorization, it can implicitly know that the first uplink data is not sent successfully; or, in addition to considering carrying the third uplink authorization, the second message can also carry indication information for indicating that the first uplink data is not sent successfully.

[0366] Optionally, the second message may also carry an RRC message. The specific type of the RRC message carried may refer to the description in the above method 400, which will not be repeated here for the sake of brevity.

[0367] Optionally, the second message may also carry the second indication information, where the second indication information is used to instruct the terminal to stay in the first state.

[0368] It should be understood that the description of the second indication information can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0369] Optionally, the second message may also carry a conflict resolution identifier MAC CE, which is used to indicate whether the conflict is resolved successfully by the terminal.

[0370] Optionally, the second message may also carry downlink data.

[0371] S640: The terminal sends a first message to the network device, where the first message carries second uplink data.

[0372] Optionally, the terminal uses the second uplink authorization to send the first message to the network device.

[0373] Optionally, the second uplink grant may be a preconfigured uplink grant.

[0374] Optionally, the first message may further carry third indication information, where the third indication information is used to indicate that the terminal has no further uplink data.

[0375] Optionally, the second uplink data may be uplink data remaining after the terminal has sent the first uplink data, or may be uplink data newly arrived after the terminal has sent the first uplink data.

[0376] Optionally, the indication method of the third indication information may refer to the description in the above method 400, which will not be repeated here for the sake of brevity.

[0377] In one embodiment, if the third indication information indicates that the terminal has further uplink data, the method 600 further includes:

[0378] S650: The terminal sends a first message to the network device, where the first message carries third uplink data.

[0379] S660: The network device sends a fourth message to the terminal.

[0380] Optionally, after the network device receives the third indication information for indicating that the terminal has no further uplink data, the network device may send the fourth message to the terminal.

[0381] It should be understood that the description of the fourth message can refer to the description in the above method 500, and for the sake of brevity, it will not be repeated here.

[0382] It should also be understood that before the network device sends the fourth message to the terminal, it can also receive fifth indication information, and the network device can send the fourth indication information to the terminal according to the third indication information and the fifth indication information. The specific process can refer to the description in the above method 500, and for the sake of brevity, it will not be repeated here.

[0383] It should also be understood that the network device may not send the fourth message to the terminal each time after receiving the third indication information through the first message, but may send the fourth message to the terminal after receiving the fifth indication information.

[0384] In the data transmission method of the embodiment of the present application, the terminal can send uplink data through multiple first messages, and the uplink data can be sent completely in the idle state or inactive state, so as to avoid the terminal entering the connected state to send uplink data, thereby saving signaling overhead. At the same time, the network device instructs the terminal to stay in the idle state or inactive state, which helps to save the power consumption of the terminal.

[0385] Combination of the above Figures 8 to 11 Describes that the terminal can send uplink data in idle or inactive state. Figure 12 to Figure 14 Another method for transmitting data according to an embodiment of the present application is introduced.

[0386] Fig.12 FIG. 7 is a schematic flow chart of another method 700 for transmitting data according to an embodiment of the present application. Fig.12 As shown, the method 700 includes the following steps S710 to S730.

[0387] S710, the terminal sends first indication information to a network device in a first state, where the first indication information is used to indicate data to be sent by the terminal, and the first state includes an idle state or an inactive state.

[0388] Optionally, the terminal sends the first indication information to the network device, including: the terminal sends a first message to the network device, the first message including the first indication information.

[0389] Optionally, the first message is the first message of a random access process.

[0390] It should be understood that the indication method of the first indication information can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0391] It should also be understood that the description of the first message of the random access process can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0392] Optionally, the method 700 also includes: the terminal receives a first uplink authorization from the network device; the terminal, in the first state, uses the first uplink authorization to send first uplink data to the network device, wherein the first indication information is used to indicate that in addition to the first uplink data, the terminal has further uplink data.

[0393] It should be understood that in method 700, the terminal in the first state may send part of the data to be sent, or may not send uplink data.

[0394] It should also be understood that the terminal can determine whether to send the first uplink data in the first state according to one or more of the preset conditions 1 to 4 in the above method 400. The specific process can refer to the description in the above method 400, and will not be repeated here for the sake of brevity.

[0395] S720: The network device sends second indication information to the terminal, where the second indication information is used to instruct the terminal to switch from the first state to the connected state.

[0396] Optionally, the network device sends the second indication information to the terminal, including: the network device sends a second message to the terminal, and the second message carries the second indication information.

[0397] Optionally, the second message may be a second message of a random access procedure.

[0398] It should be understood that the description of the second message of the random access process can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0399] Optionally, the second message may not include the second indication information.

[0400] For example, after the terminal receives the second message, if the second message includes a conflict resolution identifier, the terminal can implicitly know that the network device wants it to switch from the first state to the connected state.

[0401] S730: The terminal is in a connected state and sends data to be sent to the network device.

[0402] It should be understood that the process of the terminal sending the data to be sent to the network device in the connected state can refer to the existing technology, and no limitation is made to this in the embodiments of the present application.

[0403] Optionally, the method 700 also includes: the terminal sends third indication information to the network device, and the third indication information is used to indicate that the data to be sent has been sent; the terminal receives fourth indication information from the network device, and the fourth indication information is used to instruct the terminal to switch to the first state.

[0404] Optionally, before the network device sends the fourth indication information, the method further includes: the network device receives fifth indication information.

[0405] It should be understood that the fifth indication information can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0406] Fig.13 FIG. 8 is a schematic flow chart of a method 800 for transmitting data according to an embodiment of the present application. Fig.13 As shown, the method 800 includes the following steps S810-S870.

[0407] S810: The terminal determines to initiate a data transmission process.

[0408] S820, when the terminal is in a first state, the terminal sends a first message to a network device, and the network device receives the first message sent by the terminal, where the first message includes first uplink data, and the first state is an idle state or an inactive state.

[0409] Optionally, the first message also includes first indication information, where the first indication information is used to indicate that the terminal has further uplink data.

[0410] It should be understood that S810-S820 may refer to the above-mentioned process of S510-S520, and for the sake of brevity, it will not be repeated here.

[0411] S830: The network device sends a second message to the terminal.

[0412] Optionally, the second message includes second indication information, and the second indication information is used to instruct the terminal to switch to a connected state.

[0413] It should be understood that the description of the second indication information can refer to the description in the above method 700, and for the sake of brevity, it will not be repeated here.

[0414] S840, the terminal switches from the first state to a connected state.

[0415] S850: The terminal sends the second uplink data to the network device in a connected state.

[0416] Optionally, the second uplink data may be uplink data remaining after the terminal has sent the first uplink data, or may be uplink data newly arrived after the terminal has sent the first uplink data.

[0417] Optionally, the method further comprises:

[0418] S860, the terminal sends a fifth message to the network device, where the fifth message is used to indicate that the RRC recovery process is completed or the RRC establishment is completed.

[0419] Exemplarily, the fifth message is an RRC recovery completion message or an RRC establishment completion message.

[0420] It should be understood that there is no actual order of precedence between S850 and S860.

[0421] S870: The network device sends a fourth message to the terminal.

[0422] It should be understood that the description of the fourth message can refer to the description in the above method 500, and for the sake of brevity, it will not be repeated here.

[0423] It should also be understood that before the network device sends the fourth message to the terminal, it can also receive fifth indication information, and the network device can send the fourth indication information to the terminal according to the third indication information and the fifth indication information. The specific process can refer to the description in the above method 500, and for the sake of brevity, it will not be repeated here.

[0424] In the embodiment of the present application, the terminal can send uplink data multiple times in the first state and the connected state. At the same time, the network device can instruct the terminal to switch states. When the terminal data transmission is completed, the network device can instruct the terminal to enter the first state, which helps to save power consumption of the terminal.

[0425] Fig.14 FIG. 9 is a schematic flow chart of a method 900 for transmitting data according to an embodiment of the present application. Fig.14 As shown, the method 900 includes the following steps S910-S970.

[0426] S910, the terminal determines not to send uplink data to the network device in a first state, where the first state is an idle state or an inactive state.

[0427] It should be understood that the terminal may determine not to send uplink data to the network device in the first state when it is determined that any one of preset conditions one to four is not met, or when some of the preset conditions are not met.

[0428] S920, the terminal in the first state sends a first message to the network device, and the network device receives the first message sent by the terminal, the first message includes first indication information, and the first indication information is used to indicate data to be sent.

[0429] S930: The terminal receives a second message sent by the network device.

[0430] It should be understood that the description of the second message can refer to the description in the above method 700, and for the sake of brevity, it will not be repeated here.

[0431] S940: The terminal switches from the first state to a connected state.

[0432] S950: The terminal is in a connected state and sends data to be sent to the network device.

[0433] S960, the terminal sends a fifth message to the network device, where the fifth message is used to indicate that the RRC recovery process is completed or the RRC establishment is completed.

[0434] Exemplarily, the fifth message is an RRC recovery completion message or an RRC establishment completion message.

[0435] S970: The network device sends a fourth message to the terminal.

[0436] It should be understood that the description of the fourth message can refer to the description in the above method 500, and for the sake of brevity, it will not be repeated here.

[0437] It should also be understood that before the network device sends the fourth message to the terminal, it can also receive fifth indication information, and the network device can send the fourth indication information to the terminal according to the third indication information and the fifth indication information. The specific process can refer to the description in the above method 500, and for the sake of brevity, it will not be repeated here.

[0438] In the embodiment of the present application, the terminal can transmit uplink data in the connected state. At the same time, the network device can instruct the terminal to switch the state. When the terminal data transmission is completed, the network device can instruct the terminal to enter the first state, which helps to save the power consumption of the terminal.

[0439] Fig.15 FIG. 1 is a schematic flow chart of a method 1000 for transmitting data according to an embodiment of the present application. Fig.15 As shown, the method includes the following steps S1010-S1030.

[0440] S1010, the access network device receives fifth indication information, where the fifth indication information is used to indicate that there is no downlink data of the terminal.

[0441] It should be understood that the access network device may be the network device in the above embodiments.

[0442] Optionally, the access network device receives the fifth indication information from the core network device.

[0443] It should be understood that the fifth indication information is used to indicate that there is no downlink data of the terminal, and it can also be understood that the fifth indication information is used to indicate that the terminal has no downlink data to be received.

[0444] Optionally, the fifth indication information is used to indicate whether there is downlink data of the terminal, and the value of the fifth indication information is a first value, and the first value is used to indicate that there is no downlink data of the terminal.

[0445] It should also be understood that the description of the fifth indication information can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0446] S1020, the access network device sends second indication information to the terminal according to the fifth indication information, where the second indication information is used to instruct the terminal to stay in or switch to a first state, where the first state includes an idle state or an inactive state.

[0447] When the access network device determines that there is no downlink data of the terminal, it can instruct the terminal to continue to stay in the first state, or instruct the terminal to switch from the connected state to the first state.

[0448] Optionally, the method 1000 further includes:

[0449] S1030, the access network device receives third indication information, and the third indication information is used to indicate that the terminal has no uplink data and / or further downlink data; wherein the access network device sends second indication information to the terminal according to the fifth indication information, including: the access network device sends second indication information to the terminal according to the fifth indication information and the third indication information.

[0450] It should be understood that the process of the access network device sending the second indication information to the terminal according to the fifth indication information and the third indication information can refer to the description in the above method 400, and for the sake of brevity, it will not be repeated here.

[0451] It should also be understood that the method 1000 in the embodiment of the present application can be combined with any one of the above methods 400 to 900.

[0452] In an embodiment of the present application, when the terminal has no downlink data to receive, the access network device may instruct the terminal to continue to stay in the first state or instruct the terminal to switch to the first state, which helps to save power consumption of the terminal.

[0453] Combination of the above Figures 1 to 15 , describes in detail the method for transmitting data according to an embodiment of the present application, and the following is combined with Figures 16 to 22 , describe in detail the data transmission device, terminal and network equipment of the embodiment of the present application.

[0454] The embodiments of the present application also provide a device for implementing any of the above methods. For example, a device is provided, including a unit (or means) for implementing each step performed by the terminal in any of the above methods. For another example, another device is provided, including a unit (or means) for implementing each step performed by the network device in any of the above methods.

[0455] Fig.16 A schematic block diagram of a data transmission device 1100 provided in an embodiment of the present application is shown. Fig.16 As shown, the data transmission device 1100 may include a receiving unit 1110 and a sending unit 1120 .

[0456] In a possible implementation, the data transmission device 1100 may be the terminal in the above method 400, method 500 or method 600, or may be a chip configured in the terminal.

[0457] Specifically, the receiving unit 1110 is used for the terminal to receive a first uplink authorization from a network device; the sending unit 1120 is used to use the first uplink authorization to send first uplink data in the data to be sent to the network device; the receiving unit 1110 is also used to receive a second uplink authorization from the network device; the sending unit 1120 is also used to use the second uplink authorization to send second uplink data to the network device, the second uplink data being at least part of the uplink data in the data to be sent except the first uplink data, wherein the terminal is in a first state, and the first state includes an idle state or an inactive state.

[0458] In an embodiment of the present application, the device 1100 can send uplink data to the network device multiple times in an idle state or an inactive state. Compared with sending data to the network device after entering a connected state, this helps reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0459] Optionally, the sending unit 1120 is further used to send first indication information to the network device, where the first indication information is used to indicate that the data to be sent has not been completely sent.

[0460] In an embodiment of the present application, device 1100 indicates to the network device that the data to be sent has not been sent, so that the network device can instruct device 1100 to continue to stay in the first state to send uplink data. Compared with sending data to the network device after device 1100 enters the connected state, this helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0461] Optionally, the first indication information includes information for indicating the amount of uplink data remaining in the data to be sent.

[0462] In the embodiment of the present application, the device 1100 indicates the amount of data to be sent in the first indication information, which helps the network device to make a judgment on whether to adjust the terminal state, helps to reduce the number of air interface interactions, and thus helps to reduce the delay of transmitting data. At the same time, if the network device determines that the amount of data to be sent is relatively small (for example, the network device determines that the device 1100 can send all the data to be sent through the second uplink authorization), it can instruct the device 1100 to continue to stay in the first state, thereby helping to save power consumption of the terminal.

[0463] Optionally, the receiving unit 1110 is further used to receive second indication information from the network device, where the second indication information is used to instruct the terminal to stay in the first state.

[0464] In an embodiment of the present application, the network device may instruct the apparatus 1100 to continue to stay in the first state after receiving the first uplink data, which helps to save power consumption of the apparatus 1100.

[0465] Optionally, the sending unit 1120 is also used to send a third indication message to the network device, and the third indication message is used to indicate that the data to be sent has been sent; the receiving unit 1110 is also used to receive a fourth indication message from the network device, and the fourth indication message is used to indicate that the terminal stays in the first state.

[0466] In an embodiment of the present application, the network device may instruct the device 1100 to continue to stay in the first state after determining that the device 1100 has no further uplink data, which helps to save power consumption of the device 1100.

[0467] Optionally, the sending unit 1120 is specifically used to: send a first message of a random access process to the network device, where the first message of the random access process includes the first uplink data.

[0468] The device for transmitting data in the embodiment of the present application can be applied to a random access process. The device 1100 can carry the first uplink data in the first message of the random access. The device 1100 can send uplink data multiple times in the first state. Compared with sending data to the network device after the device 1100 enters the connected state, it helps to reduce the number of air interface interactions, thereby helping to reduce the delay of transmitting data.

[0469] Optionally, the receiving unit 1110 is specifically configured to: the terminal receives a second message of a random access process from the network device, where the second message of the random access process includes the second uplink authorization.

[0470] The device for transmitting data in the embodiment of the present application can be applied to a random access process. The network device can carry a second uplink authorization in a second message of the random access process for the device 1100 to transmit new data. The device 1100 can continue to send uplink data in the first state, which helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0471] Optionally, the sending unit 1120 is specifically used for: the terminal sending a first message of another random access process to the network device, and the first message of another random access process message includes the second uplink data.

[0472] The device for transmitting data in the embodiment of the present application can be applied to a random access process. The device 1100 can send the first message of the random access process to the network device multiple times, and carry uplink data in the first message of the random access process, so that the uplink data can be sent in the first state, which helps to reduce the number of air interface interactions, thereby helping to reduce the delay in transmitting data.

[0473] Optionally, the receiving unit 1110 is also used to receive a second message of a random access process from the network device, the second message of the random access process includes a third uplink authorization, and the third uplink authorization is used to retransmit the first uplink data; the sending unit 1120 is also used to use the third uplink authorization to retransmit the first uplink data.

[0474] Optionally, the second uplink authorization is a preconfigured uplink authorization.

[0475] Optionally, the device 1100 also includes a determination unit 1130, and the sending unit 1120 is specifically used to send the first uplink data to the network device when the determination unit 1130 meets a preset condition, wherein the determination unit 1130 is specifically used to determine one or more of the following preset conditions: determining that there is data to be sent; determining that the amount of the data to be sent is less than or equal to a preset threshold value; receiving fifth indication information from the network device, the fifth indication information is used to instruct the terminal to send the data to be sent to the network device; determining that the data to be sent is a service data unit SDU.

[0476] Optionally, the receiving unit 1110 is specifically used to: receive radio resource control RRC signaling from the network device, where the RRC signaling includes the first uplink authorization.

[0477] Fig.17 A schematic block diagram of a data transmission device 1200 provided in an embodiment of the present application is shown, Fig.17 As shown, the data transmission device 1200 may include a sending unit 1210 and a receiving unit 1220 .

[0478] In a possible implementation, the device for transmitting data may be the network device in the above method 400, method 500 or method 600, or may be a chip configured in the network device.

[0479] Specifically, the sending unit 1210 is used to send a first uplink authorization to the terminal; the receiving unit 1220 is used to receive first uplink data in the data to be sent and sent by the terminal using the first uplink authorization; the sending unit 1210 is also used to send a second uplink authorization to the terminal; the receiving unit 1220 is also used to receive second uplink data sent by the terminal using the second uplink authorization, and the second uplink data is at least part of the uplink data in the data to be sent except the first uplink data, wherein the terminal is in a first state, and the first state includes an idle state or an inactive state.

[0480] Optionally, the receiving unit 1220 is further used to receive first indication information from the terminal, where the first indication information is used to indicate that the data to be sent has not been completely sent.

[0481] Optionally, the first indication information includes information for indicating the amount of uplink data remaining in the data to be sent.

[0482] Optionally, the sending unit 1210 is further used to send second indication information to the terminal, where the second indication information is used to instruct the terminal to stay in the first state.

[0483] Optionally, the device 1200 also includes a determination unit 1230, and the receiving unit 1220 is also used to receive a third indication information from the terminal, and the third indication information is used to indicate that the data to be sent has been sent; the determination unit 1230 is used to determine the fourth indication information based on the third indication information; the sending unit 1210 is also used to send the fourth indication information to the terminal, and the fourth indication information is used to indicate that the terminal stays in the first state.

[0484] Optionally, the receiving unit 1220 is further used to receive fifth indication information, where the fifth indication information is used to indicate that there is no downlink data of the terminal; wherein the determining unit 1230 is specifically used to determine fourth indication information based on the third indication information and the fifth indication information.

[0485] Optionally, the fifth indication information is used to indicate whether there is downlink data of the terminal, and the value of the fifth indication information is a first value, and the first value is used to indicate that there is no downlink data of the terminal.

[0486] Optionally, the receiving unit 1220 is specifically used to: receive a first message of a random access process from the terminal, where the first message of the random access process includes the first uplink data.

[0487] Optionally, the sending unit 1210 is specifically used to: send a second message of the random access process to the terminal, where the second message of the random access process includes the second uplink authorization.

[0488] Optionally, the receiving unit 1220 is specifically used to: receive a first message of another random access process from the terminal, and the first message of the other random access process message includes the second uplink data.

[0489] Optionally, the sending unit 1210 is also used to send a second message of the random access process to the terminal, the second message of the random access process includes a third uplink authorization, and the third uplink authorization is used to retransmit the first uplink data; the receiving unit 1220 is also used to receive the first uplink data retransmitted by the terminal using the third uplink authorization.

[0490] Optionally, the second uplink authorization is a preconfigured uplink authorization.

[0491] Optionally, the sending unit 1210 is specifically used to: send RRC signaling to the terminal, where the RRC signaling includes the first uplink authorization.

[0492] Fig.18 A schematic block diagram of a data transmission device 1300 provided in an embodiment of the present application is shown. Fig.18 As shown, the data transmission device 1300 may include a sending unit 1310 and a receiving unit 1320 .

[0493] In a possible implementation, the device 1300 for transmitting data may be the terminal in the above method 700, method 800 or method 900, or may be a chip configured in the terminal.

[0494] Specifically, the sending unit 1310 is used to send a first indication message to the network device when the apparatus is in a first state, and the first indication message is used to indicate that the terminal has data to be sent, and the first state includes an idle state or an inactive state; the receiving unit 1320 is used to receive a second indication message from the network device, and the second indication message is used to indicate that the terminal switches to a connected state; the sending unit 1310 is also used to send the data to be sent to the network device in the connected state.

[0495] In the embodiment of the present application, when the device 1300 has data to send, it can send first indication information to the network device, and the network device can promptly instruct the device 1300 to switch from the first state to the connected state, thereby completing the sending of uplink data.

[0496] Optionally, the receiving unit 1320 is also used to receive a first uplink authorization from the network device; the sending unit 1310 is also used to use the first uplink authorization in the first state to send first uplink data to the network device, wherein the first indication information is used to indicate that in addition to the first uplink data, the terminal also has data to be sent.

[0497] The device for transmitting data in the embodiment of the present application, device 1300 can send uplink data to the network device multiple times in the first state and the connected state. Compared with sending data to the network device after the device 1300 enters the connected state, it helps to reduce the number of air interface interactions, thereby helping to reduce the delay of transmitting data.

[0498] Optionally, the sending unit 1310 is specifically used to: send a first message of a random access process to the network device, where the first message of the random access process includes the first uplink data.

[0499] The device for transmitting data in the embodiment of the present application can be applied to a random access process. The device 1300 can carry the first uplink data in the first message of the random access. The device 1300 can send uplink data multiple times in the first state and the connected state. Compared with sending data to the network device after the device 1300 enters the connected state, it helps to reduce the number of air interface interactions, thereby helping to reduce the delay of transmitting data.

[0500] Optionally, the device 1300 also includes a determination unit 1330, and the sending unit 1310 is specifically used to send the first uplink data to the network device when the determination unit 1330 meets a preset condition, wherein the determination unit 1330 is specifically used to determine one or more of the following preset conditions: determining that there is data to be sent; determining that the amount of the data to be sent is less than or equal to a preset threshold value; receiving fifth indication information from the network device, and the fifth indication information is used to instruct the terminal to send the data to be sent to the network device; determining that the data to be sent is a service data unit SDU.

[0501] Optionally, the first message of the random access process also includes the first indication information.

[0502] Optionally, the receiving unit 1320 is specifically configured to: the terminal receives RRC signaling from the network device, where the RRC signaling includes the first uplink authorization.

[0503] Optionally, the receiving unit 1320 is specifically used to: receive a second message of a random access process from the network device, where the second message of the random access process includes the second indication information.

[0504] Optionally, the sending unit 1310 is also used to send a third indication message to the network device, and the third indication message is used to indicate that the data to be sent has been sent; the receiving unit 1320 is also used to receive a fourth indication message from the network device, and the fourth indication message is used to instruct the terminal to switch to the first state.

[0505] Fig.19 A schematic block diagram of a data transmission device 1400 provided in an embodiment of the present application is shown, Fig.19 As shown, the data transmission device 1400 may include a receiving unit 1410 and a sending unit 1420 .

[0506] In a possible implementation, the device for transmitting data may be the network device in the above method 700, method 800 or method 900, or may be a chip configured in the network device.

[0507] Specifically, the receiving unit 1410 is used to receive first indication information from a terminal in a first state, and the first indication information is used to indicate that the terminal has data to be sent, and the first state includes an idle state or an inactive state; the sending unit 1420 is used to send second indication information to the terminal, and the second indication information is used to indicate that the terminal switches to a connected state; the receiving unit 1410 is also used to receive the data to be sent sent by the terminal in the connected state.

[0508] Optionally, the sending unit 1420 is also used to send a first uplink authorization to the terminal; the receiving unit 1410 is also used to receive first uplink data sent by the terminal in the first state using the first uplink authorization, wherein the first indication information is used to indicate that in addition to the first uplink data, the terminal also has data to be sent.

[0509] Optionally, the receiving unit 1410 is specifically used to: receive a first message of a random access process from the terminal, where the first message of the random access process includes the first uplink data.

[0510] Optionally, the first message of the random access process also includes the first indication information.

[0511] Optionally, the sending unit 1420 is specifically used to: send RRC signaling to the terminal, where the RRC signaling includes the first uplink authorization.

[0512] Optionally, the sending unit 1420 is specifically used to: send a second message of the random access process to the terminal, and the second message of the random access process includes the second indication information.

[0513] Optionally, the device 1400 also includes a determination unit 1430, and the receiving unit 1410 is also used to receive a third indication information from the terminal, and the third indication information is used to indicate that the data to be sent has been sent; the determination unit 1430 is used to determine the fourth indication information based on the third indication information, and the fourth indication information is used to instruct the terminal to switch to the first state; the sending unit 1420 is also used to send the fourth indication information to the terminal.

[0514] Optionally, the receiving unit 1410 is further used to receive fifth indication information, where the fifth indication information is used to indicate that there is no downlink data of the terminal; wherein the determining unit 1430 is specifically used to determine the fourth indication information based on the third indication information and the fifth indication information.

[0515] Optionally, the fifth indication information is used to indicate whether there is downlink data of the terminal, and the value of the fifth indication information is a first value, and the first value is used to indicate that there is no downlink data of the terminal.

[0516] Fig. 20 A schematic block diagram of a data transmission device 1500 provided in an embodiment of the present application is shown. Fig. 20 As shown, the data transmission device 1500 may include a receiving unit 1510 , a determining unit 1520 and a sending unit 1530 .

[0517] In a possible implementation, the device for transmitting data may be the network device in the above method 1000, or may be a chip configured in the network device.

[0518] Specifically, the receiving unit 1510 is used to receive first indication information, where the first indication information is used to indicate that there is no downlink data of the terminal; the determining unit 1520 is used to determine second indication information based on the first indication information, where the second indication information is used to indicate that the terminal stays or switches to a first state, where the first state includes an idle state or an inactive state; and the sending unit 1530 is used to send the second indication information to the terminal.

[0519] Optionally, the receiving unit 1510 is further used to receive third indication information, where the third indication information is used to indicate that the terminal has no uplink data; wherein the determining unit 1520 is specifically used to determine the second indication information based on the first indication information and the third indication information.

[0520] Optionally, the first indication information is used to indicate whether there is downlink data of the terminal, and the first indication information takes a first value, and the first value is used to indicate that there is no downlink data of the terminal.

[0521] It should be understood that the division of units in the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And the units in the device can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some units can also be implemented in the form of software calling through processing elements, and some units can be implemented in the form of hardware. For example, each unit can be a separately established processing element, or it can be integrated in a certain chip of the device. In addition, it can also be stored in the memory in the form of a program, and called and executed by a certain processing element of the device. The function of the unit. In addition, all or part of these units can be integrated together, or they can be implemented independently. The processing element described here can also be a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each unit above can be implemented by an integrated logic circuit of hardware in the processor element or in the form of software calling through a processing element.

[0522] In one example, the unit in any of the above devices may be one or more integrated circuits configured to implement the above method, such as: one or more application specific integrated circuits (ASIC), or one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (FPGA), or a combination of at least two of these integrated circuit forms. For another example, when the unit in the device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0523] The above unit for receiving is an interface circuit of the device, which is used to receive signals from other devices. For example, when the device is implemented in the form of a chip, the receiving unit is an interface circuit of the chip used to receive signals from other chips or devices. The above unit for sending is an interface circuit of the device, which is used to send signals to other devices. For example, when the device is implemented in the form of a chip, the sending unit is an interface circuit of the chip used to send signals to other chips or devices.

[0524] Fig.21FIG. 1 shows a schematic diagram of the structure of a terminal provided in an embodiment of the present application. It can be the terminal in the above embodiment, and is used to implement the operation of the terminal in the above embodiment. Fig.21 As shown, the terminal includes: an antenna 1610, a radio frequency part 1620, and a signal processing part 1630. The antenna 1610 is connected to the radio frequency part 1620. In the downlink direction, the radio frequency part 1620 receives information sent by the network device through the antenna 1610, and sends the information sent by the network device to the signal processing part 1630 for processing. In the uplink direction, the signal processing part 1630 processes the information of the terminal and sends it to the radio frequency part 1620. The radio frequency part 1620 processes the information of the terminal and sends it to the network device through the antenna 1610.

[0525] The signal processing part 1630 may include a modulation and demodulation subsystem for processing each communication protocol layer of the data; it may also include a central processing subsystem for processing the terminal operating system and the application layer; in addition, it may also include other subsystems, such as a multimedia subsystem, a peripheral subsystem, etc., wherein the multimedia subsystem is used to control the terminal camera, screen display, etc., and the peripheral subsystem is used to connect to other devices. The modulation and demodulation subsystem can be a separately set chip. Optionally, the above device for the terminal can be located in the modulation and demodulation subsystem.

[0526] The modem subsystem may include one or more processing elements 1631, for example, including a main control CPU and other integrated circuits. In addition, the modem subsystem may also include a storage element 1632 and an interface circuit 1633. The storage element 1632 is used to store data and programs, but the program for executing the method executed by the terminal in the above method may not be stored in the storage element 1632, but stored in a memory outside the modem subsystem, and loaded and used by the modem subsystem when used. The interface circuit 1633 is used to communicate with other subsystems. The above device for the terminal may be located in the modem subsystem, and the modem subsystem may be implemented by a chip, which includes at least one processing element and an interface circuit, wherein the processing element is used to execute each step of any method executed by the above terminal, and the interface circuit is used to communicate with other devices. In one implementation, the unit for the terminal to implement each step in the above method can be implemented in the form of a processing element scheduling program, for example, the device for the terminal includes a processing element and a storage element, and the processing element calls the program stored in the storage element to execute the method executed by the terminal in the above method embodiment. The storage element may be a storage element on the same chip as the processing element, that is, an on-chip storage element.

[0527] In another implementation, the program for executing the method executed by the terminal in the above method can be in a storage element on a different chip from the processing element, that is, an off-chip storage element. In this case, the processing element calls or loads the program from the off-chip storage element to the on-chip storage element to call and execute the method executed by the terminal in the above method embodiment.

[0528] In another implementation, the unit implementing each step in the above method in the terminal may be configured as one or more processing elements, which are arranged on the modem subsystem, and the processing elements here may be integrated circuits, such as one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of these integrated circuits. These integrated circuits may be integrated together to form a chip.

[0529] The units for implementing the above methods in the terminal can be integrated together and implemented in the form of SOC, and the SOC chip is used to implement the above methods. The chip can integrate at least one processing element and storage element, and the processing element calls the stored program of the storage element to implement the above terminal execution method; or, the chip can integrate at least one integrated circuit to implement the above terminal execution method; or, the above implementation methods can be combined, and the functions of some units are implemented by the processing element calling the program, and the functions of some units are implemented by the integrated circuit.

[0530] It can be seen that the above device for a terminal may include at least one processing element and an interface circuit, wherein at least one processing element is used to execute any one of the terminal execution methods provided in the above method embodiments. The processing element may execute part or all of the steps executed by the terminal in a first manner: that is, by calling a program stored in a storage element; or in a second manner: that is, by combining an integrated logic circuit of hardware in a processor element with instructions to execute part or all of the steps executed by the terminal; of course, the first manner and the second manner may also be combined to execute part or all of the steps executed by the terminal.

[0531] The processing element here is the same as described above, and can be a general-purpose processor, such as a CPU, or can be one or more integrated circuits configured to implement the above method, such as: one or more ASICs, or, one or more microprocessors DSPs, or, one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms.

[0532] A storage element may be a memory or a collective term for multiple storage elements.

[0533] Fig. 22 Schematic diagram of the structure of a network device provided in an embodiment of the present application. It is used to implement the operation of the network device in the above embodiment. Fig. 22 As shown, the network device includes: an antenna 1701, a radio frequency device 1702, and a baseband device 1703. The antenna 1701 is connected to the radio frequency device 1702. In the uplink direction, the radio frequency device 1702 receives information sent by the terminal through the antenna 1701, and sends the information sent by the terminal to the baseband device 1703 for processing. In the downlink direction, the baseband device 1703 processes the information of the terminal and sends it to the radio frequency device 1702, and the radio frequency device 1702 processes the information of the terminal and sends it to the terminal through the antenna 1701.

[0534] The baseband device 1703 may include one or more processing elements 17031, for example, including a main control CPU and other integrated circuits. In addition, the baseband device 1703 may also include a storage element 17032 and an interface 17033, the storage element 17032 is used to store programs and data; the interface 17033 is used to interact with the radio frequency device 1702. The interface is, for example, a common public radio interface (CPRI). The above device for the network device may be located in the baseband device 1703. For example, the above device for the network device may be a chip on the baseband device 1703, the chip includes at least one processing element and an interface circuit, wherein the processing element is used to execute each step of any method executed by the above network device, and the interface circuit is used to communicate with other devices. In one implementation, the unit for the network device to implement each step in the above method can be implemented in the form of a processing element scheduler. For example, the device for the network device includes a processing element and a storage element, and the processing element calls the program stored in the storage element to execute the method executed by the network device in the above method embodiment. The storage element may be a storage element on the same chip as the processing element, ie, an on-chip storage element, or may be a storage element on a different chip from the processing element, ie, an off-chip storage element.

[0535] In another implementation, the unit of the network device implementing each step in the above method may be configured as one or more processing elements, which are arranged on the baseband device. The processing elements here may be integrated circuits, such as one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of these integrated circuits. These integrated circuits may be integrated together to form a chip.

[0536] The units of the network device implementing the various steps in the above method can be integrated together and implemented in the form of SOC. For example, the baseband device includes the SOC chip to implement the above method. The chip can integrate at least one processing element and a storage element, and the processing element calls the stored program of the storage element to implement the method executed by the above network device; or, the chip can integrate at least one integrated circuit to implement the method executed by the above network device; or, the above implementation methods can be combined, and the functions of some units are implemented in the form of processing elements calling programs, and the functions of some units are implemented in the form of integrated circuits.

[0537] It can be seen that the above apparatus for network equipment may include at least one processing element and an interface circuit, wherein at least one processing element is used to execute any one of the methods performed by the network equipment provided in the above method embodiments. The processing element may execute part or all of the steps performed by the network equipment in a first manner: that is, by calling a program stored in a storage element; or in a second manner: that is, by combining an integrated logic circuit of hardware in a processor element with instructions to execute part or all of the steps performed by the network equipment; of course, the first manner and the second manner may be combined to execute part or all of the steps performed by the above network equipment.

[0538] The processing element here is the same as described above, and can be a general-purpose processor, such as a CPU, or can be one or more integrated circuits configured to implement the above method, such as: one or more ASICs, or, one or more microprocessors DSPs, or, one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms.

[0539] A storage element may be a memory or a collective term for multiple storage elements.

[0540] The terminals and network devices in the above-mentioned various device embodiments may completely correspond to the terminals or network devices in the method embodiments, and the corresponding steps are performed by the corresponding modules or units. For example, when the device is implemented in the form of a chip, the receiving unit may be an interface circuit of the chip used to receive signals from other chips or devices. The above-mentioned unit for sending is an interface circuit of the device, which is used to send signals to other devices. For example, when the device is implemented in the form of a chip, the sending unit is an interface circuit of the chip used to send signals to other chips or devices.

[0541] An embodiment of the present application also provides a communication system, which includes: the above-mentioned terminal, and / or the above-mentioned network device.

[0542] In the embodiments of the present application, it should be noted that the above-mentioned method embodiments of the embodiments of the present application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor to be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above-mentioned method in combination with its hardware.

[0543] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0544] It should be understood that "one embodiment" or "an embodiment" mentioned in the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0545] The terms "first", "second", etc. appearing in this application are only for distinguishing different objects. "First" and "second" themselves do not limit the actual order or function of the objects they modify. Expressions such as "exemplary", "example", "for example", "optional design" or "a design" appearing in this application are only used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary", "example", "for example", "optional design" or "a design" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of these words is intended to present related concepts in a concrete way.

[0546] The terms "uplink" and "downlink" appearing in this application are used to describe the direction of data / information transmission in specific scenarios. For example, the "uplink" direction generally refers to the direction of data / information transmission from the terminal to the network side, or the direction of data / information transmission from a distributed unit to a centralized unit, and the "downlink" direction generally refers to the direction of data / information transmission from the network side to the terminal, or the direction of data / information transmission from a centralized unit to a distributed unit. It can be understood that "uplink" and "downlink" are only used to describe the transmission direction of data / information, and the specific starting and ending devices of the data / information transmission are not limited.

[0547] The meaning of expressions similar to "including at least one of the following: A, B, and C" in this application, unless otherwise specified, generally means that the item can be any one of the following: A; B; C; A and B; A and C; B and C; A, B and C; A and A; A, A and A; A, A and B; A, A and C, A, B and B; A, C and C; B and B, B, B and B, B, B and C, C and C; C, C and C, and other combinations of A, B and C. The above is an example of three elements, A, B and C, to illustrate the optional items of the item. When the expression is "the item includes at least one of the following: A, B, ..., and X", that is, when the expression has more elements, the items that can be applied to the item can also be obtained according to the above rules.

[0548] Various objects such as various messages / information / equipment / network elements / systems / devices / actions / operations / processes / concepts that may appear in this application are named. It can be understood that these specific names do not constitute a limitation on the relevant objects. The names assigned may change with factors such as scenarios, contexts or usage habits. The understanding of the technical meaning of the technical terms in this application should be mainly determined from the functions and technical effects embodied / executed in the technical scheme.

[0549] The architecture of CU and DU in the embodiment of the present application is not limited to 5G NR gNB, but can also be applied to the scenario where the LTE base station is divided into CU and DU; the CU can be further divided into CP and UP. Optionally, when it is an LTE base station, the protocol layer does not include the SDAP layer.

[0550] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0551] In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0552] The network architecture and business scenarios described in the embodiments of the present application are intended to facilitate readers to clearly understand the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0553] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product may include one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital user (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic disk), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0554] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0555] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0556] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0557] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0558] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0559] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for transmitting data, applied to a terminal, characterized in that: include: receiving a first uplink grant from a network device; Using the first uplink grant, sending first uplink data in the data to be sent to the network device; receiving a second uplink grant from the network device; Using the second uplink grant, sending second uplink data to the network device, where the second uplink data is at least part of the uplink data to be sent except the first uplink data, The terminal is in a first state, and the first state includes an idle state or an inactive state; The sending the first uplink data in the data to be sent to the network device includes: Sending a first message of a random access process to the network device, where the first message of the random access process includes the first uplink data; When a preset condition is met, the first uplink data is sent to the network device, wherein the preset condition includes determining that the data volume of the data to be sent is less than or equal to a preset threshold value.

2. The method according to claim 1, characterized in that The method further comprises: Sending first indication information to the network device, where the first indication information is used to indicate that the data to be sent has not been completely sent.

3. The method according to claim 2, characterized in that The first indication information includes information for indicating the amount of uplink data remaining in the data to be sent.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Second indication information is received from the network device, where the second indication information is used to instruct the terminal to stay in the first state.

5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Sending third indication information to the network device, where the third indication information is used to indicate that the sending of the data to be sent is completed; Receive fourth indication information from the network device, where the fourth indication information is used to instruct the terminal to stay in the first state.

6. The method according to any one of claims 1 to 3, characterized in that The receiving a second uplink grant from the network device includes: A second message of a random access process from the network device is received, where the second message of the random access process includes the second uplink grant.

7. The method according to any one of claims 1 to 3, characterized in that The sending the second uplink data to the network device includes: A first message of another random access process is sent to the network device, where the first message of another random access process includes the second uplink data.

8. The method according to claim 7, characterized in that The method further comprises: receiving a second message of a random access process from the network device, where the second message of the random access process includes a third uplink grant, where the third uplink grant is used to retransmit the first uplink data; The first uplink data is retransmitted using the third uplink grant.

9. The method according to any one of claims 1 to 3, characterized in that: The second uplink authorization is a preconfigured uplink authorization.

10. The method according to any one of claims 1 to 3, characterized in that The receiving a first uplink grant from the network device includes: A radio resource control RRC signaling is received from the network device, where the RRC signaling includes the first uplink authorization.

11. A method for transmitting data, applied to a network device, characterized in that: include: Sending a first uplink grant to the terminal; receiving first uplink data in the data to be sent that is sent by the terminal using the first uplink grant; Sending a second uplink grant to the terminal; receiving second uplink data sent by the terminal using the second uplink grant, where the second uplink data is at least part of the uplink data in the data to be sent except the first uplink data, The terminal is in a first state, and the first state includes an idle state or an inactive state; The receiving first uplink data in the data to be sent that is sent by the terminal using the first uplink grant includes: receiving a first message of a random access process from the terminal, where the first message of the random access process includes the first uplink data; When a preset condition is met, first uplink data in the data to be sent sent by the terminal using the first uplink authorization is received, wherein the preset condition includes determining that a data amount of the data to be sent is less than or equal to a preset threshold value.

12. The method according to claim 11, characterized in that The method further comprises: First indication information is received from the terminal, where the first indication information is used to indicate that the data to be sent has not been completely sent.

13. The method according to claim 12, characterized in that The first indication information includes information for indicating the amount of uplink data remaining in the data to be sent.

14. The method according to any one of claims 11 to 13, characterized in that The method further comprises: Sending second indication information to the terminal, where the second indication information is used to instruct the terminal to stay in the first state.

15. The method according to any one of claims 11 to 13, characterized in that The method further comprises: receiving third indication information from the terminal, wherein the third indication information is used to indicate that the sending of the data to be sent is completed; Fourth indication information is sent to the terminal according to the third indication information, where the fourth indication information is used to instruct the terminal to stay in the first state.

16. The method according to claim 15, characterized in that The method further comprises: receiving fifth indication information, where the fifth indication information is used to indicate that there is no downlink data of the terminal; The sending of fourth indication information to the terminal according to the third indication information includes: The fourth indication information is sent to the terminal according to the third indication information and the fifth indication information.

17. The method according to claim 16, characterized in that The fifth indication information is used to indicate whether there is downlink data of the terminal, and the value of the fifth indication information is a first value, and the first value is used to indicate that there is no downlink data of the terminal.

18. The method according to any one of claims 11 to 13, characterized in that The sending a second uplink grant to the terminal includes: A second message of a random access process is sent to the terminal, where the second message of the random access process includes the second uplink grant.

19. The method according to any one of claims 11 to 13, characterized in that The receiving second uplink data sent by the terminal using the second uplink grant includes: A first message of another random access process is received from the terminal, where the first message of another random access process includes the second uplink data.

20. The method according to claim 19, characterized in that The method further comprises: Sending a second message of a random access process to the terminal, where the second message of the random access process includes a third uplink grant, and the third uplink grant is used to retransmit the first uplink data; receiving the first uplink data retransmitted by the terminal using the third uplink grant.

21. The method according to any one of claims 11 to 13, characterized in that The second uplink authorization is a preconfigured uplink authorization.

22. The method according to any one of claims 11 to 13, characterized in that The sending a first uplink authorization to the terminal includes: Sending RRC signaling to the terminal, where the RRC signaling includes the first uplink authorization.

23. A method for transmitting data, characterized in that: Applied to terminals, including: In a first state, sending first indication information to a network device, where the first indication information is used to indicate that the terminal has data to be sent, and the first state includes an idle state or an inactive state; receiving second indication information from the network device, where the second indication information is used to instruct the terminal to switch to a connected state; Sending the data to be sent to the network device in a connected state; The method further comprises: receiving a first uplink grant from a network device; In the first state, the first uplink grant is used to send first uplink data to the network device, wherein: The first indication information is used to indicate that in addition to the first uplink data, the terminal has the data to be sent; The sending the first uplink data to the network device includes: Sending a first message of a random access process to the network device, where the first message of the random access process includes the first uplink data; When a preset condition is met, the first uplink data is sent to the network device, wherein the preset condition includes determining that the data volume of the data to be sent is less than or equal to a preset threshold value.

24. The method according to claim 23, characterized in that The first message of the random access process also includes the first indication information.

25. The method according to claim 23, characterized in that The receiving a first uplink grant from the network device includes: Receive RRC signaling from the network device, where the RRC signaling includes the first uplink authorization.

26. The method according to any one of claims 23 to 25, characterized in that The receiving second indication information from the network device includes: A second message of a random access process is received from the network device, where the second message of the random access process includes the second indication information.

27. The method according to any one of claims 23 to 25, characterized in that The method further comprises: Sending third indication information to the network device, where the third indication information is used to indicate that the sending of the data to be sent is completed; Receive fourth indication information from the network device, where the fourth indication information is used to instruct the terminal to switch to the first state.

28. A method for transmitting data, characterized in that: Applied to network equipment, including: Receiving first indication information from a terminal in a first state, where the first indication information is used to indicate that the terminal has data to be sent, and the first state includes an idle state or an inactive state; Sending second indication information to the terminal, where the second indication information is used to instruct the terminal to switch to a connected state; receiving the data to be sent sent by the terminal in a connected state; The method further comprises: Sending a first uplink grant to the terminal; receiving first uplink data sent by the terminal in the first state using the first uplink grant, wherein: The first indication information is used to indicate that in addition to the first uplink data, the terminal has the data to be sent; Receiving first uplink data sent by the terminal in the first state using the first uplink grant, includes: receiving a first message of a random access process from the terminal, where the first message of the random access process includes the first uplink data; When a preset condition is met, first uplink data in the data to be sent sent by the terminal using the first uplink authorization is received, wherein the preset condition includes determining that a data amount of the data to be sent is less than or equal to a preset threshold value.

29. The method according to claim 28, characterized in that The first message of the random access process also includes the first indication information.

30. The method according to claim 28, characterized in that The sending a first uplink grant to the terminal includes: Sending RRC signaling to the terminal, where the RRC signaling includes the first uplink authorization.

31. The method according to any one of claims 28 to 30, characterized in that The sending the second indication information to the terminal includes: A second message of a random access process is sent to the terminal, where the second message of the random access process includes the second indication information.

32. The method according to any one of claims 28 to 30, characterized in that The method further comprises: receiving third indication information from the terminal, wherein the third indication information is used to indicate that the sending of the data to be sent is completed; Fourth indication information is sent to the terminal according to the third indication information, where the fourth indication information is used to instruct the terminal to switch to the first state.

33. The method according to claim 32, characterized in that The method further comprises: receiving fifth indication information, where the fifth indication information is used to indicate that there is no downlink data of the terminal; The sending of fourth indication information to the terminal according to the third indication information includes: The fourth indication information is sent to the terminal according to the third indication information and the fifth indication information.

34. The method according to claim 33, characterized in that The fifth indication information is used to indicate whether there is downlink data of the terminal, and the value of the fifth indication information is a first value, and the first value is used to indicate that there is no downlink data of the terminal.

35. A device for transmitting data, characterized in that: Comprising units for performing the steps of the method as claimed in any one of claims 1 to 10 and 23 to 27.

36. A device for transmitting data, characterized in that: The method comprises means for executing the steps of the method as claimed in any one of claims 11 to 22 and 28 to 34.

37. A device for transmitting data, characterized in that: The method comprises at least one processor and an interface circuit, wherein the at least one processor is configured to execute the method as claimed in any one of claims 1 to 10 and 23 to 27.

38. A device for transmitting data, characterized in that: The method comprises at least one processor and an interface circuit, wherein the at least one processor is configured to execute the method as claimed in any one of claims 11-22 and 28-34.

39. A terminal, characterized in that: Comprising an apparatus as claimed in claim 35 or 37.

40. A network device, characterized in that: Comprising an apparatus as claimed in claim 36 or 38.

41. A readable storage medium, characterized in that: The method comprises a program or an instruction. When the program or the instruction is run on a computer, the method according to any one of claims 1 to 34 is executed.

42. A computer program, characterized in that The method comprises a program or an instruction. When the program or the instruction is run on a computer, the method according to any one of claims 1 to 34 is executed.

43. A system, characterized in that: The system comprises the terminal according to claim 39 and the network device according to claim 40.