WO2021056716A1 - Procédé de surveillance de qualité d'un service en nuage, et produit associé - Google Patents
Procédé de surveillance de qualité d'un service en nuage, et produit associé Download PDFInfo
- Publication number
- WO2021056716A1 WO2021056716A1 PCT/CN2019/117007 CN2019117007W WO2021056716A1 WO 2021056716 A1 WO2021056716 A1 WO 2021056716A1 CN 2019117007 W CN2019117007 W CN 2019117007W WO 2021056716 A1 WO2021056716 A1 WO 2021056716A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network test
- client
- cloud host
- server
- cloud
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
- H04L43/55—Testing of service level quality, e.g. simulating service usage
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Definitions
- This application relates to the field of data processing technology, and in particular to a cloud service quality monitoring method and related products.
- Cloud service is an added service based on the Internet, which usually involves the provision of dynamic and easy-to-expandable services through the Internet; typical application scenarios of cloud services are: cloud Internet of things, cloud security, cloud storage, etc.
- cloud services are generally provided by servers in the cloud. Multiple virtual computers (called cloud hosts, the server referred to here can be considered as the carrier of the cloud host).
- the servers are virtualized into multiple cloud hosts, which can be accessed through the cloud.
- the host provides on-demand use and on-demand rental services based on the cloud computing model to realize dynamic and easy-scalable cloud services, such as assigning different cloud hosts to different users, and realizing the on-demand configuration of cloud service resources.
- Cloud service instructions refer to the service quality of cloud services.
- Good cloud service quality is of great significance to improving users’ experience of using cloud services. Therefore, the service quality of cloud services is monitored to provide comprehensive monitoring of cloud services when there are defects in cloud service quality. Interpretation of quality defects is particularly necessary to ensure good cloud service quality.
- Cloud services involve servers and cloud hosts. Cloud service quality defects may appear on servers or cloud hosts. Therefore, it is difficult to pinpoint the cause of cloud service quality defects.
- Send ping packet internet groper, Internet packet detector
- the server will receive a large number of ping detection packets, and there is a risk of being attacked by ping detection packets, so the security is low.
- the technical problem to be solved by the embodiments of the present application is to provide a cloud service quality monitoring method and related products, which are used to improve security on the premise of accurately locating the cause of the cloud service quality defect.
- an embodiment of the present application provides a cloud service quality monitoring method, including:
- the server If there is a network test packet sent by the client and other clients than the client to the server, intercept the client and other clients other than the client and send to the cloud host The network test package; the network test package sent to the cloud host is counted to obtain a statistical result, and if the statistical result belongs to a predetermined rule that the cloud host is centrally detected, the server is detected to obtain the detection result, Sending the detection result to the client.
- the embodiments of the present application also provide a cloud service quality monitoring device, including:
- the first receiving unit is configured to receive a network test packet sent from the client to the cloud host in the server;
- a forwarding unit configured to send the network test packet to the cloud host
- the second receiving unit is configured to receive the result data of the network test packet returned by the cloud host;
- a sending unit configured to send the result data to the client
- the statistical unit is used for network test packets sent to the server by the client and other clients other than the client, and the client and other clients other than the client are sent to all In the case that the network test packet of the cloud host is intercepted, the network test packet sent to the cloud host is counted to obtain the statistical result;
- a detection unit configured to detect the server to obtain a detection result when the statistical result belongs to a predetermined rule that the cloud host is centrally detected
- the sending unit is further configured to send the detection result to the client.
- the embodiments of the present application also provide a cloud service quality monitoring device, including: a processor, a memory, and a transceiver; wherein the processor, the memory, and the transceiver are connected in a communicative manner;
- Program code is stored in the memory
- the processor is configured to read the program code and cooperate with the transceiver to realize the information interaction function in any one of the methods provided in the embodiments of the present application.
- the embodiments of the present application also provide a computer non-volatile readable storage medium, the computer non-volatile readable storage medium stores program code, the program code includes program instructions, and the program instructions When executed by the processor, the processor and the transceiver cooperate to realize the information interaction function in any one of the methods provided in the embodiments of the present application.
- the embodiments of the present application also provide a computer program product.
- the computer program product includes program code.
- the program code includes program instructions. When executed by a processor, the program instructions cause the processor to communicate with the transceiver.
- the device cooperates to realize the information interaction function in any one of the methods provided in the embodiments of the present application.
- the embodiments of the present application because the detection results and result data for the server and the cloud host can be fed back to the client that has sent the network test package, the technical effects brought by the detection results and the result data can be achieved, namely:
- the client can determine the cloud service quality detection result for the cloud host based on the above result data, and determine the cloud service quality detection result for the cloud server based on the above detection result; thus, determine the current existence based on the cloud service quality detection results of the server and the cloud host
- After the cloud service quality defect according to the preset cause of the cloud service quality defect, analyze the corresponding operation data of the cloud service, match the target cause of the current cloud service quality defect, and realize the precise location of the cause of the cloud service quality defect ; And then obtain and implement the preset solution strategy corresponding to the above-mentioned target reason, provide a solution strategy matching the located reason, and solve the cloud service quality defects, thereby improving the cloud service quality and guaranteeing the cloud service quality.
- the network detection packets from the client are intercepted, so it is not necessary to send all the network detection packets from the client to the server. Furthermore, the server does not need to directly receive all the network detection packets from the client, and the server does not need to send the client to the client. Publish your own address, thereby reducing the possibility of being attacked by network test packets and improving security.
- Figure 1 is a schematic diagram of the system structure of an embodiment of the present application.
- FIG. 2 is a schematic diagram of the method flow of an embodiment of the present application.
- Fig. 3 is a schematic diagram of a method flow diagram of an embodiment of the present application.
- FIG. 4 is a schematic diagram of the structure of the device according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of the structure of the device in an embodiment of the present application.
- the embodiment of the application provides a method for monitoring cloud service quality.
- the method in this embodiment is applied to the cloud server side or the firewall on the cloud server side.
- the monitoring device in the system structure shown in FIG. 1 is shown in FIG.
- a cloud server 102 is shown.
- the monitoring device 103 can be a component of the cloud server 102, or it can be deployed on the cloud server 102 and the client 104.
- the client 104 is a functional object that performs the function of sending network test packets in a terminal device (referred to as a terminal or a user device).
- the above method includes:
- the network test packet may be used to test network information such as the amount of network connection.
- the network test packet may be a ping detection packet.
- the client side of the embodiment of the present application can use the ping tool to send ping detection packets to the cloud server and the cloud host in the cloud server respectively; or use the ping tool to only send the ping detection packet to the cloud server in the cloud server.
- the ping tool can be set on the user device of the client, and the ping detection packet for the server or the cloud host in the server can be received from the server.
- the cloud host is a virtual device that the client can directly access, and its access address is usually public; therefore, it may be accessed by different clients, so different clients can send ping detection packets to it.
- the ping detection packet sent to the cloud host can follow the relevant regulations of the Internet Control Messages Protocol (ICMP).
- ICMP Internet Control Messages Protocol
- the cloud host will return an ICMP echo response as the result data according to ICMP regulations.
- the client can determine the connection status between the client and the cloud host based on this, and determine whether the cloud host has a cloud service quality defect based on this.
- a predetermined rule for centralized detection of cloud hosts is set.
- the predetermined rule for centralized detection of cloud hosts can be set according to needs. The purpose is to determine whether there is a need to detect servers; for example, there are many Clients detect different cloud hosts, and there are many clients that detect the same cloud host; here it can be that the above two events have occurred within a certain period of time. Among them, the former can be used as a preferred implementation. In this case, the server itself is more likely to have cloud service quality defects.
- the detection result and result data for the server and the cloud host can be fed back to the client that has sent the network test package, and the client can determine the cloud service quality detection result for the cloud host according to the above result data, and according to the above detection
- the result determines the cloud service quality test results for the cloud server; thus, according to the cloud service quality test results of the server and the cloud host, after determining the current cloud service quality defect, according to the preset cause of the cloud service quality defect, the cloud service is corresponding Analyze the operating data of the company, match the target cause of the current cloud service quality defect, and realize the precise location of the cause of the cloud service quality defect; then obtain and implement the preset solution strategy corresponding to the above target cause, and provide the A solution strategy that matches the location of the cause is to solve the defects of cloud service quality, so as to improve the quality of cloud service and ensure the quality of cloud service.
- the client does not need to send a network detection packet to the server, so for the server, it does not need to directly receive the network detection packet from the client, nor does it need to announce its address to the client, thereby reducing the possibility of network testing.
- the possibility of packet attacks improves security.
- the embodiment of the present application also provides an example of a predetermined rule for centralized detection of a cloud host, which is specifically as follows: the above method further includes:
- the statistical results obtained from the above statistics of the network test packets sent to the above cloud host include:
- the number of cached network test packets sent to the cloud host is greater than the first threshold, or the number of source clients of the cached network test packets sent to the cloud host is greater than the second threshold.
- a receiving queue can be used to cache network test packets, where the receiving queue can be a receiving queue that caches all network test packets sent to the server; it can also be classified according to the cloud host, that is, send to different The network test packets of the cloud host are cached to different receiving queues.
- the number of network test packets sent to the cloud host is counted, and the source client of the network test packet is not distinguished.
- the implementation is mainly for a certain cloud In the scenario where the host is centrally probed; the number of source clients of the network test package sent to the cloud host is counted, and the source client of the network test package is distinguished, and the total network test sent to the cloud host is not limited.
- the number of packets, this implementation is mainly for the application scenario where a certain cloud host is detected by many clients. For these two scenarios, the latter can be the preferred implementation.
- the above source client is relative to the network test package, and the client that sends the network test package is the source client of the network test package.
- predetermined rules for cloud hosts to be centrally detected can be set in the embodiment of the present application. For example, the number of network test packets received within a predetermined time period exceeds a certain threshold, and no distinction is made at this time. The source client of the network test package does not distinguish which cloud host the network test package is sent to. Therefore, the examples of predetermined rules for centralized detection of cloud hosts provided in the embodiments of the present application should not be construed as unique limitations to the embodiments of the present application.
- first threshold and the second threshold in this embodiment are based on different purposes.
- the former is to determine that a certain cloud host is centrally detected, so how much can be determined to be centrally detected is to set the first threshold Basis;
- the latter is to determine that a certain cloud host is detected by many clients is the basis for setting the second threshold; the embodiment of the present application does not uniquely limit the specific values of the first threshold and the second threshold.
- the embodiment of the present application also provides a caching form of the network test packet, and examples of conditions for triggering detection of the server, which are specifically as follows:
- the foregoing caching of the network test packet includes:
- the above-mentioned statistics cache the number of network test packets sent to the cloud host, or the statistics cache the number of source clients of the network test packets sent to the cloud host; including:
- the former can be applied to scenarios where neither the source client of the network test packet is distinguished nor the cloud host to which the network test packet is sent.
- the latter can be applied to application scenarios where a certain cloud host is centrally detected or a certain cloud host is detected by many clients.
- the former can also be applied to application scenarios where a cloud host is centrally detected or a cloud host is detected by many clients.
- Recognition is relatively slow; therefore, when it is applied to an application scenario where a cloud host is centrally detected or a cloud host is detected by many clients, the latter can speed up the detection speed.
- the former is faster.
- the length of the receiving queue corresponding to the cloud host may be set as the aforementioned first threshold. At this time, when the receiving queue overflows, it can be determined that the number of cached network test packets sent to the cloud host is greater than the first threshold; the step of statistics is omitted.
- each time a network test packet is received and buffered in the receiving queue it can be determined whether the cloud host and the source client for which it is targeted are new clients, using the array array[a][ b] Storage, where array is the name of the array, which can be named using the cloud host name, a is the number of network test packets sent to the cloud host, b is the number of source clients sent to the cloud host; when it is executed, receive To the network test package, it is determined to be sent to the array cloud host, then a++, determine whether the source client of the network test package is a new client, and b++ if it is a new client.
- the server can be detected when the array overflows, and the array can be initialized.
- the execution side of the embodiment of this application is not on the client side, so it cannot prevent the client from sending a network test package to the server. If the network test package sent to the server is received, the solution provided by the embodiment of this application is as follows: Also includes:
- the network test packet sent to the server is received, the network test packet sent to the server is deleted.
- This embodiment can be compatible with the technical solution that the client sends the network test package to the server and the cloud host, so it can be compatible with application solutions of various friends.
- the client sends network test packets to both the server and the cloud host, on the one hand, the client can receive the detection results of the necessary service area, and on the other hand, it can avoid the risk of the server being attacked.
- the embodiment of the present application also provides specific means for detecting the server and specific means for sending the detection result to the client.
- the detection result obtained by detecting the server and sending the detection result to the client includes:
- Modify the destination address of the network test packet sent to the cloud host to the server send the network test packet with the modified destination address to the server, receive the detection result returned by the server, and send the detection result to the client.
- the implementation means of the network test package can be compatible, that is, the server can still be compatible with the ping test package, and follow the relevant regulations of ICMP.
- This embodiment also provides an application scenario for sending detection results to other clients, which is specifically as follows: the above method also includes:
- the target client includes the client whose distance from the current time is less than the fourth threshold at the time when the network test packet was sent to the cloud host last time; or, the target client includes the client within a predetermined time period from the current time Clients whose number of network test packets sent by the cloud host exceeds a fifth threshold or, the target client includes clients whose number of network test packets sent to the cloud host exceeds the fifth threshold within a predetermined period of time away from the current time;
- the fourth threshold is to obtain clients that may have the cloud service status of the detection server.
- the time for these clients to send network test packets is relatively close to the current moment; or, in the most recent period of time.
- the network test package has been sent several times. Therefore, the above fourth threshold is used to distinguish which clients are closer to the current moment, and the fifth threshold is used to distinguish how many times the network test packet is sent for multiple times.
- the specific values are not uniquely limited in the embodiments of this application.
- This embodiment can actively report the cloud service status of the server to a variety of clients that may need the cloud service status of the server, so as to help these clients learn the cloud service status of the server as soon as possible.
- the foregoing sending the foregoing detection result to the foregoing client includes:
- the foregoing sending the foregoing result data to the foregoing client includes:
- the result data can be any data that represents the status of the server.
- the result data is only the ICMP echo response of the same size as the ping detection packet, and the data contained in the ICMP echo response In this embodiment, it can be marked as sent to the server, and ⁇ t can also be marked. This ⁇ t is the waiting time of the ping detection packet in the queue, which is used by the client to deduct the ⁇ t when calculating the network delay.
- these ping detection packets are still cached and waiting for the fourth threshold to determine whether to modify the detection object and then sent to the server. These ping detection packets are waiting
- the time is relatively long. If ⁇ t is not deducted, the network delay displayed in the detection result will be greatly increased; therefore, this embodiment can deduct the time at the monitoring device, or carry ⁇ t to the client in the ICMP echo response. The client decides to deduct this part of time.
- the embodiment of the application also provides an example of an application scenario using a ping detection package as a network test package, and an example of using a monitoring device outside the server as a hardware entity that manages the network test package, as shown in Figure 3, and can be referred to as shown in Figure 1.
- System architecture diagram including:
- the client sends a ping detection packet to the cloud host in the server.
- the ping detection packet contains the address of the cloud host; the ping detection packet first reaches the monitoring device;
- the monitoring device After receiving the ping detection packet, the monitoring device recognizes the address in the ping detection packet and forwards it to the cloud host; in addition, it can establish a receiving queue for the cloud host and store the ping detection packet in the receiving queue;
- the monitoring device needs to identify the ping detection packet in this step, and it does not need to be stored in the receiving queue if it is not a ping detection packet.
- the monitoring device will receive the ICMP echo response returned by the cloud host, and the ICMP echo response includes the address of the client; after the monitoring device recognizes the address, the ICMP echo response is forwarded to the client.
- the monitoring device can count the ping detection packets in the above receiving queue to determine whether the preset rules are met, and if so, enter 305;
- the trigger condition for the execution of statistics in this step can be periodic, triggered when the receiving queue overflows, or triggered when there are more ping detection packets in the receiving queue than a specified value.
- the foregoing preset rule may be that a lot of ping detection packets are sent to the cloud host within a certain period of time, or the results of further detection of ICMP echo responses are normal. Of course, it can also be other preset rules that may need to detect the server.
- the specific detection method can be: take out a ping monitoring packet arbitrarily from the receiving queue, change the receiving address to the server, and forward it to the server; then after receiving the ICMP echo response, subtract ⁇ t from the time, or mark ⁇ t ; Please refer to the previous embodiment for the description of the ⁇ t, which will not be repeated here.
- the benefits of using the solution of this embodiment include not only the ability to determine whether the service quality impact is from the server or the cloud host, but also the following benefits:
- the server will not directly receive the ping detection from the client, which shields the possibility of being attacked;
- N can be the number of cloud hosts.
- the number of cloud hosts is obviously much lower than the number of clients; therefore, the amount of detection processing can be reduced.
- the embodiment of the application also provides a cloud service quality monitoring device, as shown in FIG. 4, including:
- the first receiving unit 401 is configured to receive a network test packet sent from the client to the cloud host in the server;
- the forwarding unit 402 is configured to send the aforementioned network test packet to the aforementioned cloud host;
- the second receiving unit 403 is configured to receive the result data of the network test packet returned by the cloud host;
- the sending unit 404 is configured to send the above result data to the above client;
- the statistical unit 405 is configured to send network test packets sent to the server by the above-mentioned client and other clients except the above-mentioned client, and sent to the network of the above-mentioned cloud host by the above-mentioned client and other clients except the above-mentioned client When the test packet is intercepted, count the network test packets sent to the above-mentioned cloud host to obtain the statistical result;
- the detection unit 406 is configured to detect the server to obtain a detection result when the statistical result belongs to the predetermined rule that the cloud host is centrally detected;
- the sending unit 404 is further configured to send the detection result to the client.
- the network test packet may be used to test network information such as the amount of network connection.
- the network test packet may be a ping detection packet.
- the client side of the embodiment of the present application can use the ping tool to send ping detection packets to the cloud server and the cloud host in the cloud server respectively; or use the ping tool to only send the ping detection packet to the cloud server in the cloud server.
- the ping tool can be set on the user device of the client, and the ping detection packet for the server or the cloud host in the server can be received from the server.
- the cloud host is a virtual device that the client can directly access, and its access address is usually public; therefore, it may be accessed by different clients, so different clients can send ping detection packets to it.
- the ping detection packet sent to the cloud host can follow the relevant regulations of ICMP.
- the cloud host will return an ICMP echo response as the result data according to ICMP regulations.
- the client can determine the connection status between the client and the cloud host based on this, and determine whether the cloud host has a cloud service quality defect based on this.
- a predetermined rule for centralized detection of cloud hosts is set.
- the predetermined rule for centralized detection of cloud hosts can be set according to needs. The purpose is to determine whether there is a need to detect servers; for example, there are many Clients detect different cloud hosts, and there are many clients that detect the same cloud host; here it can be that the above two events have occurred within a certain period of time. Among them, the former can be used as a preferred implementation. In this case, the server itself is more likely to have cloud service quality defects.
- the detection result and result data for the server and the cloud host can be fed back to the client that has sent the network test package, and the client can determine the cloud service quality detection result for the cloud host according to the above result data, and according to the above detection
- the result determines the cloud service quality test results for the cloud server; thus, according to the cloud service quality test results of the server and the cloud host, after determining the current cloud service quality defect, according to the preset cause of the cloud service quality defect, the cloud service is corresponding Analyze the operating data of the company, match the target cause of the current cloud service quality defect, and realize the precise location of the cause of the cloud service quality defect; then obtain and implement the preset solution strategy corresponding to the above target cause, and provide the A solution strategy that matches the location of the cause is to solve the defects of cloud service quality, so as to improve the quality of cloud service and ensure the quality of cloud service.
- the client does not need to send a network detection packet to the server, so for the server, it does not need to directly receive the network detection packet from the client, nor does it need to announce its address to the client, thereby reducing the possibility of network testing.
- the possibility of packet attacks improves security.
- the embodiment of the present application also provides an example of a predetermined rule for centralized detection of a cloud host, which is specifically as follows: the above-mentioned device further includes:
- the storage unit 407 is configured to buffer the network test package before sending the network test package to the cloud host;
- the statistics unit 405 is configured to count the number of cached network test packets sent to the cloud host, or count the number of source clients of the cached network test packets sent to the cloud host;
- the detection unit 406 is configured to: when the number of cached network test packets sent to the cloud host is greater than a first threshold, or the number of source clients of the cached network test packets sent to the cloud host If it is greater than the second threshold, detect the above-mentioned server to obtain a detection result.
- a receiving queue can be used to cache network test packets, where the receiving queue can be a receiving queue that caches all network test packets sent to the server; it can also be classified according to the cloud host, that is, send to different The network test packets of the cloud host are cached to different receiving queues.
- the number of network test packets sent to the cloud host is counted, and the source client of the network test packet is not distinguished.
- the implementation is mainly for a certain cloud In the scenario where the host is centrally probed; the number of source clients of the network test package sent to the cloud host is counted, and the source client of the network test package is distinguished, and the total network test sent to the cloud host is not limited.
- the number of packets, this implementation is mainly for the application scenario where a certain cloud host is detected by many clients. For these two scenarios, the latter can be the preferred implementation.
- the above source client is relative to the network test package, and the client that sends the network test package is the source client of the network test package.
- predetermined rules for cloud hosts to be centrally detected can be set in the embodiment of the present application. For example, the number of network test packets received within a predetermined time period exceeds a certain threshold, and no distinction is made at this time. The source client of the network test package does not distinguish which cloud host the network test package is sent to. Therefore, the examples of predetermined rules for centralized detection of cloud hosts provided in the embodiments of the present application should not be construed as unique limitations on the embodiments of the present application.
- first threshold and the second threshold in this embodiment are based on different purposes.
- the former is to determine that a certain cloud host is centrally detected, so how much can be determined to be centrally detected is to set the first threshold Basis;
- the latter is to determine that a certain cloud host is detected by many clients is the basis for setting the second threshold; the embodiment of the present application does not uniquely limit the specific values of the first threshold and the second threshold.
- the embodiment of the present application also provides a buffering form of network test packets, and examples of conditions for triggering detection of the server, which are specifically as follows:
- the storage unit 407 is specifically configured to buffer all received network test packets into the same receiving queue. Or, create a receiving queue for the cloud host, and buffer the above-mentioned network test packet in the receiving queue corresponding to the above-mentioned cloud host.
- the statistical unit 405 is specifically configured to delete the network test packets in the receiving queue whose time difference between the receiving time and the current time exceeds a third threshold when the receiving queue overflows; to count the data in the receiving queue that are sent to the cloud The number of network test packets of the host, or the number of source clients of the network test packets buffered in the receiving queue corresponding to the cloud host.
- the former can be applied to scenarios where neither the source client of the network test packet is distinguished nor the cloud host to which the network test packet is sent.
- the latter can be applied to application scenarios where a certain cloud host is centrally detected or a certain cloud host is detected by many clients.
- the former can also be applied to application scenarios where a cloud host is centrally detected or a cloud host is detected by many clients.
- Recognition is relatively slow; therefore, when it is applied to an application scenario where a cloud host is centrally detected or a cloud host is detected by many clients, the latter can speed up the detection speed.
- the former is faster.
- the length of the receiving queue corresponding to the cloud host may be set as the aforementioned first threshold. At this time, when the receiving queue overflows, it can be determined that the number of cached network test packets sent to the cloud host is greater than the first threshold; the step of statistics is omitted.
- each time a network test packet is received and buffered in the receiving queue it is possible to determine whether the cloud host and the source client it is aimed at are new clients, using the array array[a][ b] Storage, where array is the name of the array, which can be named using the cloud host name, a is the number of network test packets sent to the cloud host, b is the number of source clients sent to the cloud host; when it is executed, receive To the network test package, it is determined to be sent to the array cloud host, then a++, to determine whether the source client of the network test package is a new client, and b++ if it is a new client.
- the server can be detected when the array overflows, and the array can be initialized.
- the execution side of the embodiment of this application is not on the client side, so it cannot prevent the client from sending a network test package to the server. If the network test package sent to the server is received, the solution provided by the embodiment of this application is as follows: Also includes:
- the packet deleting unit 408 is configured to delete the network test packet sent to the server if the network test packet sent to the server is received.
- This embodiment can be compatible with the technical solution that the client sends the network test package to the server and the cloud host, so it can be compatible with application solutions of various friends.
- the client sends network test packets to both the server and the cloud host, on the one hand, the client can receive the detection results of the necessary service area, and on the other hand, it can avoid the risk of the server being attacked.
- the embodiment of the present application also provides specific means for detecting the server and specific means for sending the detection result to the client.
- the detection unit 406 is specifically used to modify the destination address of the network test packet sent to the cloud host to The server, sending the network test packet with the modified destination address to the server, and receiving the detection result returned by the server;
- the sending unit 404 is specifically configured to send the detection result to the client.
- the implementation means of the network test package can be compatible, that is, the server can still be compatible with the ping test package, and follow the relevant regulations of ICMP.
- This embodiment also provides an application scenario for sending detection results to other clients, which is specifically as follows: the above-mentioned device further includes:
- the client acquisition unit 409 is configured to acquire a target client.
- the target client includes a client whose distance from the current time is less than a fourth threshold at the time when the network test packet was last sent to the cloud host; or, the target client includes Clients whose number of network test packets sent to the cloud host within a predetermined period of time from the current time exceeds the fifth threshold
- the sending unit 404 is further configured to send the detection result to the target client.
- the fourth threshold is to obtain clients that may have the cloud service status of the detection server.
- the time for these clients to send network test packets is relatively close to the current moment; or, in the most recent period of time.
- the network test package has been sent several times. Therefore, the above fourth threshold is used to distinguish which clients are closer to the current moment, and the fifth threshold is used to distinguish how many times the network test packet is sent for multiple times.
- the specific values are not uniquely limited in the embodiments of this application.
- This embodiment can actively report the cloud service status of the server to a variety of clients that may need the cloud service status of the server, so as to help these clients learn the cloud service status of the server as soon as possible.
- the embodiment of the present application also provides an optional implementation scheme for sending detection results, which is specifically as follows: the above-mentioned device further includes:
- the data writing unit 410 is configured to write the above detection result into the above result data, and mark the detection object as the above server;
- the sending unit 404 is specifically configured to send the result data added with the detection result to the client.
- the result data can be any data that represents the status of the server.
- the result data is only the ICMP echo response of the same size as the ping detection packet, and the data contained in the ICMP echo response In this embodiment, it can be marked as sent to the server, and ⁇ t can also be marked. This ⁇ t is the waiting time of the ping detection packet in the queue, which is used by the client to deduct the ⁇ t when calculating the network delay.
- these ping detection packets are still cached and waiting for the fourth threshold to determine whether to modify the detection object and then sent to the server. These ping detection packets are waiting
- the time is relatively long. If ⁇ t is not deducted, the network delay displayed in the detection result will be greatly increased; therefore, this embodiment can deduct the time at the monitoring device, or carry ⁇ t to the client in the ICMP echo response. The client decides to deduct this part of time.
- the embodiment of the present application also provides a cloud service quality monitoring device.
- the cloud service quality monitoring device may be a hardware entity in a cloud server, or a monitoring device outside the cloud server as shown in FIG. 1, as shown in FIG. 5. Shown, including: a processor 501, a memory 502, and a transceiver 503; wherein the processor 501, the memory 502, and the transceiver 503 are connected in a communicative manner;
- the memory 502 includes but is not limited to random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or Portable read-only memory (compact disc read-only memory, CD-ROM), the memory 502 is used for related instructions and data.
- the transceiver 503 is used to receive and send data.
- the processor 501 may be one or more central processing units (CPU).
- the CPU may be a single-core CPU or a multi-core CPU.
- Program codes are stored in the aforementioned memory 502;
- the above-mentioned processor 501 is configured to read the above-mentioned program code and cooperate with the above-mentioned transceiver 503 to realize the information interaction function in any one of the methods provided in the embodiments of the present application.
- the transceiver 503 in this embodiment can be any device that can be used for communication between devices, including radio frequency modules and wired communication modules; if the cloud service quality monitoring device can be a hardware entity in a cloud server, then the transceiver
- the communication between the 503 and the server can also be any device including a bus that can be used for intra-device communication.
- the embodiment of the present application also provides a computer non-volatile readable storage medium.
- the above-mentioned computer non-volatile readable storage medium stores program code, the above-mentioned program code includes program instructions, and the above-mentioned program instructions are executed by a processor.
- the above-mentioned processor and the transceiver cooperate to realize the information interaction function in any one of the methods provided in the embodiments of the present application.
- the embodiment of the present application also provides a computer program product.
- the computer program product includes program code.
- the program code includes program instructions. When the program instructions are executed by a processor, the processor and the transceiver cooperate to realize the application.
- the information interaction function in any one of the methods provided in the embodiment.
- the process can be completed by a computer program instructing relevant hardware.
- the program can be stored in a computer nonvolatile readable storage medium.
- the aforementioned storage media include: ROM or random storage RAM, magnetic disks or optical discs and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Des modes de réalisation de la présente invention peuvent être appliqués au domaine de la surveillance d'état de la technologie infonuagique, et portent sur un procédé de surveillance de qualité d'un service en nuage, et un produit associé. Le procédé consiste à : recevoir un paquet de test de réseau envoyé d'un client à un hôte en nuage dans un serveur, et envoyer le paquet de test de réseau à l'hôte en nuage ; recevoir des données de résultat du paquet de test de réseau renvoyées par l'hôte en nuage, et envoyer les données de résultat au client ; s'il existe des paquets de test de réseau envoyés au serveur par le client et par des clients autres que le client, intercepter les paquets de test de réseau envoyés à l'hôte en nuage par le client et par les clients autres que le client ; et collecter des statistiques concernant les paquets de test de réseau envoyés à l'hôte en nuage pour obtenir un résultat statistique, dans le cas où le résultat statistique relève d'une règle prédéterminée de détection de l'hôte en nuage d'une manière centralisée, détecter le serveur pour obtenir un résultat de détection, et envoyer le résultat de détection au client. D'une part, des raisons peuvent être déterminées avec précision pour des défauts de qualité d'un service en nuage afin de garantir la qualité du service en nuage, et d'autre part, la possibilité de subir une attaque par un paquet de test de réseau peut être réduite et ainsi la sécurité est améliorée.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910915045.4A CN110784337B (zh) | 2019-09-26 | 2019-09-26 | 一种云服务质量监控方法及相关产品 |
CN201910915045.4 | 2019-09-26 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021056716A1 true WO2021056716A1 (fr) | 2021-04-01 |
Family
ID=69384506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/117007 WO2021056716A1 (fr) | 2019-09-26 | 2019-11-11 | Procédé de surveillance de qualité d'un service en nuage, et produit associé |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110784337B (fr) |
WO (1) | WO2021056716A1 (fr) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541583B (zh) * | 2020-04-20 | 2022-01-04 | 杭州迪普信息技术有限公司 | 一种分片报文缓存测试系统、方法及装置 |
CN114553867A (zh) * | 2022-01-21 | 2022-05-27 | 北京云思智学科技有限公司 | 一种云原生的跨云网络监控方法、装置及存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101437030A (zh) * | 2008-11-29 | 2009-05-20 | 成都市华为赛门铁克科技有限公司 | 一种防止服务器被攻击的方法、检测装置及监控设备 |
CN108777640A (zh) * | 2018-06-04 | 2018-11-09 | 腾讯科技(深圳)有限公司 | 一种服务器探测方法、装置、系统及存储介质 |
US20190245746A1 (en) * | 2017-05-03 | 2019-08-08 | International Business Machines Corporation | Filesystem share auto-detect |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008062864A1 (fr) * | 2006-11-24 | 2008-05-29 | Nec Corporation | Système de localisation de machine virtuelle, procédé de localisation de machine virtuelle, programme, dispositif de gestion de machine virtuelle et serveur |
TW201413467A (zh) * | 2012-09-28 | 2014-04-01 | Delta Electronics Inc | 管理雲端主機的監控系統及其監控方法 |
CN104657250B (zh) * | 2014-12-16 | 2018-07-06 | 无锡华云数据技术服务有限公司 | 一种对云主机进行性能监控的监控系统及其监控方法 |
CN105955798A (zh) * | 2016-04-29 | 2016-09-21 | 北京奇虎科技有限公司 | 一种检测云平台中虚拟机异常状态的方法、装置和系统 |
CN108512673B (zh) * | 2017-02-24 | 2021-08-03 | 腾讯科技(深圳)有限公司 | 一种云服务质量监控方法、装置及服务器 |
CN109802985B (zh) * | 2017-11-17 | 2021-01-29 | 北京金山云网络技术有限公司 | 数据传输方法、装置、设备及可读取存储介质 |
CN108958884B (zh) * | 2018-06-22 | 2022-02-18 | 郑州云海信息技术有限公司 | 一种虚拟机管理的方法及相关装置 |
-
2019
- 2019-09-26 CN CN201910915045.4A patent/CN110784337B/zh active Active
- 2019-11-11 WO PCT/CN2019/117007 patent/WO2021056716A1/fr active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101437030A (zh) * | 2008-11-29 | 2009-05-20 | 成都市华为赛门铁克科技有限公司 | 一种防止服务器被攻击的方法、检测装置及监控设备 |
US20190245746A1 (en) * | 2017-05-03 | 2019-08-08 | International Business Machines Corporation | Filesystem share auto-detect |
CN108777640A (zh) * | 2018-06-04 | 2018-11-09 | 腾讯科技(深圳)有限公司 | 一种服务器探测方法、装置、系统及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110784337B (zh) | 2023-08-22 |
CN110784337A (zh) | 2020-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11902096B2 (en) | Collection of error packet information for network policy enforcement | |
US20200287794A1 (en) | Intelligent autoscale of services | |
Dou et al. | A confidence-based filtering method for DDoS attack defense in cloud environment | |
US9426072B2 (en) | Traffic flow classification | |
US8745204B2 (en) | Minimizing latency in live virtual server migration | |
US11924168B2 (en) | Firewall rules intelligence | |
WO2021088484A1 (fr) | Procédé de détection de retard de réseau et dispositif associé | |
US10135708B2 (en) | Technologies for performance inspection at an endpoint node | |
CN111181798B (zh) | 网络时延测量方法、装置、电子设备及存储介质 | |
CN108259425A (zh) | 攻击请求的确定方法、装置及服务器 | |
CN113472900B (zh) | 报文处理方法、设备、存储介质及计算机程序产品 | |
WO2021056716A1 (fr) | Procédé de surveillance de qualité d'un service en nuage, et produit associé | |
CN112995046B (zh) | 一种内容分发网络流量管理方法及设备 | |
WO2019137208A1 (fr) | Procédé de surveillance de données sous-jacentes, support, dispositif et appareil | |
US9935886B2 (en) | Packet extracting apparatus and method | |
TWI748989B (zh) | 資料聚合方法及裝置 | |
CN111526064A (zh) | 一种数据流处理方法、装置、电子设备及存储介质 | |
WO2021056715A1 (fr) | Procédé de surveillance de mandataire de serveur et produit associé | |
CN111865716B (zh) | 一种端口拥塞检测方法、装置、设备及机器可读存储介质 | |
CN107438268B (zh) | 一种用于为移动设备加速无线网络的方法与设备 | |
Tekeoglu et al. | Approximating the number of active nodes behind a NAT device | |
CN114070633A (zh) | 一种地址扫描行为检测方法及装置 | |
CN112333061A (zh) | 一种共享上网检测方法及装置 | |
CN110049147A (zh) | 一种nat后主机数量检测方法 | |
CN114124754B (zh) | 用于处理多媒体网络中媒体数据包的方法及其相关产品 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19947128 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19947128 Country of ref document: EP Kind code of ref document: A1 |