Message processing method, device, system, equipment, medium and program product

By using message processing methods in the cloud network and using timestamps to determine the transmission quality level of the transmission link, the problem of unstable cross-regional resource transmission delays is solved, and the service quality optimization of different traffic flows and transmission link optimization are realized. Full coverage detection improves user experience and transmission efficiency.

CN118784532APending Publication Date: 2024-10-15BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411187366.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

When transmitting resources across regions, the transmission delays of different network links are different and the delay is prone to increase suddenly due to link jitter. It is difficult to meet the different service needs of different traffic flows, especially when the transmission of traffic with high real-time requirements cannot be effectively optimized. extension.

Method used

By designing a message processing method in the cloud network, the timestamp of the detection message is used to determine the transmission quality level of the transmission link, achieving full coverage detection and optimization of multiple transmission links, and selecting the optimal transmission link to Improve user experience.

Benefits of technology

Without transforming the physical network, it can meet the service requirements of different traffic flows, improve the service quality of cross-regional traffic, ensure low latency and stability of transmission delay, simplify the process of determining the transmission quality level, and reduce resource occupation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784532A_ABST
    Figure CN118784532A_ABST
Patent Text Reader

Abstract

The invention provides a message processing method, device, system and equipment, a medium and a program product, and relates to the field of communication, in particular to the technical field of cloud service, cloud computing and the like. The specific implementation scheme of the message processing method comprises the following steps: in response to a detection message obtained by a first node, changing an outer-layer source port number of the detection message into an inner-layer source port number of the detection message to obtain a first message; the outer layer destination IP address of the first message is the IP address of the second node; adding a first timestamp in the first message to obtain a second message; the first timestamp indicates the first node to acquire time information of the detection message; and sending the second message to a time delay analyzer, so that the time delay analyzer determines a transmission quality level of a transmission link from the first node to a second node based on the timestamp, the first node being located in the first region, and the second node being located in the second region.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communications, specifically to technical fields such as cloud services and cloud computing, and in particular to a message processing method, device, system, equipment, medium and program product. Background Art

[0002] With the development of communication technology and cloud networks, there is an increasing demand for establishing resources across regions. The transmission of cross-regional resources often requires resources to cross multiple regions and traverse different network links for transmission. However, the transmission delay of different network links is different, and there may be a sudden increase in delay due to link jitter. In order to ensure low transmission delay, a best-effort transmission method is often used to transmit resources without distinction. Summary of the invention

[0003] The present disclosure aims to provide a message processing method, apparatus, system, device, medium and program product that can meet various resource transmission requirements.

[0004] According to the first aspect of the present disclosure, a message processing method is provided, including: in response to a first node acquiring a detection message, changing the outer source port number of the detection message to the inner source port number of the detection message to obtain a first message; the outer destination IP address of the first message is the IP address of the second node; adding a first timestamp to the first message to obtain a second message; the first timestamp indicates the time information when the first node acquires the detection message; and sending the second message to a delay analyzer, so that the delay analyzer determines the transmission quality level of the transmission link from the first node to the second node based on the timestamp, wherein the first node is located in a first region and the second node is located in a second region.

[0005] According to a second aspect of the present disclosure, a message processing method is provided, including: in response to a delay analyzer receiving a first message, determining a second message in the received messages corresponding to the first message; in response to the received message including the second message, determining a relative transmission delay of a transmission link from a first node to a second node based on a timestamp in the first message and a timestamp in the second message; the first node is a node that sends the second message and is located in a first region; the second node is a node that sends the first message and is located in a second region; and based on the relative transmission delay, determining a transmission quality level of the transmission link from the first node to the second node.

[0006] According to a third aspect of the present disclosure, a message processing device is provided, including: a first changing module, used for changing the outer source port number of the detection message to the inner source port number of the detection message in response to the first node obtaining the detection message, so as to obtain a first message; the outer destination IP address of the first message is the IP address of the second node; a first adding module, used for adding a first timestamp to the first message, so as to obtain a second message; the first timestamp indicates the time information when the first node obtains the detection message; and a first sending module, used for sending the second message to a delay analyzer, so that the delay analyzer determines the transmission quality level of the transmission link from the first node to the second node based on the timestamp, wherein the first node is located in a first region and the second node is located in a second region.

[0007] According to a fourth aspect of the present disclosure, a message processing device is provided, including: a message determination module, in response to a delay analyzer receiving a first message, determining a second message in the received message corresponding to the first message; a delay determination module, in response to the received message including the second message, determining the relative transmission delay of the transmission link from the first node to the second node based on the timestamp in the first message and the timestamp in the second message; the first node is a node that sends the second message and is located in the first region; the second node is a node that sends the first message and is located in the second region; and a level determination module, in response to the received message including the second message, determining the transmission quality level of the transmission link from the first node to the second node based on the relative transmission delay.

[0008] According to a fifth aspect of the present disclosure, a message processing system is provided, comprising: a processing node, configured to: in response to obtaining a detection message, change the outer source port number of the detection message to the inner source port number of the detection message to obtain a first message; the outer destination IP address of the first message is the IP address of the second node; add a first timestamp to the first message to obtain a second message; the first timestamp indicates the time information when the first node obtains the detection message; and send the second message to a delay analyzer so that the delay analyzer determines the time from the first node to the second node based on the timestamp. A transmission quality level of a transmission link, wherein a first node is located in a first region and a second node is located in a second region; and a delay analyzer, configured to: determine a second message in the received messages corresponding to the first message in response to the delay analyzer receiving a third message sent by the second node; determine a relative transmission delay of the transmission link from the first node to the second node based on a timestamp in the third message and a timestamp in the second message in response to the received messages including the second message; and determine the transmission quality level of the transmission link from the first node to the second node based on the relative transmission delay.

[0009] According to the sixth aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the message processing method provided by the present disclosure.

[0010] According to a seventh aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the message processing method provided by the present disclosure.

[0011] According to an eighth aspect of the present disclosure, a computer program product is provided, comprising a computer program / instruction, wherein the computer program / instruction is stored on at least one of a readable storage medium and an electronic device, and wherein the computer program / instruction implements the message processing method provided by the present disclosure when executed by a processor.

[0012] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0014] Figure 1 It is a schematic diagram of an application scenario of the message processing method, device and system according to an embodiment of the present disclosure;

[0015] Figure 2 is a flow chart of a message processing method executed by a first node according to an embodiment of the present disclosure;

[0016] Figure 3 is a schematic diagram of a message structure sent to a delay analyzer according to an embodiment of the present disclosure;

[0017] Figure 4 is a schematic diagram of an implementation principle of a message processing method executed by a first node according to an embodiment of the present disclosure;

[0018] Figure 5 is a flow chart of a message processing method performed by a delay analyzer according to an embodiment of the present disclosure;

[0019] Figure 6 is a schematic diagram of an implementation principle of a message processing method according to an embodiment of the present disclosure;

[0020] Figure 7 is a structural block diagram of a message processing device according to a first embodiment of the present disclosure;

[0021] Figure 8 is a structural block diagram of a message processing device according to a second embodiment of the present disclosure; and

[0022] Fig. 9 It is a block diagram of an electronic device used to implement the message processing method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0024] As cloud networks become more and more prosperous, users are increasingly demanding cross-regional resource establishment. This places higher and higher demands on cross-regional resource interoperability. The transmission of cross-regional resources often requires resources to cross multiple regions and traverse different network links for transmission. However, the transmission delays of different network links are different, and there may be a sudden increase in delay due to link jitter. In order to ensure low transmission delay, a best-effort transmission method is often adopted for resources without distinction. However, there are users (such as users in the financial, gaming, and securities industries) who want to have different network service demands for different traffic. For example, best-effort transmission is performed for traffic with high real-time requirements, while a larger delay can be tolerated for traffic with lower real-time requirements.

[0025] The present disclosure aims to design a cross-domain traffic scheduling method (i.e., message processing method) for the current cloud network model without modifying the physical network, so as to meet the different service requirements of users for different traffic and improve the service quality of cross-regional traffic on the cloud. Figure 1 The application scenarios of the methods, devices and systems provided by the present disclosure are described.

[0026] Figure 1 It is a schematic diagram of an application scenario of the message processing method, device and system according to an embodiment of the present disclosure.

[0027] like Figure 1 As shown, the application scenario 100 of this embodiment may include a network device set up in a first area 110 and a network device set up in a second area 120 .

[0028] For example, the network devices set in the first region 110 include at least a server 111 and a gateway device 112. The network devices set in the second region 120 include at least a server 121 and a gateway device 122. The number of gateway devices set in the first region 110 and the second region 120 may be one or more, which is not limited in the present disclosure.

[0029] The server 111 and the server 121 may be physical servers, cloud servers, servers of distributed systems, servers combined with blockchain, etc., which are not limited in the present disclosure. The cloud server is also called a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short).

[0030] The gateway device 112 and the gateway device 122 may be routers, specifically, may be transit routers (TR), etc., which is not limited in the present disclosure.

[0031] The first region 110 and the second region 120 may be adjacent regions or non-adjacent regions. If a user in the first region 110 needs to transmit network resources to the second region 120, the network resources may be encapsulated as a message in the form of data at the server 111, and the message is sent via the gateway device 112, and transmitted via the communication link between the gateway device 112 and the gateway device 122 in the wide area network, and finally received by the gateway device 122, and forwarded by the gateway device 122 to the server 121. In this way, cross-domain transmission of network data can be achieved.

[0032] In one embodiment, when the first region 110 and the second region 120 are non-adjacent regions, there are multiple communication links between the gateway device 112 and the gateway device 122. In the embodiment of the present disclosure, a delay analyzer 130 that is communicatively connected to both the electronic device in the first region and the electronic device in the second region can be provided. Through the delay analyzer, the relative delays between multiple communication links can be analyzed. Based on the relative delays, multiple communication links can be classified to provide users with selectable communication link categories, so that users can select appropriate and cost-effective communication links based on the type of network data to be transmitted, etc., thereby improving user experience.

[0033] The delay analyzer can be integrated into electronic equipment in a metropolitan area network deployed by an operator in multiple regions, or can be integrated into electronic equipment in a backbone network deployed by an operator. The backbone network is a core network used to connect the metropolitan area network.

[0034] It can be understood that the message processing method provided in the embodiment of the present disclosure for processing a message to send a message to the delay analyzer can be performed by any electronic device in the first region 110 or the second region 120, and the corresponding message processing device can be set in any electronic device in the first region 110 or the second region 120. The message processing method for determining the delay according to the timestamp and determining the transmission quality level of the transmission link provided in the embodiment of the present disclosure can be performed by the delay analyzer 130, and the corresponding message processing device can be set in the delay analyzer 130.

[0035] It should be understood that Figure 1 The number and type of electronic devices deployed in the first region 110 and the second region 120 are merely illustrative. Any number and type of electronic devices may be deployed in the first region 110 and the second region 120 as required.

[0036] The following will be combined Figure 2~Figure 6 The message processing method provided by the embodiment of the present disclosure is described in detail, wherein the first node may be any electronic device in the aforementioned first region or second region, and the processed message includes a message that needs to be forwarded across regions.

[0037] Figure 2 It is a flowchart of a message processing method executed by a first node according to an embodiment of the present disclosure.

[0038] like Figure 2 As shown, the message processing method 200 of this embodiment may include operations S210 to S230.

[0039] In operation S210, in response to the first node acquiring the detection message, the outer source port number of the detection message is changed to the inner source port number of the detection message to obtain a first message.

[0040] According to an embodiment of the present disclosure, the detection message may be a message generated by a detection server, and the message is a message transmitted under an overlay network (Overlay, also known as an overlay network or an overlay network). Among them, Overlay refers to a network of a virtualization technology model superimposed on a network architecture, which can realize the carrying of applications on the network without making large-scale modifications to the basic network in the general framework, and can be separated from other network services. A tunnel is established between interconnected Overlay devices. When a data packet is ready to be transmitted, it is set to add a new IP header and a tunnel header to the data packet, and the inner IP header is shielded, and the data packet is forwarded according to the new IP header. When the data packet is passed to another device, the external IP header and tunnel header will be discarded to obtain the original data packet. Among them, the detection server can be any electronic device deployed with a detection program, for example, it can be a virtual machine deployed with a detection program, etc., and the present disclosure does not limit this.

[0041] According to an embodiment of the present disclosure, the first node may be a virtual server included in any metropolitan area network among multiple metropolitan area networks deployed by an operator, or a gateway device included in any metropolitan area network, and the gateway device may be, for example, a forwarding router, etc. For example, the first node may be a virtual machine with a detection program deployed, or a gateway device in the region where the virtual machine with the detection program deployed is located, and the present disclosure does not limit this. Accordingly, the detection message obtained by the first node may be a detection message generated by the first node, or a detection message sent by an electronic device that is connected to the first node and is deployed with a detection program.

[0042] According to an embodiment of the present disclosure, a message transmitted under an Overlay network includes an outer header and an inner header, wherein the outer header is a five-tuple structure (source IP address, destination IP address, UDP protocol, UDP source port number, and UDP destination port number), and the message is forwarded based on the outer five-tuple. Among them, the inner header is an Ethernet data header. Taking a message of the Virtual Extensible Local Area Network (VXLAN) standard as an example, the source IP address in the outer header is the IP address of the previous hop node of the current node receiving the detection message, the destination IP address in the outer header is the IP address of the current node receiving the detection message, and the UDP destination port number in the outer header is a fixed value of 4789. The information that can be changed in the outer header is only used as the source port number. This embodiment can transparently transmit the source port number in the inner header (i.e., the inner source port number) to the UDP source port number (i.e., the outer source port number) of the outer message through operation S210. It is understandable that when the detection message is a message of other standards, the modifiable information in the outer header can be selected for modification. Specifically, the modifiable information can be used as target information, and the target information of the outer header can be changed to the target information of the inner header.

[0043] It should be noted that, in the case where the detection message is sent to the first node by other nodes that are in communication connection with the first node, in addition to changing the outer source port number, the first node may also change the source IP address of the outer header of the detection message to the IP address of the first node, and change the destination IP address of the outer header of the detection message to the IP address of the next hop node of the first node (for example, the second node), thereby obtaining the first message. In the case where the detection message is generated by the first node, only the outer source port number of the detection message may be changed.

[0044] It can be understood that, in the related art, the outer source port number is obtained by calculating the hash value of the original Ethernet data header (ie, the inner header).

[0045] In operation S220, a first timestamp is added to the first message to obtain a second message.

[0046] The first timestamp indicates the time information when the first node obtains the detection message. For example, when the first node is a node that generates the detection message (such as the aforementioned server 111 or server 121), the first timestamp may indicate the time when the detection message is generated. When the first node is a gateway device, the first timestamp may indicate the time when the first node receives the detection message.

[0047] In this embodiment, the first timestamp may be added to the inner message header or the outer message header of the first message, thereby obtaining the second message.

[0048] In one embodiment, the first message is a message that needs to be forwarded to the next hop node (i.e., the second node) of the first node. Then, after obtaining the first message through operation S210, this embodiment can forward the first message to the second node. Before forwarding the first message to the second node, this embodiment can also mirror the first message, which can be understood as copying the first message to obtain two identical first messages. One of the first messages is forwarded to the second node, and a timestamp is added to the other first message to obtain the second message. Among them, the first message is forwarded to the second node according to the information of the outer header.

[0049] In operation S230, the second message is sent to the delay analyzer.

[0050] After the delay analyzer receives the second message, the time information of when the first node receives the detection message can be obtained by parsing the second message. Based on the time information and the time information of when the next hop node of the first node (i.e., the second node) receives the message forwarded by the first node, the relative transmission delay of the transmission link from the first node to the second node can be determined, and the transmission quality level can be divided based on the relative transmission delay.

[0051] The disclosed embodiment achieves the effect of changing the inner source port number by changing the outer source port number of the detection message to the inner source port number through the technical solution, and can obtain multiple detection messages that can be transmitted via multiple transmission links from the first node to the second node respectively. In this way, according to actual needs, the purpose of detecting the transmission delay of each transmission link in the multiple transmission links can be achieved, thereby obtaining the transmission quality level of each transmission link in the multiple transmission links from the first node to the second node, which is conducive to achieving full coverage of transmission link detection. The disclosed embodiment adds a timestamp to the first message, and the delay analyzer performs delay analysis based on the timestamp, rather than performing delay analysis based on the time difference between packet sending and packet return, so that the optimal transmission link can be determined more accurately. This is because when performing delay analysis based on the time difference between packet sending and packet return, the optimal solution for the transmission link may not be obtained because the delay of the two transmission links is taken into account.

[0052] Figure 3 It is a schematic diagram of the message structure sent to the delay analyzer according to an embodiment of the present disclosure.

[0053] like Figure 3 As shown, taking the detection message as a VXLAN standard message as an example, in an embodiment 300, the message structure of the detection message 310 may include an outer header, an inner header and data DATA.

[0054] The data DATA is the data that needs to be transmitted provided by the detection program. The outer header is a five-tuple structure, including the source IP address (SIP), the destination IP address (DIP), the UDP source port number (Sport), the UDP destination source port number (Dport), and the transport protocol VXLAN. The inner header includes the source IP address (SIP), the destination IP address (DIP), the UDP source port number (Sport), and the UDP destination source port number (Dport). The inner header and the data DATA constitute the original data frame, which can be the data frame generated by the detection program.

[0055] Taking the example that the original data frame needs to be sent from the server deployed in the first region to the server deployed in the second region, the source IP address in the inner header is the server deployed in the first region, and the destination IP address in the inner header is the server deployed in the second region. The UDP source port number in the inner header can be determined by the detection program according to actual needs, and the UDP destination port number in the inner header can be the port number of the monitored (or detected) port in the second region.

[0056] After the first detection message 310 is obtained, the UDP source port number in the outer header can be changed to the UDP source port number in the inner header determined by the detection program according to actual needs to obtain the first message. Then the first message is mirrored to obtain a mirrored message. Then the embodiment 300 can add a field consisting of a first timestamp and an IP address of the first node in the inner header to obtain a second message 320. By adding the IP address of the first node, it is convenient for the delay analyzer to bind the determined delay to the node corresponding to the transmission link and determine the transmission quality level of each transmission link.

[0057] In one embodiment, the data DATA included in the detection message 310 may include identification information uniquely corresponding to the data to be transmitted. In this way, the delay analyzer can determine the time information when different nodes receive the data to be output based on the identification information, thereby calculating the transmission delay.

[0058] Figure 4 It is a schematic diagram of the implementation principle of the message processing method executed by the first node according to the embodiment of the present disclosure.

[0059] like Figure 4As shown, in embodiment 400, the detection program deployed in the server 411 of the first region 410 (it can also be a detection program deployed in a virtual machine with the server 411 as the host) can generate an original data frame as detection data, and the original data frame needs to be sent from the server 411 to the server 421 of the second region 420. Subsequently, the server 411 can add VXLAN header data, that is, the outer header, to the original data frame to obtain a detection message. In the inner header of the detection message (that is, the header of the original data frame): the source IP address is the IP address of the server 411, the destination IP address is the IP address of the server 421, the source port number is any value in the value range of the source port number, and the destination port number is the port number of the monitored port. In the outer header: the source IP address is the IP address of the server 411, the destination IP address is the IP address of the gateway device 412; the UDP source port number can be the hash value of the inner header, and the UDP destination port number is 4789.

[0060] According to an embodiment of the present disclosure, the detection program can generate batches of detection data, and by adding VXLAN header data, batches of detection messages can be obtained. The port number set composed of the inner source port numbers of all messages in the batch of detection messages can cover all values ​​in the value range of the source port number. For example, considering that the source port number usually occupies 2 bytes, 1 byte occupies 8 bits, and the source port number 0 is an invalid port number, the value range of the source port number is [1, 65535]. The detection program can take values ​​from the value range in turn and generate detection data based on the values ​​taken.

[0061] After obtaining the detection message, the detection message can be forwarded to the gateway device 412 based on the outer header. After receiving the detection message, the gateway device 412 can first change the outer source port number of the detection message to the inner source port number of the detection message, and change the source IP address in the outer header of the detection message to the IP address of the gateway device 412, and change the destination IP address to the IP address of the gateway device 422 in the second region 420, thereby obtaining the first message. Since the inner source port number of all detection messages received by the gateway device in the first region can cover the value range [1, 65535], by transparently transmitting the inner source port number to the outer source port number, and forwarding the message based on the outer source port number, the path of the transmission link of all first messages sent by the gateway device in the first region can cover all possible paths, so that the transmission quality level determined by the delay analyzer can be more accurate and complete. It is understandable that when the first region 410 includes multiple gateway devices, the server 411 can select one gateway device from the multiple gateway devices as a receiving device for the currently generated detection data according to actual needs.

[0062] After obtaining the first message, the gateway device 412 can forward the first message to the gateway device 422 in the second region 420 via the cross-domain network based on the outer header of the first message. Before forwarding the first message, the gateway device 412 can also mirror the first message to obtain a mirror message. After obtaining the mirror message, the first message can be forwarded. At the same time, the first timestamp and the IP address of the gateway device 412 can also be added to the mirror message to obtain a second message. Subsequently, the second message is sent to the delay analyzer 430.

[0063] It is understandable that other network nodes may be connected between the gateway device 412 and the server 411. In this case, the source IP address of the outer header in the detection message received by the gateway device 412 is the IP address of the previous hop node of the gateway device 412 in other network nodes, and the operation performed by the gateway device 412 on the detection message is similar to the aforementioned embodiment.

[0064] After the gateway device 422 in the second region 420 receives the first message sent across domains, the outer IP address of the first message may be changed to obtain a third message. Specifically, the source IP address of the outer header in the first message may be changed to the IP address of the gateway device 422, and the destination IP address of the outer header in the first message may be changed to the IP address of the next hop node of the gateway device 422. The next hop node may be other network nodes connected between the gateway device 422 and the server 421. If there are no other network nodes between the gateway device 422 and the server 421, the next hop node is the server 421.

[0065] After obtaining the third message, the gateway device 422 can mirror the third message to obtain a mirrored message. After obtaining the mirrored message, the gateway device 422 can forward the third message to the next hop node (the embodiment takes the server 421 as an example). At the same time, the gateway device 422 can add a second timestamp to the third message to obtain a fourth message. The fourth message is then sent to the delay analyzer 430. Among them, the second timestamp indicates the time information when the gateway device 422 receives the first message. In this way, the delay analyzer can determine the relative transmission delay of the first message sent from the gateway device 412 to the gateway device 422 based on the first timestamp in the second message and the second timestamp in the fourth message, and thus determine the transmission quality level of the transmission link that transmits the first message.

[0066] It can be understood that, since the transmission quality level is determined based on the relative relationship of the transmission delays of multiple transmission links, when determining the transmission delay, the delay analyzer 430 does not need to consider whether the clock sources of the gateway devices 412 and 422 located in different regions are consistent, and even if the determined transmission delay value is a negative value, the transmission quality level of the transmission link can be determined. Compared with the related art, the implementation process of determining the transmission quality level can be simplified and the conditions for determining the delay can be reduced.

[0067] In one embodiment, the fourth message may also be added with the IP address of the gateway device 422. The detection data included in the detection message may include unique identification information to uniquely correspond to the detection data. The delay analyzer 430 may determine whether the detection data in the second message and the detection data in the fourth message are the same detection data based on the identification information, thereby accurately locating the time information when the detection data is received by the gateway device 412 and the time information when the detection data is received by the gateway device 422, thereby accurately determining the transmission delay of the transmission link from the gateway device 412 to the gateway device 422.

[0068] It is understandable that the detection data can also be generated by a detection program deployed in the server 421 (or a detection program deployed in a virtual machine with the server 421 as a host), and based on a similar principle, the transmission delay and transmission quality level of the transmission link from the gateway device 422 to the gateway device 412 are determined. In this way, it is helpful to determine the optimal transmission link for the message in each propagation direction, and it is helpful for users to select a transmission link that meets their needs according to actual needs.

[0069] It is understandable that, in one embodiment, after obtaining the detection message, the server 411 can also obtain the second message sent to the delay analyzer by adding the first timestamp in the detection message. Correspondingly, after receiving the third message, the server 421 can add the second timestamp in the third message to obtain the fourth message sent to the delay analyzer. In this way, the delay analyzer 430 can determine the transmission delay of the transmission link from the server 411 to the server 421. Compared with the technical solution of this embodiment, the technical solution of sending a message including a timestamp from the gateway device to the delay analyzer can improve the accuracy of the determined transmission delay and improve the accuracy and rationality of the transmission quality level of the set transmission link. This is because in the technical solution of sending a message including a timestamp from the gateway device to the delay analyzer, the message transmission does not pass through the kernel, thereby reducing the influence of factors such as resource preemption on the final determined delay.

[0070] It is understandable that the gateway device 412 may be the last hop node for sending a message in the network structure included in the first region, and the gateway device 422 may be the first hop node for receiving a message in the network structure included in the second region.

[0071] Figure 5 It is a flowchart of a message processing method executed by a delay analyzer according to an embodiment of the present disclosure.

[0072] like Figure 5 As shown, the message processing method 500 of this embodiment may include operations S510 to S530. The method 500 may be executed by the delay analyzer mentioned in the aforementioned application scenario, for example.

[0073] In operation S510, in response to receiving a first message, a second message corresponding to the first message in the received messages is determined.

[0074] According to an embodiment of the present disclosure, the first message and the received message can be parsed to determine the identification information in the data DATA included in each message. The message whose identification information determined in the received message is the same as the identification information in the first message is used as the second message.

[0075] In operation S520, in response to the received messages including the second message, a relative transmission delay of a transmission link from the first node to the second node is determined based on a timestamp in the first message and a timestamp in the second message.

[0076] The first node is a node that sends a second message to the delay analyzer and is located in the first region, and the second node is a node that sends a first message to the delay analyzer and is located in the second region.

[0077] In one embodiment, the first node may include a gateway device in the first region, and the second node may include a gateway device in the second region. For example, the first node may be the aforementioned gateway device 412, and the second node may be the aforementioned gateway device 422.

[0078] In this embodiment, the time indicated by the timestamp in the first message may be directly subtracted from the time indicated by the timestamp in the second message, thereby obtaining the relative transmission delay.

[0079] In operation S530, a transmission quality level of a transmission link from the first node to the second node is determined based on the relative transmission delay.

[0080] It can be understood that for all detection messages, the delay analyzer can obtain the corresponding first message and second message, so that the delay analyzer can analyze and obtain the relative transmission delay of multiple transmission links from the first node to the second node. This embodiment can analyze the relative transmission delay obtained for all detection data during the detection process, and divide multiple relative transmission delay value intervals according to the analysis results. Each value interval corresponds to a transmission quality level. The larger the value of the value interval, the lower the transmission quality level. In this way, the transmission quality level of each transmission link in the multiple transmission links can be obtained.

[0081] It can be understood that the above principle of determining the transmission quality level of the transmission link based on the relative transmission delay is only used as an example to facilitate understanding of the present disclosure, and the present disclosure does not limit this.

[0082] In one embodiment, after obtaining multiple relative transmission delays, the delay analyzer may perform denoising according to the distribution of the multiple relative transmission delays, for example, to remove the delay with greater noise, and then classify the transmission quality level of the corresponding transmission link according to the denoised relative transmission delays. For example, remote delays in the multiple relative transmission delays may be removed according to the normal distribution fitted by the multiple relative transmission delays, thereby achieving denoising.

[0083] Figure 6 It is a schematic diagram of the implementation principle of the message processing method according to an embodiment of the present disclosure.

[0084] like Figure 6 As shown, in an embodiment 600, after determining the transmission quality level of each transmission link, the delay analyzer 630 can also correspond the transmission link to the outer source port number, so that when forwarding service data, the transmission link with different transmission quality levels can be selected by selecting the outer source port number. For example, each transmission quality level can correspond to a group of source port numbers, and the delay analyzer 630 can, for example, directly send the mapping relationship between the transmission link, the transmission quality level and the source port number group as quality level information to the network nodes in each region. The following is an example of sending the quality level information to the gateway devices in each region.

[0085] For example, the delay analyzer 630 may directly send the determined quality level information to the gateway device 612 in the first region 610 and the gateway device 622 in the second region 620. Alternatively, the delay analyzer 630 may also send the quality level information to the controller 640, which is sent to the gateway device by the controller 640. The controller 640 may be an electronic device deployed in the backbone network of the operator, for example, a network controller (such as SDN, Software Defined Network), and the number of the controller 640 may be one or more, which is not limited in the present disclosure.

[0086] Accordingly, when a user needs to transmit business data to a server 621 in a second region 620 via a network device in the first region 610, the electronic device used by the user can first encapsulate the business data into an Ethernet data packet, and send the Ethernet data packet to the server 611 deployed in the first region. After receiving the Ethernet data packet including the business data, the server 611 can first encapsulate an outer header in the received Ethernet data packet, such as encapsulating a VXLAN header, to obtain a business message. Among them, the principle of encapsulating a VXLAN header in an Ethernet data packet including business data is similar to the aforementioned principle of encapsulating a VXLAN header in an Ethernet data packet including detection data, and will not be repeated here.

[0087] The service message may be sent to the gateway device 612 via the metropolitan area network of the first region. After receiving the service message, the gateway device 612 may determine the service type of the service corresponding to the service message based on a predetermined filtering rule. The predetermined filtering rule may be, for example, an access control list (ACL) rule. The predetermined filtering rule may be set according to user requirements. The ACL is composed of a series of rules, which is equivalent to a matching tool that can match and distinguish messages. For example, a user may select a transmission link with different transmission quality levels for different types of services. The predetermined filtering rule is used to identify the service type corresponding to the service data. The gateway device may also maintain a mapping relationship between the service type and the transmission quality level, which is determined in response to the user's selection. After determining the service type, the gateway device may first determine the corresponding transmission quality level, and then determine, according to the quality level information, a source port number group having a mapping relationship with the determined transmission quality level as the port number group corresponding to the service type. Subsequently, the gateway device 612 may, for example, randomly select a source port number from the corresponding port number group as the target port number, and change the outer source port number of the service message to the target port number, thereby obtaining an encapsulated service message. The encapsulated service message may then be transmitted to the gateway device 622 in the second region via the transmission link corresponding to the target port number.

[0088] After receiving the encapsulated service message, the gateway device 622 can change the IP address of the outer header in the encapsulated service message to obtain a message sent to the server 621. In this way, the service data can be transmitted to the server 621.

[0089] In one embodiment, after determining the port number group corresponding to the service type, the gateway device 612 may, for example, first determine the hash value corresponding to the outer source port number of the service message based on the header information of the inner header of the service message (i.e., the inner header information). That is, the HASH value of the header information of the inner header is calculated. Subsequently, the target port number is determined based on the hash value and the total number of port numbers in the corresponding port number group.

[0090] For example, the hash value can be modulo the total number of port numbers. In this embodiment, the port number ranked Nth in the corresponding port number group can be used as the target port number, and the value of N can be the remainder value obtained. In this way, this embodiment can make the transmitted batch business data transmitted by different transmission links as much as possible, and can avoid transmission congestion. It can be understood that the above-mentioned modulo method is only used as an example to facilitate understanding of the present disclosure. The present disclosure can also determine the target port number based on the quotient obtained by division, and the present disclosure does not limit this.

[0091] It can be understood that when the aforementioned first node is server 611, the quality level information can be sent to server 611. The principle of server 611 changing the outer source port number is similar to the principle of gateway device 612 changing the outer source port number, which will not be repeated here.

[0092] It is understandable that the first region and the second region may be any region. In actual scenarios, the first region and the second region may be interchangeable, and the present disclosure does not limit this.

[0093] In one embodiment, during the process of transmitting service data, the network devices in the first region and the second region may also communicate with the delay analyzer so that the delay analyzer can calculate the transmission delay in real time, so as to timely adjust the transmission link for transmitting service data when there are changes in the network link, so as to reduce network jitter. That is, during the process of transmitting service data, the delay analyzer can adopt a principle similar to the aforementioned method 500 to periodically or in real time determine the transmission delay of each transmission link. When the delay of the currently selected transmission link increases significantly, a prompt message can be sent to the gateway device via the controller, and the gateway device can reselect the target port number according to the prompt message to adjust the transmission link.

[0094] Based on the message processing method provided by the present disclosure, the present disclosure also provides a message processing system. The message processing system may include the aforementioned delay analyzer and the aforementioned first node for processing messages.

[0095] The first node may be a gateway device in a certain region, and the message processing system may also include a server in the certain region to provide detection data. The gateway device is used to process the detection message. The delay analyzer is used to determine the transmission delay and transmission quality level of the transmission link based on the principle described above.

[0096] Based on the message processing method performed by the first node provided in the present disclosure, the present disclosure also provides a message processing device. Figure 7 The device is described in detail.

[0097] Figure 7 It is a structural block diagram of a message processing device according to an embodiment of the present disclosure.

[0098] like Figure 7 As shown, the message processing device 700 of this embodiment may include a first changing module 710, a first adding module 720 and a first sending module 730. The message processing device 700 may be arranged in a server deployed in the first region, or may be arranged in a gateway device deployed in the first region.

[0099] The first changing module 710 is used to change the outer source port number of the detection message to the inner source port number of the detection message in response to the first node obtaining the detection message, so as to obtain the first message. The outer destination IP address of the first message is the IP address of the second node. The first node is located in the first region, and the second node is located in the second region. In one embodiment, the first changing module 710 can be used to perform the operation S210 described above, which will not be repeated here.

[0100] The first adding module 720 is used to add a first timestamp to the first message to obtain a second message; the first timestamp indicates the time information when the first node obtains the detection message. In one embodiment, the first adding module 720 can be used to perform the operation S220 described above, which will not be repeated here.

[0101] The first sending module 730 is used to send the second message to the delay analyzer so that the delay analyzer determines the transmission quality level of the transmission link from the first node to the second node based on the timestamp. In one embodiment, the first sending module 730 can be used to perform the operation S230 described above, which will not be repeated here.

[0102] According to an embodiment of the present disclosure, the first node includes a gateway device in a first region, and the second node includes a gateway device in a second region. The first message is sent to the first node by other nodes in the first region.

[0103] According to an embodiment of the present disclosure, the detection message is sent by a server located in the first region; the inner source port numbers of all the detection messages sent by the server include all values ​​in the value range of the source port number.

[0104] According to an embodiment of the present disclosure, the above-mentioned message processing device 700 may also include a service type determination module, a port number determination module and a second change module. The service type determination module is used to determine the service type of the service corresponding to the service message based on a predetermined filtering rule in response to the first node receiving the service message. The port number determination module is used to determine the target port number in the port number group corresponding to the service type. The second change module is used to change the outer source port number of the service message to the target port number to obtain an encapsulated service message, so as to transmit the encapsulated service message via the transmission link corresponding to the target port number. Among them, the transmission quality level of the transmission link corresponding to the port number in different port number groups is different.

[0105] According to an embodiment of the present disclosure, the port number determination module may include a hash value determination submodule and a port number determination submodule. The hash value determination submodule is used to determine the hash value corresponding to the outer source port number of the service message based on the inner header information of the service message. The port number determination submodule is used to determine the target port number based on the hash value and the total number of port numbers in the port number group corresponding to the service type.

[0106] According to an embodiment of the present disclosure, the message processing device 700 may further include a third changing module and a second adding module. The third changing module is used to change the outer IP address of the third message in response to the first node receiving the third message sent across the domain, so as to obtain a fourth message. The second adding module is used to add a second timestamp to the fourth message to obtain a fifth message. The second timestamp indicates the time information when the first node receives the third message. Accordingly, the first sending module 730 may also be used to send the fifth message to the delay analyzer.

[0107] According to an embodiment of the present disclosure, the first adding module 720 may be specifically configured to add a first timestamp and identification information of a first node to a first message to obtain a second message.

[0108] According to an embodiment of the present disclosure, the message processing device 700 may further include a second sending module, configured to send the first message to the second node.

[0109] Based on the message processing method performed by the delay analyzer provided in the present disclosure, the present disclosure also provides a message processing device. Figure 8 The device is described in detail.

[0110] Figure 8It is a structural block diagram of a message processing device according to an embodiment of the present disclosure.

[0111] like Figure 8 As shown, the message processing device 800 of this embodiment may include a message determination module 810, a delay determination module 820 and a level determination module 830. The message processing device 800 may be arranged in a delay analyzer.

[0112] The message determination module 810 is used to determine a second message corresponding to the first message in the received messages in response to the delay analyzer receiving the first message. In one embodiment, the message determination module 810 can be used to perform the operation S510 described above, which will not be described in detail here.

[0113] The delay determination module 820 is used to determine the relative transmission delay of the transmission link from the first node to the second node based on the timestamp in the first message and the timestamp in the second message in response to the received message including the second message. The first node is a node that sends the second message and is located in the first region; the second node is a node that sends the first message and is located in the second region. In one embodiment, the delay determination module 820 can be used to perform the operation S520 described above, which will not be repeated here.

[0114] The level determination module 830 is used to determine the transmission quality level of the transmission link from the first node to the second node based on the relative transmission delay. In one embodiment, the level determination module 830 can be used to perform the operation S530 described above, which will not be described in detail here.

[0115] According to an embodiment of the present disclosure, the first node includes a gateway device in a first region; the second node includes a gateway device in a second region.

[0116] According to an embodiment of the present disclosure, the message processing device 800 may also include an information determination module for determining the quality level information sent to the first node based on the outer source port number of the second message and the transmission quality level of the transmission link from the first node to the second node.

[0117] It should be noted that the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals. In the technical solution of this disclosure, the user's authorization or consent is obtained before obtaining or collecting user personal information.

[0118] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0119] Fig. 9A schematic block diagram of an example electronic device 900 that can be used to implement the message processing method of an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0120] like Fig. 9 As shown, the device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0121] A number of components in the device 900 are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the device 900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0122] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods and processes described above, such as the message processing method. For example, in some embodiments, the message processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the message processing method described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the message processing method in any other appropriate manner (e.g., by means of firmware).

[0123] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0124] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0125] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0126] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0127] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0128] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. Among them, the server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0129] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0130] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A message processing method, comprising: In response to the first node acquiring the detection message, changing the outer source port number of the detection message to the inner source port number of the detection message to obtain a first message; The outer destination IP address of the first message is the IP address of the second node; Add a first timestamp to the first message to obtain a second message; The first timestamp indicates time information at which the first node acquires the detection message; as well as sending the second message to a delay analyzer so that the delay analyzer determines a transmission quality level of a transmission link from the first node to the second node based on the timestamp, The first node is located in a first region, and the second node is located in a second region.

2. The method according to claim 1, wherein: The first node includes a gateway device in the first region; the second node includes a gateway device in the second region; The first message is sent to the first node by other nodes in the first region.

3. The method according to claim 1, wherein: The detection message is sent by a server located in the first region; the inner source port numbers of all the detection messages sent by the server include all values ​​in the value range of the source port number.

4. The method according to claim 1, further comprising: In response to the first node receiving a service message, determining a service type of a service corresponding to the service message based on a predetermined filtering rule; Determine a target port number in a port number group corresponding to the service type; as well as The outer source port number of the service message is changed to the target port number to obtain an encapsulated service message, so as to transmit the encapsulated service message via a transmission link corresponding to the target port number. The transmission quality levels of the transmission links corresponding to the port numbers in different port number groups are different.

5. The method according to claim 4, wherein: Determining the target port number in the port number group corresponding to the service type comprises: Determine, based on the inner header information of the service message, a hash value corresponding to the outer source port number of the service message; and The target port number is determined according to the hash value and the total number of port numbers in the port number group corresponding to the service type.

6. The method according to claim 1, further comprising: In response to the first node receiving a third message sent across domains, changing the outer IP address of the third message to obtain a fourth message; Add a second timestamp to the fourth message to obtain a fifth message; The second timestamp indicates time information when the first node receives the third message; as well as The fifth message is sent to the delay analyzer.

7. The method according to claim 1, wherein: Adding a timestamp to the first message to obtain a second message includes: The first timestamp and identification information of the first node are added to the first message to obtain the second message.

8. The method according to claim 1, further comprising: Send the first message to the second node.

9. A message processing method, comprising: In response to the delay analyzer receiving a first message, determining a second message in the received messages corresponding to the first message; In response to the received message including the second message, determining a relative transmission delay of a transmission link from a first node to a second node based on a timestamp in the first message and a timestamp in the second message; the first node is a node that sends the second message and is located in a first region; The second node is a node that sends the first message and is located in a second region; as well as Based on the relative transmission delay, a transmission quality level of a transmission link from the first node to the second node is determined.

10. The method according to claim 9, wherein: The first node includes a gateway device in the first region; the second node includes a gateway device in the second region.

11. The method according to claim 9, further comprising: Based on the outer source port number of the second message and the transmission quality level of the transmission link from the first node to the second node, quality level information sent to the first node is determined.

12. A message processing device, comprising: A first changing module, configured to, in response to the first node acquiring the detection message, change the outer source port number of the detection message to the inner source port number of the detection message, so as to obtain a first message; The outer destination IP address of the first message is the IP address of the second node; A first adding module, configured to add a first timestamp to the first message to obtain a second message; The first timestamp indicates time information at which the first node acquires the detection message; as well as a first sending module, configured to send the second message to a delay analyzer, so that the delay analyzer determines a transmission quality level of a transmission link from the first node to the second node based on the timestamp; The first node is located in a first region, and the second node is located in a second region.

13. The device according to claim 12, wherein: The first node includes a gateway device in the first region; the second node includes a gateway device in the second region; The first message is sent to the first node by other nodes in the first region.

14. The device according to claim 12, wherein: The detection message is sent by a server located in the first region; the inner source port numbers of all the detection messages sent by the server include all values ​​in the value range of the source port number.

15. The apparatus according to claim 12, further comprising: A service type determination module, configured to determine, in response to the first node receiving a service message, a service type of the service corresponding to the service message based on a predetermined filtering rule; A port number determination module, used to determine a target port number in a port number group corresponding to the service type; as well as a second changing module, configured to change the outer source port number of the service message to the target port number to obtain an encapsulated service message, so as to transmit the encapsulated service message via a transmission link corresponding to the target port number; The transmission quality levels of the transmission links corresponding to the port numbers in different port number groups are different.

16. The device according to claim 15, wherein: The port number determination module comprises: A hash value determination submodule, configured to determine a hash value corresponding to an outer source port number of the service message based on the inner header information of the service message; and The port number determination submodule is used to determine the target port number according to the hash value and the total number of port numbers in the port number group corresponding to the service type.

17. The apparatus according to claim 12, further comprising: a third changing module, configured to change the outer IP address of the third message in response to the first node receiving the third message sent across the domain, so as to obtain a fourth message; A second adding module, used for adding a second timestamp to the fourth message to obtain a fifth message; The second timestamp indicates time information when the first node receives the third message; as well as The first sending module is further configured to send the fifth message to the delay analyzer.

18. The device according to claim 12, wherein: The first adding module is used for: The first timestamp and identification information of the first node are added to the first message to obtain the second message.

19. The apparatus according to claim 12, further comprising: A second sending module is configured to send the first message to the second node.

20. A message processing device, comprising: a message determination module, configured to determine, in response to the delay analyzer receiving a first message, a second message in the received messages corresponding to the first message; a delay determination module, configured to determine, in response to the received message including the second message, a relative transmission delay of a transmission link from a first node to a second node based on a timestamp in the first message and a timestamp in the second message; the first node is a node that sends the second message and is located in a first region; The second node is a node that sends the first message and is located in a second region; as well as The level determination module is used to determine the transmission quality level of the transmission link from the first node to the second node based on the relative transmission delay.

21. The apparatus of claim 20, wherein: The first node includes a gateway device in the first region; the second node includes a gateway device in the second region.

22. The apparatus according to claim 20, further comprising: An information determination module is used to determine the quality level information sent to the first node based on the outer source port number of the second message and the transmission quality level of the transmission link from the first node to the second node.

23. A message processing system, comprising: Processing nodes are configured as follows: In response to obtaining the detection message, the outer source port number of the detection message is changed to the inner source port number of the detection message to obtain a first message; the outer destination IP address of the first message is the IP address of the second node; Add a first timestamp to the first message to obtain a second message; The first timestamp indicates time information at which the first node acquires the detection message; as well as Sending the second message to a delay analyzer so that the delay analyzer determines a transmission quality level of a transmission link from the first node to the second node based on the timestamp, wherein the first node is located in a first region and the second node is located in a second region; and Latency Analyzer, configured as: In response to the delay analyzer receiving a third message sent by the second node, determining a second message in the received messages that corresponds to the first message; In response to the received messages including the second message, determining a relative transmission delay of a transmission link from the first node to the second node based on a timestamp in the third message and a timestamp in the second message; and Based on the relative transmission delay, a transmission quality level of a transmission link from the first node to the second node is determined.

24. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any one of claims 1 to 11.

25. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 11.

26. A computer program product, comprising a computer program / instruction, wherein the computer program / instruction is stored on at least one of a readable storage medium and an electronic device, and when the computer program / instruction is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.