A data transmission method, device and storage medium

By generating and splitting group messages, the synchronization problem of multimodal service flows in 5G mobile networks is solved, and the sequential maintenance and coordinated transmission of service flows at the destination terminal are realized.

CN115842779BActive Publication Date: 2026-05-19CHINA MOBILE COMM LTD RES INST +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE COMM LTD RES INST
Filing Date
2021-08-04
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In 5G mobile networks, when multimodal service flows are transmitted collaboratively, it cannot be guaranteed that the service flows sent from different source terminals will maintain their relative order after reaching the destination terminal, and the network device configuration interface cannot be opened to adjust the transmission situation.

Method used

By generating group packets on the source-side network device and splitting them on the destination side, network address translation and reassembly technologies are used to ensure that service packets remain synchronized in the mobile network.

Benefits of technology

It enables the coordinated transmission of multiple service streams in 5G mobile networks, ensuring that the relative order of service packets at the destination terminal is consistent with that at the source terminal, and avoiding dependence on network equipment configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115842779B_ABST
    Figure CN115842779B_ABST
Patent Text Reader

Abstract

The application discloses a data transmission method, device and storage medium, the method comprises the following steps: determining at least two service packets satisfying a preset condition, generating a group packet according to the at least two service packets; sending the group packet to a second network device; the group packet is split by the second network device and sent to a corresponding terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of business collaboration, and in particular to a data transmission method, apparatus, and storage medium. Background Technology

[0002] With the widespread application of 5G mobile networks, more and more scenarios require multimodal service flow coordination to complete tasks. In multimodal service scenarios, when multiple modalities (audio, video, control signaling, motion data, etc.) exist within the same service, to meet the actual service requirements, these multiple service flows need to maintain a certain level of synchronization. That is, the relative order of different service flows originating from different source terminals should remain unchanged after arriving at different destination terminals. Therefore, a method for synchronizing multiple service flows is needed. Summary of the Invention

[0003] In view of this, the main objective of the present invention is to provide a data transmission method, apparatus and storage medium.

[0004] To achieve the above objectives, the technical solution of the present invention is implemented as follows:

[0005] This invention provides a data transmission method applied to a first network device, the method comprising:

[0006] Identify at least two service messages that meet preset conditions, and generate a group message based on the at least two service messages;

[0007] The group message is sent to the second network device; the group message is split by the second network device and sent to the corresponding terminal.

[0008] In the above scheme, determining at least two service messages that meet the preset conditions includes:

[0009] Determine the address information of each of at least two pending service messages; the address information includes: source address information and destination address information;

[0010] Based on the address information of each of the pending service messages, a preset matching rule is queried to determine at least two service messages that meet the preset conditions;

[0011] The preset matching rules include: at least one set of matching addresses.

[0012] In the above scheme, before generating the group message based on the at least two service messages, the method further includes:

[0013] Perform a Network Address Translation (NAT) operation on each of the at least two service packets to obtain the source address information of each service packet after translation.

[0014] In the above scheme, generating a group message based on the at least two service messages includes:

[0015] The at least two service messages are reassembled to obtain at least one storage segment;

[0016] The message is encapsulated based on the at least one segment of the storage to obtain a group message;

[0017] Wherein, each of the at least one storage units includes at least one of the following: message type, message length, and message.

[0018] In the above scheme, sending the group of packets to the second network device includes:

[0019] The mobile address of the first network device is used as the source address of the group message, and the group message is sent to the second network device according to a preset group message time interval;

[0020] The preset group message time interval is determined according to the message sending frequency requirements.

[0021] This invention provides a data transmission method applied to a second network device, the method comprising:

[0022] Receive group messages from the first network device;

[0023] The group of messages is split to obtain at least two service messages;

[0024] Each of the at least two service messages is sent to the corresponding terminal.

[0025] In the above scheme, before splitting the group of packets, the method further includes:

[0026] The received group of messages is processed in a sequence-preserving manner.

[0027] In the above scheme, sending each of the at least two service messages to the corresponding terminal includes:

[0028] For each of the service packets, perform an inverse NAT (Network Address Translation) operation to determine the address information of the destination terminal corresponding to each service packet;

[0029] Each service message is sent to the corresponding destination terminal based on the address information of the destination terminal corresponding to each service message.

[0030] This invention also provides a data transmission device, the device comprising:

[0031] The first processing module is used to determine at least two service messages that meet preset conditions, and generate a group message based on the at least two service messages;

[0032] The first sending module is used to send the group message to the second network device; the group message is split by the second network device and sent to the corresponding terminal.

[0033] In the above scheme, the first processing module is used to determine the address information of each of the at least two pending service messages; the address information includes: source address information and destination address information;

[0034] Based on the address information of each of the pending service messages, a preset matching rule is queried to determine at least two service messages that meet the preset conditions;

[0035] The preset matching rules include: at least one set of matching addresses.

[0036] In the above scheme, the first processing module is further configured to perform Network Address Translation (NAT) operation on each of the at least two service packets to obtain the source address information of each of the translated service packets.

[0037] In the above scheme, the first processing module is used to reassemble the at least two service messages to obtain at least one storage segment;

[0038] The message is encapsulated based on the at least one segment of the storage to obtain a group message;

[0039] Each of the at least one storage units includes at least one of the following: message type, message length, and IP packet.

[0040] In the above scheme, the first sending module is used to send the group message to the second network device using the mobile address of the first network device as the source address of the group message according to a preset group message time interval;

[0041] The preset group message time interval is determined according to the message sending frequency requirements.

[0042] This invention also provides a data transmission device, the device comprising:

[0043] The receiving module is used to receive group messages from the first network device;

[0044] The second processing module is used to split the group of packets to obtain at least two service packets;

[0045] The second sending module is used to send each of the at least two service messages to the corresponding terminal.

[0046] In the above scheme, the second processing module is further configured to perform order-preserving processing based on the received group messages.

[0047] In the above scheme, the second sending module is used to perform a NAT inverse operation on each of the service packets to determine the address information of the destination terminal corresponding to each of the service packets;

[0048] Each service message is sent to the corresponding destination terminal based on the address information of the destination terminal corresponding to each service message.

[0049] This invention also provides a data transmission apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of any one of the data transmission methods described in the first network device described above; or...

[0050] When the processor executes the program, it implements any of the steps of the data transmission method on the second network device side.

[0051] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of any one of the data transmission methods described in the first network device; or,

[0052] When the processor executes the program, it implements any of the steps of the data transmission method on the second network device side.

[0053] This invention provides a data transmission method, apparatus, and storage medium. The method includes: a first network device determining at least two service packets that meet preset conditions; generating a group packet based on the at least two service packets; sending the group packet to a second network device; and splitting the group packet by the second network device and sending it to a corresponding terminal. Correspondingly, the second network device receives the group packet from the first network device; splits the group packet to obtain at least two service packets; and sends each of the at least two service packets to a corresponding terminal. Thus, multiple service packets are reassembled to obtain a group packet, enabling coordinated transmission of service packets, i.e., simultaneous transmission of service packets from multiple services. This solves the need for coordinated transmission of service packets from different sources and destinations while minimizing impact on 5G mobile network architecture and configuration. Attached Figure Description

[0054] Figure 1This is a schematic diagram illustrating a collaborative processing application scenario for business messages provided in an embodiment of the present invention.

[0055] Figure 2 This is a schematic diagram of a data transmission network structure provided in an embodiment of the present invention;

[0056] Figure 3 This is a schematic diagram illustrating a message sequence transmission according to an embodiment of the present invention;

[0057] Figure 4 A flowchart illustrating a data transmission method provided in an embodiment of the present invention;

[0058] Figure 5 A flowchart illustrating another data transmission method provided in an embodiment of the present invention;

[0059] Figure 6 A schematic diagram of a data transmission network provided for an application embodiment of the present invention;

[0060] Figure 7 A schematic diagram illustrating message sequence transmission as an application embodiment of the present invention;

[0061] Figure 8 This is a schematic diagram of a group message encapsulation provided in an embodiment of the present invention;

[0062] Figure 9 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present invention;

[0063] Figure 10 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present invention;

[0064] Figure 11 This is a schematic diagram of a data transmission device provided in an embodiment of the present invention. Detailed Implementation

[0065] The present invention will be further described in detail below with reference to the embodiments, starting with a description of the relevant technologies.

[0066] As mentioned above, the relative order of different service flows originating from different source terminals needs to remain unchanged upon arrival at different destination terminals. The following solutions are provided in related technologies:

[0067] For situations where different service flows (voice, video, control signaling, etc.) originate from the same source terminal and arrive at the same destination terminal, the source terminal and destination terminal can use a unified encoding method for different service data to achieve coordination of different service data, or add design task frames and system frame numbers to achieve coordination of multiple service flows on the same terminal.

[0068] For multi-service packets that need to be coordinated from different source terminals to different destination terminals, there is also a design controller to obtain the transmission status of the data streams that need to be synchronized and generate transmission adjustment information for the network intermediate nodes corresponding to the data streams based on the transmission status. The controller sends the transmission adjustment information to the network intermediate nodes to realize the synchronization of multiple data streams that need to be synchronized on the network side.

[0069] However, the above solutions either rely on the end-side processing system to correlate and synchronize packets from different service flows, or on a network-side super controller capable of dynamically adjusting network parameters for different service flows that need synchronization. Specifically, the following issues arise:

[0070] Question 1: In the current 5G mobile network system, the service flows that need to be coordinated belong to different application devices, making it impossible to complete the coordinated processing of service flows using a unified terminal. For example, in a factory remote demonstration case... Figure 1 As shown:

[0071] At the sending end (factory), two signals are transmitted: 1) collection of robot control information; 2) video collection of robot behavior;

[0072] At the receiving end (demonstration site), the two signals are used for: 1) converting robot control information signals into the behavior of the virtual robot in VR; 2) playing the captured video on the screen.

[0073] The two applications are developed by different manufacturers and run on completely different hardware. Therefore, it is impossible to develop a terminal that can coordinate the two applications to complete the coordination of the two business flows and ensure that the sequence of the two business flows arriving at the destination remains unchanged from the sequence sent out by the source.

[0074] Question 2: During the process of transmitting business data using the 5G mobile network, there are many network devices involved. It is not possible to open the configuration interfaces of all network devices along the mobile network path to collect the transmission status of different business data and adjust the corresponding transmission data.

[0075] To address the aforementioned issues, there is a need for a solution that addresses the multi-service flow coordination requirements from different sources and destinations while minimizing disruption to 5G mobile network architecture and configuration.

[0076] Here, we will further combine Figure 2 Explain the data transmission schemes in the relevant technologies;

[0077] Figure 2 This is a schematic diagram of a data transmission network structure provided in an embodiment of the present invention; as shown below. Figure 2As shown, the data source of the collaborative data service group is connected to the network via the same Customer Premise Equipment (CPE), and the data destination of the collaborative data service group is connected to the network via the same CPE.

[0078] The message sequence sent by terminal (UE) A is processed by SNAT in sequence at the source CPE (denoted as CPE1) and then sent to the source base station (denoted as gNB1) to enter the mobile network; when it finally reaches the terminal CPE (denoted as CPE2), CPE2 performs SNAT reverse processing on the message and then sends it to UEC.

[0079] The message sequence sent by the UEB is processed by SNAT in sequence at the source CPE (i.e., CPE1) and then sent to the source base station (i.e., gNB1) to enter the mobile network; when it finally reaches the end CPE (i.e., CPE2), CPE2 performs SNAT reverse processing on the message and then sends it to the UED.

[0080] Because each message sequence is forwarded on the network according to the "best-effort" principle, the arrival time and order of different messages at the endpoint cannot be guaranteed. Figure 3 As shown.

[0081] Based on this, the method provided in this embodiment of the invention involves a first network device determining at least two service packets that meet preset conditions, generating a group packet based on the at least two service packets, and sending the group packet to a second network device. The group packet is then split by the second network device and sent to the corresponding terminal. Correspondingly, the second network device receives the group packet from the first network device, splits the group packet to obtain at least two service packets, and sends each of the at least two service packets to the corresponding terminal.

[0082] The present invention will be further described in detail below with reference to the embodiments.

[0083] Figure 4 This is a flowchart illustrating a data transmission method provided in an embodiment of the present invention; as shown below. Figure 4 As shown, the method is applied to a first network device; the first network device can be a CPE, denoted as the first CPE, specifically a source-side CPE; the method includes:

[0084] Step 401: Determine at least two service messages that meet preset conditions, and generate a group message based on the at least two service messages;

[0085] Step 402: Send the group message to the second network device; the group message is split by the second network device and sent to the corresponding terminal.

[0086] In some embodiments, determining at least two service messages that satisfy preset conditions includes:

[0087] Determine the address information of each of at least two pending service messages; the address information specifically includes: source address information and destination address information;

[0088] Based on the address information of each of the pending service messages, a preset matching rule is queried to determine at least two service messages that meet the preset conditions;

[0089] The preset matching rules include: at least one set of matching addresses.

[0090] The destination address information refers to the address information of the destination terminal to which the service message is to be sent; the specific address is determined based on the actual sending requirements; the source address information refers to the address information of the terminal that sends the service message.

[0091] Here, the service message to be processed can be a service message of multiple modes (also known as a service flow), such as audio, video, control signaling, action data and other service messages.

[0092] Specifically, the preset matching rules are used to indicate at least two service messages (i.e., service data streams) that can be matched.

[0093] In practical applications, users (such as operations and maintenance personnel) can configure the matching addresses and save them in the matching rules.

[0094] Here, the matching addresses can be: at least two sets of source and destination address relationships; for example, UE1 sending to UE3 and UE2 sending to UE4 are pre-configured as a pair of matching addresses; in application, it can be assumed that service packets sent from UE1 to UE3 and service packets sent from UE2 to UE4 can be packaged into group packets.

[0095] The address matching relationship between UE1 sending to UE3 and UE2 sending to UE4 can be stored in the matching rules according to the number of each UE and the address corresponding to each UE. In practical applications, the matching rules are queried based on the address of the UE that needs to send the service message (i.e., the source address information) and the address of the UE to which it is to be sent (i.e., the destination address information). When a match is found with the matching rules, it is considered that there are at least two service messages that can be packaged into a group message.

[0096] The address information can be Internet Protocol (IP) address, Media Access Control (MAC) address, etc.

[0097] In some embodiments, before generating the group message based on the at least two service messages, the method further includes:

[0098] Perform a Network Address Translation (NAT) operation on each of the at least two service packets to obtain the source address information of each service packet after translation.

[0099] In some embodiments, generating a group message based on the at least two service messages includes:

[0100] The at least two service messages are reassembled to obtain at least one storage segment;

[0101] The message is encapsulated based on the at least one segment of the storage to obtain a group message;

[0102] Wherein, each of the at least one storage units includes at least one of the following: message type, message length, and message.

[0103] Here, the storage body adopts the Type-Length-Value (TLV) format; wherein, the type can store the message type stored in the storage body, the length can store the message length of the message stored in the storage body, and the Internet Protocol (IP) packet can store the corresponding message;

[0104] The message may include: message content and message address information, wherein the address information includes: destination address information of the message and source address information of the converted message.

[0105] In this way, after the second network device receives and splits the packet, it can determine the destination address information corresponding to the corresponding service packet, i.e. the address information of the destination terminal, based on the address information of each storage segment. Thus, the service packet is distributed based on the destination address information to complete the data transmission.

[0106] Here, the group message uses one or more storage units to store the data message. That is, the group message can include at least one storage unit. Each storage unit is used to store one segment of the reassembled data message from at least two service messages. The destination address corresponding to each data message segment is recorded in the IP packet so that the CPE at the destination end can split and distribute the data to the corresponding destination terminal.

[0107] Considering that all service messages that need to be synchronized are packaged in the same group message and transmitted in the mobile / fixed network as a group message, it can be ensured that when the destination CPE receives this group message, the IP protocol stack on the CPE can be effectively utilized to achieve the order preservation and reassembly of the group message, and the relative order of all service messages packaged in the message remains consistent with that when sent from the source after splitting.

[0108] Thus, the sequence of two service messages arriving at the destination remains unchanged from the sequence sent from the source.

[0109] In some embodiments, sending the group message to the second network device includes:

[0110] The mobile address of the first network device is used as the source address of the group message, and the group message is sent to the second network device according to a preset group message time interval;

[0111] The preset group message time interval is determined based on the message transmission frequency requirements. These requirements are set by developers or users based on their needs.

[0112] Figure 5 A flowchart illustrating another data transmission method provided in an embodiment of the present invention; as shown Figure 5 As shown, the method is applied to a second network device; the second network device can be a CPE, denoted as the second CPE, specifically a destination-side CPE; the method includes:

[0113] Step 501: Receive a group message from the first network device;

[0114] Step 502: Split the group of packets to obtain at least two service packets;

[0115] Step 503: Send each of the at least two service messages to the corresponding terminal.

[0116] In some embodiments, before splitting the group of packets, the method further includes:

[0117] Order preservation processing is performed based on at least one group of received messages.

[0118] Here, considering that all service messages that need to be synchronized are packaged in the same group message and transmitted in the mobile / fixed network as a group message, it can be ensured that when the destination CPE receives this group message, the IP protocol stack on the CPE can be effectively utilized to achieve the order preservation and reassembly of the group message, and the relative order of all service messages packaged in the message remains consistent with that when sent from the source after splitting.

[0119] Specifically, during group message transmission, the group message may be too long (exceeding the network's length requirement) and therefore sent in fragments. Different fragments may arrive in different orders due to network reasons, meaning that the fragments may not arrive at the destination in the order they were sent. Therefore, after receiving the fragments, the destination can buffer them and reassemble them into a complete group message, that is, package them together as a reassembled IP packet, and then unpack them according to the reassembled group message. This achieves the order preservation and reassembly of the group message.

[0120] In some embodiments, sending each of the at least two service messages to the corresponding terminal includes:

[0121] Perform a reverse Network Address Translation (NAT) operation on each of the service packets to determine the destination address information corresponding to each service packet, that is, the address information of the destination terminal corresponding to each service packet;

[0122] Each service message is sent to the corresponding destination terminal based on the address information of the destination terminal corresponding to each service message.

[0123] pass Figure 4 and Figure 5 The data transmission method described above, after completing the NAT address translation of the original packets on the source CPE side (i.e., the first network device, or the first CPE), periodically reassembles the multi-flow service packets to be coordinated, and sends the reassembled group packets with the address of the first CPE as the source address. Upon receiving the coordinated group packets on the destination CPE side (i.e., the second network device, or the second CPE), the group packets are split into individual service packets, and the split service packets are sequentially processed by NAT reversal before being distributed. Thus, through the above-described multi-service service packet coordinated transmission method, service flow alignment and synchronization are achieved, ensuring the consistency of multiple service flows, i.e., coordinated service flow transmission is realized.

[0124] The first CPE and the second CPE can specifically be 5G CPE, that is, CPE that supports 5G network. It can receive 5G network signals like a 5G mobile phone and convert them into WiFi signals. It has advantages such as mobility, strong access and good signal. It can be used to build small-scale experimental / display networking and demonstration networking for many industrial Internet applications.

[0125] In a scenario where data is sent from a first CPE to a second CPE, the first CPE can perform the following functions:

[0126] 1. Configurable matching rules for multimodal service messages and automatic allocation of group numbers for group messages;

[0127] 2. The time interval for sending group messages can be preset according to local time and message sending frequency requirements;

[0128] 3. For CPE mobile addresses, perform NAT processing on all service packets sequentially;

[0129] 4. Within the same time interval, group packets are encapsulated for multimodal service messages that require data coordination, and the group packets are sent to the base station using the CPE mobile address as the source address.

[0130] The second CPE can perform the following functions:

[0131] 1. Receive group messages (i.e., the local machine) from the base station and perform order preservation processing;

[0132] 2. Identify group messages and perform service message splitting within the group messages;

[0133] 3. Perform SNAT reverse processing on the split service flows and distribute them to different destination terminals.

[0134] In scenarios where data is returned from the second CPE to the first CPE, the second CPE, acting as the sender, can also perform the functions described above for the first CPE, i.e., execute... Figure 4 The method shown; the first CPE, acting as the receiving end (i.e., the destination end), can also achieve the same function as the second CPE, i.e., execute... Figure 5 The method shown.

[0135] Figure 6 A schematic diagram of a data transmission network provided for an application embodiment of the present invention; as shown. Figure 6 The CPE on the data source side is modified to reassemble all business messages that need to be coordinated (i.e., business messages that meet the preset conditions) according to a specified granularity (e.g., time interval) to obtain coordinated group messages (referred to as group messages); correspondingly, the CPE on the data destination side is modified to split and distribute the received business messages.

[0136] Because all service messages requiring synchronization are packaged in the same group message and transmitted in mobile / fixed networks as group messages, it can be ensured that when the destination CPE receives this group message, the IP protocol stack on the CPE can be effectively utilized to achieve message ordering and reassembly. Furthermore, the relative order of all service messages packaged in the group message remains consistent with the order in which they were sent from the source after splitting. Figure 7 As shown.

[0137] Figure 8 This is a schematic diagram of a group message encapsulation provided in an embodiment of the present invention; as shown. Figure 8As shown, the Media Access Control (MAC), Radio Link Control (RLC), Packet Data Convergence Protocol (PDCP), and Service Discovery Application Profile (SDAP) are defined protocol messages between the CPE and the base station. The CPE reassembles the group messages and encapsulates them according to the collaborative group protocol (CGP) message format.

[0138] Among them, the CGP protocol is the group message co-encapsulation protocol required by the method provided in the embodiments of the present invention; CGP can be regarded as an application layer protocol based on the UDP protocol, and the port number is 38899.

[0139] For group messages in CGP protocol format, the message header includes:

[0140] GroupId: 8 bits, stores the group ID of the group message;

[0141] Length: 8 bits, stores the total length of the group message, including the group ID length of the group message;

[0142] PktNum: 8 bits, stores the number of packets in the group message;

[0143] The message portion uses a TLV format storage device;

[0144] TLV: Collaborative service group messages stored in the format of type, length, and value; specifically, T(8) stores the message type, L(8) stores the message length, and IP Packet stores the specific message content and message address information.

[0145] The total number of TLVs is determined by PktNum (packet value), which is based on the number of storage segments required for the reassembled group messages.

[0146] Figure 9 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present invention; as shown below. Figure 9 As shown, the device includes:

[0147] The first processing module is used to determine at least two service messages that meet preset conditions, and generate a group message based on the at least two service messages;

[0148] The first sending module is used to send the group message to the second network device; the group message is split by the second network device and sent to the corresponding terminal.

[0149] Specifically, the first processing module is used to determine the address information of each of the at least two pending service messages; the address information includes: source address information and destination address information;

[0150] Based on the address information of each of the pending service messages, a preset matching rule is queried to determine at least two service messages that meet the preset conditions;

[0151] The preset matching rules include: at least one set of matching addresses.

[0152] Specifically, the first processing module is further configured to perform Network Address Translation (NAT) operation on each of the at least two service packets to obtain the source address information of each of the service packets after translation.

[0153] Specifically, the first processing module is used to reassemble the at least two service messages to obtain at least one storage segment;

[0154] The message is encapsulated based on the at least one segment of the storage to obtain a group message;

[0155] Each of the at least one storage units includes at least one of the following: message type, message length, and IP packet.

[0156] Specifically, the first sending module is used to send the group message to the second network device using the mobile address of the first network device as the source address of the group message according to a preset group message time interval;

[0157] The preset group message time interval is determined according to the message sending frequency requirements.

[0158] It should be noted that the data transmission device provided in the above embodiments is only illustrated by the division of the above program modules when implementing the corresponding data transmission method. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the first network device can be divided into different program modules to complete all or part of the processing described above. In addition, the device and the corresponding method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0159] Figure 10 This is a schematic diagram of another data transmission device provided in an embodiment of the present invention; as shown below. Figure 10 As shown, the device includes:

[0160] The receiving module is used to receive group messages from the first network device;

[0161] The second processing module is used to split the group of packets to obtain at least two service packets;

[0162] The second sending module is used to send each of the at least two service messages to the corresponding terminal.

[0163] Specifically, the second processing module is further configured to perform order-preserving processing based on the received group messages.

[0164] Specifically, the second sending module is used to perform a NAT inverse operation on each of the service packets to determine the address information of the destination terminal corresponding to each of the service packets;

[0165] Each service message is sent to the corresponding destination terminal based on the address information of the destination terminal corresponding to each service message.

[0166] It should be noted that the data transmission device provided in the above embodiments is only illustrated by the division of the above program modules when implementing the corresponding data transmission method. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the second network device can be divided into different program modules to complete all or part of the processing described above. In addition, the device and the corresponding method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0167] Figure 11 This is a schematic diagram of another data transmission device provided in an embodiment of the present invention, as shown below. Figure 11 As shown, the device 110 includes: a processor 1101 and a memory 1102 for storing computer programs capable of running on the processor;

[0168] When the device is applied to a first communication device, and the processor 1101 is used to run the computer program, it performs the following: determining at least two service messages that meet preset conditions; generating a group message based on the at least two service messages; sending the group message to a second network device; and having the group message split by the second network device and sent to the corresponding terminal. Specifically, the first communication device can perform the following... Figure 4 The method shown is the same as Figure 4 The data transmission method embodiments shown belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0169] When the device is applied to a second communication device, and the processor 1101 is used to run the computer program, it performs the following actions: receiving a group message from a first network device; splitting the group message into at least two service messages; and sending each of the at least two service messages to a corresponding terminal. Specifically, the second communication device can perform the following actions: Figure 5 The method shown is the same as Figure 5 The data transmission method embodiments shown belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0170] In practical applications, the device 110 may further include at least one network interface 1103. The various components in the device 110 are coupled together via a bus system 1104. It is understood that the bus system 1104 is used to implement communication between these components. In addition to a data bus, the bus system 1104 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 11 All buses are labeled as bus system 1104. The number of processors 1101 can be at least one. Network interface 1103 is used for wired or wireless communication between device 110 and other devices.

[0171] The memory 1102 in this embodiment of the invention is used to store various types of data to support the operation of the device 110.

[0172] The methods disclosed in the above embodiments of the present invention can be applied to processor 1101, or implemented by processor 1101. Processor 1101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 1101 or by instructions in the form of software. The processor 1101 may be a general-purpose processor, a digital signal processor (DSP, DiGital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 1101 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of the present invention can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory 1102. Processor 1101 reads the information in memory 1102 and completes the steps of the aforementioned method in conjunction with its hardware.

[0173] In an exemplary embodiment, the device 110 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0174] This invention also provides a computer-readable storage medium having a computer program stored thereon;

[0175] When the computer-readable storage medium is applied to a first communication device, and the computer program is executed by a processor, it performs the following: determining at least two service messages that meet preset conditions; generating a group message based on the at least two service messages; sending the group message to a second network device; and having the group message split by the second network device and sent to the corresponding terminal. Specifically, the computer-readable storage medium can perform the following... Figure 4 The method shown is the same as Figure 4 The data transmission method embodiments shown belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0176] When the computer-readable storage medium is applied to the second communication device, the computer program, when executed by the processor, performs the following: receiving a group message from the first network device; splitting the group message into at least two service messages; and sending each of the at least two service messages to a corresponding terminal. Specifically, the computer-readable storage medium can perform the following... Figure 5 The method shown is the same as Figure 5 The data transmission method embodiments shown belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0177] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

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

[0179] In addition, in the various embodiments of the present invention, each functional unit can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0180] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0181] Alternatively, if the integrated units of this invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.

[0182] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0183] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.

[0184] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A data transmission method, characterized in that, Applied to a first network device, the method includes: The process involves determining the address information of each of at least two pending service messages; the address information includes source address information and destination address information; querying a preset matching rule based on the address information of each pending service message to determine at least two service messages that meet preset conditions; the preset matching rule includes at least one set of matching addresses; the matching addresses are the relationship between at least two sets of source addresses and destination addresses; reassembling the at least two service messages to obtain at least one storage segment; and encapsulating the messages according to the Collaboration Group Protocol (CGP) message format based on the at least one storage segment to obtain a group message; wherein each storage segment includes at least one of the following: message type, message length, and message; the Collaboration Group Protocol is an application layer protocol based on UDP, and the message header of the Collaboration Group Protocol includes the group ID of the group message, the total length of the group message, and the number of packets encapsulated in the group message; the message portion of the Collaboration Group Protocol uses a Type-Length-Value (TLV) format storage segment, where the type stores the message type, the length stores the message length, and the value is the IP address. A packet, specifically an IP packet, stores the message content and address information of the message. The group message is sent to the second network device; the group message is split by the second network device and sent to the corresponding terminal.

2. The method according to claim 1, characterized in that, Before generating the group message based on the at least two service messages, the method further includes: Perform a Network Address Translation (NAT) operation on each of the at least two service packets to obtain the source address information of each service packet after translation.

3. The method according to claim 1, characterized in that, Sending the group of packets to the second network device includes: The mobile address of the first network device is used as the source address of the group message, and the group message is sent to the second network device according to a preset group message time interval; The preset group message time interval is determined according to the message sending frequency requirements.

4. A data transmission method, characterized in that, Applied to a second network device, the method includes: The system receives group packets from a first network device. The group packet is obtained by reassembling at least two service packets to obtain at least one storage segment, and then encapsulating the packets according to the cooperative group protocol message format based on the at least one storage segment. Each storage segment includes at least one of the following: message type, message length, and message. The cooperative group protocol is an application layer protocol based on UDP. The message header of the cooperative group protocol includes the group ID of the group packet, the total length of the group packet, and the number of packets encapsulated in the group packet. The message portion of the cooperative group protocol uses a type-length-value (TLV) format storage segment, where the type stores the message type, the length stores the message length, and the value is an IP Packet. The IP Packet stores the message content and the message address information. The group of messages is split to obtain at least two service messages; Each of the at least two service messages is sent to the corresponding terminal.

5. The method according to claim 4, characterized in that, Before splitting the group of packets, the method further includes: The received group of messages is processed in a sequence-preserving manner.

6. The method according to claim 4, characterized in that, Sending each of the at least two service messages to the corresponding terminal includes: For each of the service packets, perform an inverse NAT (Network Address Translation) operation to determine the address information of the destination terminal corresponding to each service packet; Each service message is sent to the corresponding destination terminal based on the address information of the destination terminal corresponding to each service message.

7. A data transmission device, characterized in that, The device includes: The first processing module is configured to determine the address information of each of at least two pending service messages; the address information includes source address information and destination address information; query a preset matching rule based on the address information of each pending service message to determine at least two service messages that meet preset conditions; the preset matching rule includes at least one set of matching addresses; the matching addresses are the relationship between at least two sets of source addresses and destination addresses; reassemble the at least two service messages to obtain at least one storage segment; encapsulate the at least one storage segment according to the cooperative group protocol message format to obtain a group message; wherein each storage segment in the at least one storage segment includes at least one of the following: message type, message length, message; the cooperative group protocol is an application layer protocol based on the UDP protocol, the message header of the cooperative group protocol includes the group ID of the group message, the total length of the group message, and the number of packets encapsulated in the group message, and the message part of the cooperative group protocol adopts a type-length-value (TLV) format. The formatted storage body stores the message type, the length stores the message length, and the value is an IP Packet. The IP Packet stores the message content and the message address information. The first sending module is used to send the group message to the second network device; the group message is split by the second network device and sent to the corresponding terminal.

8. A data transmission device, characterized in that, The device includes: A receiving module is used to receive group packets from a first network device. The group packet is obtained by recombining at least two service packets to obtain at least one storage segment, and encapsulating the packet according to the cooperative group protocol message format based on the at least one storage segment. Each storage segment includes at least one of the following: message type, message length, and message. The cooperative group protocol is an application layer protocol based on UDP. The message header of the cooperative group protocol includes the group ID of the group packet, the total length of the group packet, and the number of packets encapsulated in the group packet. The message portion of the cooperative group protocol uses a type-length-value TLV format storage segment, where the type stores the message type, the length stores the message length, and the value is an IP packet, which stores the message content and the message address information. The second processing module is used to split the group of packets to obtain at least two service packets; The second sending module is used to send each of the at least two service messages to the corresponding terminal.

9. A data transmission apparatus, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 3; or... When the processor executes the program, it implements the steps of the method according to any one of claims 4 to 6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3; or... When the processor executes the program, it implements the steps of the method according to any one of claims 4 to 6.