Network detection method, device, electronic device, storage medium and program product
By introducing detection containers and detection virtual machines into the cloud network, and detecting the communication links between the containers and the detection virtual machines, the problem of being unable to timely detect all user communication link data in the cloud network is solved, and cloud network performance issues are solved. Fast response and improved communication quality.
Patent Information
- Application Number
- CN202410969474.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-19
AI Technical Summary
In cloud networks, cloud network operation and maintenance personnel are unable to access and detect communication link data of all users in a timely manner, resulting in the inability to respond quickly to network performance problems and affecting communication quality.
By introducing the detection container and detection virtual machine into the network detection system, the communication link between the detection container and the access switch and the detection virtual machine in the cloud data center is used for detection, sending detection packets and obtaining transmission instruction information to determine Communication quality of the communication link.
It realizes rapid detection of communication links between each access point and gateway cluster in the cloud network, allowing the cloud to quickly respond to performance issues and improving communication quality.
Smart Images

Figure CN118509353B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to technical fields such as cloud computing and cloud storage, and to a network detection method, device, electronic device, storage medium and program product. Background Art
[0002] In a cloud network, as the number of users and access bandwidth increase, a large number of dedicated access points and dedicated gateway clusters are usually deployed, so that users can access the cloud network through dedicated access points in turn, and access the cloud data center in the cloud network through dedicated gateway clusters. Since the distance between dedicated access points and dedicated gateway clusters is relatively far, the communication quality of the network between dedicated access points and dedicated gateway clusters is usually tested.
[0003] In the related art, the user needs to create a detection virtual machine in the cloud data center and deploy a detection program on the detection virtual machine, so that the detection program is executed through the detection virtual machine, so that the user can detect the communication link set by the user.
[0004] However, the above method actually requires each user to individually detect the communication link set by the user. The operation and maintenance personnel of the cloud network cannot access the detection data of the communication links of all users in a timely manner, and thus cannot respond quickly to network performance issues, which greatly affects the communication quality. Summary of the invention
[0005] The present application provides a network detection method, device, electronic device, storage medium and program product, which can quickly respond to network performance issues of different users and improve communication quality. The technical solution is as follows:
[0006] On the one hand, the present application provides a method for network detection, the method being applied to a target container in a network detection system, the network detection system comprising at least one access point and a cloud data center, each access point comprising at least one access switch and a detection container corresponding to each access switch, each cloud data center comprising at least one gateway cluster and a detection virtual machine, the target container being any detection container in the network detection system;
[0007] Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0008] The method comprises:
[0009] When receiving a detection instruction sent by a cloud detection device, sending a detection message to a target virtual machine based on a target communication link associated with the target container, the target virtual machine is a detection virtual machine of a cloud data center where a gateway cluster in the target communication link is located;
[0010] Determine transmission indication information of the detection message, where the transmission indication information at least includes reception indication information, where the reception indication information indicates whether the target virtual machine has received the detection message;
[0011] The transmission indication information is sent to the cloud detection device, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information.
[0012] On the other hand, the present application provides a network detection method, which is applied to a cloud detection device, wherein the cloud detection device is used to detect a communication link between an access switch and a gateway cluster in a network detection system; the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine;
[0013] Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0014] The method comprises:
[0015] Sending a detection instruction to each detection container respectively, so that each detection container sends a detection message to an associated detection virtual machine based on an associated communication link, wherein the associated detection virtual machine is a detection virtual machine of a cloud data center where a gateway cluster in the associated communication link is located;
[0016] Receiving transmission indication information sent by each detection container, the transmission indication information at least includes receiving indication information, and the receiving indication information indicates whether the associated detection virtual machine has received the detection message;
[0017] Based on the transmission indication information sent by each detection container, the communication quality of the communication link associated with each detection container is determined.
[0018] On the other hand, the present application provides a network detection method, which is applied to detecting a target switch in a network detection system; the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, each cloud data center includes at least one gateway cluster and a detection virtual machine, and the target switch is any access switch in the network detection system;
[0019] Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0020] The method comprises:
[0021] Receive a detection message sent by a target container associated with the target switch;
[0022] Searching the routing table for a gateway cluster in the target communication link associated with the target container;
[0023] The detection message is sent to the found gateway cluster, so that the found gateway cluster sends the detection message to the target virtual machine, where the target virtual machine is a detection virtual machine of the cloud data center where the gateway cluster in the target communication link is located.
[0024] On the other hand, the present application provides a network detection device, which is applied to a target container in a network detection system, wherein the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, each cloud data center includes at least one gateway cluster and a detection virtual machine, and the target container is any detection container in the network detection system;
[0025] Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0026] The device comprises:
[0027] A first sending module is used to send a detection message to a target virtual machine based on a target communication link associated with the target container when receiving a detection instruction sent by a cloud detection device, wherein the target virtual machine is a detection virtual machine of a cloud data center where a gateway cluster in the target communication link is located;
[0028] A first determination module is used to determine transmission indication information of the detection message, where the transmission indication information at least includes reception indication information, and the reception indication information indicates whether the target virtual machine has received the detection message;
[0029] The second sending module is used to send the transmission indication information to the cloud detection device, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information.
[0030] In a possible implementation, the first sending module is configured to:
[0031] Sending a detection message to a target switch corresponding to the target container, so that the target switch searches a routing table for a gateway cluster in a target communication link associated with the target container, and sends the detection message to a target virtual machine based on the searched gateway cluster;
[0032] The routing table includes associations between each detection container corresponding to the target switch and the communication link.
[0033] In one possible implementation, the device further includes:
[0034] An identification information receiving module, used to receive identification information of a target switch sent by the cloud detection device;
[0035] For each access switch in any access point, the detection container corresponding to the access switch is determined by the cloud detection device through the following steps:
[0036] Based on the first number of communication links between the access switch and each gateway cluster, a corresponding first number of detection containers are created for the access switch, and each detection container is associated with a communication link where the access switch is located.
[0037] In a possible implementation, the determining the transmission indication information of the detection message includes:
[0038] If a response message returned by the target virtual machine based on the detection message is received, first transmission indication information of the detection message is determined, where the first transmission indication information includes sending indication information and first receiving indication information, where the first receiving indication information indicates a receiving time of the detection message by the target virtual machine, and the sending indication information indicates a sending time of the detection message by the target container;
[0039] If a response message returned by the target virtual machine based on the detection message is not received, second transmission indication information of the detection message is determined, the second transmission indication information includes sending indication information and second receiving indication information, and the second receiving indication information indicates that the target virtual machine has not received the detection message.
[0040] On the other hand, the present application provides a network detection device, which is applied to a cloud detection device, and the cloud detection device is used to detect a communication link between an access switch and a gateway cluster in a network detection system; the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine;
[0041] Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0042] The device comprises:
[0043] A third sending module is used to send detection instructions to each detection container respectively, so that each detection container sends a detection message to an associated detection virtual machine based on an associated communication link, and the associated detection virtual machine is a detection virtual machine of a cloud data center where a gateway cluster in the associated communication link is located;
[0044] A first receiving module, configured to receive transmission indication information sent by each detection container, wherein the transmission indication information at least includes reception indication information, and the reception indication information indicates whether the associated detection virtual machine has received the detection message;
[0045] The second determining module is configured to determine the communication quality of the communication link associated with each detection container based on the transmission indication information sent by each detection container.
[0046] In one possible implementation, the device further includes:
[0047] A communication link creation module, configured to create, for each access switch in any access point, a communication link between the access switch and each gateway cluster;
[0048] A detection container creation module, configured to create a first number of detection containers corresponding to the access switch based on a first number of communication links between the access switch and each gateway cluster, each detection container being associated with a communication link where the access switch is located;
[0049] A routing table sending module, configured to send a routing table to the access switch, wherein the routing table includes an association relationship between each detection container corresponding to the access switch and a communication link associated with each detection container;
[0050] The identification information sending module is used to send the identification information of the access switch to each detection container corresponding to the access switch.
[0051] In one possible implementation, the apparatus further includes a statistical module, and the statistical module is used for at least one of the following:
[0052] For each access point, based on the communication links where each access switch in the access point is located, statistics are collected on the communication quality between the access point and each gateway cluster respectively;
[0053] For each cloud data center, based on the communication links where each gateway cluster in the cloud data center is located, statistics are collected on the communication quality between the cloud data center and each access switch;
[0054] For each access point and each cloud data center, based on the communication links where each access switch in the access point is located and the communication chains where each gateway cluster in the cloud data center is located, statistics are collected on the communication quality between the access point and the cloud data center.
[0055] In a possible implementation, the second determining module is used for at least one of the following:
[0056] For each communication link, determining a transmission delay corresponding to the communication link based on a sending time and a receiving time of each detection message transmitted through the communication link;
[0057] Based on the reception indication information of each detection message transmitted by the communication link, the packet loss rate corresponding to the communication link is determined.
[0058] In one possible implementation, the device further includes:
[0059] A prompt module, used for displaying abnormal prompt information for any communication link when the communication quality of any communication link meets the target condition;
[0060] The abnormal prompt information includes at least one of the following:
[0061] There is an abnormality in any of the communication links;
[0062] The access point where the access switch of any communication link is located;
[0063] The cloud data center where the gateway cluster of any communication link is located;
[0064] The park where the cloud data center of any of the communication links is located.
[0065] On the other hand, the present application provides a network detection device, which is used to detect a target switch in a network detection system; the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, each cloud data center includes at least one gateway cluster and a detection virtual machine, and the target switch is any access switch in the network detection system;
[0066] Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0067] The device comprises:
[0068] A second receiving module, configured to receive a detection message sent by a target container associated with the target switch;
[0069] A search module, used to search a gateway cluster in a target communication link associated with the target container from a routing table;
[0070] The fourth sending module is used to send the detection message to the found gateway cluster, so that the found gateway cluster sends the detection message to the target virtual machine, and the target virtual machine is the detection virtual machine of the cloud data center where the gateway cluster in the target communication link is located.
[0071] In one possible implementation, the device further includes:
[0072] The routing table receiving module is used to receive the routing table sent by the cloud detection device, wherein the routing table includes the association relationship between each detection container corresponding to the target switch and the communication link.
[0073] On the other hand, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the above-mentioned network detection method.
[0074] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned network detection method is implemented.
[0075] On the other hand, a computer program product is provided, including a computer program, wherein the computer program implements the above network detection method when executed by a processor.
[0076] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0077] The network detection method provided in the present application can be used to detect the communication quality of a communication link in a network detection system, wherein the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine; wherein each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0078] Among them, the cloud detection device sends a detection instruction to each detection container; sends a detection message to the target virtual machine based on the associated target communication link through the target container, and the target container is any detection container; and sends the transmission indication information to the cloud detection device through the target container, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information. Based on this, the communication link between each access point in the cloud network and each gateway cluster can be detected in the cloud, so that the cloud can quickly respond to the performance problems of the cloud network and improve the communication quality of the cloud network. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0080] Figure 1 A schematic diagram of an implementation environment of a network detection method provided in an embodiment of the present application;
[0081] Figure 2 A schematic diagram of signaling interaction of a network detection method provided in an embodiment of the present application;
[0082] Figure 3 A schematic diagram of a network architecture of a cloud network provided in an embodiment of the present application;
[0083] Figure 4 A schematic diagram of the architecture of a network detection system provided in an embodiment of the present application;
[0084] Figure 5 A schematic diagram of a network detection scenario provided in an embodiment of the present application;
[0085] Figure 6 A schematic diagram of a data analysis process provided in an embodiment of the present application;
[0086] Figure 7 A schematic diagram of another data analysis process provided in an embodiment of the present application;
[0087] Figure 8 A schematic diagram of signaling interaction of a network detection method provided in an embodiment of the present application;
[0088] Fig. 9 A schematic diagram of a display page provided in an embodiment of the present application;
[0089] Fig.10 A schematic diagram of a fault occurrence and fault recovery provided in an embodiment of the present application;
[0090] Fig.11 A schematic diagram showing an abnormal problem provided in an embodiment of the present application;
[0091] Fig.12 A schematic diagram showing availability data provided in an embodiment of the present application;
[0092] Fig.13 A schematic diagram of the structure of a network detection device provided in an embodiment of the present application;
[0093] Fig.14 A schematic diagram of the structure of a network detection device provided in an embodiment of the present application;
[0094] Fig.15 A schematic diagram of the structure of a network detection device provided in an embodiment of the present application;
[0095] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0096] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.
[0097] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said", and "the" used herein may also include plural forms. The terms "include" and "comprise" used in the embodiments of the present application mean that the corresponding features can be implemented as the presented features, information, data, steps, and operations, but do not exclude the implementation as other features, information, data, steps, operations, etc. supported by the technical field.
[0098] It is understandable that in the specific implementation of the present application, any user-related data, such as information about the user's access point, information about the access switch included in the access point, the gateway cluster in the cloud data center, and information about the communication link between the access switch and the gateway cluster, when the above embodiments of the present application are applied to specific products or technologies, it is necessary to obtain the object's permission or consent, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if any user-related data is involved in the above techniques in the embodiments of the present application, these data must be obtained with the user's authorization and consent and in compliance with the relevant laws, regulations and standards of the country and region.
[0099] Figure 1 A schematic diagram of the implementation environment of a network detection method provided in this application. Figure 1 As shown, the implementation environment includes: a cloud detection device 101, an access point 102, and a cloud data center 103.
[0100] Each access point 102 includes at least one access switch and a detection container corresponding to each access switch, and the cloud data center 103 includes at least one gateway cluster and a detection virtual machine. Each access switch has a communication link with each gateway cluster of each cloud data center 103; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link.
[0101] A user may access the cloud network through the access point 102 and access data in the cloud data center of the cloud network through the gateway cluster.
[0102] In the embodiment of the present application, multiple access points and multiple cloud data centers can be configured in the cloud network, and the geographical location of the access point 102 is close to the user, and the geographical location of the cloud data center is fixed. For example, according to the current user distribution in the cloud network, the access point 102 can be configured near the geographical location range covering more users; for another example, the cloud data center can be configured in a geographical location where the external environment, facilities, etc. meet certain conditions, for example, the cloud data center can be configured in a suburban location with stable water supply, power supply, etc.
[0103] Typically, the distance between the gateway cluster located in the cloud data center and the access switch located at the access point is far, usually tens to hundreds of kilometers or even farther. The long-distance optical cables, network equipment, etc. connecting these access points and the cloud data center may affect the quality of the dedicated network due to urban construction, optical cable or equipment failure. In the embodiment of the present application, the cloud detection device 101 can detect the network quality between the dedicated access point and the dedicated gateway cluster.
[0104] Among them, the cloud detection device 101 can be used to detect the communication link between the access point and the gateway cluster in the network detection system. Specifically, the cloud detection device 101 can send a detection instruction to the detection container. When the detection container receives the detection instruction, the detection container can send a detection message to the detection virtual machine of the cloud data center 103 according to the associated communication link. Among them, the detection container can send the detection message to the corresponding access switch, and the access switch queries the gateway cluster in the communication link associated with the detection container from the routing table. The access switch sends the detection message to the detection virtual machine of the cloud data center where the gateway cluster is located through the gateway cluster.
[0105] Based on this, the cloud detection device 101 can determine the communication quality of the communication link based on the sending indication information and receiving indication information of the detection message of each detection container.
[0106] It should be noted that the access point 102 may be a dedicated line access point that supports dedicated line access (Direct Connect, DC); for example, the dedicated line access point may access the cloud network using a physical dedicated line, and may also connect to one or more VPCs using a dedicated channel; for example, the physical dedicated line may be a user optical fiber. Exemplarily, the gateway cluster may include multiple detection gateways, and the detection gateway may be a dedicated line detection gateway for connecting the cloud network VPC with the physical dedicated line; for example, the dedicated line detection gateway may be an NGW (Next Generation Gateway, a device where a dedicated channel or dedicated line gateway is instantiated).
[0107] The access point 102 may include a detection server, and one or more detection containers corresponding to the access switch may be configured on the detection server. The access switch may be represented as an XSA, wherein the XSA includes HAS (High Speed Access), ISA (Intermediate Speed Access), and LSA (Low Speed Access). For example, a container (Docker) is configured using lightweight virtualization technology and supports running independent programs in a relatively independent environment.
[0108] Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server or server cluster that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as basic cloud computing services such as big data and artificial intelligence platforms. Cloud detection equipment, detection containers, access switches, gateway clusters, detection virtual machines and other devices can communicate through the network. The above-mentioned network may include but is not limited to: wired network, wireless network, wherein the wired network includes: local area network, metropolitan area network and wide area network, and the wireless network includes: Bluetooth, Wi-Fi and other networks that realize wireless communication.
[0109] Figure 2 A signaling interaction diagram of a network detection method provided in an embodiment of the present application. The method can be interactively executed between a cloud detection device and a target container in a network detection system.
[0110] The network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, each cloud data center includes at least one gateway cluster and a detection virtual machine, and the target container is any detection container in the network detection system;
[0111] Among them, each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link.
[0112] like Figure 2 As shown, the method includes the following steps.
[0113] Step 201: The cloud detection device sends detection instructions to each detection container respectively.
[0114] Through step 201, each detection container can send a detection message to an associated detection virtual machine based on an associated communication link. The associated detection virtual machine is a detection virtual machine of a cloud data center where a gateway cluster in the associated communication link is located.
[0115] Exemplarily, for a target container, that is, any detection container in the network detection system, the detection instruction is used to instruct the target container to send a detection message to a target virtual machine through an associated target communication link, and the target virtual machine is a detection virtual machine in a cloud data center where a gateway cluster in the target communication link is located. In a possible example, the detection instruction may carry identification information of the target container and identification information of the target virtual machine.
[0116] In an embodiment of the present application, for the access switch and gateway cluster to be detected in the cloud network, the cloud detection device may pre-configure a communication link between the access switch and the gateway cluster, and further create a detection container for detecting each communication link; illustratively, the process may include the following steps A1-A4:
[0117] Step A1: For each access switch in any access point, the cloud detection device creates a communication link between the access switch and each gateway cluster respectively;
[0118] Exemplarily, for each access switch to be detected and each gateway cluster, a full coverage principle may be adopted to configure a communication link between each access switch and each gateway cluster.
[0119] For example, in a possible network detection scenario, there are 2 access points and 3 cloud data centers. The 2 access points include 5 access switches, and the 3 cloud data centers include 6 gateway clusters. Among them, access point X includes 2 access switches, and access point Y includes 3 access switches. Cloud data centers K, M, and N each include 2 gateway clusters. According to the principle of full coverage, 5×6=30 communication links can be configured, that is, 30 communication links with the detection container as the source address and the detection virtual machine as the destination address. Among them, access point X corresponds to 2×6=12 communication links, and access point Y corresponds to 3×6=18 communication links. Based on this, all communication connections between the 5 access switches and the 6 gateway clusters can be fully covered.
[0120] Step A2: The cloud detection device creates a first number of detection containers corresponding to the access switch based on the first number of communication links between the access switch and each gateway cluster, each detection container being associated with a communication link where the access switch is located;
[0121] In this step, the cloud detection device may allocate a corresponding detection container to each communication link. Each detection container is located at an access point in the associated communication link.
[0122] For example, access point X includes two access switches, namely access switches Xa and Xb. Access switch Xa corresponds to six communication links. Accordingly, six detection containers corresponding to access switch Xa can be configured in access point X, and each communication link is associated with one detection container. Similarly, six detection containers corresponding to access switch Xb can be configured in access point X. Based on this, a total of 12 detection containers are configured in access point X.
[0123] Step A3: The cloud detection device sends a routing table to the access switch;
[0124] The routing table includes an association relationship between each detection container corresponding to the access switch and a communication link associated with each detection container.
[0125] For example, the routing table sent to the access switch Xa includes the communication links associated with each of the six detection containers corresponding to the access switch Xa, which may specifically include: the link identifier of the communication link associated with each detection container, the identifier of the access switch Xa included in the communication link, the identifier of the gateway cluster, etc.
[0126] Step A4: The cloud detection device sends identification information of the access switch to each detection container corresponding to the access switch.
[0127] In this step, the cloud detection device may send the identification of the access switch corresponding to the detection container to the detection container, for example, send the identification information of the access switch Xa to the six detection containers corresponding to the access switch Xa.
[0128] Figure 3 A schematic diagram of a network architecture of a cloud network provided by an embodiment of the present application is shown. Figure 3 As shown, the cloud network includes a cloud data center, a dedicated access point, and a user's data center. The cloud data center may include a gateway cluster and a detection virtual machine. The gateway cluster may include NGW-group1 (gateway cluster 1) and NGW-group2 (gateway cluster 2). The detection virtual machine may be located in the user's VPC (Virtual Private Cloud, a public cloud virtual private network). For example, three detection CVMs (Cloud Virtual Machines) are configured in the VPCs of user 1 and user 2, respectively; the CVM and the gateway cluster NGW-group may be connected via CCNGW (Cloud Connect Network Gateway). The data centers of user 1 and user 2 may include CR (Core Router) and cloud servers, respectively.
[0129] like Figure 3 As shown, the traffic forwarding path of the customer dedicated network includes: CVM-CCNGW-dedicated gateway (NGW)-wavelength division optical cable-dedicated access switch-operator dedicated line-CR-server (server); for example, the dedicated path of user 1, the dedicated path of user 2. In this path, the failure of any device or link may have an adverse effect on the communication quality of the dedicated network. Among them, the network detection method of the embodiment of the present application can be used to detect the network of "dedicated access switch-wavelength division optical cable-dedicated gateway cluster".
[0130] The following takes any detection container in the network detection system as an example to introduce the process executed when the detection container receives a detection instruction.
[0131] Step 202: When the target container receives the detection instruction sent by the cloud detection device, the target container sends a detection message to the target virtual machine based on the target communication link associated with the target container.
[0132] The target virtual machine is a detection virtual machine of a cloud data center where a gateway cluster in the target communication link is located.
[0133] In this step, the target container may generate a detection message based on the identification information of the target container and the identification information of the target virtual machine, and send the detection message to the target virtual machine.
[0134] For example, 1000 detection messages are generated with the IP address of the target container as the source IP and the IP address of the target virtual machine as the destination IP. The 1000 detection messages may be numbered in order from 1 to 1000, and the target container may send 1000 detection messages to the target virtual machine in the order from 1 to 1000 of the sequence numbers of the detection messages.
[0135] In a possible example, the target container can also periodically send detection messages according to the preconfigured target period. For example, the detection message can be an icmp (Internet Control Message Protocol) message, and the target container can send icmp messages to the target virtual machine at a frequency of 1 message per second; the icmp message can be forwarded along the configured communication link. Based on this, it can fully cover the communication links between each access switch in the cloud network and each gateway cluster, ensure that the network quality along each communication link can be detected in real time, and respond quickly to network performance problems in seconds.
[0136] It should be noted that the cloud detection device may also pre-configure a virtual machine for detection in the cloud data center. For example, a fixed number of detection virtual machines may be configured in the cloud data center, and the detection virtual machine may be a CVM (Cloud Virtual Machine).
[0137] In this step, the target container may send a detection message to each detection virtual machine in the cloud data center where the gateway cluster in the target communication link is located based on the target communication link.
[0138] For example, for the six detection containers corresponding to the access switch Xa, container docker1 and container docker2 are taken as examples.
[0139] Among them, the communication link L1 associated with container docker1 is: access switch Xa-gateway cluster K1 in cloud data center K, cloud data center K includes 5 detection virtual machines, then container docker1 can send detection messages to the 5 detection virtual machines of cloud data center K through communication link L1. Among them, the communication link L2 associated with container docker2 is: access switch Xa-gateway cluster M1 in cloud data center M, then container docker2 can send detection messages to the 5 detection virtual machines of cloud data center M through communication link L2.
[0140] In a possible implementation, the target container may send the detection message to the target virtual machine through the target switch. Accordingly, the implementation of step 202 may include the following steps 221:
[0141] Step 2021: The target container sends a detection message to the target switch corresponding to the target container, so that the target switch searches the routing table for a gateway cluster in the target communication link associated with the target container, and sends the detection message to the target virtual machine based on the found gateway cluster.
[0142] The routing table includes associations between each detection container and the communication link corresponding to the target switch.
[0143] Exemplarily, the target container may send a detection message to the access switch corresponding to the target container according to the identification information of the target switch sent by the cloud detection device.
[0144] The access switch may determine the gateway cluster in the target communication link where the target container is located by querying the routing table, and send the detection message to the target virtual machine in the cloud data center where the gateway cluster is located through the gateway cluster.
[0145] For example, container docker1 can send a detection message to access switch Xa through communication link L1; then, access switch Xa queries the routing table to obtain that the communication link L1 associated with container docker1 includes gateway cluster K1, and access switch Xa sends the detection message of container docker1 to gateway cluster K1, and gateway cluster K1 sends the detection message to 5 detection virtual machines in cloud data center K.
[0146] For container docker2, access switch Xa queries the routing table, and sends the detection message of container docker2 to gateway cluster M1 in communication link L2 according to the communication link L2 associated with container docker2. Gateway cluster M1 sends the detection message to the 5 detection virtual machines in cloud data center M.
[0147] In a possible implementation, after the cloud detection device creates the detection container, it can send the identification information of the corresponding access switch to the detection container through step A4. Accordingly, the target container can perform the following steps before sending the detection message to the target virtual machine:
[0148] The target container receives identification information of the target switch sent by the cloud detection device;
[0149] For each access switch in any access point, the detection container corresponding to the access switch is determined by the cloud detection device through the following steps:
[0150] The cloud detection device creates a corresponding first number of detection containers for the access switch based on the first number of communication links between the access switch and each gateway cluster, each detection container being associated with a communication link where the access switch is located.
[0151] Exemplarily, the implementation manner of the cloud detection device creating a corresponding detection container for each access switch can be specifically referred to the implementation manner of the above step A2, which will not be described in detail here.
[0152] Step 203: The target container determines transmission indication information of the detection message, where the transmission indication information at least includes receiving indication information.
[0153] The receiving indication information indicates whether the target virtual machine has received the detection message.
[0154] In the embodiment of the present application, the target container may also report the sending and receiving status of the detection message to the cloud detection device. In this step, after the target container sends the detection message, the transmission indication information may be generated based on the feedback information of the target virtual machine to the detection message.
[0155] In a possible implementation, the target container can determine the reception of the detection message by the target virtual machine based on whether the target virtual machine feeds back a response message, and generate transmission indication information. Specifically, the implementation of step 203 can include the following steps 2031 and 2032:
[0156] Step 2031: If a response message returned by the target virtual machine based on the detection message is received, the target container determines first transmission indication information of the detection message, where the first transmission indication information includes sending indication information and first receiving indication information.
[0157] The first receiving indication information indicates a time when the target virtual machine receives the detection message, and the sending indication information indicates a time when the target container sends the detection message.
[0158] Exemplarily, if the target virtual machine receives the detection message, the target virtual machine may return a response message to the target container based on the detection message, and the response message may carry the time when the target virtual machine receives the detection message. Based on this, the target container may generate the first transmission indication information based on the sending time and receiving time of the detection message.
[0159] Exemplarily, the target container may also obtain the reception time of the response message, and generate the first transmission indication information based on the sending time and receiving time of the detection message and the reception time of the response message.
[0160] For example, the first transmission indication information may include but is not limited to at least one of the following: the source IP address of the target container, the destination IP address of the target virtual machine, indication information for indicating that the target virtual machine has received the detection message, the sending time of the detection message, the receiving time of the detection message, the receiving time of the response message, the packet return time corresponding to the detection message, etc. Among them, the packet return time may be the length of time from the receiving time of the detection message to the receiving time of the response message.
[0161] Step 2032: If the target virtual machine does not receive a response message returned based on the detection message, the target container determines second transmission indication information of the detection message, where the second transmission indication information includes sending indication information and second receiving indication information.
[0162] The second reception indication information indicates that the target virtual machine has not received the detection message.
[0163] Exemplarily, if the target virtual machine does not receive the detection message, the target virtual machine will not return a response message to the target container. Based on this, the target container can generate the second transmission indication information based on the sending time of the detection message.
[0164] For example, the second transmission indication information may include but is not limited to at least one of the following: the source IP address of the target container, the destination IP address of the target virtual machine, indication information indicating that the target virtual machine has not received the detection message, the sending time of the detection message, etc.
[0165] Step 204: The target container sends the transmission instruction information to the cloud detection device.
[0166] In this step, the transmission indication information is sent to the cloud detection device through the target container, so that the cloud detection device can determine the communication quality of the target communication link based on the transmission indication information.
[0167] like Figure 4 As shown, the cloud detection device can be configured with one or more of the following detection platforms: detection planning and deployment platform, detection calculation platform, detection data display platform, detection alarm platform, and detection data analysis platform. Through the above detection platforms, the communication quality detection process between the cloud data center and the dedicated line access point in the cloud network can be realized.
[0168] The above step 201 and step A1 to step A4 may be performed by the detection planning and deployment platform of the cloud detection device. In step 204, the target container may send the transmission instruction information of the detection message to the detection computing platform of the cloud detection device.
[0169] like Figure 4 As shown, the detection planning and deployment platform can implement the following steps:
[0170] 1. Planning of detection tasks, including but not limited to: planning the dedicated gateway cluster and dedicated access switch to be detected; creating communication links between the dedicated gateway cluster and dedicated access switch to be detected; planning the source IP address and destination IP address of each communication link; and creating detection containers corresponding to each dedicated access switch based on each communication link.
[0171] 2. Deploy the dedicated detection channel. Use the cloud API interface to create a dedicated detection gateway and dedicated channel on the corresponding gateway cluster and access switch. The dedicated detection gateway is used to send detection messages from the dedicated access switch to the corresponding detection virtual machine. The dedicated channel is a network link division of the physical dedicated line. You can create a dedicated channel to connect the detection container to the dedicated detection gateway.
[0172] 3. Detection container deployment: You can call the container script to create a detection container on the detection server of the dedicated access point.
[0173] 4. Detection tasks can be issued to detection containers, that is, detection instructions.
[0174] 5. Detection flow coverage. Specifically, each detection container can send detection messages to the detection virtual machine. For example, the detection docker sends detection messages at a frequency of 1 icmp message per second for each detection flow. The detection messages are forwarded along the planned communication links. In this way, the detection fully covers each access switch and dedicated gateway cluster to comprehensively detect the quality of each communication link and ensure that performance anomalies in the communication link can be discovered in seconds.
[0175] Figure 5 Schematic diagram of a network detection scenario provided by an embodiment of the present application. Figure 5 As shown, there are 2 access points and 2 cloud data centers, 4 access switches in total in the 2 access points, and 4 gateway clusters in total in the 2 cloud data centers. Among them, the 2 access switches included in access point X are HAS and ISA respectively, and the 2 access switches included in access point Y are HAS and ISA respectively; access points X and Y each include 6 detection containers docker arranged in sequence. Cloud data centers M and N each include 2 gateway clusters, and cloud data centers M and N each include 5 detection virtual machines CVM arranged in sequence; the detection virtual machine CVM is connected to the gateway cluster through CCNGW.
[0176] like Figure 5 As shown, each detection container can perform detection along the associated communication link. For example, the HAS of access point X corresponds to detection containers docker1, docker2, and docker3; container docker1 is associated with communication link L1, container docker2 is associated with communication link L2, and docker3 is associated with communication link L3. Specifically, the detection container can send a detection message to the corresponding access switch, and the access switch sends the detection message to 5 detection virtual machines CVM through the gateway cluster in the associated communication link.
[0177] Step 205: The cloud detection device receives the transmission instruction information sent by each detection container.
[0178] In this step, the cloud detection device may receive the transmission instruction information sent by each detection container through the detection computing platform.
[0179] Step 206: The cloud detection device determines the communication quality of the communication link associated with each detection container based on the transmission indication information sent by each detection container.
[0180] like Figure 4 As shown, the cloud detection device can determine the communication quality of the communication link associated with each detection container based on the transmission indication information sent by each detection container through the detection computing platform.
[0181] For example, for communication link L1, the communication quality of communication link L1 can be determined by transmission indication information of each detection message sent by container docker1. For communication link L2, the communication quality of communication link L2 can be determined by transmission indication information of each detection message sent by container docker2.
[0182] In a possible implementation, the communication quality of the communication link may be characterized by transmission delay, packet loss rate, etc. Accordingly, the communication quality of the communication link associated with each detection container is determined based on the transmission indication information sent by each detection container, including at least one of the following:
[0183] For each communication link, the cloud detection device determines the transmission delay corresponding to the communication link based on the sending time and receiving time of each detection message transmitted through the communication link;
[0184] The cloud detection device determines the packet loss rate corresponding to the communication link based on the reception indication information of each detection message transmitted by the communication link.
[0185] For example, for 1000 detection messages transmitted by communication link L1, the transmission delay of each detection message can be calculated based on the sending time and receiving time of each detection message; if the detection virtual machine receives all 1000 detection messages, the average value of the transmission delays of the 1000 detection messages is used as the transmission delay corresponding to communication link L1.
[0186] If container docker1 only receives response messages corresponding to 950 of the detection messages, then based on the number of lost detection messages, 50, and the total number of messages, 1000, the packet loss rate of communication link L1 is calculated to be 5%.
[0187] In a possible implementation, the communication quality may also be determined by using the granularity of the access point or the cloud data center. Accordingly, after step 206, at least one of the following items is also included:
[0188] For each access point, based on the communication links where each access switch in the access point is located, statistics are collected on the communication quality between the access point and each gateway cluster;
[0189] For each cloud data center, based on the communication links where each gateway cluster in the cloud data center is located, statistics are collected on the communication quality between the cloud data center and each access switch;
[0190] For each access point and each cloud data center, the communication quality between the access point and the cloud data center is counted based on the communication links where each access switch in the access point is located and the communication chains where each gateway cluster in the cloud data center is located.
[0191] Exemplarily, the granularity from access point to gateway cluster can be used to calculate the communication quality between each access point and each gateway cluster by probing the computing platform. For example, the communication quality of the communication link between each access switch in the access point and each gateway cluster can be obtained, and based on the communication quality of the communication link where all access switches in the access point are located, the communication quality from the access point to each gateway cluster in each communication link is counted.
[0192] For example, for access point X, the communication quality of access switch Xa to six gateway clusters can be obtained based on the communication quality of the six communication links where access switch Xa is located, and the communication quality of access switch Xb to six gateway clusters can be obtained based on the communication quality of the six communication links where Xb is located; and the communication quality of access switches Xa and Xb to the same gateway cluster is merged, for example, the average value of the communication quality of access switches Xa and Xb to gateway cluster M1 is calculated as the communication quality of access point X to gateway cluster M1.
[0193] Exemplarily, the granularity may be from the cloud data center to the access switch, and the communication quality of the communication link where each gateway cluster in the cloud data center is located may be calculated by probing the computing platform, and the communication quality from the cloud data center to the access switch in each communication link may be counted.
[0194] Exemplarily, the granularity may be from access point to cloud data center. By detecting the computing platform, based on the communication quality of each communication link covered by each access point and each cloud data center, the communication quality from each access point to each cloud data center is counted.
[0195] In one possible example, Figure 4 As shown, the communication quality of each communication link can be displayed separately through the detection data display platform, and the communication quality of the above three granularities can be displayed for the granularity from the access point to the gateway cluster, the granularity from the cloud data center to the access switch, and the granularity from the access point to the cloud data center.
[0196] In a possible implementation, when any communication link has a performance problem, prompts can be given in a timely manner; the process includes the following steps:
[0197] When the communication quality of any communication link meets the target condition, an abnormal prompt information for any communication link is displayed;
[0198] The abnormal prompt information includes at least one of the following:
[0199] There is an abnormality in any of the communication links;
[0200] The access point where the access switch of any communication link is located;
[0201] The cloud data center where the gateway cluster of any communication link is located;
[0202] The campus where the cloud data center of any communication link is located.
[0203] For example, Figure 4 As shown, the cloud detection device can display abnormal prompt information for any communication link through the detection alarm platform (also called the detection prompt platform).
[0204] For example, the detection and alarm platform can obtain the communication quality of each communication link in real time, such as packet loss rate, transmission delay, etc. When the packet loss rate of any communication link is greater than the first threshold, or the transmission delay is greater than the second threshold, the detection and alarm platform determines that the communication quality of any communication link meets the alarm condition, and displays the target prompt information for any communication link.
[0205] In addition, the detection and alarm platform can also use the granularity of access point to gateway cluster, the granularity of cloud data center to access switch, and the granularity of access point to cloud data center to display target prompt information. For example, for the granularity of access point to gateway cluster, based on the communication quality of each communication link from the access point to the gateway cluster, the communication links with abnormal communication quality in each communication link can be counted, and abnormal prompt information of the communication quality from the access point to the gateway cluster can be displayed. Of course, the implementation method of displaying the target prompt information at the granularity of cloud data center to access switch, or the granularity of access point to cloud data center, is the same as the above-mentioned method of displaying prompt information at the granularity of access point to gateway cluster, and will not be repeated here. In addition, at least one cloud data center can be configured in a park, and the park where the cloud data center is located can also be displayed; alternatively, the prompt information can be displayed at the granularity of access point to park, which will not be repeated here.
[0206] Based on this, compared with the prompt information of each communication link, displaying the prompt information of the communication quality from the access point to the gateway cluster can effectively reduce the amount of prompt information. Of course, displaying the prompt information at the granularity of the cloud data center to the access switch, or the granularity of the access point to the cloud data center can also effectively reduce the amount of prompt information and greatly improve the actual display efficiency of the information.
[0207] like Figure 6As shown, the detection alarm platform can perform packet loss judgment, prompt judgment, false prompt judgment, generate prompt information, and display prompt information for notification based on the communication quality of each communication link obtained in real time. Among them, packet loss judgment can be based on whether the packet loss rate is greater than the first threshold; prompt judgment can be based on certain prompt rules. For example, if there are 6 packet losses in 10 seconds, a prompt will be issued, and if there is no packet loss for 15 consecutive seconds, the prompt will be restored to normal; false prompt judgment can be used to filter out false prompts, such as filtering out abnormal situations of a single detection virtual machine in a cloud data center; for the process of generating prompt information, accurate prompt information can be generated, and it can also be checked whether it has returned to normal after the prompt.
[0208] In one possible implementation, Figure 4 As shown, the communication quality of each communication link can also be analyzed through the detection data analysis platform.
[0209] For example, Figure 7 As shown, the communication quality of each communication link can be summarized and calculated through the detection data analysis platform. For example, the detection data analysis platform can pull detection data, which may include the communication quality data of each communication link, and summarize the communication quality of each gateway cluster based on this; for example, packet loss can be counted according to the granularity of access points or gateway clusters, and the availability of the gateway cluster can be obtained based on the summary results; the availability of products such as dedicated line channels and dedicated line access switches can also be calculated based on the summary results; then, the summarized packet loss data, availability data, etc. are written into the database so that the display platform can display the data.
[0210] Exemplarily, the communication quality of each communication link can be periodically analyzed through the detection data analysis platform. For example, the packet loss data of the access point and the gateway cluster can be regularly analyzed through the detection data analysis platform. For another example, the access point and the gateway cluster can be periodically sorted according to the packet loss rate, transmission delay, number of abnormal prompts, etc. through the detection data analysis platform.
[0211] Exemplarily, the communication quality of each communication link can be used for detection and optimization guidance through the detection data analysis platform. For example, the communication quality of each communication link, the communication quality of each gateway cluster or each access point can be periodically analyzed through the detection data analysis platform to timely detect potential performance problems in the communication link, gateway cluster or access point. For another example, based on the above analysis results, the communication quality of the communication link can be periodically optimized.
[0212] Figure 8 A signaling interaction diagram of a network detection method provided in an embodiment of the present application. The method can be interactively executed between a cloud detection device, a target container in a network detection system, and a target switch.
[0213] Step 701: The cloud detection device creates a communication link between each access switch and each gateway cluster.
[0214] For each access switch in any access point, the cloud detection device creates a communication link between the access switch and each gateway cluster.
[0215] Step 702: The cloud detection device creates a detection container corresponding to each access switch based on the communication links between each access switch and each gateway cluster.
[0216] The cloud detection device creates a corresponding first number of detection containers for the access switch based on the first number of communication links between the access switch and each gateway cluster, and each detection container is associated with a communication link where the access switch is located.
[0217] Exemplarily, the cloud detection device further sends a routing table to the access switch, and sends identification information of the access switch to each detection container corresponding to the access switch.
[0218] Step 703: The cloud detection device sends detection instructions to each detection container respectively.
[0219] The cloud detection device executes the above steps 701-702 through the detection planning and deployment platform, and sends the detection task to the detection container.
[0220] The following takes any detection container in the network detection system as an example to introduce the process executed when the detection container receives a detection instruction.
[0221] Step 704: When the target container receives the detection instruction sent by the cloud detection device, the target container sends a detection message to the target switch corresponding to the target container.
[0222] In a possible implementation, before sending a detection message to a target virtual machine based on a target communication link associated with the target container, the target container receives identification information of a target switch sent by the cloud detection device; and based on the received identification information, sends a detection message to a target switch corresponding to the target container.
[0223] Step 705: The target switch receives a detection message sent by the target container associated with the target switch.
[0224] Step 706: The target switch searches the routing table for a gateway cluster in the target communication link associated with the target container.
[0225] Before step 706, the cloud detection device may send a routing table to the target switch, and the target switch obtains the routing table through the following steps:
[0226] The target switch receives the routing table sent by the cloud detection device, where the routing table includes associations between each detection container corresponding to the target switch and the communication link.
[0227] Step 707: The target switch sends the detection message to the found gateway cluster, so that the found gateway cluster sends the detection message to the target virtual machine.
[0228] Among them, the above steps 704-707 are a possible implementation method of the step "the target container sends a detection message to the target virtual machine".
[0229] Step 708: The target container determines transmission instruction information of the detection message.
[0230] In this step, if the target container receives a response message returned by the target virtual machine based on the detection message, the target container determines first transmission indication information of the detection message, where the first transmission indication information includes sending indication information and first receiving indication information.
[0231] If the target container does not receive a response message returned by the target virtual machine based on the detection message, the target container determines second transmission indication information of the detection message, where the second transmission indication information includes sending indication information and second receiving indication information.
[0232] Step 709: The target container sends the transmission instruction information to the cloud detection device.
[0233] Step 710: The cloud detection device receives the transmission instruction information sent by each detection container.
[0234] Step 711: The cloud detection device determines the communication quality of the communication link associated with each detection container based on the transmission indication information sent by each detection container.
[0235] It should be noted that the implementation of steps 707-711 may refer to the above steps 204-206 for details, which will not be described in detail here.
[0236] Fig. 9 is a schematic diagram of a display page of a detection data display platform provided in an embodiment of the present application, such as Fig. 9 As shown, the display platform can display the communication quality of each communication link separately, and can also display the communication quality of the above three granularities: the granularity from the access point to the gateway cluster, the granularity from the cloud data center to the access switch, and the granularity from the access point to the cloud data center.
[0237] like Fig.10As shown in the figure, the detection and alarm platform can quickly discover network performance problems, and find out the prompt level, type, cause, occurrence time, recovery time and other information of network performance problems. Fig.10 As shown in the figure, the occurrence time and recovery time are short, and 10s-level fault detection can be achieved, which greatly reduces the efficiency of fault discovery. With the fast fault recovery tool, 20s fault recovery can be achieved, which greatly improves the stability of the dedicated line network.
[0238] like Fig.11 As shown, the detection and alarm platform can also display performance anomalies. For example, it can display the communication link, access point, cloud data center, campus, etc. where the anomaly occurs; it can also prompt the cause of the anomaly and related services.
[0239] like Fig.12 As shown, the detection data analysis platform can periodically analyze the communication quality of each communication link, each gateway cluster or each access point, for example, analyzing the availability of daily dedicated line products, such as Fig.12 As shown in the figure, the overall availability of the cloud dedicated line product, with the vertical axis representing the availability and the horizontal axis representing the date. The average (Mean) availability and the minimum (Min) availability can also be calculated to timely detect potential performance issues in the communication link, gateway cluster or access point.
[0240] In the embodiment of the present application, a detection message is sent to a target virtual machine based on an associated target communication link through a target container, and the target container is any detection container; and the transmission indication information is sent to a cloud detection device through the target container, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information. Based on this, the communication link between each access point in the cloud network and each gateway cluster can be detected in the cloud, so that the cloud can quickly respond to the performance problems of the cloud network, thereby improving the communication quality of the cloud network.
[0241] In addition, this application independently builds a dedicated line network quality detection system through the cloud, which does not require user operation, can obtain detection data and prompts in real time, supports flexible alarm settings and detection data analysis, and realizes autonomous and controllable dedicated line network detection.
[0242] In addition, this application designs full-link detection from the access point to the gateway cluster of the cloud data center, and then to the detection virtual machine of the cloud data center, ensuring that the entire network performance is within the detection range and achieving comprehensive network detection coverage.
[0243] In addition, this application can achieve high-frequency detection with a cycle of 1 second, and deploy a planned detection flow to cover the network, which can quickly locate the problem when an abnormality occurs. At the same time, it can more accurately reflect the quality of the dedicated line network on the cloud, quickly determine whether the fault is caused by the cloud, and make the detection data accurate and reliable.
[0244] In addition, this application adopts cloud virtualization and container technology to ensure that the detection process is completely isolated from user business traffic, avoid the impact of network detection on user business operations, and ensure business continuity and non-interference of network detection.
[0245] In summary, the new detection solution of this application effectively solves the shortcomings of the existing technology by achieving real-time data access, comprehensive network coverage, accurate detection data, and technical isolation. These improvements significantly improve the efficiency and accuracy of network detection, while ensuring the stable operation of user services, and adding a solid foundation for the trust relationship between cloud service providers and users.
[0246] Through these technological innovations, the detection system of this application not only optimizes network quality detection, but also provides users with a more reliable and stable service experience for cloud dedicated networks. This end-to-end detection solution is particularly suitable for enterprise-level applications that have strict requirements on network stability and performance, ensuring that key business processes are not affected by network fluctuations, thereby maintaining a leading position in the highly competitive market.
[0247] The network detection method provided in the present application can be used to detect the communication quality of a communication link in a network detection system, wherein the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine; wherein each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0248] Among them, the cloud detection device sends a detection instruction to each detection container; sends a detection message to the target virtual machine based on the associated target communication link through the target container, and the target container is any detection container; and sends the transmission indication information to the cloud detection device through the target container, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information. Based on this, the cloud can detect the communication link between each access point in the cloud network and each gateway cluster respectively, so that the cloud can quickly respond to the performance problems of the cloud network and improve the communication quality of the cloud network.
[0249] Fig.13A schematic diagram of the structure of a network detection device provided in an embodiment of the present application. The device is applied to a target container in a network detection system, the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, each cloud data center includes at least one gateway cluster and a detection virtual machine, the target container is any detection container in the network detection system;
[0250] Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0251] like Fig.13 As shown, the device comprises:
[0252] The first sending module 1101 is used to send a detection message to a target virtual machine based on a target communication link associated with the target container when receiving a detection instruction sent by a cloud detection device. The target virtual machine is a detection virtual machine of a cloud data center where a gateway cluster in the target communication link is located;
[0253] A first determining module 1102 is used to determine transmission indication information of the detection message, where the transmission indication information at least includes reception indication information, where the reception indication information indicates whether the target virtual machine has received the detection message;
[0254] The second sending module 1103 is used to send the transmission indication information to the cloud detection device, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information.
[0255] In a possible implementation, the first sending module 1101 is configured to:
[0256] Send a detection message to the target switch corresponding to the target container, so that the target switch searches the routing table for a gateway cluster in the target communication link associated with the target container, and sends the detection message to the target virtual machine based on the found gateway cluster;
[0257] The routing table includes associations between each detection container and the communication link corresponding to the target switch.
[0258] In one possible implementation, the device further includes:
[0259] An identification information receiving module, used to receive identification information of a target switch sent by the cloud detection device;
[0260] For each access switch in any access point, the detection container corresponding to the access switch is determined by the cloud detection device through the following steps:
[0261] Based on the first number of communication links between the access switch and each gateway cluster, a corresponding first number of detection containers are created for the access switch, and each detection container is associated with a communication link where the access switch is located.
[0262] In a possible implementation, determining the transmission indication information of the detection message includes:
[0263] If a response message returned by the target virtual machine based on the detection message is received, first transmission indication information of the detection message is determined, where the first transmission indication information includes sending indication information and first receiving indication information, where the first receiving indication information indicates a receiving time of the detection message by the target virtual machine, and the sending indication information indicates a sending time of the detection message by the target container;
[0264] If a response message returned by the target virtual machine based on the detection message is not received, second transmission indication information of the detection message is determined, the second transmission indication information includes sending indication information and second receiving indication information, and the second receiving indication information indicates that the target virtual machine has not received the detection message.
[0265] The network detection device provided in the present application can be used to detect the communication quality of a communication link in a network detection system, wherein the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine; wherein each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0266] Among them, the cloud detection device sends a detection instruction to each detection container; sends a detection message to the target virtual machine based on the associated target communication link through the target container, and the target container is any detection container; and sends the transmission indication information to the cloud detection device through the target container, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information. Based on this, the cloud can detect the communication link between each access point in the cloud network and each gateway cluster respectively, so that the cloud can quickly respond to the performance problems of the cloud network and improve the communication quality of the cloud network.
[0267] Fig.14A schematic diagram of the structure of a network detection device provided in an embodiment of the present application. The device is applied to a cloud detection device, and the cloud detection device is used to detect the communication link between an access switch and a gateway cluster in a network detection system; the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine;
[0268] Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0269] like Fig.14 As shown, the device comprises:
[0270] The third sending module 1201 is used to send detection instructions to each detection container respectively, so that each detection container sends a detection message to an associated detection virtual machine based on an associated communication link, and the associated detection virtual machine is a detection virtual machine of a cloud data center where a gateway cluster in the associated communication link is located;
[0271] A first receiving module 1202 is configured to receive transmission indication information sent by each detection container, where the transmission indication information at least includes reception indication information, where the reception indication information indicates whether the associated detection virtual machine has received the detection message;
[0272] The second determining module 1203 is configured to determine the communication quality of the communication link associated with each detection container based on the transmission indication information sent by each detection container.
[0273] In one possible implementation, the device further includes:
[0274] A communication link creation module, used for creating, for each access switch in any access point, a communication link between the access switch and each gateway cluster;
[0275] A detection container creation module, configured to create a first number of detection containers corresponding to the access switch based on a first number of communication links between the access switch and each gateway cluster, each detection container being associated with a communication link where the access switch is located;
[0276] A routing table sending module, configured to send a routing table to the access switch, the routing table including an association relationship between each detection container corresponding to the access switch and a communication link associated with each detection container;
[0277] The identification information sending module is used to send the identification information of the access switch to each detection container corresponding to the access switch.
[0278] In one possible implementation, the device further includes a statistical module, which is used for at least one of the following:
[0279] For each access point, based on the communication links where each access switch in the access point is located, statistics are collected on the communication quality between the access point and each gateway cluster;
[0280] For each cloud data center, based on the communication links where each gateway cluster in the cloud data center is located, statistics are collected on the communication quality between the cloud data center and each access switch;
[0281] For each access point and each cloud data center, the communication quality between the access point and the cloud data center is counted based on the communication links where each access switch in the access point is located and the communication chains where each gateway cluster in the cloud data center is located.
[0282] In a possible implementation, the second determining module 1203 is configured to do at least one of the following:
[0283] For each communication link, determining a transmission delay corresponding to the communication link based on a sending time and a receiving time of each detection message transmitted through the communication link;
[0284] Based on the reception indication information of each detection message transmitted by the communication link, the packet loss rate corresponding to the communication link is determined.
[0285] In one possible implementation, the device further includes:
[0286] A prompt module, used for displaying abnormal prompt information for any communication link when the communication quality of any communication link meets the target condition;
[0287] The abnormal prompt information includes at least one of the following:
[0288] There is an abnormality in any of the communication links;
[0289] The access point where the access switch of any communication link is located;
[0290] The cloud data center where the gateway cluster of any communication link is located;
[0291] The campus where the cloud data center of any communication link is located.
[0292] The network detection device provided in the present application can be used to detect the communication quality of a communication link in a network detection system, wherein the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine; wherein each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0293] Among them, the cloud detection device sends a detection instruction to each detection container; sends a detection message to the target virtual machine based on the associated target communication link through the target container, and the target container is any detection container; and sends the transmission indication information to the cloud detection device through the target container, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information. Based on this, the cloud can detect the communication link between each access point in the cloud network and each gateway cluster respectively, so that the cloud can quickly respond to the performance problems of the cloud network and improve the communication quality of the cloud network.
[0294] Fig.15 A schematic diagram of the structure of a network detection device provided in an embodiment of the present application. The device is used to detect a target switch in a network detection system; the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, each cloud data center includes at least one gateway cluster and a detection virtual machine, and the target switch is any access switch in the network detection system;
[0295] Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0296] like Fig.15 As shown, the device comprises:
[0297] The second receiving module 1301 is used to receive a detection message sent by a target container associated with the target switch;
[0298] A search module 1302 is used to search a gateway cluster in a target communication link associated with the target container from a routing table;
[0299] The fourth sending module 1303 is used to send the detection message to the found gateway cluster, so that the found gateway cluster sends the detection message to the target virtual machine, and the target virtual machine is the detection virtual machine of the cloud data center where the gateway cluster in the target communication link is located.
[0300] In one possible implementation, the device further includes:
[0301] The routing table receiving module is used to receive the routing table sent by the cloud detection device, wherein the routing table includes the association relationship between each detection container corresponding to the target switch and the communication link.
[0302] The network detection device provided in the present application can be used to detect the communication quality of a communication link in a network detection system, wherein the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine; wherein each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link;
[0303] Among them, the cloud detection device sends a detection instruction to each detection container; sends a detection message to the target virtual machine based on the associated target communication link through the target container, and the target container is any detection container; and sends the transmission indication information to the cloud detection device through the target container, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information. Based on this, the communication link between each access point in the cloud network and each gateway cluster can be detected in the cloud, so that the cloud can quickly respond to the performance problems of the cloud network and improve the communication quality of the cloud network.
[0304] The device of the embodiments of the present application can execute the method provided by the embodiments of the present application, and the implementation principles are similar. The actions performed by each module in the device of each embodiment of the present application correspond to the steps in the method of each embodiment of the present application. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.
[0305] Fig.16 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.16 As shown, the electronic device includes: a memory, a processor and a computer program stored in the memory, and the processor executes the computer program to implement the steps of the method.
[0306] In an alternative embodiment, an electronic device is provided, such as Fig.16 As shown, Fig.16 The electronic device 1400 shown includes: a processor 1401 and a memory 1403. The processor 1401 and the memory 1403 are connected, such as through a bus 1402. Optionally, the electronic device 1400 may also include a transceiver 1404, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 1404 is not limited to one, and the structure of the electronic device 1400 does not constitute a limitation on the embodiments of the present application.
[0307] Processor 1401 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 1401 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0308] The bus 1402 may include a path to transmit information between the above components. The bus 1402 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 1402 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.16 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0309] The memory 1403 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium\other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation herein.
[0310] The memory 1403 is used to store the computer program for executing the embodiment of the present application, and the execution is controlled by the processor 1401. The processor 1401 is used to execute the computer program stored in the memory 1403 to implement the steps shown in the above method embodiment.
[0311] The electronic devices include but are not limited to: servers, devices where detection containers are located, switches or cloud computing center devices, etc.
[0312] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0313] The embodiment of the present application also provides a computer program product, including a computer program, which can implement the steps and corresponding contents of the aforementioned method embodiment when executed by a processor.
[0314] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0315] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said", and "the" used herein may also include plural forms. The terms "include" and "comprise" used in the embodiments of the present application mean that the corresponding features can be implemented as the presented features, information, data, steps, and operations, but do not exclude the implementation as other features, information, data, steps, operations, etc. supported by the technical field.
[0316] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this 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 numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.
[0317] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.
[0318] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.
Claims
1. A network detection method, It is characterized in that The method is applied to a target container in a network detection system, the network detection system comprising at least one access point and a cloud data center, each access point comprising at least one access switch and a detection container corresponding to each access switch, each cloud data center comprising at least one gateway cluster and a detection virtual machine, the target container being any detection container in the network detection system; Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link; each communication link where each switch is located has a corresponding associated detection container; The method comprises: When receiving a detection instruction sent by a cloud detection device, a detection message is sent to a target switch corresponding to the target container, so that the target switch searches the routing table for a gateway cluster in a target communication link associated with the target container, and sends the detection message to a target virtual machine based on the found gateway cluster; wherein the routing table includes an association relationship between each detection container and a communication link corresponding to the target switch, and the target virtual machine is a detection virtual machine of a cloud data center where the gateway cluster in the target communication link is located; Determine transmission indication information of the detection message, where the transmission indication information at least includes reception indication information, where the reception indication information indicates whether the target virtual machine has received the detection message; The transmission indication information is sent to the cloud detection device, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information.
2. The method according to claim 1, It is characterized in that Before sending the detection message to the target switch corresponding to the target container so that the target switch searches the routing table for a gateway cluster in the target communication link associated with the target container, and sends the detection message to the target virtual machine based on the found gateway cluster, the method further includes: Receiving identification information of the target switch sent by the cloud detection device; For each access switch in any access point, the detection container corresponding to the access switch is determined by the cloud detection device through the following steps: Based on the first number of communication links between the access switch and each gateway cluster, a corresponding first number of detection containers are created for the access switch, and each detection container is associated with a communication link where the access switch is located.
3. The method according to any one of claims 1 to 2, It is characterized in that The determining the transmission indication information of the detection message includes: If a response message returned by the target virtual machine based on the detection message is received, first transmission indication information of the detection message is determined, where the first transmission indication information includes sending indication information and first receiving indication information, where the first receiving indication information indicates a receiving time of the detection message by the target virtual machine, and the sending indication information indicates a sending time of the detection message by the target container; If a response message returned by the target virtual machine based on the detection message is not received, second transmission indication information of the detection message is determined, the second transmission indication information includes sending indication information and second receiving indication information, and the second receiving indication information indicates that the target virtual machine has not received the detection message.
4. A network detection method, It is characterized in that The method is applied to a cloud detection device, which is used to detect a communication link between an access switch and a gateway cluster in a network detection system; the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine; Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link; each communication link where each switch is located has a corresponding associated detection container; The method comprises: Send a detection instruction to each detection container respectively, so that each detection container sends a detection message to the target switch corresponding to the target container; the target container is any detection container in the network detection system; the target switch is used to search the gateway cluster in the target communication link associated with the target container from the routing table, and send the detection message to the target virtual machine based on the found gateway cluster; wherein the routing table includes the association relationship between each detection container corresponding to the target switch and the communication link, and the associated detection virtual machine is the detection virtual machine of the cloud data center where the gateway cluster in the associated communication link is located; Receiving transmission indication information sent by each detection container, the transmission indication information at least includes receiving indication information, and the receiving indication information indicates whether the associated detection virtual machine has received the detection message; Based on the transmission indication information sent by each detection container, the communication quality of the communication link associated with each detection container is determined.
5. The method according to claim 4, It is characterized in that The method further comprises: For each access switch in any access point, create a communication link between the access switch and each gateway cluster respectively; Based on the first number of communication links between the access switch and each gateway cluster, create a corresponding first number of detection containers for the access switch, each detection container being associated with a communication link where the access switch is located; Sending a routing table to the access switch, the routing table including an association relationship between each detection container corresponding to the access switch and a communication link associated with each detection container; The identification information of the access switch is sent to each detection container corresponding to the access switch.
6. The method according to claim 4, It is characterized in that The method further comprises at least one of the following: For each access point, based on the communication links where each access switch in the access point is located, statistics are collected on the communication quality between the access point and each gateway cluster respectively; For each cloud data center, based on the communication links where each gateway cluster in the cloud data center is located, statistics are collected on the communication quality between the cloud data center and each access switch; For each access point and each cloud data center, based on the communication links where each access switch in the access point is located and the communication chains where each gateway cluster in the cloud data center is located, statistics are collected on the communication quality between the access point and the cloud data center.
7. The method according to claim 4, It is characterized in that The determining, based on the transmission indication information sent by each detection container, the communication quality of the communication link associated with each detection container includes at least one of the following: For each communication link, determining a transmission delay corresponding to the communication link based on a sending time and a receiving time of each detection message transmitted through the communication link; Based on the reception indication information of each detection message transmitted by the communication link, the packet loss rate corresponding to the communication link is determined.
8. The method according to any one of claims 5 to 7, It is characterized in that The method further comprises: When the communication quality of any communication link meets the target condition, displaying abnormal prompt information for any communication link; The abnormal prompt information includes at least one of the following: There is an abnormality in any of the communication links; The access point where the access switch of any communication link is located; The cloud data center where the gateway cluster of any communication link is located; The park where the cloud data center of any of the communication links is located.
9. A network detection method, It is characterized in that The method is applied to detecting a target switch in a network detection system; the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, each cloud data center includes at least one gateway cluster and a detection virtual machine, and the target switch is any access switch in the network detection system; Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link; each communication link where each switch is located has a corresponding associated detection container; The method comprises: Receive a detection message sent by a target container associated with the target switch; Searching the routing table for a gateway cluster in the target communication link associated with the target container; The detection message is sent to the found gateway cluster so that the found gateway cluster sends the detection message to the target virtual machine, and the target virtual machine is the detection virtual machine of the cloud data center where the gateway cluster in the target communication link is located; wherein the routing table includes the association relationship between each detection container corresponding to the target switch and the communication link.
10. A network detection device, It is characterized in that The device is applied to a target container in a network detection system, the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, each cloud data center includes at least one gateway cluster and a detection virtual machine, and the target container is any detection container in the network detection system; Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link; each communication link where each switch is located has a corresponding associated detection container; The device comprises: A first sending module is used to send a detection message to a target switch corresponding to the target container when receiving a detection instruction sent by a cloud detection device, so that the target switch searches for a gateway cluster in a target communication link associated with the target container from a routing table, and sends the detection message to a target virtual machine based on the found gateway cluster; wherein the routing table includes an association relationship between each detection container and a communication link corresponding to the target switch, and the target virtual machine is a detection virtual machine of a cloud data center where the gateway cluster in the target communication link is located; A first determination module is used to determine transmission indication information of the detection message, where the transmission indication information at least includes reception indication information, and the reception indication information indicates whether the target virtual machine has received the detection message; The second sending module is used to send the transmission indication information to the cloud detection device, so that the cloud detection device determines the communication quality of the target communication link based on the transmission indication information.
11. A network detection device, It is characterized in that The device is applied to a cloud detection device, which is used to detect a communication link between an access switch and a gateway cluster in a network detection system; the network detection system includes at least one access point and a cloud data center, each access point includes at least one access switch and a detection container corresponding to each access switch, and each cloud data center includes at least one gateway cluster and a detection virtual machine; Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link; each communication link where each switch is located has a corresponding associated detection container; The device comprises: The third sending module is used to send detection instructions to each detection container respectively, so as to send a detection message to the target switch corresponding to the target container; the target container is any detection container in the network detection system; the target switch is used to search the gateway cluster in the target communication link associated with the target container from the routing table, and send the detection message to the target virtual machine based on the found gateway cluster; wherein the routing table includes the association relationship between each detection container corresponding to the target switch and the communication link, and the associated detection virtual machine is the detection virtual machine of the cloud data center where the gateway cluster in the associated communication link is located; A first receiving module, configured to receive transmission indication information sent by each detection container, wherein the transmission indication information at least includes reception indication information, and the reception indication information indicates whether the associated detection virtual machine has received the detection message; The second determining module is configured to determine the communication quality of the communication link associated with each detection container based on the transmission indication information sent by each detection container.
12. A network detection device, It is characterized in that The device is applied to detect a target switch in a network detection system; the network detection system comprises at least one access point and a cloud data center, each access point comprises at least one access switch and a detection container corresponding to each access switch, each cloud data center comprises at least one gateway cluster and a detection virtual machine, and the target switch is any access switch in the network detection system; Each access switch has a communication link with each gateway cluster of each cloud data center; each detection container is associated with a communication link where the access switch corresponding to the detection container is located; each detection container communicates with the detection virtual machine of the cloud data center through the associated communication link; each communication link where each switch is located has a corresponding associated detection container; The device comprises: A second receiving module, configured to receive a detection message sent by a target container associated with the target switch; A search module, used to search a gateway cluster in a target communication link associated with the target container from a routing table; The fourth sending module is used to send the detection message to the found gateway cluster so that the found gateway cluster sends the detection message to the target virtual machine, and the target virtual machine is the detection virtual machine of the cloud data center where the gateway cluster in the target communication link is located; wherein the routing table includes the association relationship between each detection container corresponding to the target switch and the communication link.
13. An electronic device comprising a memory, a processor and a computer program stored in the memory, It is characterized in that The processor executes the computer program to implement the network detection method according to any one of claims 1 to 9.
14. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the network detection method according to any one of claims 1 to 9 is implemented.
15. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the network detection method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Method for transmitting message, network edge device and message transmission system
CN108989248A
Network connectivity detection method, device, equipment and medium
CN114629820A
Cloud private line quality monitoring method, device and equipment and computer storage medium
CN116264558A
Link quality monitoring system and monitoring method
CN117376216A
VPC network link detection method and device, equipment and storage medium
CN117792952A
