EIP monitoring method and equipment suitable for cloud architecture, and storage medium

By configuring monitoring matters and alarm rules in the cloud architecture, creating monitoring scripts to monitor EIP in real time, solving the problem of user feedback when EIP is used abnormally, realizing second or minute alarms, improving problem handling efficiency and users Experience.

CN118945085APending Publication Date: 2024-11-12CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411211378.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, EIP usage abnormalities require user feedback before being perceived, resulting in a decrease in problem processing speed and user experience, and lack of automatic monitoring and instant alarm mechanisms.

Method used

Provide an EIP monitoring method suitable for cloud architecture. By configuring monitoring matters and alarm rules, create monitoring scripts to monitor EIP in real time. If monitoring matters exceed the threshold within the alarm cycle, alarm will be issued, and use cloud host to obtain EIP information and install it. Monitor scripts to implement seconds or minutes alarms.

Benefits of technology

Real-time monitoring and instant alarm of EIP are realized, which significantly improves problem handling efficiency and user experience, can quickly respond to EIP exceptions, and improves the response speed of the operation and maintenance center.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945085A_ABST
    Figure CN118945085A_ABST
Patent Text Reader

Abstract

The invention discloses an EIP monitoring method and equipment suitable for a cloud architecture, and a storage medium, and relates to the field of communication link monitoring. The method comprises the steps that corresponding monitoring items are configured according to use requirements of the EIP, corresponding alarm rules are configured according to the monitoring items, and the alarm rules comprise alarm periods and alarm thresholds of the monitoring items; and creating a corresponding monitoring script according to the monitoring items and the alarm rule, monitoring the EIP according to the monitoring script, and giving an alarm if any monitoring item exceeds an alarm threshold value in an alarm period in the monitoring process. According to the invention, the monitoring logic can be realized through the monitoring item configured according to the use requirement of the EIP and the corresponding alarm rule, and the monitoring task is executed through the monitoring script created according to the monitoring item and the alarm rule. Therefore, the EIP can be monitored in real time, and when the EIP is monitored to be abnormal, an alarm is given immediately, so that the problem processing efficiency and the user experience are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication link monitoring, and in particular to an EIP (Elastic IP Address) monitoring method, device and storage medium suitable for cloud architecture. Background Art

[0002] EIP is required to access corresponding resources on cloud-native architecture products, such as accessing the Internet through an external IP on a virtual machine. When users use EIP, if they find communication anomalies (such as failure to connect, lag, etc.), they will feedback to the background processing engineer for corresponding processing (such as remote debugging, etc.).

[0003] It can be seen that when problems occur when using EIP, they need to be perceived based on user feedback, which reduces the speed of problem handling and user experience. Summary of the invention

[0004] In view of the defects in the prior art, the technical problem solved by the present invention is: how to automatically monitor the usage of EIP and issue an alarm in time when the EIP usage is abnormal.

[0005] To achieve the above objectives, in a first aspect, an embodiment of the present application provides an EIP monitoring method suitable for a cloud architecture, the method comprising the following steps: configuring corresponding monitoring items according to the use requirements of the EIP, configuring corresponding alarm rules according to the monitoring items, the alarm rules including the alarm period and alarm threshold of the monitoring items; creating corresponding monitoring scripts according to the monitoring items and the alarm rules, monitoring the EIP according to the monitoring script, and issuing an alarm if any monitoring item exceeds the alarm threshold within the alarm period during the monitoring process.

[0006] In combination with the first aspect, in one embodiment, the process of monitoring the EIP according to the monitoring script includes: creating a cloud host as a monitoring device to obtain information about all EIPs in use; installing the monitoring script to the monitoring device, and monitoring all EIPs in use through the monitoring script on the monitoring device.

[0007] In combination with the first aspect, in one implementation, the monitoring items include the number of packet losses, the alarm period of the number of packet losses is 10 to 70 seconds, and the alarm threshold of the number of packet losses is inversely proportional to the alarm period.

[0008] In combination with the first aspect, in one implementation, when the alarm period of the packet loss number is 10 to 30 seconds, the alarm threshold is 6 to 18; when the alarm period is 40 to 70 seconds, the alarm threshold is 23 to 42.

[0009] On the second aspect, an embodiment of the present application provides an EIP monitoring system suitable for a cloud architecture, the system being used to: configure corresponding monitoring items according to the usage requirements of the EIP, configure corresponding alarm rules according to the monitoring items, the alarm rules including the alarm period and alarm threshold of the monitoring items; create corresponding monitoring scripts according to the monitoring items and the alarm rules, monitor the EIP according to the monitoring script, and if any monitoring item exceeds the alarm threshold within the alarm period during the monitoring process, an alarm is issued.

[0010] In combination with the second aspect, in one embodiment, the system includes a monitoring device, which is a cloud host, and is used to: obtain information about all EIPs in use; install a monitoring script on the monitoring device, and monitor all EIPs in use on the monitoring device through the monitoring script.

[0011] In combination with the second aspect, in one implementation, the monitoring items include the number of packet losses, the alarm period of the number of packet losses is 10 to 70 seconds, and the alarm threshold of the number of packet losses is inversely proportional to the alarm period.

[0012] In combination with the second aspect, in one implementation, when the alarm period of the number of packet losses is 10 to 30 seconds, the alarm threshold is 6 to 18; when the alarm period is 40 to 70 seconds, the alarm threshold is 23 to 42.

[0013] In a third aspect, an embodiment of the present application provides an EIP monitoring device suitable for a cloud architecture, wherein the EIP monitoring device suitable for a cloud architecture comprises a processor, a memory, and an EIP monitoring program suitable for a cloud architecture stored on the memory and executable by the processor, wherein when the EIP monitoring program suitable for a cloud architecture is executed by the processor, the method provided in the first aspect is implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which is stored an EIP monitoring program suitable for a cloud architecture, and when the computer program is executed, the method provided in the first aspect is implemented.

[0015] Compared with the prior art, the advantages of the present invention are:

[0016] The present invention can implement monitoring logic by configuring monitoring items and corresponding alarm rules according to the use requirements of EIP, and execute monitoring tasks by creating monitoring scripts according to monitoring items and alarm rules. Therefore, the present invention can monitor EIP in real time, and immediately issue an alarm when an EIP abnormality is detected, thereby significantly improving problem handling efficiency and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 Schematic diagram of the process of the EIP monitoring method applicable to the cloud architecture in an embodiment of the present invention;

[0019] Figure 2 A schematic diagram of an execution code for enabling monitoring in an embodiment of the present invention;

[0020] Figure 3 A schematic diagram of an execution code in which a monitoring log records the network status of each EIP in an embodiment of the present invention;

[0021] Figure 4 This is a schematic diagram of the execution code of the stress_info.log file in an embodiment of the present invention;

[0022] Figure 5 A schematic diagram of a system interface in which an alarm is triggered when the number of packet losses of an EIP in an alarm period exceeds an alarm threshold in an embodiment of the present invention;

[0023] Figure 6 This is a schematic diagram of the hardware structure of the EIP monitoring device applicable to the cloud architecture involved in the embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0025] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0026] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0027] In the first aspect, the embodiment of the present application provides an EIP monitoring method applicable to a cloud architecture, the steps of which include: configuring corresponding monitoring items according to the use requirements of the EIP, configuring corresponding alarm rules according to the monitoring items, and the alarm rules including the alarm period and alarm threshold of each monitoring item. Create corresponding monitoring scripts according to the monitoring items and alarm rules, monitor the EIP according to the monitoring script, and if any monitoring item exceeds the alarm threshold within the alarm period during the monitoring process, an alarm is issued.

[0028] It can be seen that the present invention can implement monitoring logic by configuring monitoring items and corresponding alarm rules according to the use requirements of EIP, and perform monitoring tasks by creating monitoring scripts according to monitoring items and alarm rules. Therefore, the present invention can monitor EIP in real time, and immediately issue an alarm when an EIP abnormality is detected, thereby significantly improving problem handling efficiency and user experience.

[0029] In one embodiment, the process of monitoring EIP according to the monitoring script includes: creating a cloud host as a monitoring device to obtain information about all EIPs in use; installing the monitoring script to the monitoring device, and monitoring all EIPs in use on the monitoring device through the monitoring script.

[0030] In one embodiment, the monitoring items include the number of packet losses, the alarm period of the number of packet losses is 10 to 70 seconds, and the alarm threshold of the number of packet losses is inversely proportional to the alarm period, that is, the longer the alarm period, the smaller the alarm threshold.

[0031] Specifically, when the alarm period of the number of packet loss is 10 to 30 seconds, the alarm threshold is 6 to 18; when the alarm period is 40 to 70 seconds, the alarm threshold is 23 to 42.

[0032] It can be seen from this that the alarm period of the present invention can be at the second level or minute level, and can be specifically set according to the performance of the server.

[0033] In one embodiment, see Figure 1 As shown, the specific process of the above method includes:

[0034] S1: Create a 4C8GB cloud host as a monitoring machine in the monitored environment and upload the monitoring tool to the root directory of the monitoring machine.

[0035] S2: Configure the corresponding monitoring items according to the use requirements of the EIP of the operation and maintenance center, and configure the corresponding alarm rules according to the monitoring items. The alarm rules include the alarm period and alarm threshold of each monitoring item. The monitoring item is the number of packet loss, and the corresponding alarm rules are: alarm period 13s, alarm threshold 8, that is, if the number of packet loss is more than 8 within 13s, an alarm is issued.

[0036] S3: Configure monitoring scripts on the monitoring tool according to monitoring items and alarm rules.

[0037] S4: All EIPs in use are monitored through the monitoring script. If any monitoring item exceeds the alarm threshold within the alarm period during the monitoring process, an alarm is issued.

[0038] The specific monitoring process is as follows:

[0039] See also Figure 2 As shown, the monitoring script will first turn on monitoring;

[0040] See also Figure 3 As shown in the figure, the monitoring log during the monitoring process will record the network status of each EIP;

[0041] See also Figure 4 As shown in the figure, EIP network failure (that is, packet loss) is recorded in the stress_info.log file.

[0042] See also Figure 5 As shown in the figure, an alarm is triggered when the number of packet loss of an EIP within the alarm period exceeds the alarm threshold.

[0043] From this we can see that:

[0044] 1. The present invention can realize second-level monitoring of EIP in cloud environment.

[0045] 2. The present invention monitors EIP abnormalities and the operation and maintenance center quickly responds and triggers an alarm.

[0046] 3. This product monitors all EIPs through a cloud host, which is extremely secure. If a security problem occurs, the impact range is only the monitoring machine and one cloud host, and will not affect any other resources.

[0047] In the second aspect, the embodiment of the present application also provides an EIP monitoring system suitable for cloud architecture, which is used to: configure corresponding monitoring items according to the use requirements of EIP, configure corresponding alarm rules according to the monitoring items, and the alarm rules include the alarm cycle and alarm threshold of each monitoring item. Create corresponding monitoring scripts according to the monitoring items and alarm rules, monitor EIP according to the monitoring script, and if any monitoring item exceeds the alarm threshold within the alarm cycle during the monitoring process, an alarm is issued.

[0048] In one embodiment, the system includes a monitoring device, which is a cloud host, and is used to: obtain information about all EIPs in use; install a monitoring script on the monitoring device, and monitor all EIPs in use through the monitoring script on the monitoring device.

[0049] In one embodiment, the monitoring items include the number of packet losses, the alarm period of the number of packet losses is 10 to 70 seconds, and the alarm threshold of the number of packet losses is inversely proportional to the alarm period, that is, the longer the alarm period, the smaller the alarm threshold.

[0050] Specifically, when the alarm period of the number of packet loss is 10 to 30 seconds, the alarm threshold is 6 to 18; when the alarm period is 40 to 70 seconds, the alarm threshold is 23 to 42.

[0051] On the third aspect, an embodiment of the present application provides an EIP monitoring device suitable for a cloud architecture. The EIP monitoring device suitable for a cloud architecture may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.

[0052] Reference Figure 6 , Figure 6 The hardware structure diagram of the EIP monitoring device applicable to the cloud architecture involved in the embodiment of the present application is shown in FIG. In the embodiment of the present application, the EIP monitoring device applicable to the cloud architecture may include a processor, a memory, a communication interface, and a communication bus.

[0053] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0054] The communication interface includes input / output (I / O) interfaces, physical interfaces, and logical interfaces, which are used to interconnect devices within the EIP monitoring device applicable to the cloud architecture, and interfaces used to interconnect the EIP monitoring device applicable to the cloud architecture with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.

[0055] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0056] The processor may be a general-purpose processor, which may call the EIP monitoring program applicable to the cloud architecture stored in the memory, and execute the EIP monitoring method applicable to the cloud architecture provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). Among them, the method executed when the EIP monitoring program applicable to the cloud architecture is called may refer to the various embodiments of the EIP monitoring method applicable to the cloud architecture of the present application, which will not be repeated here.

[0057] Those skilled in the art will understand that Figure 6 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0058] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.

[0059] The computer-readable storage medium of the present application stores an EIP monitoring program applicable to a cloud architecture, wherein when the EIP monitoring program applicable to a cloud architecture is executed by a processor, the steps of the EIP monitoring method applicable to a cloud architecture as described above are implemented.

[0060] Among them, the method implemented when the EIP monitoring program applicable to the cloud architecture is executed can refer to the various embodiments of the EIP monitoring method applicable to the cloud architecture of this application, and will not be repeated here.

[0061] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0062] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0063] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0064] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0065] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0066] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0067] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0068] The above are only specific implementations of the embodiments of the present invention, but the protection scope of the embodiments of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the embodiments of the present invention, and these modifications or replacements should be included in the protection scope of the embodiments of the present invention. Therefore, the protection scope of the embodiments of the present invention shall be based on the protection scope of the claims.

Claims

1. An EIP monitoring method suitable for cloud architecture, characterized in that: The method comprises the following steps: configuring corresponding monitoring items according to the use requirements of the EIP, configuring corresponding alarm rules according to the monitoring items, wherein the alarm rules include the alarm period and alarm threshold of the monitoring items; creating corresponding monitoring scripts according to the monitoring items and the alarm rules, monitoring the EIP according to the monitoring scripts, and generating an alarm if any monitoring item exceeds the alarm threshold within the alarm period during the monitoring process.

2. The EIP monitoring method applicable to cloud architecture according to claim 1, characterized in that: The process of monitoring the EIP according to the monitoring script includes: creating a cloud host as a monitoring device to obtain information about all EIPs in use; installing the monitoring script to the monitoring device, and monitoring all EIPs in use on the monitoring device through the monitoring script.

3. The EIP monitoring method applicable to cloud architecture according to claim 2, characterized in that: The monitoring items include the number of packet losses, the alarm period of the number of packet losses is 10 to 70 seconds, and the alarm threshold of the number of packet losses is inversely proportional to the alarm period.

4. The EIP monitoring method applicable to cloud architecture according to claim 3, characterized in that: When the alarm period of the packet loss number is 10 to 30 seconds, the alarm threshold is 6 to 18; when the alarm period is 40 to 70 seconds, the alarm threshold is 23 to 42.

5. An EIP monitoring system suitable for cloud architecture, characterized in that: The system is used to: configure corresponding monitoring items according to the use requirements of EIP, and configure corresponding alarm rules according to the monitoring items. The alarm rules include the alarm cycle and alarm threshold of the monitoring items; Create corresponding monitoring scripts based on monitoring items and alarm rules, monitor the EIP according to the monitoring scripts, and issue an alarm if any monitoring item exceeds the alarm threshold within the alarm period during the monitoring process.

6. The EIP monitoring system applicable to the cloud architecture as claimed in claim 5, characterized in that: The system includes a monitoring device, which is a cloud host and is used to: obtain information about all EIPs in use; install a monitoring script on the monitoring device, and monitor all EIPs in use on the monitoring device through the monitoring script.

7. The EIP monitoring system applicable to cloud architecture as claimed in claim 6, characterized in that: The monitoring items include the number of packet losses, the alarm period of the number of packet losses is 10 to 70 seconds, and the alarm threshold of the number of packet losses is inversely proportional to the alarm period.

8. The EIP monitoring system applicable to the cloud architecture as claimed in claim 7, characterized in that: When the alarm period for packet loss is 10 to 30 seconds, the alarm threshold is 6 to 18. When the alarm period is 40 to 70 seconds, the alarm threshold is 23 to 42.

9. An EIP monitoring device suitable for cloud architecture, characterized in that: The EIP monitoring device suitable for cloud architecture includes a processor, a memory, and an EIP monitoring program suitable for cloud architecture stored on the memory and executable by the processor, wherein when the EIP monitoring program suitable for cloud architecture is executed by the processor, the steps of the EIP monitoring method suitable for cloud architecture as described in any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an EIP monitoring program applicable to a cloud architecture, wherein when the EIP monitoring program applicable to a cloud architecture is executed, the steps of the EIP monitoring method applicable to a cloud architecture as described in any one of claims 1 to 4 are implemented.