Verification system, method, device, electronic device and readable storage medium
By designing a verification system in the CDN system and using rule generation and task generation components to achieve real-time monitoring, it solves the problem of low manual monitoring efficiency and improves system stability and timeliness of fault discovery.
Patent Information
- Application Number
- CN202211716350.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-12-29
AI Technical Summary
During the operation of the CDN system, potential failures in system changes caused by manual monitoring of component service indicators or scripts are inefficient and cumbersome, making it difficult to detect problems in a timely manner, especially when the system scale changes.
A verification system is designed, including a rule generation component, a plan generation component, a task generation component, a data collection component and a rule calculation component. By generating minimum-granularity verification rules and plans, verification tasks are selected and set according to business scenarios. Periodically collect operating parameter information, perform rule calculations and push alarm information to achieve real-time monitoring and fault discovery.
It improves real-time monitoring capabilities during system upgrades and configuration changes, detects problems in a timely manner, reduces the impact on the normal operation of the system, reduces reliance on manual monitoring, and improves system stability.
Smart Images

Figure CN116192639B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer technology, and in particular, relates to a verification system, method, device, electronic equipment and readable storage medium. Background Art
[0002] During the online operation of CDN (Content Delivery Network) system, it is often necessary to perform routine operations such as configuration changes, component upgrades, and service adjustments. When performing related operations, the online system may be affected, and some operations, misoperations, and changes may also cause system failures.
[0003] In order to reduce the impact of system changes on online services and ensure the normal operation of the system, component service indicators or scripts are usually monitored and analyzed manually when the system is changed.
[0004] However, manually monitoring component service indicators or scripts to monitor potential failures caused by system changes is not only inefficient and cumbersome, but also difficult to detect problems in a timely manner when the system scale changes. Summary of the invention
[0005] The present invention provides a verification system, method, device, electronic device and readable storage medium to solve the technical problems of low efficiency, complicated operation process and difficulty in timely detection of abnormalities when manually monitoring the system.
[0006] In a first aspect, the present invention provides a verification system, the verification system comprising: a rule generation component, a solution generation component, a task generation component, a data acquisition component, a rule calculation component and a storage component;
[0007] The rule generation component is used to generate and calculate various minimum granularity verification rules and store the verification rules in the storage component, and the verification rules are selected and used by the solution generation component according to different business scenarios;
[0008] The solution generation component is used to select verification rules corresponding to the business scenarios from the storage component according to different business scenarios and set parameter thresholds of the verification rules, generate verification solutions corresponding to the business scenarios and store the verification solutions in the storage component;
[0009] The task generation component is used to add a verification scope, a verification time period and an alarm contact corresponding to the verification scheme according to the verification scheme, generate a verification task corresponding to the verification scheme and store the verification task in the storage component; and obtain alarm information from the storage component and push the alarm information to the alarm contact;
[0010] The data acquisition component is used to periodically acquire the operating parameter information of the equipment and store the operating parameter information in the storage component;
[0011] a rule calculation component, configured to periodically obtain a verification task from the storage component and obtain operation parameter information corresponding to the verification task from the storage component according to the verification task, perform rule calculation based on the operation parameter information and the verification scheme corresponding to the verification task, and store the alarm information in the storage component when alarm information is generated;
[0012] The storage component is used to store the verification rules generated by the rule generation component, the verification scheme generated by the scheme generation component, the verification tasks generated by the task generation component, the operating parameter information collected by the data collection component, and the alarm information generated by the rule calculation component.
[0013] In a second aspect, the present invention provides a verification method, the method comprising:
[0014] The first verification task is periodically obtained from the storage component, wherein the first verification task is generated by the task generation component according to the first verification scheme, adding the verification scope, verification time period and alarm contact corresponding to the first verification scheme, and storing it in the storage component; the first verification scheme is generated by the scheme generation component selecting the first verification rule corresponding to the first business scenario from the storage component according to the first business scenario and setting the parameter threshold of the first verification rule, and storing it in the storage component; the first verification rule is generated by the rule generation component to calculate various minimum granularity verification rules and store them in the storage component, and the verification rule is selected and used by the scheme generation component according to different business scenarios;
[0015] According to the first verification task, the operating parameter information corresponding to the first verification task is obtained from the storage component; the operating parameter information is the operating parameter information of the device periodically collected by the data collection component and stored in the storage component;
[0016] Perform rule calculation based on the operating parameter information and a first verification scheme corresponding to the first verification task to obtain a rule calculation result;
[0017] Based on the rule calculation result, when alarm information is generated, the alarm information is stored in the storage component.
[0018] In a third aspect, the present invention provides a verification device, the device comprising:
[0019] A first acquisition module is used to periodically acquire a first verification task from a storage component, wherein the first verification task is generated by the task generation component according to a first verification scheme, adding a verification scope, a verification time period and an alarm contact corresponding to the first verification scheme, and storing it in the storage component; the first verification scheme is generated by the scheme generation component selecting a first verification rule corresponding to the first business scenario from the storage component according to a first business scenario and setting a parameter threshold of the first verification rule, and storing it in the storage component; the first verification rule is generated by the rule generation component to calculate verification rules of various minimum granularities and stored in the storage component, and the verification rule is selected and used by the scheme generation component according to different business scenarios;
[0020] A second acquisition module is used to acquire, according to the first verification task, the operating parameter information corresponding to the first verification task from the storage component; the operating parameter information is the operating parameter information of the device periodically collected by the data acquisition component and stored in the storage component;
[0021] A first calculation module, configured to perform rule calculation based on the operating parameter information and a first verification scheme corresponding to the first verification task, to obtain a rule calculation result;
[0022] The storage module is used to store the alarm information in the storage component based on the rule calculation result when the alarm information is generated.
[0023] In a fifth aspect, the present invention provides an electronic device comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned verification method when executing the program.
[0024] In a sixth aspect, the present invention provides a readable storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the above-mentioned verification method.
[0025] In a seventh aspect, the present invention provides a server system, wherein the server system comprises the above-mentioned verification system.
[0026] In an embodiment of the present invention, a minimum granularity verification rule is provided to a solution generation component by a rule generation component of a verification system, so that a combination of different verification rules can be selected according to different business scenarios, thereby reducing the number of verification rules that need to be generated; a set of verification solutions corresponding to a specific business scenario is selected by a solution generation component of the verification system according to a specific business scenario, and a specific parameter threshold is set for the verification solution in the set according to the business scenario to generate a verification solution corresponding to the specific business scenario, and the solution generation component provides a flexible rule set configuration; different verification tasks are generated based on different verification solutions by a task generation component of the verification system, and the rule calculation component periodically processes the verification tasks through rule calculation based on the equipment operation parameter information collected by the data acquisition component, and stores the alarm information in the storage component when an alarm information is generated, and then the task generation component obtains the alarm information from the storage component and pushes it to the alarm contact person, and through the interaction and cooperation between the various components in the verification system, real-time monitoring of the system operation status under different business scenarios is realized, problems occurring during system upgrades and configuration changes are discovered in a timely manner, and the impact of system upgrades and configuration changes on the normal operation of the system is reduced, while also reducing the reliance on manual monitoring methods, further improving the stability of system operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 It is a logic block diagram of a verification system provided by an embodiment of the present invention;
[0029] Figure 2 is a schematic diagram of a setting interface of a rule generation component provided by an embodiment of the present invention;
[0030] Figure 3 This is a schematic diagram of a first setting interface of a solution generation component provided by an embodiment of the present invention;
[0031] Figure 4 is a schematic diagram of a second setting interface of a solution generation component provided by an embodiment of the present invention;
[0032] Figure 5 is a schematic diagram of a setting interface of a task generation component provided by an embodiment of the present invention;
[0033] Figure 6It is a logic block diagram of a rule calculation component provided by an embodiment of the present invention;
[0034] Figure 7 It is a logic block diagram of another verification system provided by an embodiment of the present invention;
[0035] Figure 8 is a flowchart of a verification method provided by an embodiment of the present invention;
[0036] Fig. 9 It is a logic block diagram of a verification device provided by an embodiment of the present invention;
[0037] Fig.10 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] Figure 1 is a logic block diagram of a verification system provided by an embodiment of the present invention, such as Figure 1 As shown, the verification system may include: a rule generation component, a solution generation component, a task generation component, a data acquisition component, a rule calculation component and a storage component;
[0040] The rule generation component is used to generate and calculate verification rules of various minimum granularities and store the verification rules in the storage component. The verification rules are selected and used by the solution generation component according to different business scenarios.
[0041] In an embodiment of the present invention, the rule generation component can provide calculation of various minimum granularity verification rules according to the actual business scenarios that may be applied, such as bandwidth surge verification rules, and provide relevant parameters that can configure the rules, such as the scope of application of the verification rules (domain names, host groups, etc.), and the threshold value calculated by the verification rules (upper limit of bandwidth surge), etc., so as to realize the verification rules that are universally applicable to a certain business scenario and reduce the number of verification rule settings.
[0042] It should be noted that the verification rules for calculating various minimum granularities generated by the rule generation component are common to the solution generation component. The solution generation component can select a group of verification rules corresponding to a specified business scenario from a number of verification rules generated by the rule generation component according to different business scenarios to obtain a set of verification rules corresponding to a specified business scenario.
[0043] Optionally, the rule generation component is also used to configure an applicable scope corresponding to the verification rule for the verification rule after generating the verification rule; the solution generation module is also used to select the verification rule corresponding to the business scenario from the storage component based on the applicable scope of the verification rule according to different business scenarios, and set the parameter threshold of the verification rule.
[0044] In an embodiment of the present invention, the rule generation module can be configured by a system administrator. Specifically, an applicable scope can be configured, and the applicable scope limits the applicable scenario of the verification rule. Specifically, the applicable scope can limit the applicable scenario of the verification rule to a certain domain name, a certain host group, and a certain resource group. The solution generation module can select a verification rule corresponding to the business scenario from the storage component based on the applicable scope of the verification rule according to a specific business scenario.
[0045] In addition, in addition to configuring the scope of application for the verification rules, the rule generation module can also configure the rule syntax and parameters for the verification rules. Among them, the rule syntax and parameters determine the specific content of the corresponding verification rules. Each verification rule has only one syntax, which is the core of the rule calculation component to perform the verification task. The parameters can be flexibly set. After the solution generation component selects a set of verification rules corresponding to the business scenario according to the specific business scenario, and obtains the verification rule set corresponding to a specified business scenario, it sets specific parameter thresholds for the parameters in the verification rules according to the business scenario.
[0046] For example, Figure 2 is a schematic diagram of a setting interface of a rule generation component provided by an embodiment of the present invention, such as Figure 2 As shown, the rule generation component generates an edge bandwidth statistical sudden drop verification rule, and the parameters configured by the verification rule may specifically include statistical dimension, bandwidth threshold, statistical period and threshold. The specific parameter thresholds corresponding to the statistical dimension, bandwidth threshold, statistical period and threshold need to be set in the solution generation module according to the specific business scenario; in the business scenario of online system cache server upgrade, since the server upgrade process will cause traffic changes, the bandwidth of each resource group may change. Therefore, the solution generation module needs to select the edge bandwidth statistical sudden drop verification rule in this business scenario, and based on filtering out bandwidth less than 100M (bandwidth traffic unit: megabyte), executing rule calculation once a minute, calculating the bandwidth sudden drop 5 minutes ago and comparing it with the present, if the bandwidth decreases by more than 10%, it is necessary to generate an alarm information, and set a specific parameter threshold for the verification rule of the edge bandwidth sudden drop.
[0047] The solution generation component is used to select verification rules corresponding to the business scenarios from the storage component according to different business scenarios and set parameter thresholds of the verification rules, generate a verification solution corresponding to the business scenario and store the verification solution in the storage component.
[0048] It should be noted that the solution generation component allows the user to select different verification rules according to different usage needs, and configure different parameter thresholds for the verification rules to generate their own verification solution. This verification solution has a set of verification rules required for a specified business scenario, and sets specific parameter thresholds for these verification rules.
[0049] In an embodiment of the present invention, the business scenario may be a scenario in which an online system performs a component upgrade and / or a configuration change. The component service indicators or scripts that need to be monitored in different business scenarios are also different. Therefore, the solution generation component is required to select verification rules corresponding to the business scenario from the storage component according to different business scenarios and set the parameter threshold of the verification rule to generate a verification solution corresponding to the business scenario.
[0050] For example, Figure 3 is a schematic diagram of a first setting interface of a solution generation component provided by an embodiment of the present invention, such as Figure 3 As shown, the solution generation component obtains the edge bandwidth merging statistics sudden drop verification rules, the edge request number merging statistics sudden drop verification rules and the upper-layer bandwidth merging statistics sudden increase rules from the storage module according to the business scenario of the system online cache server upgrade. The verification solution for the business scenario of the system online cache server upgrade is generated. Figure 4 is a schematic diagram of a second setting interface of a solution generation component provided by an embodiment of the present invention, such as Figure 4 As shown, the solution generation component sets specific parameter thresholds for the edge bandwidth merging statistical sudden drop verification rule, sets the bandwidth threshold of the edge bandwidth merging statistical sudden drop verification rule to 100M, sets the statistical period to 5 minutes, and sets the threshold to 10%, and clicks Save to store the verification solution in the storage component.
[0051] The task generation component is used to add a verification scope, a verification time period and an alarm contact corresponding to the verification scheme according to the verification scheme, generate a verification task corresponding to the verification scheme and store the verification task in the storage component; and obtain alarm information from the storage component and push the alarm information to the alarm contact.
[0052] In an embodiment of the present invention, the verification scope in the verification task generated by the task generation component is the specific executable scope of the verification scheme generated based on the specific business scenario. For example, if a configuration change is made to a certain domain name, then the verification scope can be set to the domain name to be changed, or if an upgrade is an upgrade of a certain operator, then the verification scope can be set to the operator to be upgraded. The verification time in the verification task is the time when the verification task needs to be executed and processed by the rule calculation component. That is, if the current time is within the verification time range, the rule calculation module needs to take the verification task out of the storage module and process it; if the current time is not within the verification time range, the rule calculation module does not need to process the verification task and can ignore it. The alarm contact person in the verification task is the person in charge related to the business scenario. The task generation module will periodically confirm whether there is any newly generated alarm information in the storage module. If there is new alarm information, the task processing module will retrieve the alarm information and send the alarm information to the alarm contact person corresponding to the alarm information. Specifically, the email address and / or chat software account information of the alarm contact person can be added when the verification task is generated. When alarm information is generated, the task generation module can directly send the alarm information to the alarm contact person's email address and / or send the alarm information to the alarm contact person through the chat software. The chat software may include but is not limited to enterprise WeChat, DingTalk, Feishu, etc.
[0053] For example, Figure 5 is a schematic diagram of a setting interface of a task generation component provided by an embodiment of the present invention, such as Figure 5 As shown, the task generation component adds the verification scope, verification time period and alarm contact corresponding to the verification scheme according to the specific verification scheme, and generates a verification task corresponding to the verification scheme; specifically, the specific verification time (2022-07-29 17:44:22 to 2022-07-30 17:44:12) can be set at the planned execution time, and the verification scope can be set to the operator, and the specific email address of the person to be contacted for the alarm can be set, and the verification task can be stored in the storage component by clicking Save.
[0054] The data acquisition component is used to periodically acquire the operating parameter information of the equipment and store the operating parameter information in the storage component.
[0055] In the embodiment of the present invention, the data collection component may be a monitoring component provided by the system, which periodically collects the operating parameter information of the device system, and the operating parameter information may specifically include the operating parameter information of the service class and the operating parameter information of the quality class; specifically, the operating parameter information of the service class may include flow information, bandwidth information, status code information, and request number information, etc., and the operating parameter information of the quality class may include response time information, first packet time information, and download rate information, etc. The operating parameter information periodically collected by the data collection component will be stored in the storage component for acquisition and use by the rule calculation component.
[0056] A rule calculation component is used to periodically obtain verification tasks from the storage component and obtain operating parameter information corresponding to the verification tasks from the storage component according to the verification tasks, perform rule calculation based on the operating parameter information and the verification scheme corresponding to the verification tasks, and store the alarm information in the storage component when alarm information is generated.
[0057] The storage component is used to store the verification rules generated by the rule generation component, the verification scheme generated by the scheme generation component, the verification tasks generated by the task generation component, the operating parameter information collected by the data collection component, and the alarm information generated by the rule calculation component.
[0058] Optionally, the storage component includes a MySQL database and a Prometheus database;
[0059] The MySQL database is used to store the verification rules generated by the rule generation component, the verification schemes generated by the scheme generation component, and the verification tasks generated by the task generation component; the Prometheus database is used to store the operating parameter information collected by the data acquisition component and the alarm information generated by the rule calculation component.
[0060] It should be noted that the MySQL database is a relational database management system developed by Swedish MySQL AB and currently belongs to Oracle. The MySQL database is a relational database management system that stores data in different tables instead of putting all data in a large warehouse, which increases speed and flexibility; in the embodiment of the present invention, the verification rules generated by the rule generation component, the verification scheme generated by the scheme generation component, and the verification tasks generated by the task generation component are respectively stored in different tables of the MySQL database.
[0061] The Prometheus database may specifically be a Prometheus time series database, which is used in the embodiment of the present invention to store the operating parameter information collected by the data collection component and the alarm information generated by the rule calculation component in chronological order.
[0062] Optionally, the rule calculation component includes a plurality of rule nodes;
[0063] The rule calculation component is also used to calculate the hash value of the verification rule corresponding to the verification task that needs to be assigned according to the number of rule nodes currently in working state and the number of verification rules corresponding to the verification task after obtaining the verification task from the storage component, and assign the verification rule to the rule node currently in working state for processing through the consistent hashing algorithm.
[0064] It should be noted that the rule node is a rule node, and the rule calculation component can be a rule calculation engine developed based on thanos-rule, wherein Thanos is a monitoring solution based on Prometheus with high availability, storage persistence, and multi-cluster query functions, and Prometheus is an open source system monitoring and alarm system.
[0065] Reference Figure 6 , Figure 6 It is a logical block diagram of a rule calculation component provided by an embodiment of the present invention. The rule calculation component includes a plurality of rule nodes, and the plurality of rule nodes form a rule cluster. Each rule node in the rule cluster adopts a consistent hash algorithm to independently calculate and allocate tasks to achieve balanced execution of verification tasks.
[0066] Specifically, the rule calculation component submits the verification plan to the rule control platform through the API interface (Application Programming Interface), and queries the verification task from MySQL through task mapping. The rule calculation component will periodically execute all the verification rules in the task and output the results. If the result requires an alarm, the alarm information will be generated and stored in the Prometheus database; the alarm information stored in the Prometheus database will be periodically obtained from the Prometheus database by the task generation component, and the alarm information will be pushed to the alarm contact.
[0067] Each rule node may also include a script task scheduling thread, a rule task scheduling thread and a task management thread.
[0068] It should be noted that after the rule calculation module obtains the verification task, before assigning the verification task to different rule nodes, it must first confirm the number of rule nodes in the current rule cluster that are in working state, and the number of verification rules corresponding to the verification task. Based on the number of rule nodes in working state and the number of verification rules that need to be executed, the hash value of the verification task that needs to be assigned is calculated, and the verification rules are assigned to the rule nodes that are currently in working state through the consistent hashing algorithm for rule calculation.
[0069] In an embodiment of the present invention, the rule calculation module confirms the number of rule nodes in the current rule cluster that are in working state by obtaining the number of rule nodes in the current rule cluster that are in working state from the MySQL database. The rule nodes in working state will actively update the update_time field to the node_healthy table of the MySQL database every 30 seconds (time unit: seconds), indicating that they are still alive. When a rule node fails to update the update_time field for more than 2 minutes, it is considered that the rule node is currently in a non-survival state, that is, a non-working state. It should be noted that only rule nodes in working state can execute rule calculation tasks, while rule nodes in non-working state cannot execute rule calculation tasks.
[0070] Optionally, the rule generation component is further used to configure a rule syntax uniquely corresponding to the verification rule for the verification rule after generating the verification rule;
[0071] The rule node is used to generate a statement corresponding to the verification rule according to the rule syntax and parameter threshold uniquely corresponding to the verification rule, obtain the operating parameter information corresponding to the verification rule from the storage component through the statement, and perform rule calculation based on the operating parameter information and the parameter threshold of the verification rule, and store the alarm information in the storage component when alarm information is generated.
[0072] Specifically, the rule node generates a promql statement corresponding to the verification rule according to the rule syntax and parameter threshold of the verification rule, obtains the operating parameter information corresponding to the verification rule from the Prometheus database by calling the Prometheus interface, and performs rule calculation based on the operating parameter information and parameter threshold, and stores the alarm information in the Prometheus database when alarm information is generated.
[0073] Figure 7 is a logic block diagram of another verification system provided by an embodiment of the present invention, such as Figure 7As shown, the verification system may include: a rule generation component, a solution generation component, a task generation component, a data acquisition component, a rule calculation component and a storage component; wherein the storage component includes a MySQL database and a Prometheus database, the rule calculation component includes a rule cluster, and the rule cluster includes a number of rule nodes; the rule calculation component also includes a scheduler.
[0074] Specifically, after the rule calculation component obtains the verification task from the storage component, the scheduler calculates the hash value of the verification rule corresponding to the verification task that needs to be assigned according to the number of rule nodes currently in working state in the rule cluster and the number of verification rules corresponding to the verification task, and assigns the verification rule to the rule node currently in working state for processing through the consistent hashing algorithm. The rule node generates a statement corresponding to the verification rule according to the rule syntax and parameter threshold uniquely corresponding to the verification rule, obtains the operation parameter information corresponding to the verification rule from the storage component through the statement, and performs rule calculation based on the operation parameter information and the parameter threshold of the verification rule, and stores the alarm information in the storage component when an alarm information is generated.
[0075] In the embodiment of the present invention, the verification system can be used for monitoring the online operation of the CDN system.
[0076] For example, the online cache server of the CDN online service system is upgraded from 7 to 8 in the morning. The traffic changes during the upgrade, and the bandwidth of each resource group may change, but the bandwidth cannot increase by more than 50% compared with 5 minutes ago, otherwise the resource group server will not be able to withstand the sudden increase, resulting in system abnormalities.
[0077] At this time, the rule syntax of the calibration rule generated by the rule generation component can be ((sum by(${param:statistical dimension})
[0078] (record_Rate5mDomainHost_groupBW{host=~"${scope:domain}",accid=~"${scope:cust}",host_group=~"${scope:host_group}",node=~"${scop e:lake}",province=~"${scope:province}",isp=~"${scope:isp}",resource_group=~"${scope:resource_group}"})>${param:bandwidth threshold}000000) / sum by(${param:statistical dimension})
[0079] (record_Rate5mDomainHost_groupBW{host=~"${scope:domain}",accid=~"${scope:cust}",host_group=~"${scope:host_group}",node=~"${scope:lake} ",province=~"${scope:province}", isp=~"${scope:isp}", resource_group=~"${scope:resource_group}"}offset${param:statistical period}m)-1)*100>${param:threshold}.
[0080] Correspondingly, the solution generation component selects the above calibration rules from the storage component for the above business scenario and sets parameter thresholds for the calibration scheme, generates a new calibration scheme and stores it in the storage component. Specifically, the parameter thresholds may include: statistical dimension: resource group; bandwidth threshold: 100M; statistical period: 5min (time unit: minute); threshold: 50%.
[0081] Then, based on the above verification scheme, the task generation component adds the verification scope, verification time period and alarm contact corresponding to the verification scheme, generates a new verification task and stores it in the storage component. Specifically, the verification scope can be set to all domain names, the verification time can be set to 7 to 8 am, and the alarm contact can be set to xxx@email.com.
[0082] The rule calculation component obtains the verification task from the storage component and obtains the operating parameter information corresponding to the verification task from the storage component according to the verification task, performs rule calculation based on the operating parameter information and the verification scheme corresponding to the verification task to obtain the rule calculation result. During this period, if a resource group generates alarm information, the rule calculation component stores the alarm information in the storage component, and the task generation component obtains the alarm information from the storage component and sends it to the alarm contact mailbox. After the alarm contact receives the alarm information, the upgrade is stopped as needed and reconfirmed whether the upgrade is reasonable.
[0083] For example, the online domain name configuration coverage of the CDN online service system changes, specifically, some domain names in Fujian are switched to the neighboring province of Jiangxi from 8 to 10 in the morning. However, the switching process should not be too fast, and the bandwidth of Fujian should not be reduced by 20% compared with the previous 20 minutes, otherwise the users in Fujian will be greatly affected.
[0084] At this time, the rule syntax of the calibration rule generated by the rule generation component can be ((sum by(${param:statistical dimension})
[0085] (record_Rate5mDomainHost_groupBW{host=~"${scope:domain}",accid=~"${scope:cust}",host_group=~"${scope:host_group}",node=~"${scope:lake}",province=~"${scope:province}",isp=~"${scope:isp}",resource_group=~"${scope:resource_group}"})>${param:bandwidth threshold}000000) / sum by(${param:statistical dimension})
[0086] (record_Rate5mDomainHost_groupBW{host=~"${scope:domain}",accid=~"${scope:cust}",host_group=~"${scope:host_group}",node=~"${scop e:lake}",province=~"${scope:province}",isp=~"${scope:isp}",resource_group=~"${scope:resource_group}"}offset${param:statistical period}m)-1)*-100>
[0087] ${param:threshold}.
[0088] Correspondingly, the solution generation component selects the above calibration rules from the storage component for the above business scenario and sets parameter thresholds for the calibration scheme, generates a new calibration scheme and stores it in the storage component. Specifically, the parameter thresholds may include: statistical dimension: province; bandwidth threshold: 100M; statistical period: 20min; threshold: 20%.
[0089] Then, based on the above verification scheme, the task generation component adds the verification scope, verification time period and alarm contact corresponding to the verification scheme, generates a new verification task and stores it in the storage component. Specifically, the verification scope can be set to Fujian Province, the verification time can be set to 8:00 to 10:00 in the morning, and the alarm contact can be set to xxx@email.com.
[0090] The rule calculation component obtains the verification task from the storage component and obtains the operating parameter information corresponding to the verification task from the storage component according to the verification task, performs rule calculation based on the operating parameter information and the verification scheme corresponding to the verification task to obtain the rule calculation result. If no alarm information is generated during the process, it indicates that the change operation is executed successfully.
[0091] In summary, in the embodiment of the present invention, the rule generation component of the verification system provides the solution generation component with the minimum granularity verification rules, so as to select a combination of different verification rules according to different business scenarios and reduce the number of verification rules that need to be generated; the solution generation component of the verification system selects a set of verification schemes corresponding to the business scenario according to the specific business scenario, and sets a specific parameter threshold for the verification scheme in the set according to the business scenario to generate a verification scheme corresponding to the specific business scenario, and the solution generation component provides a flexible rule set configuration; the task generation component of the verification system generates different verification tasks based on different verification schemes, and the rule calculation component periodically processes the verification tasks through rule calculation based on the equipment operation parameter information collected by the data acquisition component, and stores the alarm information in the storage component when an alarm information is generated, and then the task generation component obtains the alarm information from the storage component and pushes it to the alarm contact person, and the interactive cooperation between the various components in the verification system realizes real-time monitoring of the system operation status under different business scenarios, timely discovers problems in the process of system upgrade and configuration change, reduces the impact of system upgrade and configuration change on the normal operation of the system, and reduces the dependence on manual monitoring methods, further improving the stability of system operation.
[0092] In summary, refer to Figure 8 , Figure 8 is a flowchart of a verification method provided by an embodiment of the present invention, and the verification method may include:
[0093] Step S110: periodically obtain a first verification task from a storage component.
[0094] In an embodiment of the present invention, the first verification task is generated by the task generation component according to a first verification scheme, adding a verification range, a verification time period and an alarm contact corresponding to the first verification scheme, and storing it in the storage component; the first verification scheme is generated by the scheme generation component according to a first business scenario, selecting a first verification rule corresponding to the first business scenario from the storage component and setting a parameter threshold of the first verification rule, and storing it in the storage component; the first verification rule is generated by the rule generation component to calculate verification rules of various minimum granularities and store them in the storage component, and the verification rule is selected and used by the scheme generation component according to different business scenarios.
[0095] It should be noted that the first verification task is any one of the verification tasks generated by the above-mentioned task generation component, the first verification scheme is any one of the verification schemes generated by the above-mentioned scheme generation component, and the first verification rule is a combination of one or more verification rules corresponding to the first business scenario.
[0096] In the embodiment of the present invention, the rule calculation component may obtain the first verification task from the storage component.
[0097] Optionally, before step S110, the following sub-steps may also be included:
[0098] Sub-step S1101: Obtain the current status and verification time period of the first verification task.
[0099] Sub-step S1102: when the current state of the first verification task is an initialization state and the current time is within the verification time period, execute the step of obtaining the first verification task.
[0100] In an embodiment of the present invention, the first verification task can be obtained for rule calculation processing only when the current time is within the verification time of the first task and the first verification task is in an initialized state; when the current time is not within the verification time of the first task and / or the first verification task is in an executing state, the step of obtaining the first verification task cannot be executed, that is, the first task does not require the rule calculation component to be processed.
[0101] It should be noted that the current state of the first verification task may include an initialization state and an execution state; the initialization state is a state in which the first verification task has not been processed, and the execution state is a state in which the first verification task is currently being processed.
[0102] In the embodiment of the present invention, after the first verification task is obtained, the state of the first task needs to be modified from the initial state to the executing state to prevent the first task from being repeatedly executed.
[0103] Optionally, the rule calculation component includes a plurality of rule nodes; after step S110, the following sub-steps may also be included:
[0104] Sub-step S1111: Obtain a first number of rule nodes currently in working state.
[0105] Sub-step S1112: Obtain a second number of first verification rules corresponding to the first verification task.
[0106] Sub-step S1113: Calculate, according to the first number and the second number, a hash value of a first verification rule corresponding to the first verification task that needs to be assigned.
[0107] Sub-step S1114: assigning the first verification rule to the rule node currently in working state for processing through the consistent hashing algorithm.
[0108] In an embodiment of the present invention, after acquiring the first verification task, the rule calculation module must first confirm the first number of rule nodes in the current rule cluster that are in working state and the second number of first verification rules corresponding to the first verification task before assigning the verification task to different rule nodes. The hash value of the first verification task to be assigned is calculated based on the first number of rule nodes in working state and the second number of first verification rules to be executed, and then the first verification rule is assigned to the rule node currently in working state through the consistent hashing algorithm for rule calculation.
[0109] Step S120: Acquire operation parameter information corresponding to the first verification task from the storage component according to the first verification task.
[0110] It should be noted that the operating parameter information is the operating parameter information of the device periodically collected by the data collection component and stored in the storage component.
[0111] Optionally, the first verification rule includes a first rule syntax corresponding to the first verification rule displacement; the step S120 may include the following sub-steps:
[0112] Sub-step S1201: The rule node generates a first statement corresponding to the verification rule according to a first rule syntax and a parameter threshold of the first verification rule.
[0113] Sub-step S1202: obtaining operation parameter information corresponding to the first verification rule from the storage component through the first statement.
[0114] In an embodiment of the present invention, a rule node in the rule calculation module generates a promql statement corresponding to the first verification rule according to the rule syntax and parameter threshold of the first verification rule, and obtains the operating parameter information corresponding to the first verification rule from the Prometheus database by calling the Prometheus interface.
[0115] Step S130: performing rule calculation based on the operating parameter information and a first verification scheme corresponding to the first verification task to obtain a rule calculation result.
[0116] In the embodiment of the present invention, the rule node in the rule calculation module may perform rule calculation based on the operation parameter information and the parameter threshold corresponding to the first verification rule in the first verification scheme to obtain the rule calculation result.
[0117] Optionally, the step S130 may include the following sub-steps:
[0118] Sub-step S1301: The rule node performs rule calculation according to the operating parameter information and a parameter threshold of a first verification rule corresponding to the first verification scheme.
[0119] Sub-step S1302: when the operating parameter information is within the parameter threshold range, obtaining a rule calculation result of normal operation.
[0120] Sub-step S103: when the operating parameter information exceeds the parameter threshold range, obtaining a rule calculation result of operating abnormality.
[0121] Step S140: Based on the rule calculation result, if alarm information is generated, the alarm information is stored in the storage component.
[0122] It should be noted that, according to the rule calculation result, sending the alarm information can specifically be: after obtaining the rule calculation result, the rule calculation component determines whether it is necessary to send the alarm information. If it is necessary to send the alarm information, the rule calculation component stores the alarm information in the storage component, and then the task generation component obtains the alarm information from the storage component and sends the alarm information to the alarm contact.
[0123] Optionally, the step S140 may include the following sub-steps:
[0124] Sub-step S1401: When the rule calculation result is normal, no processing is performed.
[0125] In the embodiment of the present invention, when the rule calculation result is normal operation, it indicates that no abnormality occurs in the current device system. Therefore, no additional processing operation is required, and the monitoring task can be performed normally.
[0126] Sub-step S1402: When the rule calculation result is an operation abnormality, the alarm information is stored in the storage component.
[0127] It should be noted that after the alarm information in the storage component is acquired by the task generation component, the alarm information is sent to the alarm contact person.
[0128] In an embodiment of the present invention, when the rule calculation result is an operation abnormality, it indicates that an abnormality has occurred in the current device system and an alarm information needs to be issued in a timely manner. Specifically, the rule calculation component stores the alarm information in a storage component, and then the task generation component obtains the alarm information from the storage component and sends the alarm information to the alarm contact.
[0129] In summary, the verification method provided by the embodiment of the present invention obtains a first verification task, obtains the operating parameter information corresponding to the first verification task according to the first verification task, and performs rule calculation according to the operating parameter information and the first verification scheme corresponding to the first verification task to obtain the rule calculation result, and finally sends an alarm message according to the rule calculation result. Based on the interaction and cooperation between the various components in the verification system, real-time monitoring of the system operation status in different business scenarios is achieved, and problems arising during system upgrades and configuration changes are discovered in a timely manner. While reducing the impact of system upgrades and configuration changes on the normal operation of the system, it also reduces dependence on manual monitoring methods, further improving the stability of system operation.
[0130] Fig. 9 is a logic block diagram of a verification device provided by an embodiment of the present invention, and the device may include:
[0131] The first acquisition module 510 is used to periodically acquire a first verification task from a storage component, wherein the first verification task is generated by the task generation component according to a first verification scheme, adding a verification scope, a verification time period and an alarm contact corresponding to the first verification scheme, and storing it in the storage component; the first verification scheme is generated by the scheme generation component selecting a first verification rule corresponding to the first business scenario from the storage component according to a first business scenario and setting a parameter threshold of the first verification rule, and storing it in the storage component; the first verification rule is generated by the rule generation component to calculate verification rules of various minimum granularities and stored in the storage component, and the verification rule is selected and used by the scheme generation component according to different business scenarios;
[0132] A second acquisition module 520 is used to acquire, according to the first verification task, the operating parameter information corresponding to the first verification task from the storage component; the operating parameter information is the operating parameter information of the device periodically collected by the data acquisition component and stored in the storage component;
[0133] A first calculation module 530 is configured to perform rule calculation based on the operating parameter information and a first verification scheme corresponding to the first verification task to obtain a rule calculation result;
[0134] The storage module 540 is used to store the alarm information in the storage component based on the rule calculation result when the alarm information is generated.
[0135] Optionally, the verification device 500 may further include:
[0136] A third acquisition module, used to acquire a first number of rule nodes currently in working state;
[0137] A fourth acquisition module, used to acquire a second number of first verification rules corresponding to the first verification task;
[0138] A second calculation module, used to calculate a hash value of a first verification rule corresponding to the first verification task that needs to be allocated according to the first number and the second number;
[0139] The allocation module is used to allocate the first verification rule to the rule node currently in working state for processing through a consistent hashing algorithm.
[0140] Optionally, the second acquisition module 520 may include:
[0141] A generating submodule, configured to generate, by the rule node, a first statement corresponding to the verification rule according to a first rule syntax and a parameter threshold of the first verification rule;
[0142] An acquisition submodule is used to acquire operation parameter information corresponding to the first verification rule from the storage component through the first statement.
[0143] Optionally, the first calculation module 530 may include:
[0144] a calculation submodule, configured to perform rule calculation by the rule node according to the operation parameter information and a parameter threshold of a first verification rule corresponding to the first verification scheme;
[0145] A first determination submodule is used to obtain a rule calculation result of normal operation when the operation parameter information is within the parameter threshold range;
[0146] The second determination submodule is used to obtain a rule calculation result of operation abnormality when the operation parameter information exceeds the parameter threshold range.
[0147] Optionally, the storage module 540 may include:
[0148] An operation suppression submodule, used for not performing any processing when the rule calculation result is normal;
[0149] The storage submodule is used to store the alarm information in the storage component when the rule calculation result is an operation abnormality; after the alarm information in the storage component is acquired by the task generation component, the alarm information is sent to the alarm contact person.
[0150] Optionally, the verification device 500 may further include:
[0151] A fifth acquisition module, used to acquire the current status and verification time period of the first verification task;
[0152] An execution module is used to execute the step of acquiring the first verification task when the current state of the first verification task is an initialization state and the current time is within the verification time period.
[0153] In summary, in the embodiment of the present invention, the rule generation component of the verification system provides the solution generation component with the minimum granularity verification rules, so as to select a combination of different verification rules according to different business scenarios and reduce the number of verification rules that need to be generated; the solution generation component of the verification system selects a set of verification schemes corresponding to the business scenario according to the specific business scenario, and sets a specific parameter threshold for the verification scheme in the set according to the business scenario to generate a verification scheme corresponding to the specific business scenario, and the solution generation component provides a flexible rule set configuration; the task generation component of the verification system generates different verification tasks based on different verification schemes, and the rule calculation component periodically processes the verification tasks through rule calculation based on the equipment operation parameter information collected by the data acquisition component, and stores the alarm information in the storage component when an alarm information is generated, and then the task generation component obtains the alarm information from the storage component and pushes it to the alarm contact person, and the interactive cooperation between the various components in the verification system realizes real-time monitoring of the system operation status under different business scenarios, timely discovers problems in the process of system upgrade and configuration change, reduces the impact of system upgrade and configuration change on the normal operation of the system, and reduces the dependence on manual monitoring methods, further improving the stability of system operation.
[0154] The present invention also provides an electronic device, see Fig.10, including: a processor 1001, a memory 1002, and a computer program 10021 stored in the memory and executable on the processor, wherein the processor implements the verification method of the aforementioned embodiment when executing the program.
[0155] The present invention also provides a readable storage medium, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the verification method of the above-mentioned embodiment.
[0156] The present invention also provides a server system, which includes the verification system of the aforementioned embodiment.
[0157] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0158] It should be noted that the various information and data obtained in the embodiments of the present invention are all obtained with the authorization of the information / data holder.
[0159] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description of the above specific languages is for disclosing the best mode of the present invention.
[0160] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0161] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0162] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0163] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the sorting device according to the present invention. The present invention may also be implemented as a device or apparatus program for executing part or all of the methods described herein. Such a program for implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0164] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
[0165] The user information (including but not limited to the user's device information, user personal information, etc.) and related data involved in the present invention are all information authorized by the user or by all parties.
[0166] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0167] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0168] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A verification system, characterized in that: The system comprises: a rule generation component, a solution generation component, a task generation component, a data collection component, a rule calculation component and a storage component; The rule generation component is used to generate and calculate various minimum granularity verification rules and store the verification rules in the storage component, and the verification rules are selected and used by the solution generation component according to different business scenarios; The solution generation component is used to select verification rules corresponding to the business scenarios from the storage component according to different business scenarios and set parameter thresholds of the verification rules, generate verification solutions corresponding to the business scenarios and store the verification solutions in the storage component; The task generation component is used to add a verification scope, a verification time period and an alarm contact corresponding to the verification scheme according to the verification scheme, generate a verification task corresponding to the verification scheme and store the verification task in the storage component; and obtain alarm information from the storage component and push the alarm information to the alarm contact; The data acquisition component is used to periodically acquire the operating parameter information of the equipment and store the operating parameter information in the storage component; a rule calculation component, configured to periodically obtain a verification task from the storage component and obtain operation parameter information corresponding to the verification task from the storage component according to the verification task, perform rule calculation based on the operation parameter information and the verification scheme corresponding to the verification task, and store the alarm information in the storage component when alarm information is generated; The storage component is used to store the verification rules generated by the rule generation component, the verification scheme generated by the scheme generation component, the verification tasks generated by the task generation component, the operating parameter information collected by the data collection component, and the alarm information generated by the rule calculation component.
2. The system according to claim 1, characterized in that The rule generation component is also used to configure an applicable scope corresponding to the verification rule for the verification rule after generating the verification rule; The solution generation component is also used to select verification rules corresponding to the business scenarios from the storage component based on the applicable scope of the verification rules according to different business scenarios, and set parameter thresholds of the verification rules.
3. The system according to claim 2, characterized in that The rule calculation component includes a plurality of rule nodes; The rule calculation component is also used to calculate the hash value of the verification rule corresponding to the verification task that needs to be assigned according to the number of rule nodes currently in working state and the number of verification rules corresponding to the verification task after obtaining the verification task from the storage component, and assign the verification rule to the rule node currently in working state for processing through the consistent hashing algorithm.
4. The system according to claim 3, characterized in that The rule generation component is also used to configure a rule syntax uniquely corresponding to the verification rule for the verification rule after generating the verification rule; The rule node is used to generate a statement corresponding to the verification rule according to the rule syntax and parameter threshold uniquely corresponding to the verification rule, obtain the operating parameter information corresponding to the verification rule from the storage component through the statement, and perform rule calculation based on the operating parameter information and the parameter threshold of the verification rule, and store the alarm information in the storage component when alarm information is generated.
5. The system according to claim 1, characterized in that The storage components include a MySQL database and a Prometheus database; The MySQL database is used to store the verification rules generated by the rule generation component, the verification scheme generated by the scheme generation component, and the verification tasks generated by the task generation component; The Prometheus database is used to store the operating parameter information collected by the data collection component and the alarm information generated by the rule calculation component.
6. A verification method, characterized in that: The method comprises: The first verification task is periodically obtained from the storage component, wherein the first verification task is generated by the task generation component according to the first verification scheme, adding the verification scope, verification time period and alarm contact corresponding to the first verification scheme, and storing it in the storage component; the first verification scheme is generated by the scheme generation component selecting the first verification rule corresponding to the first business scenario from the storage component according to the first business scenario and setting the parameter threshold of the first verification rule, and storing it in the storage component; the first verification rule is generated by the rule generation component to calculate various minimum granularity verification rules and store them in the storage component, and the verification rule is selected and used by the scheme generation component according to different business scenarios; According to the first verification task, the operating parameter information corresponding to the first verification task is obtained from the storage component; the operating parameter information is the operating parameter information of the device periodically collected by the data collection component and stored in the storage component; Perform rule calculation based on the operating parameter information and a first verification scheme corresponding to the first verification task to obtain a rule calculation result; Based on the rule calculation result, when alarm information is generated, the alarm information is stored in the storage component.
7. The method according to claim 6, characterized in that The rule calculation component includes several rule nodes; After periodically acquiring the first verification task from the storage component, the method further includes: Obtaining a first number of rule nodes currently in working state; Obtaining a second number of first verification rules corresponding to the first verification task; Calculating a hash value of a first verification rule corresponding to the first verification task that needs to be assigned according to the first number and the second number; The first verification rule is assigned to the rule node currently in working state for processing through a consistent hashing algorithm.
8. The method according to claim 7, characterized in that The first verification rule includes a first rule syntax corresponding to the first verification rule displacement; The acquiring, according to the first verification task, from the storage component, the operating parameter information corresponding to the first verification task includes: The rule node generates a first statement corresponding to the verification rule according to a first rule syntax and a parameter threshold of the first verification rule; The operating parameter information corresponding to the first verification rule is obtained from the storage component through the first statement.
9. The method according to claim 8, characterized in that The performing rule calculation based on the operating parameter information and a first verification scheme corresponding to the first verification task includes: The rule node performs rule calculation according to the operating parameter information and a parameter threshold of a first verification rule corresponding to the first verification scheme; When the operating parameter information is within the parameter threshold range, a rule calculation result of normal operation is obtained; When the operating parameter information exceeds the parameter threshold range, a rule calculation result of operating abnormality is obtained.
10. The method according to claim 9, characterized in that The rule-based calculation result, when alarm information is generated, storing the alarm information in the storage component, comprises: If the rule calculation result is normal, no processing is performed; When the rule calculation result is an operation abnormality, the alarm information is stored in the storage component; after the alarm information in the storage component is acquired by the task generation component, the alarm information is sent to an alarm contact person.
11. The method according to claim 6, characterized in that Before periodically acquiring the first verification task from the storage component, the method further includes: Obtaining the current status and verification time period of the first verification task; When the current state of the first verification task is an initialization state and the current time is within the verification time period, the step of acquiring the first verification task is performed.
12. A verification device, characterized in that: The device comprises: A first acquisition module is used to periodically acquire a first verification task from a storage component, wherein the first verification task is generated by a task generation component according to a first verification scheme, adding a verification scope, a verification time period and an alarm contact corresponding to the first verification scheme, and storing the first verification scheme in the storage component; the first verification scheme is generated by a scheme generation component according to a first business scenario, selecting a first verification rule corresponding to the first business scenario from the storage component and setting a parameter threshold of the first verification rule, and storing the first verification rule in the storage component; the first verification rule is generated by a rule generation component to calculate verification rules of various minimum granularities and stored in the storage component, and the verification rule is selected and used by the scheme generation component according to different business scenarios; A second acquisition module is used to acquire, according to the first verification task, the operating parameter information corresponding to the first verification task from the storage component; the operating parameter information is the operating parameter information of the device periodically collected by the data acquisition component and stored in the storage component; A first calculation module, configured to perform rule calculation based on the operating parameter information and a first verification scheme corresponding to the first verification task, to obtain a rule calculation result; The storage module is used to store the alarm information in the storage component based on the rule calculation result when the alarm information is generated.
13. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the verification method according to any one of claims 6 to 11 when executing the program.
14. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the verification method described in any one of claims 6 to 11.
15. A server system, characterized in that: The server system comprises the verification system as described in any one of claims 1-5.
Citation Information
Patent Citations
Method and system for automatically monitoring business systems
CA3141565A1
Automatic operation maintenance monitoring system
CN106487574A
System and method for monitoring and measuring application performance using application index
US20170046243A1
