WO2021051673A1 - 数据传输方法、装置、计算机设备和存储介质 - Google Patents
数据传输方法、装置、计算机设备和存储介质 Download PDFInfo
- Publication number
- WO2021051673A1 WO2021051673A1 PCT/CN2019/124687 CN2019124687W WO2021051673A1 WO 2021051673 A1 WO2021051673 A1 WO 2021051673A1 CN 2019124687 W CN2019124687 W CN 2019124687W WO 2021051673 A1 WO2021051673 A1 WO 2021051673A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- transmitted
- sdap
- terminal
- messages
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
Definitions
- This application relates to the field of mobile communication technology, and in particular to a data transmission method, device, computer equipment, and storage medium.
- the Service Data Adaptation Protocol is a new-generation communication protocol, and one end is connected to the Packet Data Convergence Protocol (PDCP). , The other end is connected to the GPRS Tunneling Protocol (GTP), and its two ends respectively carry the data transmission on the wireless side and the wired side for receiving and sending.
- SDAP Service Data Adaptation Protocol
- PDCP Packet Data Convergence Protocol
- GTP GPRS Tunneling Protocol
- the SDAP module in 5G is used to implement forwarding user data, mapping between Quality of Service (QoS) flows and radio bearers, and implementing QoS flow ID (QFI) in uplink and downlink data packets.
- QoS Quality of Service
- QFI QoS flow ID
- an embodiment of the present application provides a data transmission method, the method including:
- the terminal obtains the current number of messages to be transmitted
- the terminal When the current number of messages to be transmitted is at least two, the terminal generates a SDAP message from the current message to be transmitted according to the SDAP protocol; the SDAP message includes the reserved bit identifier, the content of each message to be transmitted, and each message to be transmitted Length of the message; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the terminal sends the SDAP message to the base station, and the SDAP message is used to instruct the base station to analyze the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- an embodiment of the present application provides a data transmission method, which includes:
- the base station receives the SDAP message sent by the terminal;
- the SDAP message is a SDAP message generated by the terminal from the current message to be transmitted according to the SDAP protocol;
- the SDAP message includes the reserved bit identifier, the content of each message to be transmitted, and each message to be transmitted The length of the message; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the base station analyzes the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- an embodiment of the present application provides a data transmission device, which includes:
- the quantity acquisition module is used for the terminal to acquire the quantity of the current messages to be transmitted;
- the generation module is used to generate a SDAP message from the current message to be transmitted according to the SDAP protocol when the current number of messages to be transmitted is at least two; the SDAP message includes the reserved bit identifier and the content of each message to be transmitted And the length of each message to be transmitted; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the sending module is used for the terminal to send the SDAP message to the base station, and the SDAP message is used for instructing the base station to analyze the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- an embodiment of the present application provides a data transmission device, which includes:
- the receiving module is used for the base station to receive the SDAP message sent by the terminal;
- the SDAP message is a SDAP message generated by the terminal from the current message to be transmitted according to the SDAP protocol;
- the SDAP message includes the reserved bit identifier and each message to be transmitted The content and the length of each message to be transmitted;
- the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the parsing module is used for the base station to analyze the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- an embodiment of the present application provides a computer device, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, any one of the methods provided in the embodiments of the first aspect and the second aspect is implemented. step.
- an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the steps of any one of the methods provided in the above-mentioned first aspect and second aspect are implemented .
- the terminal when the terminal detects that the current number of messages to be transmitted is at least two, the at least two messages to be transmitted are generated according to the SDAP protocol A message and send the message to the base station.
- the terminal When the terminal generates a message, it encapsulates the content and length of at least two messages to be transmitted into one message, which greatly reduces the downstream of the SDAP protocol.
- the header overhead required when the protocol processes data thereby improving the efficiency of data transmission.
- FIG. 1 is an application environment diagram of a data transmission method provided by an embodiment
- FIG. 2 is a schematic flowchart of a data transmission method provided by an embodiment
- Figure 2a shows the original SDAP protocol uplink header and SDAP PDU format provided by an embodiment
- Figure 2b shows the extended SDAP protocol uplink header and SDAP PDU format of this application provided by an embodiment
- FIG. 3 is a schematic flowchart of a data transmission method provided by an embodiment
- FIG. 4 is a schematic flowchart of a data transmission method provided by an embodiment
- Figure 4a is a complete schematic diagram of a terminal-side data transmission method provided by an embodiment
- FIG. 5 is a schematic flowchart of a data transmission method provided by an embodiment
- FIG. 6 is a schematic flowchart of a data transmission method provided by an embodiment
- Figure 6a is a complete schematic diagram of a base station-side data transmission method provided by an embodiment
- FIG. 7 is a structural block diagram of a data transmission device provided by an embodiment
- FIG. 8 is a structural block diagram of a data transmission device according to an embodiment
- FIG. 9 is a structural block diagram of a data transmission device provided by an embodiment.
- FIG. 10 is a structural block diagram of a data transmission device according to an embodiment
- FIG. 11 is a structural block diagram of a data transmission device according to an embodiment
- Fig. 12 is a diagram of the internal structure of a computer device in an embodiment.
- the data transmission method provided in this application can be applied to the application environment shown in FIG. 1, in which a terminal is connected to a base station, and the terminal performs data interaction with the base station.
- the terminal can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
- the base station may be a 5G base station. The terminal and the base station are used to execute the data transmission method provided in this application during the data exchange process.
- the embodiments of the present application provide a data transmission method, device, computer equipment, and storage medium.
- the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below through the embodiments and the accompanying drawings.
- the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
- the executive body of FIGS. 2 to 4 is a terminal
- the executive body of FIGS. 5 to 6 is a base station.
- the executive body of FIGS. 2 to 6 may also be A data transmission device, where the device can be implemented as part or all of a terminal or a base station through software, hardware, or a combination of software and hardware.
- FIG. 2 provides a data transmission method.
- This embodiment relates to the terminal according to the service data adaptation protocol layer (Service Data Adaptation Protocol) when the current number of messages to be transmitted is at least two. , SDAP) protocol, the specific process of generating one SDAP message from at least two messages to be transmitted, and sending the SDAP message to the base station, as shown in FIG. 2, the method includes:
- S101 The terminal obtains the current number of messages to be transmitted.
- the current message to be transmitted indicates the message that the terminal needs to transmit at the current moment.
- the message to be transmitted can be stored in the buffer area of the terminal.
- the terminal needs to obtain the number of messages to be transmitted currently At this time, the number of all messages to be transmitted can be directly extracted from the buffer area.
- the terminal can also store the specific number of all messages to be transmitted at the current moment, and update the number in real time, so that the terminal can directly obtain the number when acquiring the number of messages to be transmitted.
- the terminal When the current number of messages to be transmitted is at least two, the terminal generates a SDAP message from the current message to be transmitted according to the SDAP protocol; the SDAP message includes a reserved bit identifier, the content of each message to be transmitted, and each message to be transmitted. The length of the message to be transmitted; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted.
- the terminal Based on the number of messages to be transmitted obtained in step S101, when the current number of messages to be transmitted is at least two, the terminal generates one SDAP message from the at least two messages to be transmitted according to the SDAP protocol. It is understandable that when the terminal obtains the current number of messages to be transmitted above, it can also acquire all the messages to be transmitted. Then, when the terminal detects that the number of messages to be transmitted currently is at least two, the at least two More than one message to be transmitted generates a message. When the terminal generates a message, it generates a SDAP message from at least two messages to be transmitted according to the SDAP protocol.
- the generated one SDAP message It includes a reserved bit identifier, the content of each message to be transmitted in the at least two messages to be transmitted, and the length of each message to be transmitted.
- the reserved bit identifier is used to distinguish whether the SDAP message is at least two messages to be transmitted.
- the reserved bit identifier For the correspondence between the reserved bit identifier and the number of messages to be transmitted, an embodiment is provided.
- the reserved bit identifier is the first value;
- the reserved bit is identified as the second value;
- the first value and the second value are different values.
- the first value and the second value respectively indicate that the current number of messages to be transmitted is equal to 1 or greater than 1, where more than 1 means at least two cases mentioned in the above embodiment; among them, for the current messages to be transmitted If the number is less than 1, that is, the current number of packets to be transmitted is 0. In this case, no processing is performed.
- the SDAP protocol is a newly added protocol in 5G.
- the header field in the uplink service has a 1-bit reservation, which can be extended and upgraded to support new functions.
- the format of the SDAP protocol uplink header and SDAP protocol data unit (Protocol Data Unit, PDU) is shown in Figure 2a, and the meaning of each field in the figure is shown in Table 1 below:
- the embodiment of this step encapsulates the multiple packets to be transmitted in the uplink and their length indications into one packet by connecting them one after the other.
- the following SDAP protocol uplink header and SDAP data PDU format are shown in Figure 2b, and the length of each message is increased on the basis of Figure 2a.
- the terminal sends the SDAP message to the base station, where the SDAP message is used to instruct the base station to analyze the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- the terminal sends a SDAP message generated in step S102 to the base station.
- the base station can identify the reserved bits in the message and each to be transmitted.
- the message length analyzes the content of the corresponding message to be transmitted to complete the transmission.
- the existing 5G communication protocol has removed the RLC (Radio Link Control Protocol) support for data concatenation and cascading.
- RLC Radio Link Control Protocol
- the data transmission method is based on the traditional SDAP uplink processing, and uses the reserved fields in the SDAP protocol header to connect the data packets in series and cascade again, which causes the data transmission efficiency to be too low.
- the terminal detects that the current number of messages to be transmitted is at least two, it generates a message from the at least two messages to be transmitted according to the SDAP protocol, and combines the one The message is sent to the base station.
- the terminal When the terminal generates a message, it encapsulates the content and length of at least two messages to be transmitted into one message, which greatly reduces the headers required by the downstream protocol of the SDAP protocol to process data. This increases the efficiency of data transmission.
- the embodiments of the present application also provide a data transmission method, which involves a specific process in which the terminal generates one SDAP message from at least two currently to be transmitted messages, as shown in Figure 3.
- the above step S102 includes:
- S201 The terminal compares the current number of packets to be transmitted with a preset threshold.
- the terminal has determined that the current number of messages to be transmitted is greater than 1, that is, at least two.
- the maximum number of messages is controlled by a threshold. Therefore, in this step, the terminal needs to compare the relationship between the current number of packets to be transmitted and a preset threshold, where the preset threshold is a preset threshold, that is, the preset threshold specifies that the terminal is performing generation
- the maximum number of packets to be transmitted allowed in a SDAP packet.
- the specific value of the preset threshold is not limited in this embodiment, and may be determined according to actual conditions, for example, 5 or 10 may be used.
- S202 If the current number of packets to be transmitted is greater than or equal to a preset threshold, the terminal stacks and encapsulates the number of packets to be transmitted corresponding to the preset threshold and the length of each packet to be transmitted according to the SDAP protocol to obtain SDAP packets.
- the terminal After the terminal compares the relationship between the current number of messages to be transmitted and the preset threshold, if the current number of messages to be transmitted is greater than or equal to the preset threshold, the terminal will set the number of pending messages corresponding to the preset threshold.
- the content of the transmission message and the lengths to be transmitted are stacked and encapsulated to obtain an SDAP message, where the terminal stacking and encapsulation is the number of messages to be transmitted corresponding to the preset threshold and the length of each message.
- S203 If the current number of packets to be transmitted is less than the preset threshold, the terminal stacks and encapsulates all the packets to be transmitted and the length of each packet to be transmitted according to the SDAP protocol to obtain SDAP packets.
- the terminal After the terminal compares the relationship between the current number of messages to be transmitted and the preset threshold, and the comparison result is that the current number of messages to be transmitted is less than the preset threshold, the terminal will compare all the messages to be transmitted with the Each length to be transmitted is stacked and encapsulated to obtain an SDAP message. That is, when the current number of packets to be transmitted is less than the preset threshold, there is no need to filter the number, and the content of all the packets to be transmitted and the length of each packet are directly stacked and encapsulated in a packet in a way of connecting them one after the other.
- the data transmission method provided in this embodiment divides the situation in which the terminal generates one message from at least two messages to be transmitted into two scenarios by setting a preset threshold. One is that the current number of messages to be transmitted is too large. If the preset threshold is exceeded, one is that the current number of packets to be transmitted does not exceed the preset threshold; for two different scenarios, the terminal selects different numbers of packets to be transmitted for stacking encapsulation, so that each SDAP packet generated The message is generated by an appropriate number of messages to be transmitted to avoid the situation that the number of messages to be transmitted is too large and the generated message is too large, thus ensuring the effectiveness of the method of generating one message from at least two messages to be transmitted by the terminal achieve.
- the number of messages to be transmitted is 1 How does the terminal perform data transmission, and the specific process of the terminal distinguishing the two cases according to the current number of messages to be transmitted.
- This application provides a data transmission method.
- the terminal obtains the current number of messages to be transmitted. Then, before generating one SDAP message from at least two messages to be transmitted, as shown in Figure 4, the method includes:
- S301 The terminal obtains the relationship between the number of currently to-be-transmitted messages and the magnitude of 1.
- the terminal compares the current number of messages to be transmitted with the magnitude relationship between 1.
- the first is the current message to be transmitted. If the number of packets is greater than 1, it means that there are at least two packets currently to be transmitted; the second type is that the number of packets currently to be transmitted is equal to 1; the third type is that the number of packets currently to be transmitted is less than 1, that is, there are currently no packets to be transmitted. For the transmitted message, this situation is not processed, and the process can be ended directly.
- S302 If the size relationship is that the number of currently to-be-transmitted packets is greater than 1, the terminal executes the step of generating an SDAP packet from the currently-to-be-transmitted packets.
- the size relationship is that the current number of packets to be transmitted is greater than 1, and the terminal directly executes the step of generating one SDAP packet from at least two packets to be transmitted according to the method described in the above embodiment, here No longer.
- the size relationship is that the current number of packets to be transmitted is equal to 1. In this case, it means that there is only one packet to be transmitted, and the terminal directly determines the packet as the final SDAP packet to be transmitted. , No need for stacking and packaging operations.
- the terminal determines whether the number is greater than 1 or equal to 1, and then performs different operations according to different situations, as long as the final transmission is reported
- the message is just one message. In this way, the situation can be distinguished, and the targeted operation can be performed, which greatly saves the processing resources of the terminal.
- the data interaction between the terminal and the base station can be specific to the internal protocol module.
- the terminal includes a first SDAP module and a first PDCP module
- the base station includes a second SDAP module.
- the second PDCP module then an achievable way for the terminal to send the SDAP message to the base station includes: the first SDAP module sends the SDAP message to the first PDCP module, and the first PDCP module sends the SDAP message to the second The PDCP module, the second PDCP module sends the SDAP message to the second SDAP module.
- the first SDAP module encapsulates the current message to be transmitted to generate an SDAP message, and sends the one S DAP message to the first packet data convergence protocol (Packet Data Convergence Protocol, PDCP) module, so that the first The PDCP module sends the SDAP message to the second PDCP module, and the second PDCP module sends the S DAP message to the second SDAP module.
- PDCP Packet Data Convergence Protocol
- the description here is just taking the terminal and the base station respectively including the SDAP module and the PDCP module as an example.
- RLC and MAC Media Access Control Address, media access Modules such as the control layer
- this application provides an embodiment to fully describe the data transmission method of this application.
- This embodiment uses the terminal-side SDAP module as the transmitting end, as shown in Figure 4a, including the following specific steps:
- the SDAP module of the terminal detects the messages to be sent at the current moment and their quantity, and executes S12;
- the data transmission method provided in this embodiment integrates the data message cascade and SDAP protocol, and encapsulates the message to be transmitted and its length in a concatenated manner to generate a message, which saves downstream protocols (such as PDCP). /RLC/MAC) header overhead, thereby improving data transmission efficiency.
- downstream protocols such as PDCP. /RLC/MAC
- Figure 5 provides a data transmission method. This embodiment relates to a specific process in which a base station receives an SDAP message sent by a terminal and parses the message. As shown in Figure 5, this Methods include:
- the base station receives the SDAP message sent by the terminal; the SDAP message is a SDAP message generated by the terminal from the current message to be transmitted according to the SDAP protocol; the SDAP message includes a reserved bit identifier, the content of each message to be transmitted, and each The length of the message to be transmitted; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted.
- the SDAP message sent by the terminal received by the base station is a message
- the SDAP message is a message generated by the terminal according to the SDAP protocol to generate a message to be transmitted.
- the current message to be transmitted represents the message that the terminal needs to transmit at the current moment.
- the terminal when the terminal generates an SDAP message from the message to be transmitted, there are two situations. One is the message of the message to be transmitted.
- the terminal When the number is greater than 1, that is, when the current number of packets to be transmitted is at least two, the terminal stacks and encapsulates the at least two packets to be transmitted into one SDAP packet; the other is that the number of packets currently to be transmitted is equal to At 1:00, the terminal can directly generate an SDAP message for the message to be transmitted.
- the terminal For the process of how the terminal generates a message in two situations, please refer to the embodiment on the terminal side, and this embodiment will not be repeated here.
- the reserved bit identifier in a SDAP message is used to distinguish whether the SDAP message is generated by multiple messages to be transmitted. For example, if the reserved bit identifier is 0, it means that the SDAP message is generated. There is only one message to be transmitted in the text, which is not stacked and encapsulated. If the reserved bit flag is 1, it means that the one SDAP message is formed by stacking and encapsulating at least two messages to be transmitted.
- the base station analyzes the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- the base station Based on the message received in step S401, the base station analyzes the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- the base station receives the SDAP message sent by the terminal. Since the SDAP message is a SDAP message generated by the terminal according to the SDAP protocol from the current message to be transmitted, in this way, regardless of the current message to be transmitted by the terminal There is only one message that is finally transmitted to the base station, which greatly reduces the header overhead required when the downstream protocol of the SDAP protocol processes data, thereby improving the efficiency of data transmission.
- step S402 includes:
- S501 The base station judges whether the SDAP message is generated by at least two messages to be transmitted according to the reserved bit identifier.
- the base station can obtain the reserved bit identifier, and determine whether the SDAP message is generated by at least two messages to be transmitted based on the identifier.
- the base station determines whether the SDAP message is at least two messages to be transmitted according to the reserved bit identifier.
- the specific process of generating includes: if the reserved bit identifier is the second value, the SDAP message is at least two The message to be transmitted is generated; if the reserved bit identifier is the first value, the SDAP message is not generated by at least two messages to be transmitted.
- the reserved bit identifier when the current number of messages to be transmitted is equal to 1, the reserved bit identifier is 0; when the current number of messages to be transmitted is greater than 1, the reserved bit identifier is 1, and the base station detects that the reserved bit identifier is 0, then It can be determined that the SDAP message is not generated by at least two messages to be transmitted, and if it is detected that the reserved bit identifier is 1, it can be determined that the SDAP message is generated by at least two messages to be transmitted.
- the base station analyzes the content of the corresponding message to be transmitted according to the length of each message to be transmitted.
- step S501 Based on the judgment result in step S501, if the SDAP message is generated by at least two messages to be transmitted, the base station analyzes the content of the corresponding message to be transmitted according to the length of each message to be transmitted, that is, one message length corresponds to one message. In this way, the content of the message can be parsed in turn.
- the base station determines the content of the SDAP message as the content of the message to be transmitted.
- step S501 Based on the judgment result in step S501, if the SDAP message is not generated by at least two messages to be transmitted, the base station directly determines the content of the currently received SDAP message as the message content to be transmitted.
- the base station first determines, according to different reserved bit identifiers, that the SDAP message is generated by several messages to be transmitted. If it is generated by at least two messages, it needs to be generated according to the corresponding message. The length of the message is analyzed in turn to find out the content of the message to be transmitted. If there is only one message, the content of the SDAP message can be directly determined as the content of the message to be transmitted. In this way, different situations are dealt with in different ways. Improve the efficiency of data transmission.
- the data interaction between the terminal and the base station can be specific to the internal protocol module.
- the above-mentioned terminal includes a first SDAP module and a first PDCP module
- the above-mentioned base station includes a second SDAP module and a second SDAP module.
- Two PDCP modules; the specific process of the base station receiving the SDAP message sent by the terminal in step S401 includes: the second SDAP module receives the SDAP message sent by the second PDCP module; the SDAP message is sent by the first SDAP module through the first PDCP module Message for the second PDCP module.
- the second SDAP module receives the SDAP message sent by the second PDCP module, where the SDAP message is sent by the first SDAP module to the second PDCP module through the first PDCP module.
- the terminal and base station The SDAP module and the PDCP module are respectively included as examples. In actual applications, other protocol layer modules can be included for data transmission.
- this application provides an embodiment to fully describe the base station side data transmission method of this application.
- This embodiment uses the SDAP module in the base station as the receiving end, as shown in Figure 6a, including the following specific steps:
- S25 Send the message (or sub-message) to the lower GTP module.
- the message received by the base station is a fusion of data message concatenation and SDAP protocol
- a message is generated by encapsulating the message to be transmitted and the length of the message together before and after the connection.
- the overhead of the downstream protocol such as PDCP/RLC/MAC
- a data transmission device which includes: a quantity obtaining module 10, a generating module 11, and a sending module 12, wherein,
- the quantity obtaining module 10 is used for the terminal to obtain the quantity of the current messages to be transmitted;
- the generating module 11 is used to generate a SDAP message from the current message to be transmitted according to the SDAP protocol when the current number of messages to be transmitted is at least two; the SDAP message includes a reserved bit identifier and each message to be transmitted The content of the message and the length of each message to be transmitted; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the sending module 12 is used for the terminal to send the SDAP message to the base station, and the SDAP message is used for instructing the base station to analyze the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- a data transmission device is provided, and the above-mentioned generating module 11 includes: a comparing unit 111, a first packaging unit 112, and a second packaging unit 113, wherein,
- the comparing unit 111 is used for the terminal to compare the current number of messages to be transmitted with a preset threshold
- the first encapsulation unit 112 is configured to, if the current number of packets to be transmitted is greater than or equal to a preset threshold, the terminal stacks and encapsulates the number of packets to be transmitted corresponding to the preset threshold and the length of each packet to be transmitted according to the SDAP protocol , Get SDAP message;
- the second encapsulation unit 113 is configured to, if the current number of packets to be transmitted is less than the preset threshold, the terminal stacks and encapsulates all the packets to be transmitted and the length of each packet to be transmitted according to the SDAP protocol to obtain SDAP packets.
- a data transmission device is provided, and the device further includes: a relationship acquisition module 13 and a determination module 14, wherein,
- the relationship acquisition module 13 is used for the terminal to acquire the relationship between the current number of messages to be transmitted and the magnitude of 1;
- the generating module 11 is configured to, if the size relationship is that the number of currently to-be-transmitted packets is greater than 1, the terminal executes the step of generating one SDAP packet from at least two to-be-transmitted packets;
- the determining module 14 is configured to determine that the current message to be transmitted is an SDAP message if the size relationship is that the number of the current message to be transmitted is equal to one.
- the reserved bits are identified as the first value; when the current number of to-be-transmitted messages is greater than 1, the reserved bits are identified as the second value; the first value A different value from the second value.
- the sending module 12 is specifically configured to send the SDAP message to the first PDCP module through the first SDAP module, the first PDCP module sends the SDAP message to the second PDCP module, and the second PDCP module sends the SDAP message to the The text is sent to the second SDAP module.
- a data transmission device which includes: a receiving module 15 and an analysis module 16, wherein,
- the receiving module 15 is used for the base station to receive the SDAP message sent by the terminal; the SDAP message is a SDAP message generated by the terminal according to the SDAP protocol from the current message to be transmitted; the SDAP message includes a reserved bit identifier and each message to be transmitted The content of the message and the length of each message to be transmitted; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the parsing module 16 is used for the base station to analyze the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- the above-mentioned analysis module 16 includes: a judgment unit 161, an analysis unit 162, and a determination unit 163, wherein:
- the judging unit 161 is used for the base station to judge whether the SDAP message is generated by at least two messages to be transmitted according to the reserved bit identifier;
- the parsing unit 162 is configured to, if the SDAP message is generated by at least two messages to be transmitted, the base station analyzes the content of the corresponding message to be transmitted according to the length of each message to be transmitted;
- the determining unit 163 is configured to, if the SDAP message is not generated by at least two messages to be transmitted, the second SDAP module determines the content of the SDAP message as the content of the message to be transmitted.
- the determining unit 161 is specifically configured to determine that if the reserved bit identifier is the second value, the base station determines that the SDAP message is generated by at least two messages to be transmitted; if the reserved bit identifier is the first Value, the base station determines that the SDAP message is not generated by at least two messages to be transmitted.
- the receiving module 15 is specifically configured to receive the SDAP message sent by the second PDCP module through the second SDAP module; the SDAP message is a message sent by the first SDAP module to the second PDCP module through the first PDCP module .
- Each module in the above-mentioned data transmission device can be implemented in whole or in part by software, hardware and a combination thereof.
- the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
- a computer device is provided.
- the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 12.
- the computer equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus.
- the processor of the computer device is used to provide calculation and control capabilities.
- the memory of the computer device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system and a computer program.
- the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
- the network interface of the computer device is used to communicate with an external terminal through a network connection.
- the computer program is executed by the processor to realize a data transmission method.
- the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen
- the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, a trackball or a touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
- FIG. 12 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
- the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
- a computer device including a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when the processor executes the computer program:
- the terminal obtains the current number of messages to be transmitted
- the terminal When the current number of messages to be transmitted is at least two, the terminal generates a SDAP message from the current message to be transmitted according to the SDAP protocol; the SDAP message includes the reserved bit identifier, the content of each message to be transmitted, and each message to be transmitted The length of the message; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the terminal sends the SDAP message to the base station, and the SDAP message is used to instruct the base station to analyze the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- the base station receives the SDAP message sent by the terminal;
- the SDAP message is a SDAP message generated by the terminal from the current message to be transmitted according to the SDAP protocol;
- the SDAP message includes the reserved bit identifier, the content of each message to be transmitted, and each message to be transmitted The length of the message; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the base station analyzes the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
- the terminal obtains the current number of messages to be transmitted
- the terminal When the current number of messages to be transmitted is at least two, the terminal generates a SDAP message from the current message to be transmitted according to the SDAP protocol; the SDAP message includes the reserved bit identifier, the content of each message to be transmitted, and each message to be transmitted The length of the message; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the terminal sends the SDAP message to the base station, and the SDAP message is used to instruct the base station to analyze the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
- the base station receives the SDAP message sent by the terminal;
- the SDAP message is a SDAP message generated by the terminal from the current message to be transmitted according to the SDAP protocol;
- the SDAP message includes the reserved bit identifier, the content of each message to be transmitted, and each message to be transmitted The length of the message; the reserved bit identifier is used to distinguish whether the SDAP message is generated by at least two messages to be transmitted;
- the base station analyzes the content of the corresponding message to be transmitted according to the reserved bit identifier and the length of each message to be transmitted.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims (13)
- 一种数据传输方法,包括:终端获取当前待传输报文的数量;在所述当前待传输报文的数量为至少两条时,所述终端根据SDAP协议,将所述当前待传输报文生成一条SDAP报文;所述SDAP报文包括预留位标识、各待传输报文内容和各待传输报文长度;所述预留位标识用于区分所述SDAP报文是否为至少两条待传输报文生成的;所述终端将所述SDAP报文发送至基站,所述SDAP报文用于指示所述基站根据所述预留位标识和各所述待传输报文长度解析对应的待传输报文内容。
- 根据权利要求1所述的方法,所述终端根据SDAP协议,将所述当前待传输报文生成一条SDAP报文,包括:所述终端比较所述当前待传输报文的数量与预设阈值;若所述当前待传输报文的数量大于或等于所述预设阈值,所述终端根据所述SDAP协议,将所述预设阈值对应数量的待传输报文和各待传输报文的长度进行堆叠封装,得到所述SDAP报文;若所述当前待传输报文的数量小于所述预设阈值,所述终端根据所述SDAP协议,将所有待传输报文和各待传输报文的长度进行堆叠封装,得到所述SDAP报文。
- 根据权利要求1或2所述的方法,在所述终端根据SDAP协议,将所述当前待传输报文生成一条SDAP报文之前,所述方法包括:所述终端获取所述当前待传输报文的数量与1的大小关系;若所述大小关系为所述当前待传输报文的数量大于1,则所述终端执行将所述当前待传输报文生成一条SDAP报文的步骤;若所述大小关系为所述当前待传输报文的数量等于1,则所述终端将所述当前待传输报文确定为所述SDAP报文。
- 根据权利要求1-3任一项所述的方法,所述当前待传输报文的数量等于1时,所述预留位标识为第一值;所述当前待传输报文的数量大于1时,所述预留位标识为第二值;所述第一值与所述第二值为不同的值。
- 根据权利要求1所述的方法,所述终端包括第一SDAP模块和第一PDCP模块,所述基站包括第二SDAP模块和第二PDCP模块;则所述终端将所述SDAP报文发送至基站包括:所述第一SDAP模块将所述SDAP报文发送至所述第一PDCP模块,所述第一PDCP模块将所述SDAP报文发送至所述第二PDCP模块,所述第二PDCP模块将所述SDAP报文发送至所述第二SDAP模块。
- 一种数据传输方法,包括:基站接收终端发送的SDAP报文;所述SDAP报文为所述终端根据SDAP协议,将当前待传输报文生成的一条SDAP报文;所述SDAP报文包括预留位标识、各待传输报文内容和各待传输报文长度;所述预留位标识用于区分所述SDAP报文是否为至少两条待传输报文生成的;所述基站根据所述预留位标识和各所述待传输报文长度,解析对应的待传输报文内容。
- 根据权利要求6所述的方法,所述基站根据所述预留位标识和各所述待传输报文长度,解析对应的待传输报文内容,包括:所述基站根据所述预留位标识判断所述SDAP报文是否为至少两条待传输报文生成的;若所述SDAP报文是至少两条待传输报文生成的,所述基站根据各所述待传输报文长度解析对应的待传输报文内容;若所述SDAP报文不是至少两条待传输报文生成的,所述基站将所述SDAP报文的内容确定为所述待传输报文内容。
- 根据权利要求7所述的方法,所述基站根据所述预留位标识判断所述SDAP报文是否为至少两条待传输报文生成的,包括:若所述预留位标识为第二值,所述基站确定所述SDAP报文是至少两条待传输报文生成的;若所述预留位标识为第一值,所述基站确定所述SDAP报文不是至少两条待传输报文生成的;其中,第一值与第二值为不同的值。
- 根据权利要求6所述的方法,所述终端包括第一SDAP模块和第一PDCP模块,所述基站包括第二SDAP模块和第二PDCP模块;则所述基站接收终端发送的SDAP报文,包括:所述第二SDAP模块接收所述第二PDCP模块发送的所述SDAP报文;所述SDAP报 文为所述第一SDAP模块通过所述第一PDCP模块发送给所述第二PDCP模的报文。
- 一种数据传输装置,包括:数量获取模块,用于终端获取当前待传输报文的数量;生成模块,用于在所述当前待传输报文的数量为至少两条时,所述终端根据SDAP协议,将所述当前待传输报文生成一条SDAP报文;所述SDAP报文包括预留位标识、各待传输报文内容和各待传输报文长度;所述预留位标识用于区分所述SDAP报文是否为至少两条待传输报文生成的;发送模块,用于所述终端将所述SDAP报文发送至基站,所述SDAP报文用于指示所述基站根据所述预留位标识和各所述待传输报文长度解析对应的待传输报文内容。
- 一种数据传输装置,包括:接收模块,用于基站接收终端发送的SDAP报文;所述SDAP报文为所述终端根据SDAP协议,将当前待传输报文生成的一条SDAP报文;所述SDAP报文包括预留位标识、各待传输报文内容和各待传输报文长度;所述预留位标识用于区分所述SDAP报文是否为至少两条待传输报文生成的;解析模块,用于所述基站根据所述预留位标识和各所述待传输报文长度,解析对应的待传输报文内容。
- 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现权利要求1至9中任一项所述方法的步骤。
- 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至9中任一项所述的方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910875277.1A CN110474924B (zh) | 2019-09-17 | 2019-09-17 | 数据传输方法、装置、计算机设备和存储介质 |
CN201910875277.1 | 2019-09-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021051673A1 true WO2021051673A1 (zh) | 2021-03-25 |
Family
ID=68515965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/124687 WO2021051673A1 (zh) | 2019-09-17 | 2019-12-11 | 数据传输方法、装置、计算机设备和存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110474924B (zh) |
WO (1) | WO2021051673A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110474924B (zh) * | 2019-09-17 | 2021-11-02 | 京信网络系统股份有限公司 | 数据传输方法、装置、计算机设备和存储介质 |
CN115551006A (zh) * | 2021-06-30 | 2022-12-30 | 华为技术有限公司 | 一种数据传输方法、装置及系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281728A (zh) * | 2013-05-17 | 2013-09-04 | 福建星网锐捷网络有限公司 | 报文聚合方法、装置及网络设备 |
CN109996288A (zh) * | 2019-03-28 | 2019-07-09 | 京信通信系统(中国)有限公司 | Rlc层的数据级联方法、装置、计算机设备和存储介质 |
WO2019158699A1 (en) * | 2018-02-15 | 2019-08-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods providing qfi harmonization between ran and 5gc and related wireless terminals, base stations, and core network nodes |
CN110474924A (zh) * | 2019-09-17 | 2019-11-19 | 京信通信系统(中国)有限公司 | 数据传输方法、装置、计算机设备和存储介质 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713415B (zh) * | 2016-11-14 | 2019-11-22 | 北京邮电大学 | 一种数据传输方法及系统 |
CN108738080B (zh) * | 2017-04-20 | 2020-06-26 | 华为技术有限公司 | 数据传输的方法和装置 |
WO2018231006A1 (en) * | 2017-06-16 | 2018-12-20 | Samsung Electronics Co., Ltd. | Method and apparatus for rapidly reporting frequency measurement results in next generation mobile communication system |
US10951533B2 (en) * | 2017-09-27 | 2021-03-16 | Qualcomm Incorporated | Header formats in wireless communication |
CN109688606B (zh) * | 2018-12-29 | 2022-03-25 | 京信网络系统股份有限公司 | 数据处理方法、装置、计算机设备及存储介质 |
CN110071935B (zh) * | 2019-04-30 | 2021-03-30 | 重庆邮电大学 | 一种5g系统中终端组装sdap头的实现方法 |
-
2019
- 2019-09-17 CN CN201910875277.1A patent/CN110474924B/zh active Active
- 2019-12-11 WO PCT/CN2019/124687 patent/WO2021051673A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281728A (zh) * | 2013-05-17 | 2013-09-04 | 福建星网锐捷网络有限公司 | 报文聚合方法、装置及网络设备 |
WO2019158699A1 (en) * | 2018-02-15 | 2019-08-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods providing qfi harmonization between ran and 5gc and related wireless terminals, base stations, and core network nodes |
CN109996288A (zh) * | 2019-03-28 | 2019-07-09 | 京信通信系统(中国)有限公司 | Rlc层的数据级联方法、装置、计算机设备和存储介质 |
CN110474924A (zh) * | 2019-09-17 | 2019-11-19 | 京信通信系统(中国)有限公司 | 数据传输方法、装置、计算机设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110474924B (zh) | 2021-11-02 |
CN110474924A (zh) | 2019-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3767890B1 (en) | Method and apparatus for monitoring service quality | |
US9906491B2 (en) | Improving transmission efficiency of data frames by using shorter addresses in the frame header | |
WO2021128913A1 (zh) | 蜂窝网络上行链路ecn机制的增强方法、设备及介质 | |
US20140050096A1 (en) | Message processing method, device, and system | |
CN109923845A (zh) | 无线电接入中的无线电承载切换 | |
WO2021051673A1 (zh) | 数据传输方法、装置、计算机设备和存储介质 | |
WO2021244176A1 (zh) | 用户面数据处理方法和基站 | |
WO2018166517A1 (zh) | 一种数据传输方法、数据发送设备及数据接收设备 | |
WO2022205234A1 (zh) | 一种通信方法及装置 | |
WO2022262437A1 (zh) | 基于电力芯片的多通道以太网报文处理方法 | |
WO2020001355A1 (zh) | 避免报文分片的方法和装置 | |
US20180109451A1 (en) | Protocol frame transmission method, apparatus, and system, and node device | |
US20200404522A1 (en) | Method and system for detecting quality of service of service, and device | |
US9094259B2 (en) | Networking method and device via network interface of data card equipment | |
WO2019201127A1 (zh) | 数据传输方法及装置 | |
WO2021056847A1 (zh) | 报文传输方法、装置、计算机设备和存储介质 | |
WO2016154831A1 (zh) | 一种实现传输控制协议tcp传输的方法及装置 | |
WO2019015487A1 (zh) | 一种数据重传处理方法、rlc实体和mac实体 | |
WO2022063187A1 (zh) | 一种通信方法和装置 | |
WO2018107368A1 (zh) | 数据传输的连接建立方法及装置 | |
WO2021128100A1 (zh) | 一种通信方法及装置 | |
US11382022B2 (en) | Method, apparatus, and computer program product for packet forwarding control protocol messages bundling | |
CN112135329B (zh) | 参数传输方法、装置及系统 | |
WO2018112756A1 (zh) | 用户下线的方法、网络设备和系统 | |
WO2021142722A1 (zh) | 以太帧的发送方法、接收方法、装置、设备和介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19945667 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19945667 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11/08/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19945667 Country of ref document: EP Kind code of ref document: A1 |