Network service monitoring method, device, electronic device and readable storage medium

By obtaining the status information of multiple network resources of the device and comprehensively analyzing it to determine the control strategy, the problem of single network service monitoring methods in the prior art is solved, and monitoring accuracy and flexibility are improved.

CN113783746BActive Publication Date: 2025-05-16ALIBABA GROUP HOLDING LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010525528.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-10
Publication Date
2025-05-16
Estimated Expiration
2040-06-10

AI Technical Summary

Technical Problem

In the prior art, the network service monitoring method is single, making it difficult to meet actual needs for accuracy, flexibility and efficiency.

Method used

By obtaining the status information of multiple network resources of the device, comprehensively analyzing this information to determine the control strategy, and multi-channel monitoring of network services is realized.

Benefits of technology

Improve the accuracy and reliability of monitoring results, enhance the flexibility of decision-making, and optimize monitoring efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113783746B_ABST
    Figure CN113783746B_ABST
Patent Text Reader

Abstract

The disclosed embodiment discloses a network service monitoring method, device, electronic device and readable storage medium, wherein the network service monitoring method comprises obtaining first status information of a first device through a first network resource; obtaining second status information of the first device through a second network resource; and determining a control strategy for the first device according to the first status information and the second status information. The technical solution solves the technical problem that the single-channel network fault monitoring and decision-making method is single and its accuracy, flexibility and efficiency are difficult to meet actual needs, improves the accuracy and reliability of the monitoring results, and improves the flexibility of decision-making.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a network service monitoring method, device, electronic device and readable storage medium. Background Art

[0002] In cloud computing platforms, network products usually provide services to users by connecting to network links. Under normal circumstances, all network traffic is diverted to the forwarding nodes of network products for processing. In the prior art, such network products are designed with network service monitoring mechanisms, which trigger the diversion strategy to switch to other paths when the forwarding node status is abnormal. However, conventional network service monitoring only has a single monitoring channel. Once an abnormal status is detected and the switching mechanism takes effect, all traffic is switched to other paths, and the forwarding node will be completely isolated.

[0003] Due to the single monitoring and decision-making methods, their accuracy, flexibility and efficiency are difficult to meet actual needs. Summary of the invention

[0004] In order to solve the problems in the related art, the embodiments of the present disclosure provide a network service monitoring method, device, electronic device and readable storage medium.

[0005] In a first aspect, a network service monitoring method is provided in an embodiment of the present disclosure.

[0006] Specifically, the network service monitoring method includes:

[0007] Acquire first status information of the first device through the first network resource;

[0008] Acquire second status information of the first device through a second network resource;

[0009] determining a control strategy to be adopted for the first device according to the first state information and the second state information,

[0010] The first status information and the second status information include status information about monitoring items corresponding to each other.

[0011] In combination with the first aspect, in a first implementation method of the first aspect of the present disclosure, obtaining the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device; obtaining the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device.

[0012] In combination with the first implementation manner of the first aspect, in a second implementation manner of the first aspect of the present disclosure, the first network address and the second network address have different Internet Protocol addresses; and / or the first network address and the second network address have different port addresses.

[0013] In combination with the first aspect, in a third implementation of the first aspect of the present disclosure, obtaining the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device and the third network address of a second device communicating with the first device; obtaining the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device and the fourth network address of the second device.

[0014] In combination with the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect of the present disclosure, the third network address and the fourth network address have different Internet Protocol addresses; and / or the third network address and the fourth network address have different port addresses.

[0015] In combination with the first aspect, in a fifth implementation manner of the first aspect of the present disclosure, the first device includes any physical or virtual device in the network.

[0016] In combination with the first aspect, in a sixth implementation method of the first aspect of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the first status information of the first device through the first network resource according to the first monitoring strategy; obtaining the second status information of the first device through the second network resource includes: obtaining the second status information of the first device through the second network resource according to the second monitoring strategy.

[0017] In combination with the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect of the present disclosure, the first monitoring strategy has a longer monitoring time interval and / or a higher monitoring failure number threshold than the second monitoring strategy.

[0018] In combination with the first aspect, in an eighth implementation manner of the first aspect of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the network connectivity information of the first designated link of the first device through the first network resource, wherein the first designated link of the first device is implemented based on the first network resource; obtaining the second status information of the first device through the second network resource includes: obtaining the network connectivity information of the second designated link of the first device and the performance information of the service provided by the first device through the second network resource, wherein the second designated link of the first device is implemented based on the second network resource, and wherein the network connectivity of the first designated link and the second designated link has a strong correlation.

[0019] In combination with the first aspect, in a ninth implementation manner of the first aspect of the present disclosure, the control strategy for the first device is determined based on the first status information and the second status information, including: when the first status information is normal and the second status information is normal, directing the network traffic related to the service provided by the first device to the first device; when the first status information is abnormal and the second status information is normal, directing the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices.

[0020] In combination with the first aspect, in the tenth implementation method of the first aspect of the present disclosure, the control strategy for the first device is determined based on the first status information and the second status information, including: when the first status information is normal and the second status information is normal, the network traffic related to the service provided by the first device is directed to the first device; when the first status information is abnormal and the second status information is normal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices.

[0021] In combination with the first aspect, in the eleventh implementation method of the first aspect of the present disclosure, the obtaining of the first status information of the first device through the first network resource includes: obtaining the first status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices; the obtaining of the second status information of the first device through the second network resource includes: obtaining the second status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices.

[0022] In a second aspect, a network service monitoring device is provided in an embodiment of the present disclosure.

[0023] Specifically, the network service monitoring device includes:

[0024] A first acquisition module is configured to acquire first status information of a first device through a first network resource;

[0025] A second acquisition module is configured to acquire second status information of the first device through a second network resource;

[0026] a determination module, configured to determine a control strategy to be adopted for the first device according to the first state information and the second state information,

[0027] The first status information and the second status information include status information about monitoring items corresponding to each other.

[0028] In combination with the second aspect, in a first implementation method of the second aspect of the present disclosure, obtaining the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device; obtaining the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device.

[0029] In combination with the first implementation manner of the second aspect, in a second implementation manner of the second aspect of the present disclosure, the first network address and the second network address have different Internet Protocol addresses; and / or the first network address and the second network address have different port addresses.

[0030] In combination with the second aspect, in a third implementation of the second aspect of the present disclosure, the obtaining of the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device and the third network address of a second device communicating with the first device; the obtaining of the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device and the fourth network address of the second device.

[0031] In combination with the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect of the present disclosure, the third network address and the fourth network address have different Internet Protocol addresses; and / or the third network address and the fourth network address have different port addresses.

[0032] In combination with the second aspect, in a fifth implementation manner of the second aspect of the present disclosure, the first device includes any physical or virtual device in the network.

[0033] In combination with the second aspect, in a sixth implementation method of the second aspect of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the first status information of the first device through the first network resource according to the first monitoring strategy; obtaining the second status information of the first device through the second network resource includes: obtaining the second status information of the first device through the second network resource according to the second monitoring strategy.

[0034] In combination with the sixth implementation manner of the second aspect, in a seventh implementation manner of the second aspect of the present disclosure, the first monitoring strategy has a longer monitoring time interval and / or a higher monitoring failure number threshold than the second monitoring strategy.

[0035] In combination with the second aspect, in an eighth implementation method of the second aspect of the present disclosure, the obtaining of the first status information of the first device through the first network resource includes: obtaining the network connectivity information of the first designated link of the first device through the first network resource, wherein the first designated link of the first device is implemented based on the first network resource; the obtaining of the second status information of the first device through the second network resource includes: obtaining the network connectivity information of the second designated link of the first device and the performance information of the service provided by the first device through the second network resource, wherein the second designated link of the first device is implemented based on the second network resource, and wherein the network connectivity of the first designated link and the second designated link has a strong correlation.

[0036] In combination with the second aspect, in a ninth implementation manner of the second aspect of the present disclosure, the control strategy for the first device is determined based on the first status information and the second status information, including: when the first status information is normal and the second status information is normal, directing the network traffic related to the service provided by the first device to the first device; when the first status information is abnormal and the second status information is normal, directing the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices.

[0037] In combination with the second aspect, in the tenth implementation method of the second aspect of the present disclosure, the control strategy for the first device is determined based on the first status information and the second status information, including: when the first status information is normal and the second status information is normal, the network traffic related to the service provided by the first device is directed to the first device; when the first status information is abnormal and the second status information is normal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices.

[0038] In combination with the second aspect, in the eleventh implementation method of the second aspect of the present disclosure, the obtaining of the first status information of the first device through the first network resource includes: obtaining the first status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices; the obtaining of the second status information of the first device through the second network resource includes: obtaining the second status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices.

[0039] In a third aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the following method steps:

[0040] Acquire first status information of the first device through the first network resource;

[0041] Acquire second status information of the first device through a second network resource;

[0042] determining a control strategy to be adopted for the first device according to the first state information and the second state information,

[0043] The first status information and the second status information include status information about monitoring items corresponding to each other.

[0044] In combination with the third aspect, in a first implementation method of the third aspect of the present disclosure, obtaining the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device; obtaining the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device.

[0045] In combination with the first implementation manner of the third aspect, in a second implementation manner of the third aspect of the present disclosure, the first network address and the second network address have different Internet Protocol addresses; and / or the first network address and the second network address have different port addresses.

[0046] In combination with the third aspect, in a third implementation of the third aspect of the present disclosure, the obtaining of the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device and the third network address of a second device communicating with the first device; the obtaining of the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device and the fourth network address of the second device.

[0047] In combination with the third implementation manner of the third aspect, in a fourth implementation manner of the third aspect of the present disclosure, the third network address and the fourth network address have different Internet Protocol addresses; and / or the third network address and the fourth network address have different port addresses.

[0048] In combination with the third aspect, in a fifth implementation manner of the third aspect of the present disclosure, the first device includes any physical or virtual device in the network.

[0049] In combination with the third aspect, in a sixth implementation method of the third aspect of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the first status information of the first device through the first network resource according to the first monitoring strategy; obtaining the second status information of the first device through the second network resource includes: obtaining the second status information of the first device through the second network resource according to the second monitoring strategy.

[0050] In combination with the sixth implementation manner of the third aspect, in a seventh implementation manner of the third aspect of the present disclosure, the first monitoring strategy has a longer monitoring time interval and / or a higher monitoring failure number threshold than the second monitoring strategy.

[0051] In combination with the third aspect, in an eighth implementation manner of the third aspect of the present disclosure, the obtaining of the first status information of the first device through the first network resource includes: obtaining the network connectivity information of the first designated link of the first device through the first network resource, wherein the first designated link of the first device is implemented based on the first network resource; the obtaining of the second status information of the first device through the second network resource includes: obtaining the network connectivity information of the second designated link of the first device and the performance information of the service provided by the first device through the second network resource, wherein the second designated link of the first device is implemented based on the second network resource, and wherein the network connectivity of the first designated link and the second designated link has a strong correlation.

[0052] In combination with the third aspect, in a ninth implementation manner of the third aspect of the present disclosure, the control strategy for the first device is determined based on the first status information and the second status information, including: when the first status information is normal and the second status information is normal, the network traffic related to the service provided by the first device is directed to the first device; when the first status information is abnormal and the second status information is normal, the network traffic related to the service provided by the first device is directed to other devices; when the first status information is normal and the second status information is abnormal, the network traffic related to the service provided by the first device is directed to the other devices; when the first status information is normal and the second status information is abnormal, the network traffic related to the service provided by the first device is directed to the other devices; when the first status information is abnormal and the second status information is abnormal, the network traffic related to the service provided by the first device is directed to the other devices.

[0053] In combination with the third aspect, in the tenth implementation method of the third aspect of the present disclosure, the control strategy for the first device is determined based on the first status information and the second status information, including: when the first status information is normal and the second status information is normal, the network traffic related to the service provided by the first device is directed to the first device; when the first status information is abnormal and the second status information is normal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices.

[0054] In combination with the third aspect, in the eleventh implementation method of the third aspect of the present disclosure, the obtaining of the first status information of the first device through the first network resource includes: obtaining the first status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices; the obtaining of the second status information of the first device through the second network resource includes: obtaining the second status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices.

[0055] In a fourth aspect, an embodiment of the present disclosure provides a readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the method described in any one of the first aspect and the first to eleventh implementations of the first aspect is implemented.

[0056] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0057] By conducting multi-channel monitoring of the network, the technical problem that single-channel network fault monitoring and decision-making methods are single and their accuracy, flexibility and efficiency cannot meet actual needs is solved, the accuracy and reliability of monitoring results are improved, and the flexibility of decision-making is improved.

[0058] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:

[0060] Figure 1A flowchart showing a network service monitoring method according to an embodiment of the present disclosure is shown;

[0061] Figure 2 A schematic diagram showing the system architecture of a network service monitoring method according to an embodiment of the present disclosure;

[0062] Figure 3 An overall flow chart of a network service monitoring method according to an embodiment of the present disclosure is shown;

[0063] Figure 4 A structural block diagram of a network service monitoring device according to an embodiment of the present disclosure is shown;

[0064] Figure 5 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown;

[0065] Figure 6 A schematic diagram showing the structure of a computer system suitable for implementing the network service monitoring method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0066] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.

[0067] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.

[0068] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0069] In the cloud computing platform, some network products must be connected in series to the network link due to service requirements. Under normal circumstances, all network traffic is diverted to the forwarding node of this product for processing. In the prior art, such network products are designed with fault monitoring mechanisms, which trigger the diversion strategy to switch to other paths when the forwarding node fails. However, conventional fault monitoring only has a single monitoring channel. Once a fault is detected and the switching mechanism takes effect, all traffic is switched to other paths, and the faulty forwarding node will be completely isolated. Due to the single monitoring and decision-making method, its accuracy, flexibility and efficiency are difficult to meet actual needs.

[0070] Taking the above-mentioned defects into consideration, the technical solution provided by the embodiment of the present disclosure obtains first status information of a first device through a first network resource; obtains second status information of the first device through a second network resource; and determines a control strategy for the first device based on the first status information and the second status information, wherein the first network resource is different from the second network resource, and the first status information and the second status information contain status information about monitoring items corresponding to each other.

[0071] Figure 1 FIG. 1 is a flow chart showing a network service monitoring method according to an embodiment of the present disclosure. Figure 1 As shown, the network service monitoring method includes the following steps S101-S103:

[0072] In step S101, first status information of a first device is obtained through a first network resource;

[0073] In step S102, second status information of the first device is obtained through a second network resource;

[0074] In step S103, a control strategy to be adopted for the first device is determined according to the first status information and the second status information, wherein the first status information and the second status information include status information on corresponding monitoring items.

[0075] According to an embodiment of the present disclosure, the first device may include any physical or virtual device in the network. For example, the first device may be a server of a network product, and the server may include any one or more of the following: a firewall server, a web server, a mail server, an FTP server, an identity authentication server, etc.

[0076] According to an embodiment of the present disclosure, the first network resource and the second network resource may be two different network links, that is, the first device is monitored respectively through two different network links to obtain the first status information and the second status information.

[0077] According to an embodiment of the present disclosure, the corresponding monitoring items may be the network connectivity of the first designated link of the first device and the network connectivity of the second designated link of the first device, and the detection results of the corresponding monitoring items may have a strong correlation. For example, when the network connectivity of one of the first and second designated links is abnormal, the network connectivity of the other link is also likely to be abnormal. In other words, the network connectivity information of the first designated link can be used to determine the network connectivity of the first designated link, and the network connectivity information of the second designated link can also be used to determine the network connectivity of the first designated link. Similarly, the network connectivity information of the second designated link can be used to determine the network connectivity of the second designated link, and the network connectivity information of the first designated link can also be used to determine the network connectivity of the second designated link.

[0078] According to the embodiments of the present disclosure, the first state information and the second state information of the first device are respectively obtained through the first network resource and the second network resource, so as to realize multi-channel monitoring of the state of the first device, and improve the accuracy and reliability of the monitoring result. The control strategy for the first device is determined according to the first state information and the second state information, so as to improve the flexibility of decision-making. Through multi-channel monitoring, monitoring strategies can be formulated for each channel according to the performance requirements of different channels to optimize the efficiency of monitoring.

[0079] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the network connectivity information of the first designated link of the first device through the first network resource, wherein the first designated link of the first device is implemented based on the first network resource; obtaining the second status information of the first device through the second network resource includes: obtaining the network connectivity information of the second designated link of the first device and the performance information of the service provided by the first device through the second network resource, wherein the second designated link of the first device is implemented based on the second network resource.

[0080] The first designated link may be, for example, a link for a network product to provide external services. The network connectivity of the first designated link and the second designated link is strongly correlated, that is, the state of the second designated link is likely to be synchronized normally or abnormally with the state of the first designated link. For example, the first designated link and the second designated link may use at least one of the following identical hardware or software configurations: optical fiber link, port optical module, switch, router, etc. When a physical failure such as an optical fiber link failure, a port optical module failure, a first device failure, or a software configuration error of the first device, or a switch or router software configuration error occurs, the synchronization of the first designated link and the second designated link is abnormal.

[0081] According to an embodiment of the present disclosure, the status information of the first device is monitored through two links, the first designated link and the second designated link, so as to determine the corresponding control strategy according to the acquired status information. For example, the first network resource is used to monitor the real-time network service quality of the first designated link. The second network resource is used to monitor the network service quality of the second designated link and the performance of the service provided by the first device (for example, the performance of the cloud platform application running on the first device).

[0082] According to an embodiment of the present disclosure, by performing dual-channel monitoring on the first device and comprehensively determining the corresponding control strategy for the first device using the first status information and the second status information of the first device obtained through the dual-channel monitoring, it is possible to more accurately judge the network link service quality of the first device and more flexibly control whether to switch the network traffic to the first device, for example, whether to direct it to other network devices.

[0083] According to an embodiment of the present disclosure, the obtaining of the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device; the obtaining of the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device. The first network address and the second network address have different Internet Protocol addresses; and / or the first network address and the second network address have different port addresses. For example, the Internet Protocol address of the first network address is the Internet Protocol address of the first device that actually provides services to the outside, and the Internet Protocol address of the second network address is the Internet address of the first device that is not disclosed to the outside and is used for network link service quality monitoring. On the other hand, the port address of the first network address is the port address of the first device that actually provides services to the outside, and the port address of the second network address is the port address of the first device that is not disclosed to the outside and is used for network link service quality monitoring.

[0084] The first network address of the first device needs to provide network product services to the outside world. To ensure the response speed and quality of the service, the frequency of network service quality monitoring can be set to be relatively low; while the second network address of the first device is mainly used to monitor the network service quality and the performance of the application on the first device, and its monitoring frequency can be set to be relatively high as needed. Through the two different network addresses of the first device, two different links are formed to achieve multi-channel monitoring of network services.

[0085] According to an embodiment of the present disclosure, the first state information of the first device is obtained through the first network resource, including obtaining the first state information of the first device through the first network address of the first device and the third network address of the second device communicating with the first device; the second state information of the first device is obtained through the second network address of the first device and the fourth network address of the second device. The third network address and the fourth network address have different Internet protocol addresses; and / or the third network address and the fourth network address have different port addresses. According to an embodiment of the present disclosure, the second device is a network device that communicates with the first device, and the network device may include any one or more of the following: a computer, a hub, a switch, a bridge, a router, a gateway, a network interface card, a wireless access point, a printer, a fiber optic transceiver, an optical cable, etc. The state of the first device can be monitored by the first device and the second device sending communication signals to each other.

[0086] For example, the first device may be a server, the second device may be a network device such as a router or a gateway, and the first device accesses the network through the second device and provides services externally through the network. By sending and receiving signals between the first device and the second device, it can be determined whether the network link status between the first device and the second device is normal. Assuming that the first network address of the first device and the third network address of the second device constitute the first designated network link for the first device to actually provide services externally, and the second network address of the first device and the fourth network address of the second device constitute the second designated link for monitoring, the network connectivity of the first designated link can be determined by sending and receiving signals between the first network address and the third network address, and the network connectivity of the second designated link can be determined by sending and receiving signals between the second network address and the fourth network address.

[0087] According to an embodiment of the present disclosure, the third network address and the fourth network address may also have the same Internet Protocol address and port address. In this case, the same third network address and fourth network address can still form two links with different first network addresses and second network addresses to achieve multi-channel monitoring of the first device.

[0088] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the first status information of the first device through the first network resource according to a first monitoring strategy; obtaining the second status information of the first device through the second network resource includes: obtaining the second status information of the first device through the second network resource according to a second monitoring strategy.

[0089] According to an embodiment of the present disclosure, the first monitoring strategy has a longer monitoring time interval and / or a higher monitoring failure number threshold than the second monitoring strategy.

[0090] According to an embodiment of the present disclosure, for the corresponding monitoring items, the first monitoring strategy has a longer monitoring time interval and / or a higher monitoring failure threshold than the second monitoring strategy. For example, the first monitoring strategy may specify a first monitoring time interval for the first designated link and / or determine that the first designated link is abnormal when the first monitoring failure threshold is reached. The second monitoring strategy may specify a second monitoring time interval for the second designated link and / or determine that the second designated link is abnormal when the second monitoring failure threshold is reached. The first monitoring time interval may be longer than the second monitoring time interval, and the first monitoring failure threshold may be higher than the second monitoring failure threshold, that is, the second monitoring strategy may be stricter than the first monitoring strategy. In addition, in addition to monitoring network connectivity, the second monitoring strategy also monitors whether the performance of the application program that the first device provides services to the outside is normal, for example, monitoring key processes and key indicators.

[0091] Since the second monitoring strategy is for monitoring using the second network resource, which is a network resource dedicated to monitoring, a more stringent monitoring strategy can be set for it without causing a significant impact on the service performance of the first device. Through a more stringent monitoring strategy, more accurate and stricter monitoring of the status of the first device can be achieved.

[0092] According to an embodiment of the present disclosure, the control strategy for the first device determined based on the first status information and the second status information includes: when the first status information is normal and the second status information is normal, directing the network traffic related to the service provided by the first device to the first device; when the first status information is abnormal and the second status information is normal, directing the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices.

[0093] According to an embodiment of the present disclosure, the control strategy for the first device is determined based on the first status information and the second status information, including: when the first status information is normal and the second status information is normal, the network traffic related to the service provided by the first device is directed to the first device; when the first status information is abnormal and the second status information is normal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices.

[0094] Table 1 shows the specific control strategy of the network service monitoring method according to the embodiment of the present disclosure.

[0095] Table 1

[0096]

[0097] According to the embodiments of the present disclosure, the cloud platform can set a front-end display node, and provide a monitoring alarm page by reading the monitoring results of the first status information and the second status information; at the same time, an interactive page that allows the user to set the traffic guidance method can be provided, and the user can set to enable automatic or semi-automatic traffic guidance methods. As shown in Table 1, when automatic guidance of network traffic is enabled, based on the monitoring of the first status information and the second status information of the first device, when both are normal, the network traffic related to the service provided by the first device is guided to the first device; when any one or all of the two are abnormal, the network traffic related to the service provided by the first device is guided to other devices. When semi-automatic guidance of network traffic is enabled, a manual confirmation operation is added. When the first status information and the second status information of the first device are both normal, the network traffic related to the service provided by the first device is guided to the first device; when any one or all of the two are abnormal, a prompt is given to manually confirm whether to guide the network traffic related to the service provided by the first device to the other devices.

[0098] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the first status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices; obtaining the second status information of the first device through the second network resource includes: obtaining the second status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices.

[0099] For example, during the period when the first device is in use and isolated, the first device can be continuously monitored through multiple channels by acquiring the first status information and the second status information of the first device. Thus, when an abnormal situation is monitored during the use of the first device, timely processing can be performed, such as switching network traffic to other devices, and after the first device returns to normal, the network traffic is automatically switched back to the first device, thereby realizing automated network service monitoring.

[0100] Figure 2 A schematic diagram of the system architecture of a network service monitoring method according to an embodiment of the present disclosure is shown.

[0101] like Figure 2 As shown, the front-end display node is used to read the monitoring results of the first designated link and the second designated link, such as the first status information and the second status information, provide a monitoring alarm page, and provide an interactive page for users to set automation policies. Users can set to enable automatic or semi-automatic traffic guidance methods. The multi-channel monitoring node monitors through the first designated link and the second designated link, wherein the monitoring of the first designated link is used to monitor the network service quality of the service actually provided to the outside by the first device, such as the network connectivity monitoring of the link that the first device actually provides services to the outside. Through the second designated link, the network service quality of the second designated link can be monitored while the status of the application running on the first device is self-checked. The intelligent decision node reads the monitoring results of the multi-channel monitoring node in real time, and determines whether to interact with the user according to the automatic / semi-automatic policy set by the user, and finally sends the network traffic switching task to the automatic switching node. The automatic switching node guides the network traffic related to the service provided by the first device accordingly.

[0102] Figure 3 The overall flow chart of the network service monitoring method according to the embodiment of the present disclosure is shown.

[0103] like Figure 3As shown, after the network service monitoring starts, the intelligent decision node first periodically reads the first state information and the second state information of the first device, such as the dual-channel monitoring data, and makes a judgment in combination with the predefined control strategy. If the above-mentioned first state information and second state information are normal, the network traffic related to the service provided by the first device will continue to be directed to the first device, and the monitoring task will continue to be performed; if any or all of the two are abnormal, the user will select the automatic or semi-automatic diversion mode. When the mode is semi-automatic mode and the manual instruction is to execute switching, or the mode is automatic, the network traffic related to the service provided by the first device is automatically directed to the other devices; when the mode is semi-automatic mode and the manual instruction is to abandon the switching or the network traffic related to the service provided by the first device fails to be directed to the other devices, the manual processing process is entered. After the manual processing or diversion is successful, continue the above steps to perform the monitoring task.

[0104] Figure 4 FIG. 1 is a block diagram showing a network service monitoring device according to an embodiment of the present disclosure. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 4 As shown, the apparatus 400 for a terminal device includes a first acquisition module 410 , a second acquisition module 420 and a determination module 430 .

[0105] The first acquisition module 410 is configured to acquire first status information of the first device through a first network resource;

[0106] The second acquisition module 420 is configured to acquire second status information of the first device through a second network resource;

[0107] The determination module 430 is configured to determine a control strategy to be adopted for the first device according to the first state information and the second state information.

[0108] The first status information and the second status information include status information about monitoring items corresponding to each other.

[0109] According to an embodiment of the present disclosure, the first device may include any physical or virtual device in the network. For example, the first device may be a server of a network product, and the server may include any one or more of the following: a firewall server, a web server, a mail server, an FTP server, an identity authentication server, etc.

[0110] According to an embodiment of the present disclosure, the first network resource and the second network resource may be two different network links, that is, the first device is monitored respectively through two different network links to obtain the first status information and the second status information.

[0111] According to an embodiment of the present disclosure, the corresponding monitoring items may be the network connectivity of the first designated link of the first device and the network connectivity of the second designated link of the first device, and the detection results of the corresponding monitoring items may have a strong correlation. For example, when the network connectivity of one of the first and second designated links is abnormal, the network connectivity of the other link is also likely to be abnormal. In other words, the network connectivity information of the first designated link can be used to determine the network connectivity of the first designated link, and the network connectivity information of the second designated link can also be used to determine the network connectivity of the first designated link. Similarly, the network connectivity information of the second designated link can be used to determine the network connectivity of the second designated link, and the network connectivity information of the first designated link can also be used to determine the network connectivity of the second designated link.

[0112] According to the embodiments of the present disclosure, the first state information and the second state information of the first device are respectively obtained through the first network resource and the second network resource, so as to realize multi-channel monitoring of the state of the first device, and improve the accuracy and reliability of the monitoring result. The control strategy for the first device is determined according to the first state information and the second state information, so as to improve the flexibility of decision-making. Through multi-channel monitoring, monitoring strategies can be formulated for each channel according to the performance requirements of different channels to optimize the efficiency of monitoring.

[0113] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the network connectivity information of the first designated link of the first device through the first network resource, wherein the first designated link of the first device is implemented based on the first network resource; obtaining the second status information of the first device through the second network resource includes: obtaining the network connectivity information of the second designated link of the first device and the performance information of the service provided by the first device through the second network resource, wherein the second designated link of the first device is implemented based on the second network resource.

[0114] The first designated link may be, for example, a link for a network product to provide external services. The network connectivity of the first designated link and the second designated link is strongly correlated, that is, the state of the second designated link is likely to be synchronized normally or abnormally with the state of the first designated link. For example, the first designated link and the second designated link may use at least one of the following identical hardware or software configurations: optical fiber link, port optical module, switch, router, etc. When a physical failure such as an optical fiber link failure, a port optical module failure, a first device failure, or a software configuration error of the first device, or a switch or router software configuration error occurs, the synchronization of the first designated link and the second designated link is abnormal.

[0115] According to an embodiment of the present disclosure, the status information of the first device is monitored through two links, the first designated link and the second designated link, so as to determine the corresponding control strategy according to the acquired status information. For example, the first network resource is used to monitor the real-time network service quality of the first designated link. The second network resource is used for the second designated link to monitor the network service quality of the second designated link and the performance of the service provided by the first device (for example, the performance of the cloud platform application running on the first device).

[0116] According to an embodiment of the present disclosure, by performing dual-channel monitoring on the first device and comprehensively determining the corresponding control strategy for the first device using the first status information and the second status information of the first device obtained through the dual-channel monitoring, it is possible to more accurately judge the network link service quality of the first device and more flexibly control whether to switch the network traffic to the first device, for example, whether to direct it to other network devices.

[0117] According to an embodiment of the present disclosure, the obtaining of the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device; the obtaining of the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device. The first network address and the second network address have different Internet Protocol addresses; and / or the first network address and the second network address have different port addresses. For example, the Internet Protocol address of the first network address is the Internet Protocol address of the first device that actually provides services to the outside, and the Internet Protocol address of the second network address is the Internet address of the first device that is not disclosed to the outside and is used for network link service quality monitoring. On the other hand, the port address of the first network address is the port address of the first device that actually provides services to the outside, and the port address of the second network address is the port address of the first device that is not disclosed to the outside and is used for network link service quality monitoring.

[0118] The first network address of the first device needs to provide network product services to the outside world. To ensure the response speed and quality of the service, the frequency of network service quality monitoring can be set to be relatively low; while the second network address of the first device is mainly used to monitor the network service quality and the performance of the application on the first device, and its monitoring frequency can be set to be relatively high as needed. Through the two different network addresses of the first device, two different links are formed to achieve multi-channel monitoring of network services.

[0119] According to an embodiment of the present disclosure, the first state information of the first device is obtained through the first network resource, including obtaining the first state information of the first device through the first network address of the first device and the third network address of the second device communicating with the first device; the second state information of the first device is obtained through the second network address of the first device and the fourth network address of the second device. The third network address and the fourth network address have different Internet protocol addresses; and / or the third network address and the fourth network address have different port addresses. According to an embodiment of the present disclosure, the second device is a network device that communicates with the first device, and the network device may include any one or more of the following: a computer, a hub, a switch, a bridge, a router, a gateway, a network interface card, a wireless access point, a printer, a fiber optic transceiver, an optical cable, etc. The state of the first device can be monitored by the first device and the second device sending communication signals to each other.

[0120] For example, the first device may be a server, the second device may be a network device such as a router or a gateway, and the first device accesses the network through the second device and provides services externally through the network. By sending and receiving signals between the first device and the second device, it can be determined whether the network link status between the first device and the second device is normal. Assuming that the first network address of the first device and the third network address of the second device constitute the first designated network link for the first device to actually provide services externally, and the second network address of the first device and the fourth network address of the second device constitute the second designated link for monitoring, the network connectivity of the first designated link can be determined by sending and receiving signals between the first network address and the third network address, and the network connectivity of the second designated link can be determined by sending and receiving signals between the second network address and the fourth network address.

[0121] According to an embodiment of the present disclosure, the third network address and the fourth network address may also have the same Internet Protocol address and port address. In this case, the same third network address and fourth network address can still form two links with different first network addresses and second network addresses to achieve multi-channel monitoring of the first device.

[0122] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network resource according to a first monitoring strategy; obtaining the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network resource according to a second monitoring strategy.

[0123] According to an embodiment of the present disclosure, the first monitoring strategy has a longer monitoring time interval and / or a higher monitoring failure number threshold than the second monitoring strategy.

[0124] According to an embodiment of the present disclosure, for the corresponding monitoring items, the first monitoring strategy has a longer monitoring time interval and / or a higher monitoring failure threshold than the second monitoring strategy. For example, the first monitoring strategy may specify a first monitoring time interval for the first designated link and / or determine that the first designated link is abnormal when the first monitoring failure threshold is reached. The second monitoring strategy may specify a second monitoring time interval for the second designated link and / or determine that the second designated link is abnormal when the second monitoring failure threshold is reached. The first monitoring time interval may be longer than the second monitoring time interval, and the first monitoring failure threshold may be higher than the second monitoring failure threshold, that is, the second monitoring strategy may be stricter than the first monitoring strategy. In addition, in addition to monitoring network connectivity, the second monitoring strategy also monitors whether the performance of the application program that the first device provides services to the outside is normal, for example, monitoring key processes and key indicators.

[0125] Since the second monitoring strategy is for monitoring using the second network resource, which is a network resource dedicated to monitoring, a more stringent monitoring strategy can be set for it without causing a significant impact on the service performance of the first device. Through a more stringent monitoring strategy, more accurate and stricter monitoring of the status of the first device can be achieved.

[0126] According to an embodiment of the present disclosure, the control strategy for the first device determined based on the first status information and the second status information includes: when the first status information is normal and the second status information is normal, directing the network traffic related to the service provided by the first device to the first device; when the first status information is abnormal and the second status information is normal, directing the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices.

[0127] According to an embodiment of the present disclosure, the control strategy for the first device is determined based on the first status information and the second status information, including: when the first status information is normal and the second status information is normal, the network traffic related to the service provided by the first device is directed to the first device; when the first status information is abnormal and the second status information is normal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices.

[0128] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the first status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices; obtaining the second status information of the first device through the second network resource includes: obtaining the second status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices.

[0129] For example, during the period when the first device is in use and isolated, the first device can be continuously monitored through multiple channels by acquiring the first status information and the second status information of the first device. Thus, when an abnormal situation is monitored during the use of the first device, timely processing can be performed, such as switching network traffic to other devices, and after the first device returns to normal, the network traffic is automatically switched back to the first device, thereby realizing automated network service monitoring.

[0130] The present disclosure also discloses an electronic device, Figure 5 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.

[0131] like Figure 5 As shown, the electronic device 500 includes a memory 501 and a processor 502; wherein,

[0132] The memory 501 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 502 to implement the following method steps:

[0133] Acquire first status information of the first device through the first network resource;

[0134] Acquire second status information of the first device through a second network resource;

[0135] determining a control strategy to be adopted for the first device according to the first state information and the second state information,

[0136] The first status information and the second status information include status information about monitoring items corresponding to each other.

[0137] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device; obtaining the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device.

[0138] According to an embodiment of the present disclosure, the first network address and the second network address have different Internet Protocol addresses; and / or the first network address and the second network address have different port addresses.

[0139] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes obtaining the first status information of the first device through the first network address of the first device and the third network address of the second device communicating with the first device; obtaining the second status information of the first device through the second network resource includes obtaining the second status information of the first device through the second network address of the first device and the fourth network address of the second device.

[0140] According to an embodiment of the present disclosure, the third network address and the fourth network address have different Internet Protocol addresses; and / or the third network address and the fourth network address have different port addresses.

[0141] According to an embodiment of the present disclosure, the first device includes any physical or virtual device in a network.

[0142] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the first status information of the first device through the first network resource according to a first monitoring strategy; obtaining the second status information of the first device through the second network resource includes: obtaining the second status information of the first device through the second network resource according to a second monitoring strategy.

[0143] According to an embodiment of the present disclosure, the first monitoring strategy has a longer monitoring time interval and / or a higher monitoring failure number threshold than the second monitoring strategy.

[0144] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the network connectivity information of the first designated link of the first device through the first network resource, wherein the first designated link of the first device is implemented based on the first network resource; obtaining the second status information of the first device through the second network resource includes: obtaining the network connectivity information of the second designated link of the first device and the performance information of the service provided by the first device through the second network resource, wherein the second designated link of the first device is implemented based on the second network resource, and wherein the network connectivity of the first designated link and the second designated link has a strong correlation.

[0145] According to an embodiment of the present disclosure, the control strategy for the first device determined based on the first status information and the second status information includes: when the first status information is normal and the second status information is normal, directing the network traffic related to the service provided by the first device to the first device; when the first status information is abnormal and the second status information is normal, directing the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, directing the network traffic related to the service provided by the first device to the other devices.

[0146] According to an embodiment of the present disclosure, the control strategy for the first device is determined based on the first status information and the second status information, including: when the first status information is normal and the second status information is normal, the network traffic related to the service provided by the first device is directed to the first device; when the first status information is abnormal and the second status information is normal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to other devices; when the first status information is normal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices; when the first status information is abnormal and the second status information is abnormal, prompting manual confirmation whether to direct the network traffic related to the service provided by the first device to the other devices.

[0147] According to an embodiment of the present disclosure, obtaining the first status information of the first device through the first network resource includes: obtaining the first status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices; obtaining the second status information of the first device through the second network resource includes: obtaining the second status information of the first device during a period when network traffic related to the service provided by the first device is directed to the first device or other devices.

[0148] Figure 6 A schematic diagram showing the structure of a computer system suitable for implementing the network service monitoring method according to an embodiment of the present disclosure is shown.

[0149] like Figure 6 As shown, the computer system 600 includes a processing unit 601, which can perform various processes in the above-mentioned embodiments according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The processing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0150] The following components are connected to the I / O interface 605: an input part 606 including a keyboard, a mouse, etc.; an output part 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part 608 including a hard disk, etc.; and a communication part 609 including a network interface card such as a LAN card, a modem, etc. The communication part 609 performs communication processing via a network such as the Internet. The drive 610 is also connected to the I / O interface 605 as needed. Removable media 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive 610 as needed, so that the computer program read therefrom is installed into the storage part 608 as needed. Among them, the processing unit 601 can be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, an NPU, etc.

[0151] In particular, according to an embodiment of the present disclosure, the method described above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing the above-mentioned object category determination method. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 609, and / or installed from a removable medium 611.

[0152] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0153] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or programmable hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.

[0154] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the electronic device or computer system in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into a device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.

[0155] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.

Claims

1. A network service monitoring method, characterized in that: include: Acquiring first status information of a first device through a first network resource includes: acquiring network connectivity information of a first designated link of the first device through the first network resource, wherein the first designated link of the first device is implemented based on the first network resource; Acquiring second status information of the first device through the second network resource includes: acquiring network connectivity information of a second designated link of the first device and performance information of a service provided by the first device through the second network resource, wherein the second designated link of the first device is implemented based on the second network resource, and wherein the network connectivity of the first designated link and the second designated link has a strong correlation; determining a control strategy to be adopted for the first device according to the first state information and the second state information, The first status information and the second status information include status information about monitoring items corresponding to each other.

2. The method according to claim 1, characterized in that: The acquiring the first status information of the first device through the first network resource comprises acquiring the first status information of the first device through the first network address of the first device; The acquiring the second status information of the first device through the second network resource includes acquiring the second status information of the first device through the second network address of the first device.

3. The method according to claim 2, characterized in that: The first network address and the second network address have different Internet Protocol addresses; and / or The first network address and the second network address have different port addresses.

4. The method according to claim 1, characterized in that: The acquiring the first status information of the first device through the first network resource comprises acquiring the first status information of the first device through the first network address of the first device and the third network address of the second device communicating with the first device; The acquiring the second status information of the first device through the second network resource includes acquiring the second status information of the first device through the second network address of the first device and the fourth network address of the second device.

5. The method according to claim 4, characterized in that: The third network address and the fourth network address have different Internet Protocol addresses; and / or The third network address and the fourth network address have different port addresses.

6. The method according to claim 1, characterized in that The first device includes any physical or virtual device in the network.

7. The method according to claim 1, characterized in that The obtaining the first status information of the first device through the first network resource includes: obtaining the first status information of the first device through the first network resource according to the first monitoring strategy; The obtaining the second status information of the first device through the second network resource includes: obtaining the second status information of the first device through the second network resource according to a second monitoring strategy.

8. The method according to claim 7, characterized in that The first monitoring strategy has a longer monitoring time interval and / or a higher monitoring failure threshold than the second monitoring strategy.

9. The method according to claim 1, characterized in that: The determining a control strategy for the first device according to the first state information and the second state information includes: When the first status information is normal and the second status information is normal, directing network traffic related to the service provided by the first device to the first device; When the first status information is abnormal and the second status information is normal, directing network traffic related to the service provided by the first device to other devices; When the first status information is normal and the second status information is abnormal, directing network traffic related to the service provided by the first device to the other device; When the first status information is abnormal and the second status information is abnormal, network traffic related to the service provided by the first device is directed to the other device.

10. The method according to claim 1, characterized in that The determining a control strategy for the first device according to the first state information and the second state information includes: When the first status information is normal and the second status information is normal, directing network traffic related to the service provided by the first device to the first device; When the first status information is abnormal and the second status information is normal, prompting a human to confirm whether to direct network traffic related to the service provided by the first device to other devices; When the first status information is normal and the second status information is abnormal, prompting a human to confirm whether to direct network traffic related to the service provided by the first device to the other device; When the first status information is abnormal and the second status information is abnormal, a manual confirmation is prompted whether to guide the network traffic related to the service provided by the first device to the other device.

11. The method according to claim 1, characterized in that: The acquiring the first status information of the first device through the first network resource includes: acquiring the first status information of the first device during a period in which network traffic related to the service provided by the first device is directed to the first device or other devices; The acquiring the second status information of the first device through the second network resource includes: acquiring the second status information of the first device during a period in which network traffic related to the service provided by the first device is directed to the first device or other devices.

12. A network service monitoring device, characterized in that: include: A first acquisition module is configured to acquire first status information of a first device through a first network resource, including: acquiring network connectivity information of a first designated link of the first device through the first network resource, wherein the first designated link of the first device is implemented based on the first network resource; A second acquisition module is configured to acquire second status information of the first device through a second network resource, including: acquiring network connectivity information of a second designated link of the first device and performance information of a service provided by the first device through the second network resource, wherein the second designated link of the first device is implemented based on the second network resource, and wherein the network connectivity of the first designated link and the second designated link has a strong correlation; a determination module, configured to determine a control strategy to be adopted for the first device according to the first state information and the second state information, The first status information and the second status information include status information about monitoring items corresponding to each other.

13. An electronic device, characterized in that: The method comprises a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps according to any one of claims 1-11.

14. A readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method steps described in any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Control link switching method and device and RRU in double fiber transmission system

    CN103780302A