Data transmission method, terminal device, network device and storage medium

By aggregating data packets with different destination addresses in decentralized social applications in terminal devices and recovering these packets in network devices, the problem of waste of air interface transmission resources is solved and more efficient data transmission is achieved.

CN119449732AActive Publication Date: 2025-02-14CHINA MOBILE COMM LTD RES INST +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202310943836.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-02-14
Estimated Expiration
2043-07-28

AI Technical Summary

Technical Problem

In decentralized social applications, users need to build a large number of data packets with different destination addresses when sending information, resulting in waste of air-interface transmission resources and increasing pressure on wireless networks.

Method used

By aggregating multiple data packets with the same data information and different destination addresses in the terminal device into one uplink protocol data unit PDU and transmitting it to a network device, the network device then recovers multiple data packets according to the PDU for regulating the data packets. transmission.

Benefits of technology

This method maximizes the multiplexing of data packets and PDU formats, reducing waste of air-interface transmission resources and reducing the pressure on wireless networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449732A_ABST
    Figure CN119449732A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data transmission method, terminal equipment, network equipment and a storage medium. The data transmission method applied to the terminal equipment comprises the following steps: aggregating a plurality of data messages with the same data information and different destination addresses into an uplink protocol data unit PDU; and transmitting the uplink PDU to the network device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a data transmission method, a terminal device, a network device, and a storage medium. Background Art

[0002] In the decentralized social application architecture, there are two roles: client and relay server. Each terminal device runs a client, and each terminal device has two keys: public key and private key. The public key is equivalent to the user name or account, and the private key is equivalent to the password. When publishing information, the terminal device signs the image and text with its own private key and then sends it to multiple relay servers.

[0003] For decentralized social applications, it is a service that users use frequently. When each user sends information, he needs to send the information to a group of electronic devices, that is, a group of relay servers, through a wireless network. The Internet Protocol addresses (IP addresses) of these relay servers are different, so a large number of data packets with different destination addresses need to be constructed to send the same data information, resulting in a waste of air interface transmission resources and bringing huge pressure to the wireless network. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method, a terminal device, a network device and a storage medium, which reduce the waste of air interface transmission resources.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a data transmission method, which is applied to a terminal device, and the method includes:

[0007] Aggregate multiple data messages with the same data information and different destination addresses into an uplink protocol data unit PDU;

[0008] The uplink PDU is transmitted to a network device.

[0009] In the above method, aggregating multiple data messages with the same data information and different destination addresses into an uplink protocol data unit PDU includes:

[0010] Construct each data message to be transmitted and pass it to the service data adaptation protocol SDAP layer in sequence; each data message includes the mapping value of the data information it carries;

[0011] At the SDAP layer, the multiple data messages are determined by comparing the mapping values ​​in the respective data messages, and the multiple data messages are aggregated into the uplink PDU.

[0012] In the above method, the mapping value of the data information is located in the optional field area of ​​the header.

[0013] In the above method, the mapping value of the data information is a hash value obtained by performing a hash operation on the data information.

[0014] In the above method, determining the multiple data messages by comparing the mapping values ​​in each data message includes:

[0015] Upon receiving a first data message, checking whether a mapping value has been stored in the cache; the first data message is any received data message;

[0016] If no mapping value is stored in the buffer area, storing the mapping value in the first data message into the buffer area, and starting a timer and a counter;

[0017] In the case where the mapping value has been stored in the cache area, comparing the mapping value in the cache area with the mapping value in the first data message, and determining whether the timer has timed out;

[0018] When the mapping value in the cache area is the same as the mapping value in the first data message and the timer has not timed out, the value of the counter is increased by 1;

[0019] When the mapping value in the cache area is different from the mapping value in the first data message, or when the timer times out, the value of the counter is determined as the number of the multiple data messages, and the timer and the counter are restarted.

[0020] In the above method, when the mapping value in the buffer area is different from the mapping value in the first data message, the method further includes:

[0021] The mapping value in the cache area is replaced with the mapping value in the first data message.

[0022] In the above method, the uplink PDU includes:

[0023] A first parameter, wherein the first parameter indicates that the uplink PDU is obtained by aggregating data packets;

[0024] The number of the plurality of data packets;

[0025] Among the multiple data packets, the target data packet constructed first, and the destination address of each data packet different from the target data packet.

[0026] In the above method, in the uplink PDU, the target data message and each destination address are arranged in sequence according to the order in which the data message is constructed.

[0027] The present application provides a data transmission method, which is applied to a network device, and the method includes:

[0028] Receiving an uplink PDU transmitted by a terminal device; wherein the uplink PDU is obtained by aggregating multiple data messages with the same data information and different destination addresses;

[0029] The multiple data packets are determined according to the uplink PDU.

[0030] In the above method, the uplink PDU includes:

[0031] A first parameter, wherein the first parameter indicates that the uplink PDU is obtained by aggregating data packets;

[0032] The number of the plurality of data packets;

[0033] Among the multiple data packets, the target data packet constructed first, and the destination address of each data packet different from the target data packet.

[0034] In the above method, determining the multiple data messages according to the uplink PDU includes:

[0035] At the SDAP layer, parsing the first parameter from the uplink PDU;

[0036] When the first parameter is obtained, parsing the number of messages from the uplink PDU;

[0037] When the number of messages is obtained, parsing the target data message from the uplink PDU;

[0038] When the target data message is obtained, the destination address of each data message is parsed from the uplink PDU in sequence;

[0039] The destination address of the target data message is replaced in sequence by using the destination address of each data message, so as to obtain each data message in the multiple data messages that is different from the target data message.

[0040] In the above method, after determining the multiple data messages according to the uplink PDU, the method further includes:

[0041] Each data message in the multiple data messages is transmitted to the corresponding electronic device in sequence according to the destination address contained therein.

[0042] An embodiment of the present application provides a terminal device, including: a first processor, a first memory, and a first communication bus;

[0043] The first communication bus is used to implement a communication connection between the first processor and the first memory;

[0044] The first processor is used to execute one or more computer programs stored in the first memory to implement the above-mentioned data transmission method applied to the terminal device.

[0045] An embodiment of the present application provides a network device, including: a second processor, a second memory, and a second communication bus;

[0046] The second communication bus is used to realize the communication connection between the second processor and the second memory;

[0047] The second processor is used to execute one or more computer programs stored in the second memory to implement the above-mentioned data transmission method applied to the network device.

[0048] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned data transmission method is implemented.

[0049] The embodiment of the present application provides a data transmission method, a terminal device, a network device and a storage medium. The data transmission method applied to the terminal device includes: aggregating multiple data messages with the same data information and different destination addresses into an uplink protocol data unit PDU; transmitting the uplink PDU to the network device. The technical solution provided by the embodiment of the present application is that the terminal device aggregates multiple data messages with the same data information and different destination addresses into an uplink PDU and transmits it to the network device through a series of processes, maximizes the multiplexing of data messages and PDU formats, increases compatibility, and transmits multiple data messages at a time, thereby reducing the waste of air interface transmission resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A schematic diagram of a data transmission method provided in an embodiment of the present application Figure 1 ;

[0051] Figure 2 A schematic diagram of the structure of an exemplary data message provided in an embodiment of the present application;

[0052] Figure 3 An exemplary structure of an uplink PDU provided in an embodiment of the present application is shown in FIG. Figure 1 ;

[0053] Figure 4 An exemplary structure of an uplink PDU provided in an embodiment of the present application is shown in FIG. Figure 2 ;

[0054] Figure 5 An exemplary structure of an uplink PDU provided in an embodiment of the present application is shown in FIG. Figure 3 ;

[0055] Figure 6 A schematic diagram of a data transmission method provided in an embodiment of the present application Figure 2 ;

[0056] Figure 7 A schematic diagram of a terminal device provided in an embodiment of the present application Figure 1 ;

[0057] Figure 8 A schematic diagram of a terminal device provided in an embodiment of the present application Figure 2 ;

[0058] Fig. 9 A schematic diagram of a network device provided in an embodiment of the present application Figure 1 ;

[0059] Fig.10 A schematic diagram of a network device provided in an embodiment of the present application Figure 2 ;

[0060] Fig.11 A schematic diagram of the correspondence between the protocol layers of a terminal device and a network device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0062] The following will specifically describe the technical solution of the present application and how the technical solution of the present application solves the above technical problems through embodiments and in conjunction with the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0063] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0064] An embodiment of the present application provides a data transmission method applied to a terminal device. Figure 1 A schematic diagram of a data transmission method provided in an embodiment of the present application Figure 1 .like Figure 1 As shown, in an embodiment of the present application, the data transmission method mainly includes the following steps:

[0065] S101. Aggregate multiple data messages with the same data information and different destination addresses into an uplink protocol data unit PDU.

[0066] In an embodiment of the present application, the terminal device can aggregate multiple data packets with the same data information and different destination addresses into one uplink PDU.

[0067] It should be noted that in the embodiments of the present application, for decentralized social applications, their functions and scenarios are all services that users use frequently. When the terminal device sends relevant data information, it is necessary to transmit the data information to a group of electronic devices, that is, a group of relay servers, through a network device. The IP addresses of these relay servers are all different, so it is necessary to transmit multiple data messages with the same data information and different destination addresses, where the destination address of each data message is the IP address of the relay server to which it needs to be transmitted. The specific number of data messages depends on the number of electronic devices that need to be ultimately transmitted to, and the embodiments of the present application do not limit it.

[0068] In an embodiment of the present application, the terminal device can aggregate multiple data packets with the same data information and different destination addresses into an uplink PDU according to the following steps: construct each data packet to be transmitted and pass them to the service data adaptation protocol SDAP layer in sequence; wherein each data packet contains a mapping value of the data information it carries; at the SDAP layer, multiple data packets are determined by comparing the mapping values ​​in each data packet, and the multiple data packets are aggregated into an uplink PDU.

[0069] It should be noted that in an embodiment of the present application, the terminal device constructs each data message to be transmitted, which contains the mapping value of the data information carried by itself, wherein the data information carried by the data message can specifically be any data information of a decentralized social application. The purpose is to support the subsequent identification of data messages carrying the same data information at the SDAP layer for further aggregation.

[0070] It should be noted that, in the embodiment of the present application, when the terminal device constructs the IP header of the data message at the network layer, refer to Figure 2 In the data message structure shown, in each constructed data message, the mapping value of the data information is located in the optional field area of ​​the header. The mapping value of the data information can be a hash value obtained by performing a hash operation on the data information.

[0071] It is understandable that in the embodiments of the present application, the terminal device uses a hash operation to transform data information of any length into a string of fixed length (32 bits) through a hash algorithm. The string is the hash value, that is, the mapping value of the data information. The string and each byte of the data information have a very close relationship, which can be used as a basis for judging whether the data information carried in different data messages is the same. In addition, since it is difficult to find the reverse rule for the hash operation, the hash value carried in each data message will not expose the data information, and the security is relatively high. Of course, other suitable algorithms can also be used to calculate the mapping value of the data information, which is not limited by the embodiments of the present application.

[0072] In an embodiment of the present application, the terminal device specifically transmits each data message to the SDAP layer aggregation in sequence, and implements aggregation at the SDAP layer, wherein multiple data messages are determined by comparing the mapping values ​​in each data message, including: when receiving a first data message, checking whether the mapping value is stored in the cache area; the first data message is any data message received; when the mapping value is not stored in the cache area, the mapping value in the first data message is stored in the cache area, and a timer and a counter are started; when the mapping value is stored in the cache area, the mapping value in the cache area is compared with the mapping value in the first data message, and it is determined whether the timer has timed out; when the mapping value in the cache area is the same as the mapping value in the first data message and the timer has not timed out, the value of the counter is increased by 1; when the mapping value in the cache area is different from the mapping value in the first data message, or when the timer times out, the value of the counter is determined as the number of messages of the multiple data messages, and the timer and the counter are restarted. Further, in the case where the mapping value in the cache area is different from the mapping value in the first data message, the mapping value in the first data message may be used to replace the mapping value in the cache area.

[0073] It should be noted that, in the embodiments of the present application, the duration defined by the timer can be set according to actual needs, and the timer is set to ensure the timeliness of data message transmission.

[0074] It should be noted that in the embodiment of the present application, when the mapping value is not stored in the buffer area, the counter can be started at the same time as the timer is started, and the number of data messages is accumulated using the counter. Before restarting the timer, each time a mapping value in a data message is compared to be the same as the mapping value in the buffer area, the counter is incremented by 1, thereby accumulating the number of data messages with the same data information and different destination addresses.

[0075] In an embodiment of the present application, taking the mapping value as a hash value as an example, in combination with the above steps, the SDAP layer determines multiple data messages with the same data information and different destination addresses by comparing the mapping values ​​in the data message, and constructs an uplink PDU, which may specifically include the following steps:

[0076] After receiving a data message, the SDAP layer checks the header. If the header does not contain a hash value, it enters the normal process;

[0077] If the IP header contains a hash value, check whether there is a stored hash value in the cache;

[0078] If the cache does not store the hash value, that is, the data message is the first data message received, the hash field in the header is placed in the cache, the counter C=0 is started, and C=C+1. The timer T is started.

[0079] If the hash value is already stored in the cache, compare the hash value with the hash value in the cache:

[0080] If the hash values ​​are consistent (i.e., the same) and the timer T has not timed out, then the counter C=C+1;

[0081] If the hash values ​​are consistent (i.e., the same), but the timer T has timed out, the current counter C is saved, the timer T is stopped, the uplink PDU is constructed, the hash value in the header replaces the hash value in the buffer, the counter C=0 is restarted, and C+1 is set, and the timer T is restarted;

[0082] If the hash values ​​are inconsistent (ie not the same), save the current counter C, stop timer T, build the uplink PDU, replace the hash value in the cache with the hash value in the header, restart the counter C=0, and make C+1, and restart the timer T.

[0083] In an embodiment of the present application, the terminal device determines, at the SDAP layer, multiple data messages with the same data information and different destination addresses based on the above method, and the uplink PDU obtained by aggregating the multiple data messages includes:

[0084] A first parameter, the first parameter indicates that the uplink PDU is obtained by aggregating data messages;

[0085] The number of packets for multiple data packets;

[0086] Among the multiple data messages, the target data message constructed first, and the destination address of each data message different from the target data message.

[0087] In an embodiment of the present application, in an uplink PDU, the target data message and each destination address are arranged in sequence according to the order in which the data message is constructed.

[0088] It should be noted that, in the embodiment of the present application, the terminal device can construct an uplink PDU with a header using the SDAP layer, such as Figure 3 As shown, the first line is the packet header, which contains the fields D / C, R and QFI. In addition, an uplink PDU without a packet header can also be constructed, such as Figure 4 As shown, the embodiments of the present application are not limited.

[0089] It should be noted that, in the embodiments of the present application, Figure 3 and Figure 4 As shown, A represents Accumulate, and Quantity represents quantity. When the terminal device uses the SDAP layer to construct an uplink PDU, if the value of counter C is not 0, A=1, which is equivalent to indicating that the uplink PDU is the first parameter obtained by aggregating data messages, and let Quantity be a binary number converted from the value of counter C, indicating the number of multiple data messages; if the value of counter C is 0, A=0, indicating that there are no multiple data messages with the same data information and different destination addresses that need to be aggregated, and let Quantity be all 0. In addition, A=0 can also be used as the first parameter indicating that the uplink PDU is obtained by aggregating data messages, and A=1 is used to indicate that there are no multiple data messages with the same data information and different destination addresses that need to be aggregated. The specific representation method is not limited in the embodiments of this application.

[0090] It should be noted that, in the embodiment of the present application, for multiple data messages, the terminal device uses the uplink PDU constructed by the SDAP layer, see Figure 5 , in the data part, the first constructed data message among multiple data messages is loaded, that is, the above-mentioned target data message. After that, for other data messages, only the destination address is read and loaded in sequence according to the order in which the data messages are constructed.

[0091] S102: Transmit the uplink PDU to the network device.

[0092] In an embodiment of the present application, after the terminal device aggregates multiple data packets with the same data information and different destination addresses into an uplink PDU, the uplink PDU can be transmitted to the network device, so that the network device can determine multiple data packets based on the uplink PDU, and transmit each data packet to the corresponding electronic device, i.e., the designated relay server, according to the destination address contained therein.

[0093] It can be understood that in the embodiments of the present application, the terminal device aggregates multiple data packets with the same data information but different destination addresses into an uplink PDU and transmits it to the network device through a series of processes, thereby maximizing the multiplexing of data packets and PDU formats, increasing compatibility, and transmitting multiple data packets at a time, thereby reducing the waste of air interface transmission resources.

[0094] The embodiment of the present application also provides a data transmission method applied to a network device. Figure 6 A schematic diagram of a data transmission method provided in an embodiment of the present application Figure 2 .like Figure 6 As shown, in an embodiment of the present application, the data transmission method mainly includes the following steps:

[0095] S201. Receive an uplink PDU transmitted by a terminal device; wherein the uplink PDU is obtained by aggregating multiple data messages with the same data information and different destination addresses.

[0096] In an embodiment of the present application, the uplink PDU includes:

[0097] A first parameter, the first parameter indicates that the uplink PDU is obtained by aggregating data messages;

[0098] The number of packets for multiple data packets;

[0099] Among the multiple data messages, the target data message constructed first, and the destination address of each data message different from the target data message.

[0100] S202: Determine multiple data messages according to the uplink PDU.

[0101] In an embodiment of the present application, after receiving the uplink PDU, the network device may use its SDAP layer to determine a plurality of data messages according to the uplink PDU.

[0102] In an embodiment of the present application, the network device determines multiple data packets based on the uplink PDU, including: at the SDAP layer, parsing a first parameter from the uplink PDU; when the first parameter is obtained, parsing the number of packets from the uplink PDU; when the number of packets is obtained, parsing a target data packet from the uplink PDU; when the target data packet is obtained, parsing the destination address of each data packet in turn from the uplink PDU; using the destination address of each data packet, replacing the destination address of the target data packet in turn, to obtain each data packet in the multiple data packets that is different from the target data packet.

[0103] It can be understood that in the embodiment of the present application, the network device first learns from the first parameter that the uplink PDU is obtained by aggregating data messages at its SDAP layer, and then parses out the number of data messages. In the data part, the first constructed data message, that is, the target data message, is parsed, and the destination addresses of other data messages are parsed in turn. Finally, the target data message is copied and replaced with each destination address obtained by parsing in turn, thereby successively recovering each data message different from the target data message in multiple data messages.

[0104] In an embodiment of the present application, after the network device determines multiple data messages according to the uplink PDU, it can also perform the following steps: each data message in the multiple data messages is transmitted to the corresponding electronic device in sequence according to the destination address contained therein. In the decentralized social application architecture, different electronic devices to which different data messages are transmitted are different relay servers.

[0105] It can be understood that in an embodiment of the present application, the network device can restore the uplink PDU sent by the terminal device into multiple data packets with the same data information and different destination addresses, and then transmit each data packet according to the corresponding destination address. That is, the network device can obtain multiple data packets through a single reception, thereby reducing the waste of air interface transmission resources.

[0106] An embodiment of the present application provides a terminal device. Figure 7 A schematic diagram of a terminal device provided in an embodiment of the present application Figure 1 .like Figure 7 As shown, the terminal device includes:

[0107] The message aggregation module 301 is used to aggregate multiple data messages with the same data information and different destination addresses into an uplink protocol data unit PDU;

[0108] The first communication module 302 transmits the uplink PDU to a network device.

[0109] In one embodiment of the present application, the message aggregation module 301 is specifically used to construct each data message to be transmitted and pass them to the service data adaptation protocol SDAP layer in sequence; wherein each data message contains a mapping value of the data information it carries; at the SDAP layer, the multiple data messages are determined by comparing the mapping values ​​in each data message, and the multiple data messages are aggregated into the uplink PDU.

[0110] In one embodiment of the present application, the mapping value of the data information is located in the optional field area of ​​the header.

[0111] In an embodiment of the present application, the mapping value of the data information is a hash value obtained by performing a hash operation on the data information.

[0112] In one embodiment of the present application, the message aggregation module 301 is specifically used to check whether a mapping value has been stored in a cache area when a first data message is received; the first data message is any data message received; if the mapping value is not stored in the cache area, the mapping value in the first data message is stored in the cache area, and a timer and a counter are started; if the mapping value has been stored in the cache area, the mapping value in the cache area is compared with the mapping value in the first data message, and it is determined whether the timer has timed out; if the mapping value in the cache area is the same as the mapping value in the first data message and the timer has not timed out, the value of the counter is increased by 1; if the mapping value in the cache area is different from the mapping value in the first data message, or if the timer times out, the value of the counter is determined as the number of messages of the multiple data messages, and the timer and the counter are restarted.

[0113] The message aggregation module 301 is further specifically configured to replace the mapping value in the cache area with the mapping value in the first data message when the mapping value in the cache area is different from the mapping value in the first data message.

[0114] In one embodiment of the present application, the uplink PDU includes:

[0115] A first parameter, wherein the first parameter indicates that the uplink PDU is obtained by aggregating data packets;

[0116] The number of the plurality of data packets;

[0117] Among the multiple data packets, the target data packet constructed first, and the destination address of each data packet different from the target data packet.

[0118] In an embodiment of the present application, in the uplink PDU, the target data message and each destination address are arranged in sequence according to the order in which the data message is constructed.

[0119] Figure 8 A schematic diagram of a terminal device provided in an embodiment of the present application Figure 2 .like Figure 8 As shown, the terminal device includes: a first processor 401, a first memory 402 and a first communication bus 403;

[0120] The first communication bus 403 is used to implement a communication connection between the first processor 401 and the first memory 402;

[0121] The first processor 401 is used to execute one or more computer programs stored in the first memory 402 to implement the above-mentioned data transmission method applied to the terminal device.

[0122] An embodiment of the present application provides a network device. Fig. 9 A schematic diagram of a network device provided in an embodiment of the present application Figure 1 .like Fig. 9 As shown, the network equipment includes:

[0123] The second communication module 501 is used to receive an uplink PDU transmitted by a terminal device; wherein the uplink PDU is obtained by aggregating multiple data messages with the same data information and different destination addresses;

[0124] The message determination module 502 is used to determine the multiple data messages according to the uplink PDU.

[0125] In one embodiment of the present application, the uplink PDU includes:

[0126] A first parameter, wherein the first parameter indicates that the uplink PDU is obtained by aggregating data packets;

[0127] The number of the plurality of data packets;

[0128] Among the multiple data packets, the target data packet constructed first, and the destination address of each data packet different from the target data packet.

[0129] In one embodiment of the present application, the message determination module 502 is specifically used to parse the first parameter from the uplink PDU at the SDAP layer; when the first parameter is obtained, parse the message quantity from the uplink PDU; when the message quantity is obtained, parse the target data message from the uplink PDU; when the target data message is obtained, parse the destination address of each data message in turn from the uplink PDU; use the destination address of each data message to replace the destination address of the target data message in turn, and obtain each data message in the multiple data messages that is different from the target data message.

[0130] In an embodiment of the present application, the second communication module 501 is further used to transmit each data message in the multiple data messages to a corresponding electronic device in sequence according to the destination address contained therein.

[0131] Fig.10 A schematic diagram of a network device provided in an embodiment of the present application Figure 2 .like Fig.10As shown, the network device includes: a second processor 601, a second memory 602 and a second communication bus 603;

[0132] The second communication bus 603 is used to implement a communication connection between the second processor 601 and the second memory 602;

[0133] The second processor 601 is used to execute one or more computer programs stored in the second memory 602 to implement the above-mentioned data transmission method applied to the network device.

[0134] Fig.11 A schematic diagram of the corresponding relationship between the protocol layers of a terminal device and a network device provided in an embodiment of the present application. Fig.11 As shown, the terminal device and the network device each include not only an SDAP layer, but also a Packet Data Convergence Protocol (PDCP) layer, a Radio Link Control Protocol (RLC) layer, a Media Access Control (MAC) layer and a Physical (PHY) layer, thereby supporting the terminal device and the network device to implement corresponding processing at the same network layer. For example, in an embodiment of the present application, the SDAP layer of the terminal device implements aggregation of multiple data messages, and correspondingly, the SDAP layer of the network device implements recovery of multiple data messages.

[0135] The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program implements the above-mentioned data transmission method when executed by a processor. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it can be a respective device including one or any combination of the above memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0136] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0137] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0138] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0139] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0140] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the utility application 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 data transmission method, characterized in that: Applied to a terminal device, the method comprises: Aggregate multiple data messages with the same data information and different destination addresses into an uplink protocol data unit PDU; The uplink PDU is transmitted to a network device.

2. The method according to claim 1, characterized in that The step of aggregating a plurality of data messages with the same data information and different destination addresses into an uplink protocol data unit PDU comprises: Construct each data message to be transmitted and pass it to the service data adaptation protocol SDAP layer in sequence; each data message includes the mapping value of the data information it carries; At the SDAP layer, the multiple data messages are determined by comparing the mapping values ​​in the respective data messages, and the multiple data messages are aggregated into the uplink PDU.

3. The method according to claim 2, characterized in that The mapping value of the data information is located in the optional field area of ​​the header.

4. The method according to claim 2 or 3, characterized in that: The mapping value of the data information is a hash value obtained by performing a hash operation on the data information.

5. The method according to claim 2, characterized in that: The determining the multiple data messages by comparing the mapping values ​​in the respective data messages comprises: Upon receiving a first data message, checking whether a mapping value has been stored in the cache; the first data message is any received data message; If no mapping value is stored in the buffer area, storing the mapping value in the first data message into the buffer area, and starting a timer and a counter; In the case where the mapping value has been stored in the cache area, comparing the mapping value in the cache area with the mapping value in the first data message, and determining whether the timer has timed out; When the mapping value in the cache area is the same as the mapping value in the first data message and the timer has not timed out, the value of the counter is increased by 1; When the mapping value in the cache area is different from the mapping value in the first data message, or when the timer times out, the value of the counter is determined as the number of the multiple data messages, and the timer and the counter are restarted.

6. The method according to claim 5, characterized in that In the case where the mapping value in the buffer area is different from the mapping value in the first data message, the method further includes: The mapping value in the cache area is replaced with the mapping value in the first data message.

7. The method according to claim 1, characterized in that The uplink PDU contains: A first parameter, wherein the first parameter indicates that the uplink PDU is obtained by aggregating data packets; The number of the plurality of data packets; Among the multiple data packets, the target data packet constructed first, and the destination address of each data packet different from the target data packet.

8. The method according to claim 7, characterized in that In the uplink PDU, the target data message and each destination address are arranged in sequence according to the order in which the data message is constructed.

9. A data transmission method, characterized in that: Applied to a network device, the method comprises: Receiving an uplink PDU transmitted by a terminal device; wherein the uplink PDU is obtained by aggregating multiple data messages with the same data information and different destination addresses; The multiple data packets are determined according to the uplink PDU.

10. The method according to claim 9, characterized in that The uplink PDU contains: A first parameter, wherein the first parameter indicates that the uplink PDU is obtained by aggregating data packets; The number of the plurality of data packets; Among the multiple data packets, the target data packet constructed first, and the destination address of each data packet different from the target data packet.

11. The method according to claim 10, characterized in that The determining, according to the uplink PDU, the plurality of data messages comprises: At the SDAP layer, parsing the first parameter from the uplink PDU; When the first parameter is obtained, parsing the number of messages from the uplink PDU; When the number of messages is obtained, parsing the target data message from the uplink PDU; When the target data message is obtained, the destination address of each data message is parsed from the uplink PDU in sequence; The destination address of the target data message is replaced in sequence by using the destination address of each data message, so as to obtain each data message in the multiple data messages that is different from the target data message.

12. The method according to claim 9, characterized in that After determining the plurality of data messages according to the uplink PDU, the method further includes: Each data message in the multiple data messages is transmitted to the corresponding electronic device in sequence according to the destination address contained therein.

13. A terminal device, characterized in that: include: a first processor, a first memory, and a first communication bus; The first communication bus is used to implement a communication connection between the first processor and the first memory; The first processor is used to execute one or more computer programs stored in the first memory to implement the data transmission method according to any one of claims 1 to 8.

14. A network device, characterized in that: include: a second processor, a second memory, and a second communication bus; The second communication bus is used to realize the communication connection between the second processor and the second memory; The second processor is used to execute one or more computer programs stored in the second memory to implement the data transmission method according to any one of claims 9 to 12.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Multi-purpose data transmission network routing device and method, chip and router

    CN106161254A

  • Router for multi-address shared data routing packet, routing method for multi-address shared data routing packet, and chip of router

    CN106850440A

  • Data transmission method and device, computer equipment and storage medium

    CN110474924A

  • Data transmission method, device, equipment, system and readable storage medium

    CN113259370A

  • Switching method and communication device

    CN115136651A