Message processing method and device
By integrating multiple transmission paths in terminal equipment for batch transmission and confirmation packets, the problem of low message transmission rate in terminal equipment communication is solved, and efficient data transmission is achieved.
Patent Information
- Application Number
- CN202410983260.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-19
AI Technical Summary
In the prior art, when a terminal device communicates through a path, the byte length of the message is longer, resulting in a low bandwidth utilization rate and affecting the message transmission rate.
On the sending end, by processing the data to be sent, multiple sending messages are obtained, and multiple transmission paths are used for transmission in batches. The receiving end selects the target transmission path based on the path delay and feedback confirms the message to determine that the data transmission is completed. If the number of receiving ends is multiple, the bandwidth utilization rate will be improved through the aggregation device.
Improve the packet transmission rate and bandwidth utilization rate to ensure the efficiency and reliability of data transmission.
Smart Images

Figure CN118984303A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a message processing method and device. Background Art
[0002] With the development of technology and various new applications, terminal devices usually have multiple capabilities of accessing networks, so as to use the transmission control protocol (TCP) to realize communication between terminal devices.
[0003] At present, when terminal devices communicate, communication messages are often sent through one path. When an access path fails, it can be switched to another path to ensure uninterrupted business. However, due to the long byte length of the message, it is transmitted through only one path, and the bandwidth utilization is low, which affects the message sending rate. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a message processing method and device to solve the problem of affecting the message sending rate existing in the prior art.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] The embodiment of the present invention shows a message processing method, which is applied to a sending end, and the method includes:
[0007] Processing the data to be sent to obtain a sent message and the number of messages, wherein the number of messages is multiple;
[0008] If it is determined that the number of receiving terminals receiving the sent message is one, obtaining a transmission path and the number of paths connected to the receiving terminal, where the number of the transmission paths is multiple;
[0009] Sending the sent message to the receiving end through the transmission path based on the number of messages and the number of paths, so that the receiving end feeds back a corresponding confirmation message based on the target transmission path selected based on the path delay;
[0010] If a confirmation message sent by the receiving end is received based on the target transmission path, it is determined based on the confirmation message whether the data to be sent is completely sent.
[0011] Optionally, sending the sent message to the receiving end through the transmission path based on the number of messages and the number of paths includes:
[0012] Determining whether the sending is completed at one time based on the number of messages and the number of paths;
[0013] If not, sending messages equal to the number of paths are sent to the receiving end through the transmission path in the data order of the data to be sent;
[0014] If so, the sending message is sent to the receiving end through the transmission path.
[0015] Optionally, determining whether the data to be sent is completely sent based on the confirmation message includes:
[0016] Verifying the confirmation message to determine whether there is a confirmation message corresponding to the data to be sent;
[0017] If so, determine whether there are any unsent messages;
[0018] If yes, return to the step of sending the sent message to the receiving end through the transmission path based on the number of messages and the number of paths;
[0019] If not, it is determined that the transmission of the data to be sent is completed.
[0020] Optionally, also include:
[0021] If a preset number of retransmission messages are received within a preset time, the corresponding transmission message is resent to the receiving end through the transmission path.
[0022] Optionally, also include:
[0023] If it is determined that there are multiple receiving ends receiving the sent message, obtaining a transmission path and the number of paths connected to the receiving end, where the number of the transmission paths is multiple;
[0024] Sending the send message to the aggregation device through the transmission path based on the number of messages and the number of paths, so that the aggregation device forwards the send message to each receiving end;
[0025] If a confirmation message sent by the convergence device is received based on a certain transmission path, it is determined based on the confirmation message whether the data to be sent is completely sent.
[0026] A second aspect of an embodiment of the present invention shows a message processing method, which is applied to a receiving end. The method includes:
[0027] receiving a transmission message sent by each transmission path;
[0028] For each transmission path, measuring the delay required for receiving the sent message based on the transmission path;
[0029] Selecting a target path according to the delay of the transmission path;
[0030] The source IP address and the destination IP address carried in the sending message are combined to generate a confirmation message, and the confirmation message is sent to the sending end through the target path, so that the sending end can determine whether the data to be sent is sent based on the confirmation message.
[0031] A third aspect of an embodiment of the present invention shows a message processing method, which is applied to a convergence device. The method includes:
[0032] After receiving the transmission message, the convergence device forwards the transmission message to each receiving end, so that the receiving end generates a corresponding confirmation message based on the received transmission message;
[0033] For each transmission path, measuring the delay required for receiving the sent message based on the transmission path;
[0034] Selecting a target path according to the delay of the transmission path;
[0035] Receive confirmation messages fed back by each receiving end;
[0036] Process the confirmation messages sent by each receiving end and collect the obtained confirmation messages;
[0037] The collected confirmation message is sent to the sending end through the target path so that the sending end receives it, and determines whether the data to be sent is sent completely based on the confirmation message.
[0038] A fourth aspect of an embodiment of the present invention shows a message processing device, which is applied to a sending end, and the device includes:
[0039] A first processing unit is used to process the data to be sent to obtain a sent message and a number of messages, wherein the number of messages is multiple;
[0040] an acquisition unit, configured to acquire, if it is determined that the number of receiving terminals receiving the sent message is one, a transmission path and a number of paths connected to the receiving terminal, wherein the number of the transmission paths is multiple;
[0041] A first sending unit, configured to send the sending message to a receiving end through the transmission path based on the number of messages and the number of paths, so that the receiving end feeds back a corresponding confirmation message based on the target transmission path selected based on the path delay;
[0042] The second processing unit is configured to determine whether the to-be-sent data has been sent completely based on the confirmation message if a confirmation message sent by the receiving end is received based on the target transmission path.
[0043] A fifth aspect of an embodiment of the present invention shows a message processing device, which is applied to a receiving end, and the device includes:
[0044] A first receiving unit, used to receive a transmission message sent by each transmission path;
[0045] A first measuring unit, configured to measure, for each transmission path, a delay required for receiving the sent message based on the transmission path;
[0046] A first selection unit, configured to select a target path according to a delay of the transmission path;
[0047] The second sending unit is used to combine the source IP address and the destination IP address carried by the sending message to generate a confirmation message, and send it to the sending end through the target path, so that the sending end can determine whether the data to be sent is sent based on the confirmation message.
[0048] A sixth aspect of an embodiment of the present invention shows a message processing device, which is applied to a convergence device, and the device includes:
[0049] A forwarding unit, configured to forward the transmission message to each receiving end after receiving the transmission message, so that the receiving end generates a corresponding confirmation message based on the received transmission message;
[0050] A second measuring unit, configured to measure, for each transmission path, a delay required for receiving the sent message based on the transmission path;
[0051] A second selection unit, configured to select a target path according to the delay of the transmission path;
[0052] A second receiving unit, used to receive a confirmation message fed back by each receiving end;
[0053] A third processing unit, used to process the confirmation messages sent by each receiving end and collect the obtained confirmation messages;
[0054] The third sending unit is used to send the collected confirmation message to the sending end through the target path so that the sending end can receive it, and determine whether the data to be sent is sent based on the confirmation message.
[0055] Based on the above-mentioned embodiment of the present invention, a message processing method and device are provided, the method includes: the sending end processes the data to be sent to obtain the sending message and the number of messages, the number of messages is multiple; if it is determined that the number of receiving ends receiving the sending message is 1, the transmission path and the number of paths connected to the receiving end are obtained, the number of the transmission paths is multiple; based on the number of messages and the number of paths, the sending message is sent to the receiving end through the transmission path, so that the receiving end can feedback the corresponding confirmation message based on the target transmission path selected by the path delay; if the confirmation message sent by the receiving end is received based on the target transmission path, it is determined based on the confirmation message whether the data to be sent is sent. In the embodiment of the present invention, the data to be sent is processed to determine the multiple sending messages to be sent, and the transmission path is used for multiple transmission to improve the access throughput of the multiple paths; then, the corresponding confirmation message fed back by the target transmission path selected by the receiving end based on the path delay is obtained, so that the sending end can quickly receive the confirmation message of the other end, and the confirmation message is processed to increase the bandwidth utilization, thereby improving the message sending rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0057] Figure 1 A schematic diagram of the connection between a receiving end and a transmitting end shown in an embodiment of the present invention;
[0058] Figure 2 A schematic diagram of the connection between a receiving end, a convergence device and a transmitting end shown in an embodiment of the present invention;
[0059] Figure 3 A schematic diagram showing a flow chart of a message processing method according to an embodiment of the present invention;
[0060] Figure 4 A schematic flow chart of another message processing method according to an embodiment of the present invention;
[0061] Figure 5 An example diagram of message processing performed by a receiving end and a sending end shown in an embodiment of the present invention;
[0062] Figure 6 A schematic flow chart of another message processing method according to an embodiment of the present invention;
[0063] Figure 7An example diagram of message processing performed by a receiving end, a convergence device and a sending end shown in an embodiment of the present invention;
[0064] Figure 8 A schematic diagram showing the structure of a message processing device according to an embodiment of the present invention;
[0065] Fig. 9 A schematic diagram showing the structure of another message processing device according to an embodiment of the present invention;
[0066] Fig.10 The present invention is a schematic diagram showing the structure of another message processing device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0067] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0068] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0069] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0070] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0071] See also Figure 1 , is a schematic diagram of the connection between the receiving end and the transmitting end shown in an embodiment of the present invention.
[0072] The receiving end 20 is connected to the sending end 10 via a plurality of transmission paths in the network.
[0073] It should be noted that the receiving end 20 and the sending end 10 are both terminal devices, which may be a host or the like.
[0074] It should be further explained that the terminal device can be either a sending end or a receiving end.
[0075] It should be noted that a TCP connection is established between the receiving end 20 and the sending end 10 .
[0076] The process of implementing message processing based on the architecture shown above includes:
[0077] The sending end 10 processes the data to be sent to obtain a sending message and the number of messages, which is multiple; obtains a transmission path and the number of paths connected to the receiving end 20, which is multiple; based on the number of messages and the number of paths, the sending message is sent to the receiving end 20 through the transmission path, so that the receiving end 20 can feedback a corresponding confirmation message based on the target transmission path selected by the path delay; if a confirmation message sent by the receiving end is received based on the target transmission path, it is determined based on the confirmation message whether the data to be sent is completed.
[0078] The receiving end 20 receives the sending message sent by each transmission path; for each transmission path, measures the delay required for receiving the sending message based on the transmission path; selects the target path according to the delay of the transmission path; combines the source IP address and the destination IP address carried by the sending message to generate a confirmation message, and sends it to the sending end 10 through the target path, so that the sending end 10 determines whether the data to be sent has been sent based on the confirmation message.
[0079] Based on the architecture shown above, the present application also shows a convergence device 30, which is arranged between the receiving end 20 and the sending end 10. Figure 2 shown.
[0080] When there are multiple receiving ends, the sending end 10 is connected to the aggregation device 30 through multiple transmission paths in the network, and the aggregation device 30 is communicatively connected to the multiple receiving ends 20 .
[0081] It should be noted that a TCP connection is established between the receiving end 20 , the aggregation device 30 and the sending end 10 .
[0082] The aggregation device 30agent may be a gateway or other intermediate device.
[0083] The process of implementing message processing based on the architecture shown above includes:
[0084] The sending end 10 processes the data to be sent, obtains the sending message and the number of messages, and the number of messages is multiple; obtains the transmission path and the number of paths connected to the receiving end 20, and the number of transmission paths is multiple; based on the number of messages and the number of paths, the sending message is sent to the aggregation device 30 through the transmission path, so that the aggregation device forwards the sending message to each receiving end 20; if a confirmation message sent by the aggregation device is received based on the target transmission path, it is determined based on the confirmation message whether the data to be sent has been sent.
[0085] After receiving the transmission message, the convergence device 30 forwards the transmission message to each receiving end 20. The convergence device 30 measures the delay required for receiving the transmission message based on each transmission path, and selects the target path according to the delay of the transmission path.
[0086] Optionally, after receiving the sent message, the receiving end 20 combines the source IP address and the destination IP address carried in the sent message to generate a confirmation message, and sends it to the aggregation device 30 .
[0087] The aggregation device 30 receives the confirmation message fed back by each receiving end 20, processes the confirmation message sent by each receiving end, and aggregates the obtained confirmation message. The aggregated confirmation message is sent to the sending end 10 through the target path so that the sending end 10 receives it and determines whether the data to be sent is sent based on the confirmation message.
[0088] Optionally, the transmission distance between the aggregation device 30 and the receiving end 20 is short, so a direct communication connection can be established. The aggregation device 30 can also be connected to the receiving end 20 via a transmission path connected to the sending end 10 .
[0089] In an embodiment of the present invention, the data to be sent is processed to obtain multiple sending messages, and the transmission paths are used for multiple transmissions. The number of receiving ends is used to determine whether a new device needs to be introduced. When the number of receiving ends is one, the sending end is directly connected to the receiving end. At this time, the sending message is sent to the receiving end through the transmission path according to the number of messages and the number of paths, so as to obtain a confirmation message corresponding to the target transmission path selected by the receiving end based on the path delay, so that the sending end can quickly receive the confirmation message of the opposite end; when the number of receiving ends is multiple, the sending end is connected to the receiving end through a convergence device. At this time, the sending message is sent to the aggregation device through the transmission path according to the number of messages and the number of paths, so that the aggregation device forwards the sending message to each receiving end, and the aggregation device processes the received confirmation message and aggregates the obtained confirmation message; the aggregated confirmation message is sent to the sending end through the target path, so that the sending end can quickly receive the confirmation message from the other end; since the delay of the target transmission path is the shortest, the sending end can quickly receive the confirmation message from the other end, and use the confirmation message to process the remaining messages at the same time, so as to increase the bandwidth utilization, thereby improving the message sending rate.
[0090] See also Figure 3 , is a flow chart of a message processing method shown in an embodiment of the present invention, which is applied to a sending end, and the method includes:
[0091] Step S301: Process the data to be sent to obtain the sent message and the number of messages.
[0092] Wherein, the number of sent messages is multiple;
[0093] Optionally, when the sending end wants to send certain data to the receiving end, the data is used as data to be sent.
[0094] In the specific implementation of step S301, the data to be sent is divided according to the preset message length to obtain multiple data with the preset message length, that is, the same length. For each data, a sending message corresponding to each data is constructed.
[0095] It should be noted that the sent message is a TCP message.
[0096] Due to network bandwidth limitations, the length of a message that can be sent each time is fixed. For example, the message length usually cannot be greater than 1518 bytes.
[0097] If the length of the last message sent is less than the preset message length, it can be padded with blank characters, or no padding is required.
[0098] Optionally, the sent messages are stored in the order of data to be sent.
[0099] It should be noted that each sent message carries the IP address of the receiving end, that is, the destination IP address; the IP address of the sending end, that is, the source IP address, etc.
[0100] Step S302: Determine that the number of receiving ends receiving the sent message is 1. If so, execute step S303. If not, the number of receiving ends is multiple, and execute step S308.
[0101] It should be noted that the receiving end of the message may select a corresponding recipient based on the recipient ID carried in the sent message, or based on the user triggering the operation.
[0102] If it is determined that there is one receiving end receiving the sent message, the sending end is directly connected to the receiving end; if it is determined that there are multiple receiving ends receiving the sent message, the sending end is connected to multiple receiving ends through a convergence device.
[0103] Step S303: Acquire the transmission path and the number of paths connected to the receiving end.
[0104] In step S303, the number of the transmission paths is multiple.
[0105] In the specific implementation of step S303, all transmission paths connecting the receiving end and the transmitting end are determined, and the status of each transmission path in the network is obtained, a transmission path in a normal state is determined, and the number of paths corresponding to the transmission path is recorded;
[0106] It should be noted that if the status of a transmission path is already in use, it means that the status of the transmission path is not normal.
[0107] Step S304: sending the transmission message to the receiving end through the transmission path based on the number of messages and the number of paths, so that the receiving end feeds back a corresponding confirmation message based on the target transmission path selected by the receiving end based on the path delay.
[0108] It should be noted that the specific implementation of step S304 includes the following steps:
[0109] Step S11: Determine whether the transmission is completed at one time based on the number of messages and the number of paths. If not, execute step S12. If yes, directly send the transmission message to the receiving end through the transmission path according to the data order of the data to be sent.
[0110] In the specific implementation of step S11, it is determined whether the number of currently sent messages is greater than the number of paths of the transmission path. If so, step S12 is executed. If less than or equal to, the sent messages are directly sent to the receiving end through the transmission path.
[0111] Step S12: sending messages having the same number of paths as the number of paths to the receiving end through the transmission path in the data order of the data to be sent.
[0112] In the specific implementation of step S12, transmission messages with the same number of paths are obtained from all current transmission messages according to the data order of the data to be transmitted; then for each transmission message, the transmission message is sent to the receiving end through a transmission path.
[0113] It should be noted that a transmission path can only send one transmission message at a time.
[0114] Step S305: Determine whether a confirmation message sent by the receiving end is received based on the target transmission path. If received, execute step S306; if not, continue to execute step S305.
[0115] Optionally, after receiving the transmission messages sent by all transmission paths, the receiving end selects the transmission path with the least delay to send the confirmation message according to the delay of sending the message, so that the bandwidth used by each transmission path is consistent.
[0116] In the specific implementation of step S305, the message detection system set at the receiving port of the sending end detects each transmission path. If a confirmation message is detected, step S306 is executed. If not, step S305 is continued.
[0117] It should be noted that the confirmation message is an ACK message in the TCP protocol.
[0118] A normal ACK message carries the source IP address and destination IP address of the forwarded message.
[0119] Step S306: Determine whether the data to be sent is sent based on the confirmation message. If so, execute step S307. If not, return to execute step S304 using the remaining sending messages.
[0120] It should be noted that the specific implementation of step S306 includes the following steps:
[0121] Step S21: verify the confirmation message to determine whether there is a confirmation message corresponding to the data to be sent. If so, execute step S22; if not, execute step S23.
[0122] In the process of implementing step S21, determine whether the source IP address carried in the confirmation message is the same as its own IP address. If they are the same, then determine whether the target IP address carried in the confirmation message is the same as the IP address of the receiving end stored in itself. If they are the same, determine that the verification is successful, and the confirmation message is the confirmation message corresponding to the data to be sent, and execute step S22. If any one is different, the verification fails, indicating that it is not the confirmation message corresponding to the data to be sent.
[0123] Step S22: Determine whether there are any unsent messages, if so, return to step S304, if not, go to step S307.
[0124] In the process of implementing step S22, the number of messages corresponding to the data to be sent is found. If the number of messages is 0, it means that the data to be sent has been sent, and step S307 is executed. If the number of messages is not 0, it means that the sending message corresponding to the data to be sent has not been sent, and return to execute step S304.
[0125] In an embodiment of the present invention, for the unsent sending message, the sending message can still be sent to the receiving end through multiple transmission paths at the same time, that is, step S304 is executed, and each time the sending end sends the sending message, it is sent simultaneously through multiple transmission paths; thereby, the bandwidth rate of each path can be efficiently utilized.
[0126] Step S307: Determine that the message transmission is completed.
[0127] Step S308: Acquire the transmission path and the number of paths connected to the receiving end.
[0128] Wherein, the number of the transmission paths is multiple;
[0129] It should be noted that the specific implementation process of step S308 is the same as the specific implementation process of step S303, and they can refer to each other.
[0130] Step S309: sending the sent message to the aggregation device through the transmission path based on the number of messages and the number of paths, so that the aggregation device forwards the sent message to each receiving end;
[0131] It should be noted that the specific implementation process of step S308 is the same as the specific implementation process of step S304 described above, and they can refer to each other.
[0132] Optionally, after the aggregation device receives the sending message, the aggregation device forwards the sending message to each receiving end. At the same time, for each transmission path, the delay required for receiving the sending message based on the transmission path is measured, and the sending message constitutes the data to be sent; the target path is selected according to the delay of the transmission path; after receiving each confirmation message received and sent, it is verified and packaged to generate a confirmation message; and it is sent to the sending end through the target path.
[0133] Step S310: Determine whether a confirmation message sent by the aggregation device is received based on a certain transmission path. If received, execute step S311; if not, continue to execute step S310.
[0134] It should be noted that the confirmation message at this time carries the source IP address of the aggregation device that forwards the message, the destination IP address of each receiving device and the source IP address of the sender.
[0135] Step S311: Determine whether the data to be sent has been sent based on the confirmation message. If so, execute step S312. If not, return to execute step S309 using the remaining sending messages.
[0136] It should be noted that the specific implementation process of step S311 is the same as the specific implementation process of step S306, and they can refer to each other.
[0137] Step S312: Determine that the message transmission is completed.
[0138] Optionally, also include:
[0139] If the sending end receives a preset number of retransmission messages within a preset time, it resends the corresponding transmission message to the receiving end through the transmission path.
[0140] Specifically, if the receiving end does not receive the sent message at the first time within the preset time, it will generate a retransmission message DUP ACK and send it to the sending end through the target path or any path; if the receiving end has not received the sent message at the second time within the preset time, it will send the retransmission message DUP ACK to the sending end again, and so on until the sent message is received; if the sending end receives a preset number of retransmission messages within the preset time, it will resend the corresponding sent message, that is, the lost sent message, to the receiving end through the transmission path, thereby quickly retransmitting.
[0141] It should be noted that the preset time and the preset number of times are all set by the technicians based on their experience, and the preset number of times can generally be set to 3 times.
[0142] In an embodiment of the present invention, when the number of receiving ends is one, the sending message is sent to the receiving end through the transmission path according to the number of messages and the number of paths, so as to obtain a confirmation message corresponding to the target transmission path feedback selected by the receiving end based on the path delay, so that the sending end can quickly receive the confirmation message from the other end; when the number of receiving ends is multiple, the sending end is connected to the receiving end through a convergence device, and the sending message is sent to the convergence device through the transmission path according to the number of messages and the number of paths, so that the convergence device forwards the sending message to each receiving end, and the convergence device processes the received confirmation message and aggregates the obtained confirmation messages; the aggregated confirmation messages are sent to the sending end through the target path, so that the sending end can quickly receive the confirmation message from the other end; so that for the subsequent unsent sending messages, the sending end can send them to the other end through multiple transmission paths at the same time, so as to increase bandwidth utilization, thereby improving the message sending rate.
[0143] See also Figure 4 , is a flow chart of a message processing method shown in an embodiment of the present invention, which is applied to a receiving end, and the method includes:
[0144] Step S401: receiving a transmission message sent by each transmission path.
[0145] In the specific implementation of step S401, during the data transmission process, the sending end triggers a receiving operation of receiving the sent message based on the transmission path under the TCP connection to receive the sent message.
[0146] The applicant found that for message sending on multiple paths, the receiving end needs to feedback a confirmation message corresponding to the message sent on the path through each path; when the sending end receives the confirmation message based on the path feedback, it then sends the corresponding message characteristics. Due to the different delays of the paths, the time to receive the confirmation message will also be different. Some paths may send multiple messages, while some paths may only send one message, that is, the messages are sent unevenly, resulting in low bandwidth utilization of the path.
[0147] In an embodiment of the present invention, after receiving the sending message sent by each transmission path, the receiving end quickly selects the target transmission path by detecting the delay of each path, and sends a confirmation message through the target transmission path, so that the sending end can quickly receive the confirmation message from the other end, so that the sending end can still send the sending message to the receiving end through multiple transmission paths at the same time for the unsent sending message, so as to increase the bandwidth utilization and thus improve the message sending rate.
[0148] Step S402: for each transmission path, measuring the time delay required for receiving the sent message based on the transmission path.
[0149] It should be noted that the specific implementation of step S401 includes the following steps:
[0150] Step S31: for each transmission path, measuring a first time for receiving a first character of a transmitted message based on the transmission path, and a second time for receiving a last character of the transmitted message.
[0151] It should be noted that, for each transmission path, during the data transmission process, the first time of receiving the first character of the sent message and the second time of receiving the last character of the sent message are measured using its own clock.
[0152] It should be noted that latency refers to the time required for a message or packet to be transmitted from one end of a network to another end. The latency shown in this application mainly considers the transmission delay during data transmission.
[0153] Step S32: Calculate the difference between the first time and the second time;
[0154] Step S33: taking the difference between the first time and the second time as the delay of the transmission path.
[0155] In the specific implementation of step S32 and step S33, for each transmission path, the difference between the second time and the first time is used as the delay of the transmission path, so as to obtain the delay of each transmission path.
[0156] It should be noted that the receiving time includes a first time when the first character of the sent message is received, and a second time when the last character of the sent message is received.
[0157] Optionally, it is detected whether a transmission message sent by a different transmission path is received. If it is detected, step S402 is executed; if not, the detection is continued.
[0158] Optionally, also include:
[0159] Before receiving the transmission messages sent by different transmission paths, there is a handshake process between the receiving end and the sending end so that the receiving end and the sending end can determine the number of transmission paths.
[0160] After receiving the transmission messages sent by different transmission paths, first determine whether the number of the received transmission paths is the same as the number of the transmission paths determined in the handshake process. If they are the same, execute step S402. If they are not the same, continue to wait.
[0161] Step S403: selecting a target path according to the delay of the transmission path;
[0162] It should be noted that the specific process of implementing step S403 includes the following steps:
[0163] Step S41: sorting the transmission paths based on the time delays of the transmission paths to obtain transmission paths sorted from small to large.
[0164] In the specific step S41, the transmission paths are sorted in ascending order according to the time delays of the transmission paths to obtain transmission paths sorted in ascending order.
[0165] Step S42: taking the transmission path ranked first as the target path.
[0166] In the specific implementation of step S42, the address pair on the minimum delay path, that is, the transmission path with the minimum delay, is used as the target path.
[0167] Step S404: The source IP address and the destination IP address carried in the sent message are combined to generate a confirmation message, and the confirmation message is sent to the sender through the target path.
[0168] Optionally, after receiving the sending message, the receiving end performs splicing according to the identifier in the sending message. If the sending messages of all the data to be sent are received, the entire data to be sent can be spliced.
[0169] In order to better understand the specific implementation process of the above steps S301 to S307, and steps S401 to S404, an example is given below for illustration. Figure 5 shown.
[0170] There are two transmission paths Path1 (address pair is IPA1 and IPB1) and Path2 (address pair is IPA2 and IPB2) between host HostA and host HostB, and TCP connections are established between IPA1 and IPB1, and between IPA2 and IPB2.
[0171] Assume that HostB is the server and HostA is the client. HostB divides the data to be sent Q into transmission message a, transmission message b, transmission message c, transmission message d, and the number of messages is 4. According to the data order of the data to be sent, the transmission messages with the same number of paths are determined, namely, transmission message a and transmission message b; transmission message a is sent to HostA through transmission path Path1, and transmission message b is sent to HostA through transmission path Path2.
[0172] HostA receives and sends packets a and b through transmission paths Path1 and Path2, and measures the latency of transmission path Path1 and the latency of transmission path Path2.
[0173] Assume that the delay of Path 1 is 10 ms and the delay of Path 2 is 1 ms.
[0174] TCP data traffic is sent from HostB to HostA. HostB records the sent but unconfirmed TCP packets, namely, sent packets a and sent packets b.
[0175] HostA selects Path2 with the shortest delay as the target path, and sends an ACK in the TCP protocol based on the target path to confirm the sending of packets a and b.
[0176] In the embodiment of the present invention, since the confirmation ACK message in the TCP protocol selects a path with better latency, HostB can quickly receive the confirmation ACK message in the TCP protocol of HostA, so that it can slide the TCP sending window earlier and continue to send the sending message c and the sending message d, thereby improving the sending rate.
[0177] That is to say, HostB receives a confirmation message sent by HostA based on the target transmission path Path1, determines based on the confirmation message that there are still send messages c and send messages d to be sent that have not been sent, and determines the send messages c and send messages d that are the same as the number of paths according to the data order of the data to be sent; sends the send message c to HostA through the transmission path Path1, and sends the send message d to HostA through the transmission path Path2.
[0178] HostA receives the sent messages c and d through the transmission paths Path1 and Path2, selects the path Path1 with the smallest delay as the target path, and sends the confirmation ACK in the TCP protocol based on the target path to confirm the sent messages c and d.
[0179] Similarly, this description process also applies to the opposite flow direction, that is, HostA sends the data stream and HostB confirms it.
[0180] This can be illustrated by another example.
[0181] Assume that HostB has 10 messages, 1, 2, 3...10, to send to HostA. There are two transmission paths between HostA and HostB, path1 and path2. HostB first sends message 1 through path1 and sends message 2 through path2.
[0182] Assume that the delay of Path 1 is 10 ms and the delay of Path 2 is 1 ms.
[0183] After HostA receives Message 1 and Message 2, it sends the corresponding ACK message to HostB through path 2 with the shortest delay to confirm Message 1 and Message 2. After HostB receives the ACK message confirming Message 1 and Message 2, it continues to send Message 3 and Message 4, and so on, until it has sent 10 messages. Otherwise, it waits for a while. If it does not receive ACK from HostA, it will resend Message 1 and Message 2.
[0184] Since the delay of path2 is small, HostB can receive the ACK sent by HostA earlier, which means that the waiting time is relatively short, and messages 3 and 4 can be sent earlier. In this way, all 10 messages can be sent in a relatively short time, thereby improving bandwidth utilization.
[0185] Optionally, if HostA sends ACK to HostB from Path1, HostB receives the ACK later due to the large line delay, so it needs to wait longer before sending subsequent messages, thus affecting bandwidth utilization.
[0186] In an embodiment of the present invention, after receiving the sending message sent by each transmission path, the receiving end quickly selects the target transmission path by detecting the delay of each path, and sends a confirmation message through the target transmission path, so that the sending end can quickly receive the confirmation message from the other end, so that the sending end can still send the sending message to the receiving end through multiple transmission paths at the same time for the unsent sending message, so as to increase the bandwidth utilization and thus improve the message sending rate.
[0187] A message processing method shown in an embodiment of the present invention is applied to a receiving end, and the method further includes:
[0188] Step S51: receiving a transmission message sent by a convergence device;
[0189] Step S52: The source IP address and the destination IP address carried in the sent message are combined to generate a confirmation message, and the confirmation message is sent to the aggregation device through the target path so that the aggregation device forwards it to the sender.
[0190] In the process of implementing step S51 and step S52, the sending message sent by the aggregation device through the transmission path is received, and one or more sending messages are received, and the source IP address and destination IP address carried in the sending message are combined to generate a confirmation message, and then sent to the aggregation device through the target path.
[0191] See also Figure 6 , is a flow chart of a message processing method shown in an embodiment of the present invention, which is applied to a collection device, and the method includes:
[0192] Step S601: After receiving the transmission message, the convergence device forwards the transmission message to each receiving end, so that the receiving end generates a corresponding confirmation message based on the received transmission message.
[0193] In the process of implementing step S601, the aggregation device receives the sending message sent by each transmission path, records the target IP address and source address carried by each sending message, and forwards the sending message to the corresponding receiving end based on the target IP address carried by the sending message for each sending message, so that the receiving end generates a corresponding confirmation message based on the received sending message.
[0194] Step S602: for each transmission path, measuring the time delay required for receiving and sending messages based on the transmission path.
[0195] Step S603: selecting a target path according to the delay of the transmission path;
[0196] It should be noted that the specific implementation process of step S602 to step S603 is the same as the specific implementation process of step S401 to step S402, and they can refer to each other.
[0197] Step S604: receiving a confirmation message fed back by each receiving end.
[0198] Optionally, after receiving the sent message, the receiving end combines the source IP address and the destination IP address carried in the sent message to generate a confirmation message, and sends it to the aggregation device through the target path, so that the aggregation device receives each confirmation message.
[0199] Step S605: Process the confirmation messages sent by each receiving end and collect the obtained confirmation messages.
[0200] It should be noted that the specific process of implementing step S605 includes the following steps:
[0201] Step S61: Determine whether the number of the confirmation messages is correct. If it is correct, execute step S42. If it is incorrect, continue waiting, that is, return to execute step S604.
[0202] In the process of implementing step S61, compare the number of received confirmation messages with the number of destination IP addresses recorded by itself to see if they are consistent. If they are consistent, it means that the number of confirmation messages is correct, then execute step S62. If they are inconsistent, it means that the number of confirmation messages is incorrect, then continue to wait, that is, return to execute step S604.
[0203] Step S62: for each confirmation message, determine whether the confirmation message is complete. If it is complete, execute step S63; if it is incomplete, feedback prompt information to the corresponding receiving end so that the receiving end can resend it.
[0204] In the process of implementing step S62, for each confirmation message, determine whether its own IP address and the IP address of the sender are contained in the confirmation message. If both exist, it means that the confirmation message is complete, and execute step S63. If either one does not exist, it means that the confirmation message is incomplete, and feedback prompt information is sent to the corresponding receiving end so that the receiving end can resend it.
[0205] Step S63: Gather all confirmation messages to obtain a new confirmation message.
[0206] In the specific process of implementing step S63, only one identical data in all confirmation messages is retained, and the rest are deleted. Different data are directly stored to obtain a new confirmation message.
[0207] Step S606: Send the collected confirmation message to the sending end through the target path so that the sending end can receive it and determine whether the data to be sent has been sent based on the confirmation message.
[0208] It should be noted that the specific implementation process of step S606 is the same as the specific implementation process and the specific implementation process of step S403, and they can refer to each other.
[0209] In order to better understand the specific implementation process of the above steps S308 to S212, and steps S601 to S606, an example is given below for illustration. Figure 7 shown.
[0210] Hosts Host1 and Host2 establish TCP connections with HostB respectively. Agent acts as the aggregation device of Host1 and Host2. There are two paths Path1 (address pair IPA1 and IPB1) and Path2 (address pair IPA2 and IPB2) between it and HostB.
[0211] Assume that HostB is the server, Host1 and Host2 are the clients, HostB divides the data to be sent Q into send message a, send message b, send message c, send message d, and the number of messages 4. According to the data order of the data to be sent, the send messages with the same number of paths, i.e., send message a and send message b, are sent to the aggregation device agent through the transmission path Path1, and the send message b is sent through the transmission path Path2.
[0212] Since the communication distance between the agent and Host1 and Host2 is relatively close, when the agent receives the message a, it records the destination IP address and source IP address carried by the message a, and forwards it to the receiving ends Host1 and Host2 corresponding to the destination IP address. Similarly, when the agent receives the message b, it records the destination IP address and source IP address carried by the message a, and forwards it to the receiving ends Host1 and Host2 corresponding to the destination IP address.
[0213] After Host1 and Host2 receive the sent message a and sent message b, they respectively confirm the message using the confirmation ACK in the TCP protocol, that is, send confirmation messages to the agent.
[0214] Optionally, Host1 or Host2 receives the sending message a and the sending message b sent by HostB through the agent, and selects the path with the smallest delay to send the confirmation ACK in the TCP protocol to confirm the message. That is to say, Host1 and Host2 are connected to the agent using Path1 and Path2 respectively. Assuming that the delay of Path2 is 1ms and the delay of Path1 is 10ms, the delay of Path2 is smaller, so Path2 is selected to send the confirmation ACK in the TCP protocol.
[0215] After the agent receives confirmation message 1 from Host 1 and confirmation message 2 from Host 2, according to the above measurement results, the delay of Path 2 is 1 ms, the delay of Path 1 is 10 ms, and the delay of Path 2 is smaller. Path 2 with the smallest delay is selected as the target path.
[0216] The agent processes the confirmation message 1 and the confirmation message 2 to obtain a new confirmation message 3, wherein the confirmation message 3 is the union of the confirmation message 1 and the confirmation message 2.
[0217] The Agent sends confirmation message 3 to Host B so that Host B can continue to send messages c and d.
[0218] Optionally, the agent records all TCP connections, and for the ACK in the repeated confirmation TCP protocol, selects the path with the smallest delay to forward.
[0219] In the present invention, since ACK selects a path with a better delay, HostB can quickly receive the confirmation ACK message in the TCP protocol of Host1 or Host2, so that it can slide the TCP sending window earlier and continue to send messages, thereby improving the sending rate.
[0220] In the embodiment of the present invention, since there are a large number of receiving ends and the data to be sent is the same, if each receiving end feeds back a confirmation message through the corresponding transmission path, it will cause congestion at the sending end. Therefore, the aggregation device integrates the confirmation messages corresponding to each receiving end to obtain a new message to reduce the path occupied by each receiving end directly sending the confirmation message; the aggregation device processes the received confirmation messages and aggregates the obtained confirmation messages; the aggregated confirmation messages are sent to the sending end through the target path, so that the sending end can quickly receive the confirmation message from the other end; so that for the subsequent unsent sending messages, the sending messages can still be forwarded to the receiving end through the aggregation device through multiple transmission paths at the same time, so as to increase bandwidth utilization and thus improve the message sending rate.
[0221] Based on the method shown in the above embodiment of the present invention, the corresponding embodiment of the present invention also discloses a message processing device, which is applied to the sending end, such as Figure 8 As shown, the device comprises:
[0222] The first processing unit 801 is used to process the data to be sent to obtain a sent message and a number of messages, where the number of messages is multiple;
[0223] An acquiring unit 802 is configured to acquire a transmission path and a number of paths connected to the receiving end if it is determined that the number of receiving ends receiving the sent message is one, where the number of the transmission paths is multiple;
[0224] A first sending unit 803 is configured to send the sending message to the receiving end through the transmission path based on the number of messages and the number of paths, so that the receiving end feeds back a corresponding confirmation message based on the target transmission path selected based on the path delay;
[0225] The second processing unit 804 is configured to determine whether the to-be-sent data has been sent completely based on the confirmation message if a confirmation message sent by the receiving end is received based on the target transmission path.
[0226] The specific principles and execution processes of each unit in the message processing device disclosed in the above embodiment of the present invention are the same as the corresponding contents in the message processing method provided in the above embodiment of the present invention. Please refer to the corresponding parts of the message processing method disclosed in the above embodiment of the present invention, and will not be repeated here.
[0227] In an embodiment of the present invention, data to be sent is processed to obtain multiple sending messages, and the data is transmitted in batches using a transmission path to improve the access throughput of multiple paths. Then, a confirmation message corresponding to the target transmission path feedback selected by the receiving end based on the path delay is obtained, so that the sending end can quickly receive the confirmation message from the other end, and the confirmation message is processed to increase bandwidth utilization, thereby improving the message sending rate.
[0228] Optionally, based on the message processing device disclosed in the above embodiment of the present invention, the first sending unit 803 sends the sent message to the receiving end through the transmission path based on the number of messages and the number of paths, specifically configured to:
[0229] Determining whether the sending is completed at one time based on the number of messages and the number of paths;
[0230] If not, sending messages equal to the number of paths are sent to the receiving end through the transmission path in the data order of the data to be sent;
[0231] If so, the sending message is sent to the receiving end through the transmission path.
[0232] Optionally, based on the message processing device disclosed in the above embodiment of the present invention, the processing unit 804 that determines whether the data to be sent is sent based on the confirmation message is specifically configured to:
[0233] Verifying the confirmation message to determine whether there is a confirmation message corresponding to the data to be sent;
[0234] If so, determine whether there are any unsent messages;
[0235] If so, return to the step of sending the sent message to the receiving end through the transmission path based on the number of messages and the number of paths.
[0236] If not, it is determined that the message transmission is completed.
[0237] Optionally, based on the message processing device disclosed in the above embodiment of the present invention, the processing unit 804 is further configured to:
[0238] If a preset number of retransmission messages are received within a preset time, the corresponding transmission message is resent to the receiving end through the transmission path.
[0239] Optionally, the message processing device disclosed in the above embodiment of the present invention is further used to: if it is determined that there are multiple receiving ends receiving the sent message, obtain a transmission path and the number of paths connected to the receiving end, and the number of the transmission paths is multiple;
[0240] Sending the send message to the aggregation device through the transmission path based on the number of messages and the number of paths, so that the aggregation device forwards the send message to each receiving end;
[0241] If a confirmation message sent by the convergence device is received based on a certain transmission path, it is determined based on the confirmation message whether the data to be sent is completely sent.
[0242] Based on the method shown in the above embodiment of the present invention, the corresponding embodiment of the present invention also discloses a message processing device, which is applied to the receiving end, such as Fig. 9 As shown, the device comprises:
[0243] A first receiving unit 901 is used to receive a transmission message sent by each transmission path;
[0244] A first measuring unit 902 is configured to measure, for each transmission path, a delay required for receiving and sending a message based on the transmission path;
[0245] A first selection unit 903, configured to select a target path according to the delay of the transmission path;
[0246] The second sending unit 904 is used to generate a confirmation message by combining the source IP address and the destination IP address carried in the sending message, and send it to the sending end through the target path, so that the sending end determines whether the data to be sent is sent based on the confirmation message.
[0247] The specific principles and execution processes of each unit in the message processing device disclosed in the above embodiment of the present invention are the same as the corresponding contents in the message processing method provided in the above embodiment of the present invention. Please refer to the corresponding parts of the message processing method disclosed in the above embodiment of the present invention, and will not be repeated here.
[0248] In an embodiment of the present invention, after receiving the sending message sent by each transmission path, the receiving end quickly selects the target transmission path by detecting the delay of each path, and sends a confirmation message through the target transmission path, so that the sending end can quickly receive the confirmation message from the other end, so that the sending end can still send the sending message to the receiving end through multiple transmission paths at the same time for the unsent sending message, so as to increase the bandwidth utilization and thus improve the message sending rate.
[0249] Based on the method shown in the above embodiment of the present invention, the corresponding embodiment of the present invention also discloses a message processing device, which is applied to a convergence device, such as Fig.10 As shown, the device comprises:
[0250] The forwarding unit 1001 is used for forwarding the transmission message to each receiving end after receiving the transmission message, so that the receiving end generates a corresponding confirmation message based on the received transmission message;
[0251] The second measuring unit 1002 is used to measure, for each transmission path, a delay required for receiving and sending a message based on the transmission path;
[0252] A second selection unit 1003, configured to select a target path according to the delay of the transmission path;
[0253] The second receiving unit 1004 is used to receive the confirmation message fed back by each receiving end;
[0254] The third processing unit 1005 is used to process the confirmation messages sent by each receiving end and collect the obtained confirmation messages;
[0255] The third sending unit 1006 is used to send the collected confirmation message to the sending end through the target path so that the sending end can receive it, and determine whether the data to be sent is sent based on the confirmation message.
[0256] The specific principles and execution processes of each unit in the message processing device disclosed in the above embodiment of the present invention are the same as the corresponding contents in the message processing method provided in the above embodiment of the present invention. Please refer to the corresponding parts of the message processing method disclosed in the above embodiment of the present invention, and will not be repeated here.
[0257] In the embodiment of the present invention, since there are a large number of receiving ends and the data to be sent are the same, if each receiving end feeds back a confirmation message through the corresponding transmission path, it will cause congestion at the sending end. Therefore, the aggregation device integrates the confirmation messages corresponding to each receiving end to obtain a new message to reduce the path occupied by each receiving end directly sending the confirmation message; the aggregation device processes the received confirmation messages and aggregates the obtained confirmation messages; the aggregated confirmation messages are sent to the sending end through the target path, so that the sending end can quickly receive the confirmation message from the other end; so that for the subsequent unsent sending messages, the sending messages can still be forwarded to the receiving end through the aggregation device through multiple transmission paths at the same time, so as to increase bandwidth utilization and thus improve the message sending rate.
[0258] An embodiment of the present application provides an electronic device, which includes a processor and a memory, the memory is used for program codes and data for message processing, and the processor is used to call program instructions in the memory to execute the steps shown in the message processing method in the above embodiment.
[0259] An embodiment of the present application provides a storage medium, which includes a storage program, wherein when the program is running, the device where the storage medium is located is controlled to execute the message processing method shown in the above embodiment.
[0260] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0261] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0262] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A message processing method, characterized in that: Applied to the sending end, the method includes: Processing the data to be sent to obtain a sent message and the number of messages, wherein the number of messages is multiple; If it is determined that the number of receiving terminals receiving the sent message is one, obtaining a transmission path and the number of paths connected to the receiving terminal, where the number of the transmission paths is multiple; Sending the sent message to the receiving end through the transmission path based on the number of messages and the number of paths, so that the receiving end feeds back a corresponding confirmation message based on the target transmission path selected based on the path delay; If a confirmation message sent by the receiving end is received based on the target transmission path, it is determined based on the confirmation message whether the data to be sent is completely sent.
2. The method according to claim 1, characterized in that The method of sending the sent message to the receiving end through the transmission path based on the number of messages and the number of paths includes: Determining whether the sending is completed at one time based on the number of messages and the number of paths; If not, sending messages equal to the number of paths are sent to the receiving end through the transmission path in the data order of the data to be sent; If so, the sending message is sent to the receiving end through the transmission path.
3. The method according to claim 1, characterized in that Determining whether the data to be sent is sent based on the confirmation message includes: Verifying the confirmation message to determine whether there is a confirmation message corresponding to the data to be sent; If so, determine whether there are any unsent messages; If yes, return to the step of sending the sent message to the receiving end through the transmission path based on the number of messages and the number of paths; If not, it is determined that the transmission of the data to be sent is completed.
4. The method according to claim 1, characterized in that Also includes: If a preset number of retransmission messages are received within a preset time, the corresponding transmission message is resent to the receiving end through the transmission path.
5. The method according to claim 1, characterized in that Also includes: If it is determined that there are multiple receiving ends receiving the sent message, obtaining a transmission path and the number of paths connected to the receiving end, where the number of the transmission paths is multiple; Sending the send message to the aggregation device through the transmission path based on the number of messages and the number of paths, so that the aggregation device forwards the send message to each receiving end; If a confirmation message sent by the convergence device is received based on a certain transmission path, it is determined based on the confirmation message whether the data to be sent is completely sent.
6. A message processing method, characterized in that: Applied to the receiving end, the method comprises: receiving a transmission message sent by each transmission path; For each transmission path, measuring the delay required for receiving the sent message based on the transmission path; Selecting a target path according to the delay of the transmission path; The source IP address and the destination IP address carried in the sending message are combined to generate a confirmation message, and the confirmation message is sent to the sending end through the target path, so that the sending end can determine whether the data to be sent is sent based on the confirmation message.
7. A message processing method, characterized in that: Applied to a convergence device, the method comprises: After receiving the transmission message, the convergence device forwards the transmission message to each receiving end, so that the receiving end generates a corresponding confirmation message based on the received transmission message; For each transmission path, measuring the delay required for receiving the sent message based on the transmission path; Selecting a target path according to the delay of the transmission path; Receive confirmation messages fed back by each receiving end; Process the confirmation messages sent by each receiving end and collect the obtained confirmation messages; The collected confirmation message is sent to the sending end through the target path so that the sending end receives it, and determines whether the data to be sent is sent completely based on the confirmation message.
8. A message processing device, characterized in that: Applied to a transmitting end, the device comprises: A first processing unit is used to process the data to be sent to obtain a sent message and a number of messages, wherein the number of messages is multiple; an acquisition unit, configured to acquire, if it is determined that the number of receiving terminals receiving the sent message is one, a transmission path and a number of paths connected to the receiving terminal, wherein the number of the transmission paths is multiple; A first sending unit, configured to send the sending message to a receiving end through the transmission path based on the number of messages and the number of paths, so that the receiving end feeds back a corresponding confirmation message based on the target transmission path selected based on the path delay; The second processing unit is configured to determine whether the data to be sent is completely sent based on the confirmation message if a confirmation message sent by the receiving end is received based on the target transmission path.
9. A message processing device, characterized in that: Applied to a receiving end, the device comprises: A first receiving unit, used to receive a transmission message sent by each transmission path; A first measuring unit, configured to measure, for each transmission path, a delay required for receiving the sent message based on the transmission path; A first selection unit, configured to select a target path according to a delay of the transmission path; The second sending unit is used to combine the source IP address and the destination IP address carried by the sending message to generate a confirmation message, and send it to the sending end through the target path, so that the sending end can determine whether the data to be sent is sent based on the confirmation message.
10. A message processing device, characterized in that: Applied to a convergence device, the device comprises: A forwarding unit, configured to forward the transmission message to each receiving end after receiving the transmission message, so that the receiving end generates a corresponding confirmation message based on the received transmission message; A second measuring unit, configured to measure, for each transmission path, a delay required for receiving the sent message based on the transmission path; A second selection unit, configured to select a target path according to the delay of the transmission path; A second receiving unit, used to receive a confirmation message fed back by each receiving end; A third processing unit, used to process the confirmation messages sent by each receiving end and collect the obtained confirmation messages; The third sending unit is used to send the collected confirmation message to the sending end through the target path so that the sending end can receive it, and determine whether the data to be sent is sent based on the confirmation message.
