CN111130938A - Index acquisition method and device, electronic equipment and computer readable storage medium - Google Patents

Index acquisition method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN111130938A
CN111130938A CN201911359693.2A CN201911359693A CN111130938A CN 111130938 A CN111130938 A CN 111130938A CN 201911359693 A CN201911359693 A CN 201911359693A CN 111130938 A CN111130938 A CN 111130938A
Authority
CN
China
Prior art keywords
acquisition
index
script
target
acquired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911359693.2A
Other languages
Chinese (zh)
Other versions
CN111130938B (en
Inventor
冯浩
姜智慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201911359693.2A priority Critical patent/CN111130938B/en
Publication of CN111130938A publication Critical patent/CN111130938A/en
Application granted granted Critical
Publication of CN111130938B publication Critical patent/CN111130938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The embodiment of the invention provides an index acquisition method, an index acquisition device, electronic equipment and a computer readable storage medium. The method comprises the following steps: acquiring index items to be acquired aiming at the server cluster; acquiring an independent target acquisition script corresponding to an index item to be acquired from a pre-generated system configuration file according to a mapping relation between the acquisition index item and the acquisition script; acquiring a target physical path of the target acquisition script on each server in the server cluster according to the system configuration file; executing the target acquisition script according to each target physical path to obtain an execution result; and generating and sending corresponding heartbeat information according to the execution result. The embodiment of the invention can reduce the workload of the service staff and reduce the development cost. And corresponding heartbeat information is generated according to the execution result of the acquisition script, so that the execution result can be monitored, and the user perception is improved.

Description

Index acquisition method and device, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to an index collection method and apparatus, an electronic device, and a computer-readable storage medium.
Background
As the business of the internet company expands, the size of the server in the internet company increases, and when the server fails, a large number of application services on the server cannot provide the services continuously.
In order to ensure high availability of the application service, not only the configuration information of the application service on the server needs to be collected, but also various indexes or firmware versions of the server need to be detected and upgraded.
In the prior art, acquisition scripts are usually deployed on each server, and firmware information of the script acquisition servers is started regularly to detect and upgrade. In this way, monitoring of the acquisition script cannot be realized, whether the acquisition script is successfully executed cannot be known, and the content to be acquired is written to the dead when the script is dead, so that more codes need to be modified when a new acquisition index appears, and development cost is increased.
Disclosure of Invention
Embodiments of the present invention provide an index collection method, an index collection device, an electronic device, and a computer-readable storage medium, so as to monitor an executed index collection script without code modification, thereby reducing development cost. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided an index acquisition method, including:
acquiring index items to be acquired aiming at the server cluster;
acquiring an independent target acquisition script corresponding to an index item to be acquired from a pre-generated system configuration file according to a mapping relation between the acquisition index item and the acquisition script;
acquiring a target physical path of the target acquisition script on each server in the server cluster according to the system configuration file;
executing the target acquisition script according to each target physical path to obtain an execution result;
and generating and sending corresponding heartbeat information according to the execution result.
Optionally, before the obtaining the index to be acquired for the server cluster, the method further includes:
acquiring a plurality of acquisition index items; the index item to be collected is one of the plurality of collection index items;
configuring mutually independent acquisition scripts corresponding to the acquisition index items;
acquiring a physical address of each acquisition index item acquired by each server;
setting a physical path of each acquisition script on each server according to each physical address;
and generating the system configuration file according to each acquisition script and the physical path corresponding to each acquisition script.
Optionally, the executing the target collection script according to each target physical path to obtain an execution result includes:
sequentially executing the target acquisition script according to each target physical path;
under the condition that the target acquisition script fails to be executed, acquiring a result of the execution failure;
and acquiring the acquired index data and the result of successful execution under the condition that the target acquisition script is successfully executed.
Optionally, the generating and sending corresponding heartbeat information according to the execution result includes:
when the execution result is the result of execution failure, generating and sending heartbeat information of data acquisition failure;
and when the execution result is a result of successful execution, storing the acquired index data in a database, and generating and sending heartbeat information of successful data acquisition.
Optionally, after the storing the collected index data in a database, and generating and sending heartbeat information with successful data collection, the method further includes:
generating a preset page;
adding an index threshold value interval corresponding to the index item to be collected in the preset page;
when the target acquisition script is successfully executed, displaying acquired index data on the preset page;
and under the condition that the acquired index data is outside the index threshold value interval, displaying warning information of index abnormality in the preset page.
In a second aspect of the present invention, there is provided an index collection apparatus, including:
the acquisition module of the index items to be acquired is used for acquiring the index items to be acquired aiming at the server cluster;
the target acquisition script acquisition module is used for acquiring an independent target acquisition script corresponding to the index item to be acquired from a pre-generated system configuration file according to the mapping relation between the acquisition index item and the acquisition script;
a target physical path obtaining module, configured to obtain a target physical path of the target acquisition script on each server in the server cluster according to the system configuration file;
the execution result acquisition module is used for executing the target acquisition script according to each target physical path to acquire an execution result;
and the heartbeat information generating and sending module is used for generating and sending corresponding heartbeat information according to the execution result.
Optionally, the method further comprises:
the acquisition index item acquisition module is used for acquiring a plurality of acquisition index items; the index item to be collected is one of the plurality of collection index items;
the acquisition script configuration module is used for configuring the mutually independent acquisition scripts corresponding to the acquisition index items;
the physical address acquisition module is used for acquiring the physical address of each acquisition index item acquired by each server;
a physical path setting module, configured to set a physical path of each acquisition script on each server according to each physical address;
and the system configuration file generation module is used for generating the system configuration file according to each acquisition script and the physical path corresponding to each acquisition script.
Optionally, the execution result obtaining module includes:
the target acquisition script execution submodule is used for sequentially executing the target acquisition scripts according to the target physical paths;
the failure result acquisition submodule is used for acquiring the result of the execution failure under the condition that the execution of the target acquisition script fails;
and the successful result obtaining sub-module is used for obtaining the collected index data and the successfully executed result under the condition that the target collection script is successfully executed.
Optionally, the heartbeat information generating and sending module includes:
the failure heartbeat generating and sending submodule is used for generating and sending heartbeat information of data acquisition failure when the execution result is the result of execution failure;
and the successful heartbeat generating and sending submodule is used for storing the acquired index data in a database and generating and sending heartbeat information with successful data acquisition when the execution result is a result of successful execution.
Optionally, the method further comprises:
the preset page generating module is used for generating a preset page;
a threshold interval adding module, configured to add an index threshold interval corresponding to the index item to be acquired in the preset page;
the index data display module is used for displaying the acquired index data on the preset page when the target acquisition script is successfully executed;
and the warning display module is used for displaying warning information of index abnormity in the preset page under the condition that the acquired index data is outside the index threshold interval.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium, having stored therein instructions, which when run on a computer, cause the computer to execute any one of the above-mentioned index collection methods.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any one of the above-mentioned index collection methods.
According to the index acquisition scheme provided by the embodiment of the invention, the index item to be acquired of the server cluster is acquired, the independent target acquisition script corresponding to the index item to be acquired is acquired according to the mapping relation between the acquisition index item and the acquisition script, the target physical path of the target acquisition script on each server in the server cluster is acquired according to the system configuration file, the target acquisition script is executed according to each target physical path, the execution result is acquired, and the corresponding heartbeat information is generated and sent according to the execution result. According to the embodiment of the invention, the acquisition scripts of the acquisition index items on the servers in the server cluster are configured through one system configuration file, the acquisition scripts do not need to be deployed on each server, and the independent acquisition scripts are set for each acquisition index item, so that when the acquisition index items are newly added, only one independent acquisition script needs to be added, code modification is not needed, and the development cost can be reduced. And corresponding heartbeat information is generated according to the execution result of the acquisition script, so that the execution result can be monitored, and the user perception is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a flowchart illustrating steps of an index collection method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of an index collection method according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of an index acquisition system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an index collecting device according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an index collecting device according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
Referring to fig. 1, a flowchart illustrating steps of an index collection method according to an embodiment of the present invention is shown. As shown in fig. 1, the index collection method may specifically include the following steps:
step 101: and acquiring index items to be acquired aiming at the server cluster.
The embodiment of the invention can be applied to the scene of acquiring the index items on each server in the server cluster.
In this embodiment of the present invention, the to-be-collected index item may be firmware index information to be collected on each server of the server cluster, may also be configuration index information of an application service in each server of the server cluster, and may also be other index information.
In some examples, the index item to be collected may be obtained through a specified page (e.g., an HTML (HyperText Markup Language) page, etc.), for example, an input window of the index to be collected may be displayed in the specified page, and a service person may input a data index item to be collected through the input window, and use the input data index item as the index item to be collected.
In some examples, the index item to be collected may be obtained according to a specified time, for example, a service person sets in advance that data of an index a is collected at 13:00, data of an index B is collected at 14:00, data of an index C is collected at 15:00, and the like, and when the set time is reached, the index of the data to be collected may be used as the index to be collected.
It can be understood that the above examples are only examples listed for better understanding of the technical solution of the embodiment of the present invention, and in a specific implementation, a person skilled in the art may also obtain the index to be acquired in other manners, and specifically, the index may be determined according to a business requirement, and the embodiment of the present invention is not limited thereto.
Of course, the index item to be collected in the present invention may be one index item, or may be multiple index items, and specifically, may be determined according to actual situations.
After the index items to be collected for the server cluster are obtained, step 102 is executed.
Step 102: and acquiring an independent target acquisition script corresponding to the index item to be acquired from a pre-generated system configuration file according to the mapping relation between the acquisition index item and the acquisition script.
The acquisition script is a script for acquiring data specifying acquisition index items.
In the present invention, different acquisition indicator items may correspond to respective acquisition scripts,
the acquisition script of each acquisition index item is independent, for example, the acquisition index items may include an index item 1, an index item 2, and an index item 3, and the acquisition script corresponding to the index item 1 may be configured in advance as follows: the acquisition scripts corresponding to the script a and the index item 2 are as follows: and b, acquiring scripts corresponding to the index item 3: script c, script a, script b and script c all exist independently.
The mapping relationship between the collection index item and the collection script can be stored in the system in a list form, as shown in the following table 1:
table 1:
collecting index items Collection script
1 a
2 b
3 c
As shown in table 1, a mapping relationship exists between the acquisition index item 1 and the acquisition script a, a mapping relationship exists between the acquisition index item 2 and the acquisition script b, and a mapping relationship exists between the acquisition index item 3 and the acquisition script c.
Of course, in a specific implementation, the mapping relationship between the acquisition indicator item and the acquisition script may also be stored in other manners, such as a database, and the like.
The system configuration file refers to a file generated in advance for storing a collection script, a mapping relationship between the collection script and a collection index item, and a generation process of the system configuration file may be described in detail in the following embodiments, which are not described herein again.
The target acquisition script is an acquisition script corresponding to the index item to be acquired.
After the index item to be collected is obtained, an independent target collection script corresponding to the index item to be collected may be obtained from a pre-generated system configuration file according to a mapping relationship between the collection index item and the collection script, for example, as can be seen from table 1, when the index item to be collected is index item 2, the target collection script is: collecting a script b; and when the index items to be collected are the index items 1 and 3, the target collection scripts are the collection scripts a and c.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After the target acquisition script corresponding to the index item to be acquired is acquired from the pre-generated system configuration file according to the mapping relationship between the acquisition index item and the acquisition script, step 103 is executed.
Step 103: and acquiring a target physical path of the target acquisition script on each server in the server cluster according to the system configuration file.
The Physical Address is an Address for collecting index data, and the Physical Address (Physical Address) is an Address for storing information in units of bytes, and each byte unit is given a unique Address for correctly storing or acquiring information.
In the present invention, one collection index item may correspond to only one physical address or to multiple physical addresses, and specifically, may be determined according to actual situations, and the embodiment of the present invention is not limited thereto.
After the physical address of the index data acquired by each acquisition index item is acquired, the physical path corresponding to each acquisition script can be set according to the physical address, so that when one acquisition script is executed, the acquisition script can be executed according to the physical path corresponding to the acquisition script to acquire the corresponding index data.
The physical path of each acquisition script on each server in the server cluster is also stored in the pre-generated system configuration file.
After the target acquisition script is obtained, a target physical path of the target acquisition script on each server in the server cluster may be obtained from the system configuration file according to the target acquisition script.
After the target physical path of the target collection script on each server in the server cluster is obtained according to the system configuration file, step 104 is executed.
Step 104: and executing the target acquisition script according to each target physical path to obtain an execution result.
The execution result refers to a result obtained by executing the target acquisition script.
The execution result may include a result of the execution failure, and when the execution fails, the result of the execution failure may be obtained, and a reason for the execution failure may be acquired.
The execution result may further include a result of successful execution, and when the execution is successful, the result of successful execution may be obtained, and the index data acquired by executing the target acquisition script may be acquired.
After the target physical path is acquired, the target acquisition script may be executed according to the target physical path, and then the target acquisition script acquires the index data on each server of the server cluster according to the target physical path, for example, acquires the index data a of the firmware a in the server 1, acquires the index data a of the firmware B in the server 2, and so on.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After the target acquisition script is executed according to each target physical path to obtain an execution result, step 105 is executed.
Step 105: and generating and sending corresponding heartbeat information according to the execution result.
The heartbeat information is heartbeat signal information for prompting the service staff to acquire the result of execution of the script.
After the execution result of the target acquisition script is obtained, corresponding heartbeat information can be generated according to the execution result, and the heartbeat information is sent to the service personnel to prompt the service personnel whether the target acquisition script is executed successfully or not, so that the monitoring of the execution process of the acquisition script is realized.
The embodiment of the invention can realize the monitoring of the execution process of the acquisition script and can prompt a user whether the acquisition script is successfully executed or not according to the heartbeat information.
According to the index acquisition method provided by the embodiment of the invention, the index item to be acquired of the server cluster is acquired, the independent target acquisition script corresponding to the index item to be acquired is acquired according to the mapping relation between the acquisition index item and the acquisition script, the target physical path of the target acquisition script on each server in the server cluster is acquired according to the system configuration file, the target acquisition script is executed according to each target physical path, the execution result is acquired, and the corresponding heartbeat information is generated and sent according to the execution result. According to the embodiment of the invention, the acquisition scripts of the acquisition index items on the servers in the server cluster are configured through one system configuration file, the acquisition scripts do not need to be deployed on each server, and the independent acquisition scripts are set for each acquisition index item, so that when the acquisition index items are newly added, only one independent acquisition script needs to be added, code modification is not needed, and the development cost can be reduced. And corresponding heartbeat information is generated according to the execution result of the acquisition script, so that the execution result can be monitored, and the user perception is improved.
Referring to fig. 2, a flowchart illustrating steps of an index collection method according to an embodiment of the present invention is shown. As shown in fig. 2, the index collection method may specifically include the following steps:
step 201: acquiring a plurality of acquisition index items; the index item to be collected is one of the plurality of collection index items.
In the embodiment of the present invention, a server cluster refers to a cluster composed of a plurality of servers, for example, referring to fig. 3, a schematic diagram of an index acquisition system provided in the embodiment of the present invention is shown, as shown in fig. 1, a server 2.
The present embodiment may perform the following detailed description on the technical solution in conjunction with the server 1.
The acquisition index item may be firmware index information to be acquired on the server, configuration index information of an application service in the server, or other index information, and specifically, may be determined according to a business requirement, which is not limited in this embodiment of the present invention.
The index items to be collected mentioned in the following steps are one or more index items in a plurality of collection index items.
The acquisition index items mentioned in this step are index items to which corresponding acquisition scripts need to be configured.
In specific implementation, an index input window may be preset, and a service person may input a plurality of acquisition index items in the index input window and perform a subsequent configuration process of an acquisition script.
After acquiring the plurality of acquisition indicator items, step 202 is executed.
Step 202: and configuring mutually independent acquisition scripts corresponding to each acquisition index item.
The acquisition script refers to a script for acquiring specific index data, and the acquisition script may be any one of various scripts such as a python script and a shell script, specifically, the acquisition script may be determined according to a service requirement, which is not limited in this embodiment of the present invention.
After acquiring a plurality of acquisition index items, a corresponding acquisition script can be configured for each acquisition index item, and each acquisition script is independent.
After configuring each acquisition index item to configure corresponding mutually independent acquisition scripts, step 203 is executed.
Step 203: and acquiring the physical address of each acquisition index item acquired by each server.
The Physical Address is an Address for collecting index data, and the Physical Address (Physical Address) is an Address for storing information in units of bytes, and each byte unit is given a unique Address for correctly storing or acquiring information.
In the present invention, one collection index item may correspond to only one physical address or to multiple physical addresses, and specifically, may be determined according to actual situations, and the embodiment of the present invention is not limited thereto.
After obtaining the plurality of collection index items, a physical address of each collection index item may be collected from each server in the server cluster according to the collection index items.
After acquiring the physical address of each acquisition index item on each server, step 204 is executed.
Step 204: and setting a physical path of each acquisition script on each server according to each physical address.
After the physical address of the index data acquired by each acquisition index item is acquired, the physical path corresponding to each acquisition script on each server in the server cluster can be acquired according to the physical address, so that when one acquisition script is executed, the acquisition script can be executed according to the physical path corresponding to the acquisition script to acquire the corresponding index data.
After setting the physical path of each acquisition script on each server according to each physical address, step 205 is performed.
Step 205: and generating the system configuration file according to each acquisition script and the physical path corresponding to each acquisition script.
After acquiring the acquisition script corresponding to each acquisition index item in the plurality of acquisition index items and the physical path corresponding to each acquisition script, each acquisition script and the physical path corresponding to each acquisition script may be stored in a system configuration file, specifically, an empty configuration file may be created first, then the acquisition scripts of the plurality of acquisition index items and the physical path corresponding to each acquisition script are acquired, and then the plurality of acquisition scripts and the physical path corresponding to each acquisition script are stored in the empty configuration file to generate the system configuration file.
After the system configuration file is generated according to each acquisition script and the physical path corresponding to each acquisition script, step 206 is performed.
Step 206: and acquiring index items to be acquired aiming at the server cluster.
The index item to be collected may be firmware index information to be collected on each server of the server cluster, configuration index information of an application service in each server of the server cluster, or other index information, and specifically, may be determined according to a service requirement, which is not limited in this embodiment of the present invention.
In some examples, the index item to be collected may be obtained through a specified page (e.g., an HTML (HyperText Markup Language) page, etc.), for example, an input window of the index to be collected may be displayed in the specified page, and a service person may input a data index item to be collected through the input window, and use the input data index item as the index item to be collected.
In some examples, the index item to be collected may be obtained according to a specified time, for example, a service person sets in advance that data of an index a is collected at 13:00, data of an index B is collected at 14:00, data of an index C is collected at 15:00, and the like, and when the set time is reached, the index of the data to be collected may be used as the index to be collected.
It can be understood that the above examples are only examples listed for better understanding of the technical solution of the embodiment of the present invention, and in a specific implementation, a person skilled in the art may also obtain the index to be acquired in other manners, and specifically, the index may be determined according to a business requirement, and the embodiment of the present invention is not limited thereto.
Of course, the index item to be collected in the present invention may be one index item, or may be multiple index items, and specifically, may be determined according to actual situations.
After the index items to be collected for the server cluster are obtained, step 207 is executed.
Step 207: and acquiring an independent target acquisition script corresponding to the index item to be acquired from a pre-generated system configuration file according to the mapping relation between the acquisition index item and the acquisition script.
The acquisition script of each acquisition index item is independent, for example, the acquisition index items may include an index item 1, an index item 2, and an index item 3, and the acquisition script corresponding to the index item 1 may be configured in advance as follows: the acquisition scripts corresponding to the script a and the index item 2 are as follows: and b, acquiring scripts corresponding to the index item 3: script c, script a, script b and script c all exist independently.
The mapping relationship between the collection index item and the collection script can be stored in the system in a list form, as shown in the following table 2:
table 2:
collecting index items Collection script
1 a
2 b
3 c
As shown in table 2, a mapping relationship exists between the collection index item 1 and the collection script a, a mapping relationship exists between the collection index item 2 and the collection script b, and a mapping relationship exists between the collection index item 3 and the collection script c.
Of course, in a specific implementation, the mapping relationship between the acquisition indicator item and the acquisition script may also be stored in other manners, such as a database, and the like.
The system configuration file refers to a file generated in advance for storing a collection script, a mapping relationship between the collection script and a collection index item, and a generation process of the system configuration file may be described in detail in the following embodiments, which are not described herein again.
The target acquisition script is an acquisition script corresponding to the index item to be acquired.
After the index item to be collected is obtained, an independent target collection script corresponding to the index item to be collected may be obtained from a pre-generated system configuration file according to a mapping relationship between the collection index item and the collection script, for example, as can be seen from table 2, when the index item to be collected is index item 2, the target collection script is: collecting a script b; and when the index items to be collected are the index items 1 and 3, the target collection scripts are the collection scripts a and c.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After the target acquisition script corresponding to the index item to be acquired is acquired from the pre-generated system configuration file according to the mapping relationship between the acquisition index item and the acquisition script, step 207 is executed.
Step 208: and acquiring a target physical path of the target acquisition script on each server in the server cluster according to the system configuration file.
The Physical Address is an Address for collecting index data, and the Physical Address (Physical Address) is an Address for storing information in units of bytes, and each byte unit is given a unique Address for correctly storing or acquiring information.
In the present invention, one collection index item may correspond to only one physical address or to multiple physical addresses, and specifically, may be determined according to actual situations, and the embodiment of the present invention is not limited thereto.
After the physical address of the index data acquired by each acquisition index item is acquired, the physical path corresponding to each acquisition script can be set according to the physical address, so that when one acquisition script is executed, the acquisition script can be executed according to the physical path corresponding to the acquisition script to acquire the corresponding index data.
The physical path of each acquisition script on each server in the server cluster is also stored in the pre-generated system configuration file.
After the target acquisition script is obtained, a target physical path of the target acquisition script on each server in the server cluster may be obtained from the system configuration file according to the target acquisition script.
After the target physical path of the target collection script on each server in the server cluster is obtained according to the system configuration file, step 209 is executed.
Step 209: and sequentially executing the target acquisition script according to each target physical path.
The execution result refers to a result obtained by executing the target acquisition script.
The execution result may include a result of the execution failure, and when the execution fails, the result of the execution failure may be obtained, and a reason for the execution failure may be acquired.
The execution result may further include a result of successful execution, and when the execution is successful, the result of successful execution may be obtained, and the index data acquired by executing the target acquisition script may be acquired.
After the target physical path is acquired, the target acquisition script may be executed according to the target physical path, and then the target acquisition script acquires the index data on each server of the server cluster according to the target physical path, for example, acquires the index data a of the firmware a in the server 1, acquires the index data a of the firmware B in the server 2, and so on.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After the target collection script is executed according to each target physical path to obtain the execution result, step 210 is executed, or step 211 is executed.
Step 210: and under the condition that the target acquisition script fails to be executed, acquiring a result of the execution failure.
Under the condition that the target collection script fails to be executed, the result of the execution failure can be obtained
Reasons for the failure of the target collection script execution may include the following:
1. network latency, object error identification
2. Failure of scripts by unknown factors
3. Interruption of script running caused by unknown factors
4. The automation script itself uses unstable factors
Of course, the embodiment of the present invention does not pay attention to the reason why the target collection script fails to be executed, and the result of the execution failure is obtained only when the target collection script fails to be executed.
In some examples, when the target acquisition script is interrupted, a prompt message is triggered to be generated, and a result that the target acquisition script fails to execute can be obtained through the prompt message.
In some examples, when the target collection script identifies an object as faulty and collects the index data of the identified object, it can be determined from the collected index data which firmware or the like the data originates from, so that it can be determined whether the target collection script is executed successfully.
It can be understood that the above examples are only examples listed for better understanding of the technical solution of the embodiment of the present invention, and in a specific implementation, different manners of obtaining the result of the execution failure may be adopted for different reasons of the execution failure, and specifically, the method may be determined according to a business requirement, and the embodiment of the present invention is not limited thereto.
In the case that the target collection script fails to be executed, after the result of the execution failure is obtained, step 212 is executed.
Step 211: and acquiring the acquired index data and the result of successful execution under the condition that the target acquisition script is successfully executed.
After the target collection script is successfully executed, the collected index data can be obtained, and a result of successful execution is generated.
After the collected index data and the result of successful execution are obtained, step 213 is executed.
Step 212: and when the execution result is the result of failed execution, generating and sending heartbeat information of failed data acquisition.
When the execution result is the execution failure result, heartbeat information of data acquisition failure can be generated to prompt a service person that the target acquisition script fails to be executed, and corresponding index data is not acquired, so that the monitoring of the execution process of the acquisition script is realized.
In some examples, the heartbeat information of the data collection failure may be text heartbeat information, e.g., when the collection script fails to execute, a piece of text heartbeat information may be generated: and the script xxx fails to execute and does not acquire the index, and the like, and further, the text heartbeat information can be packaged to obtain a heartbeat packet so as to be sent to a monitoring party for acquiring the index.
In some examples, the heartbeat information of the data collection failure may be voice heartbeat information, for example, when the collection script fails to execute, a piece of voice heartbeat information may be generated: and the script xxx fails to execute and does not acquire the index, and the like, and then the voice heartbeat information can be packaged to obtain a heartbeat packet to be sent to the index acquisition monitoring party.
It can be understood that the above examples are only examples listed for better understanding of the technical solution of the embodiment of the present invention, in a specific implementation, the heartbeat information that fails to be acquired may also be other forms of heartbeat information, and specifically, may be determined according to business requirements, and the embodiment of the present invention is not limited thereto.
Step 213: and when the execution result is a result of successful execution, storing the acquired index data in a database, and generating and sending heartbeat information of successful data acquisition.
When the execution result is a result of successful execution, the acquired index data can be acquired, heartbeat information of successful data acquisition is generated, so that business personnel can be prompted that the target acquisition script is successfully executed, corresponding index data is acquired, and accordingly the execution process of the acquisition script is monitored.
In some examples, the heartbeat information that the data collection was successful may be text heartbeat information, e.g., when the collection script was successfully executed, a piece of text heartbeat information may be generated: and the script xxx is successfully executed and the index data is acquired, and the text heartbeat information can be packaged to obtain a heartbeat packet to be sent to the index acquisition monitoring party.
In some examples, the heartbeat information that the data collection is successful may be voice heartbeat information, e.g., when the collection script is successfully executed, a piece of voice heartbeat information may be generated: the script xxx is successfully executed and the index data is acquired, and the like, and then the voice heartbeat information can be packaged to obtain a heartbeat packet to be sent to the index acquisition monitoring party.
It can be understood that the above examples are only examples listed for better understanding of the technical solution of the embodiment of the present invention, and in a specific implementation, the heartbeat information that the data acquisition is successful may also be heartbeat information in other forms, specifically, the heartbeat information may be determined according to business requirements, and the embodiment of the present invention is not limited thereto.
After the target collection script is successfully executed and corresponding index data is obtained, the collected index data may be displayed in a preset page, which is set in advance, and specifically, the following steps are combined for detailed description.
Step 214: and generating a preset page.
In the present invention, the preset page may be an html page or a web page, and specifically, may be determined according to a service requirement, which is not limited in the embodiment of the present invention.
After the target acquisition script is successfully executed and the acquired index data is acquired, a preset page can be generated and displayed.
After a preset page is generated, step 215 is performed.
Step 215: and adding an index threshold value interval corresponding to the index item to be acquired in the preset page.
The index threshold interval refers to a threshold interval preset by service personnel that the index to be collected is normal, such as [ -10, 10], and the like.
After the preset page is generated, the service staff may add the index threshold interval corresponding to the index to be collected in the preset page, and then execute step 216.
Step 216: and when the target acquisition script is successfully executed, displaying the acquired index data on the preset page.
After the index threshold interval corresponding to the index item to be collected is added to the preset page, the index data collected by the execution target collection script can be displayed in the preset page, and specifically, the collected index data can be displayed on the left or right of the index threshold interval, so that the collected index data can be analyzed conveniently.
When the index items to be collected are various types of index items, each index item to be collected can be displayed in a preset page in a row, for example, the index item 1 is displayed in a first row, the index item 2 is displayed in a second row, and then the collected index data of the corresponding type is displayed in each row.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After the collected index data is displayed on the preset page, step 216 is performed.
Step 217: and under the condition that the acquired index data is outside the index threshold value interval, displaying warning information of index abnormality in the preset page.
When the collected index data is within the index threshold interval, the collected index data is normal index data, so that the firmware of the server can be judged to be normal, the application service can be judged to be normal, and the like.
When the collected index data is out of the index threshold interval, the collected index data is abnormal index data, so that the firmware abnormality of the server, the application service abnormality and the like can be judged.
When the collected index data is normal, prompt information that the index data is normal can be displayed, and when the collected index data is abnormal, warning information that the index data is normal can be displayed, for example, when the index data is normal, green prompt information can be displayed for indicating that the index data is normal. When the index data is abnormal, a red prompt message can be displayed to indicate that the index data is abnormal.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
The information prompting method provided by the embodiment of the invention can directly display the abnormal warning information when the index is abnormal, so that a user can visually check whether the index is abnormal.
The index acquisition method provided by the embodiment of the invention not only has the beneficial effects of the index acquisition method provided by the embodiment one, but also can generate a preset page, display the acquired index data on the preset page, and directly display the abnormal warning information when the index is abnormal, so that a user can visually check whether the index is abnormal or not.
Referring to fig. 4, a schematic structural diagram of an index collecting device provided by the third embodiment of the present invention is shown. As shown in fig. 4, the index collecting apparatus may include the following modules:
an index item to be collected acquiring module 310, configured to acquire an index item to be collected for a server cluster;
a target acquisition script obtaining module 320, configured to obtain, according to a mapping relationship between an acquisition indicator item and an acquisition script, an independent target acquisition script corresponding to the indicator item to be acquired from a pre-generated system configuration file;
a target physical path obtaining module 330, configured to obtain, according to the system configuration file, a target physical path of the target acquisition script on each server in the server cluster;
an execution result obtaining module 340, configured to execute the target acquisition script according to each target physical path, and obtain an execution result;
and a heartbeat information generating and sending module 350, configured to generate and send corresponding heartbeat information according to the execution result.
The index acquisition device provided by the embodiment of the invention acquires the to-be-acquired index items of the server cluster, acquires the independent target acquisition scripts corresponding to the to-be-acquired index items according to the mapping relation between the acquisition index items and the acquisition scripts, acquires the target physical paths of the target acquisition scripts on each server in the server cluster according to the system configuration file, executes the target acquisition scripts according to the target physical paths, acquires the execution results, and generates and transmits corresponding heartbeat information according to the execution results. According to the embodiment of the invention, the acquisition scripts of the acquisition index items on the servers in the server cluster are configured through one system configuration file, the acquisition scripts do not need to be deployed on each server, and the independent acquisition scripts are set for each acquisition index item, so that when the acquisition index items are newly added, only one independent acquisition script needs to be added, code modification is not needed, and the development cost can be reduced. And corresponding heartbeat information is generated according to the execution result of the acquisition script, so that the execution result can be monitored, and the user perception is improved.
Referring to fig. 5, a schematic structural diagram of an index collecting device provided by the fourth embodiment of the present invention is shown. As shown in fig. 5, the index collection may include the following modules:
an acquisition index item acquisition module 410, configured to acquire a plurality of acquisition index items; the index item to be collected is one of the plurality of collection index items;
the acquisition script configuration module 420 is configured to configure mutually independent acquisition scripts corresponding to each acquisition index item;
a physical address obtaining module 430, configured to obtain a physical address of each acquisition indicator item acquired by each server;
a physical path setting module 440, configured to set a physical path of each acquisition script on each server according to each physical address;
the system configuration file generating module 450 is configured to generate the system configuration file according to each acquisition script and a physical path corresponding to each acquisition script;
an index item to be collected acquiring module 460, configured to acquire an index item to be collected for the server cluster;
a target acquisition script obtaining module 470, configured to obtain, according to a mapping relationship between an acquisition indicator item and an acquisition script, an independent target acquisition script corresponding to the indicator item to be acquired from a pre-generated system configuration file;
a target physical path obtaining module 480, configured to obtain, according to the system configuration file, a target physical path of the target acquisition script on each server in the server cluster;
an execution result obtaining module 490, configured to execute the target acquisition script according to each target physical path, and obtain an execution result;
a heartbeat information generating and sending module 4100, configured to generate and send corresponding heartbeat information according to the execution result;
the preset page generating module 4110 is configured to generate a preset page;
a threshold interval adding module 4120, configured to add an index threshold interval corresponding to the index item to be acquired in the preset page;
the index data display module 4130 is configured to display the acquired index data on the preset page when the target acquisition script is successfully executed;
and an alert display module 4140, configured to display, in the preset page, alert information that the index is abnormal when the acquired index data is outside the index threshold interval.
Optionally, the execution result obtaining module 490 includes:
a target acquisition script execution sub-module 491, configured to sequentially execute the target acquisition scripts according to each target physical path;
a failure result obtaining sub-module 492, configured to obtain a result of the execution failure when the target collection script fails to be executed;
and a successful result obtaining sub-module 493, configured to obtain the collected index data and a successful execution result when the target collection script is successfully executed.
Optionally, the heartbeat information generating and sending module 4100 includes:
a failed heartbeat generating and sending submodule 4101, configured to generate and send heartbeat information for which data acquisition fails when the execution result is a result of execution failure;
a successful heartbeat generating and sending sub-module 4102, configured to, when the execution result is a successful execution result, store the acquired index data in a database, and generate and send heartbeat information for successful data acquisition.
The index acquisition device provided by the embodiment of the invention not only has the beneficial effects of the index acquisition device provided by the third embodiment, but also can generate a preset page, display the acquired index data on the preset page, and directly display the abnormal warning information when the index is abnormal, so that a user can visually check whether the index is abnormal or not.
The embodiment of the present invention further provides an electronic device, as shown in fig. 6, which includes a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504,
a memory 503 for storing a computer program;
the processor 501, when executing the program stored in the memory 503, implements the following steps:
acquiring index items to be acquired aiming at the server cluster;
acquiring an independent target acquisition script corresponding to an index item to be acquired from a pre-generated system configuration file according to a mapping relation between the acquisition index item and the acquisition script;
acquiring a target physical path of the target acquisition script on each server in the server cluster according to the system configuration file;
executing the target acquisition script according to each target physical path to obtain an execution result;
and generating and sending corresponding heartbeat information according to the execution result.
Optionally, before the obtaining the index to be acquired for the server cluster, the method further includes:
acquiring a plurality of acquisition index items; the index item to be collected is one of the plurality of collection index items;
configuring mutually independent acquisition scripts corresponding to the acquisition index items;
acquiring a physical address of each acquisition index item acquired by each server;
setting a physical path of each acquisition script on each server according to each physical address;
and generating the system configuration file according to each acquisition script and the physical path corresponding to each acquisition script.
Optionally, the executing the target collection script according to each target physical path to obtain an execution result includes:
sequentially executing the target acquisition script according to each target physical path;
under the condition that the target acquisition script fails to be executed, acquiring a result of the execution failure;
and acquiring the acquired index data and the result of successful execution under the condition that the target acquisition script is successfully executed.
Optionally, the generating and sending corresponding heartbeat information according to the execution result includes:
when the execution result is the result of execution failure, generating and sending heartbeat information of data acquisition failure;
and when the execution result is a result of successful execution, storing the acquired index data in a database, and generating and sending heartbeat information of successful data acquisition.
Optionally, after the storing the collected index data in a database, and generating and sending heartbeat information with successful data collection, the method further includes:
generating a preset page;
adding an index threshold value interval corresponding to the index item to be collected in the preset page;
when the target acquisition script is successfully executed, displaying acquired index data on the preset page;
and under the condition that the acquired index data is outside the index threshold value interval, displaying warning information of index abnormality in the preset page.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which instructions are stored, and when the instructions are executed on a computer, the instructions cause the computer to execute the index collection method described in any one of the above embodiments.
In yet another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to perform the index collection method of any one of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. An index acquisition method, comprising:
acquiring index items to be acquired aiming at the server cluster;
acquiring an independent target acquisition script corresponding to an index item to be acquired from a pre-generated system configuration file according to a mapping relation between the acquisition index item and the acquisition script;
acquiring a target physical path of the target acquisition script on each server in the server cluster according to the system configuration file;
executing the target acquisition script according to each target physical path to obtain an execution result;
and generating and sending corresponding heartbeat information according to the execution result.
2. The method of claim 1, wherein before the obtaining the metric to be collected for the server cluster, further comprising:
acquiring a plurality of acquisition index items; the index item to be collected is one of the plurality of collection index items;
configuring mutually independent acquisition scripts corresponding to the acquisition index items;
acquiring a physical address of each acquisition index item acquired by each server;
setting a physical path of each acquisition script on each server according to each physical address;
and generating the system configuration file according to each acquisition script and the physical path corresponding to each acquisition script.
3. The method according to claim 1, wherein the executing the target acquisition script according to each target physical path to obtain an execution result comprises:
sequentially executing the target acquisition script according to each target physical path;
under the condition that the target acquisition script fails to be executed, acquiring a result of the execution failure;
and acquiring the acquired index data and the result of successful execution under the condition that the target acquisition script is successfully executed.
4. The method according to claim 3, wherein the generating and sending corresponding heartbeat information according to the execution result comprises:
when the execution result is the result of execution failure, generating and sending heartbeat information of data acquisition failure;
and when the execution result is a result of successful execution, storing the acquired index data in a database, and generating and sending heartbeat information of successful data acquisition.
5. The method according to claim 1, further comprising, after saving the collected index data in a database and generating and sending heartbeat information indicating successful data collection:
generating a preset page;
adding an index threshold value interval corresponding to the index item to be collected in the preset page;
when the target acquisition script is successfully executed, displaying acquired index data on the preset page;
and under the condition that the acquired index data is outside the index threshold value interval, displaying warning information of index abnormality in the preset page.
6. An index collection device, comprising:
the acquisition module of the index items to be acquired is used for acquiring the index items to be acquired aiming at the server cluster;
the target acquisition script acquisition module is used for acquiring an independent target acquisition script corresponding to the index item to be acquired from a pre-generated system configuration file according to the mapping relation between the acquisition index item and the acquisition script;
a target physical path obtaining module, configured to obtain a target physical path of the target acquisition script on each server in the server cluster according to the system configuration file;
the execution result acquisition module is used for executing the target acquisition script according to each target physical path to acquire an execution result;
and the heartbeat information generating and sending module is used for generating and sending corresponding heartbeat information according to the execution result.
7. The apparatus of claim 6, further comprising:
the acquisition index item acquisition module is used for acquiring a plurality of acquisition index items; the index item to be collected is one of the plurality of collection index items;
the acquisition script configuration module is used for configuring the mutually independent acquisition scripts corresponding to the acquisition index items;
the physical address acquisition module is used for acquiring the physical address of each acquisition index item acquired by each server;
a physical path setting module, configured to set a physical path of each acquisition script on each server according to each physical address;
and the system configuration file generation module is used for generating the system configuration file according to each acquisition script and the physical path corresponding to each acquisition script.
8. The apparatus of claim 6, wherein the execution result obtaining module comprises:
the target acquisition script execution submodule is used for sequentially executing the target acquisition scripts according to the target physical paths;
the failure result acquisition submodule is used for acquiring the result of the execution failure under the condition that the execution of the target acquisition script fails;
and the successful result obtaining sub-module is used for obtaining the collected index data and the successfully executed result under the condition that the target collection script is successfully executed.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the index collection method according to any one of claims 1 to 5 when executing a program stored in a memory.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the index acquisition method according to any one of claims 1 to 5.
CN201911359693.2A 2019-12-25 2019-12-25 Index acquisition method and device, electronic equipment and computer readable storage medium Active CN111130938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911359693.2A CN111130938B (en) 2019-12-25 2019-12-25 Index acquisition method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911359693.2A CN111130938B (en) 2019-12-25 2019-12-25 Index acquisition method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111130938A true CN111130938A (en) 2020-05-08
CN111130938B CN111130938B (en) 2021-05-25

Family

ID=70503994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911359693.2A Active CN111130938B (en) 2019-12-25 2019-12-25 Index acquisition method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111130938B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651330A (en) * 2020-06-08 2020-09-11 中国工商银行股份有限公司 Data acquisition method and device, electronic equipment and computer readable storage medium
CN111858199A (en) * 2020-06-19 2020-10-30 苏州浪潮智能科技有限公司 Self-adaptive hard disk log collection method, system, terminal and storage medium
CN111966762A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Index acquisition method and device
CN112416712A (en) * 2020-11-20 2021-02-26 常州微亿智造科技有限公司 Monitoring method and device based on industrial cloud edge service data acquisition
CN113448954A (en) * 2021-06-29 2021-09-28 平安证券股份有限公司 Service data execution method and device, electronic equipment and computer storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455489A (en) * 2012-05-28 2013-12-18 阿里巴巴集团控股有限公司 Method and system for rapidly constructing key performance indicators (KPIs) of enterprises
CN104794057A (en) * 2015-04-29 2015-07-22 瑞斯康达科技发展股份有限公司 Automatic testing method and device for crossed event
CN106845257A (en) * 2017-02-09 2017-06-13 北京启明星辰信息安全技术有限公司 One kind etc. is protected analysis method and waits guarantor's analysis system
CN107341249A (en) * 2017-07-07 2017-11-10 北京奇艺世纪科技有限公司 The storage of server info and extracting method and system, extraction element
CN107632937A (en) * 2017-10-10 2018-01-26 郑州云海信息技术有限公司 A kind of method, apparatus tested cluster virtual machine, readable storage medium storing program for executing
CN108512705A (en) * 2018-04-10 2018-09-07 深信服科技股份有限公司 Synchronous method, equipment, storage medium, device and the server of supervision standard
CN108874623A (en) * 2018-05-31 2018-11-23 郑州云海信息技术有限公司 Distributed type assemblies method for monitoring performance, device, equipment, system and storage medium
WO2019155080A1 (en) * 2018-02-12 2019-08-15 Siemens Aktiengesellschaft A method and a device for processing frequency converter monitoring data and a storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455489A (en) * 2012-05-28 2013-12-18 阿里巴巴集团控股有限公司 Method and system for rapidly constructing key performance indicators (KPIs) of enterprises
CN104794057A (en) * 2015-04-29 2015-07-22 瑞斯康达科技发展股份有限公司 Automatic testing method and device for crossed event
CN106845257A (en) * 2017-02-09 2017-06-13 北京启明星辰信息安全技术有限公司 One kind etc. is protected analysis method and waits guarantor's analysis system
CN107341249A (en) * 2017-07-07 2017-11-10 北京奇艺世纪科技有限公司 The storage of server info and extracting method and system, extraction element
CN107632937A (en) * 2017-10-10 2018-01-26 郑州云海信息技术有限公司 A kind of method, apparatus tested cluster virtual machine, readable storage medium storing program for executing
WO2019155080A1 (en) * 2018-02-12 2019-08-15 Siemens Aktiengesellschaft A method and a device for processing frequency converter monitoring data and a storage medium
CN108512705A (en) * 2018-04-10 2018-09-07 深信服科技股份有限公司 Synchronous method, equipment, storage medium, device and the server of supervision standard
CN108874623A (en) * 2018-05-31 2018-11-23 郑州云海信息技术有限公司 Distributed type assemblies method for monitoring performance, device, equipment, system and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GEORGIOS PIERRIS等: "Forensically Classifying Files Using HSOM Algorithms", 《 2012 THIRD INTERNATIONAL CONFERENCE ON EMERGING INTELLIGENT DATA AND WEB TECHNOLOGIES》 *
曹小明: "轻量级自动化巡检系统开发和实践", 《2019电力行业信息化年会论文集》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651330A (en) * 2020-06-08 2020-09-11 中国工商银行股份有限公司 Data acquisition method and device, electronic equipment and computer readable storage medium
CN111651330B (en) * 2020-06-08 2023-04-21 中国工商银行股份有限公司 Data acquisition method, data acquisition device, electronic equipment and computer readable storage medium
CN111858199A (en) * 2020-06-19 2020-10-30 苏州浪潮智能科技有限公司 Self-adaptive hard disk log collection method, system, terminal and storage medium
CN111966762A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Index acquisition method and device
CN112416712A (en) * 2020-11-20 2021-02-26 常州微亿智造科技有限公司 Monitoring method and device based on industrial cloud edge service data acquisition
CN113448954A (en) * 2021-06-29 2021-09-28 平安证券股份有限公司 Service data execution method and device, electronic equipment and computer storage medium
CN113448954B (en) * 2021-06-29 2024-02-06 平安证券股份有限公司 Service data execution method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN111130938B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN111130938B (en) Index acquisition method and device, electronic equipment and computer readable storage medium
CN108829560A (en) Data monitoring method, device, computer equipment and storage medium
US10037238B2 (en) System and method for encoding exception conditions included at a remediation database
CN109995612B (en) Service inspection method and device and electronic equipment
JP2014102661A (en) Application determination program, fault detection device, and application determination method
CN112506755B (en) Log acquisition method, device, computer equipment and storage medium
WO2016197737A1 (en) Self-check processing method, apparatus and system
CN110851471A (en) Distributed log data processing method, device and system
CN110674034A (en) Health examination method and device, electronic equipment and storage medium
CN111061498A (en) Configuration information management system
CN110474821B (en) Node fault detection method and device
CN114880194B (en) Service abnormity monitoring method and device, electronic equipment and computer storage medium
CN111385157B (en) Server abnormity detection method and device
CN115037653B (en) Service flow monitoring method, device, electronic equipment and storage medium
JPWO2013161522A1 (en) Log collection server, log collection system, and log collection method
JP2017211806A (en) Communication monitoring method, security management system, and program
CN113297149A (en) Method and device for monitoring data processing request
CN115269252A (en) Application program fault processing method, device, equipment and storage medium
CN114090293A (en) Service providing method and electronic equipment
CN107919980B (en) Evaluation method and device for clustered system
CN113760874A (en) Data quality detection method and device, electronic equipment and storage medium
CN113110970A (en) Method, device, equipment and medium for monitoring components in server working mode
US10296967B1 (en) System, method, and computer program for aggregating fallouts in an ordering system
CN111026619A (en) Page monitoring method and device and storage medium
CN113778800B (en) Error information processing method, device, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant