CN107168846A - The monitoring method and device of electronic equipment - Google Patents

The monitoring method and device of electronic equipment Download PDF

Info

Publication number
CN107168846A
CN107168846A CN201710210436.7A CN201710210436A CN107168846A CN 107168846 A CN107168846 A CN 107168846A CN 201710210436 A CN201710210436 A CN 201710210436A CN 107168846 A CN107168846 A CN 107168846A
Authority
CN
China
Prior art keywords
performance
target performance
electronic device
monitoring
target
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.)
Pending
Application number
CN201710210436.7A
Other languages
Chinese (zh)
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 CN201710210436.7A priority Critical patent/CN107168846A/en
Publication of CN107168846A publication Critical patent/CN107168846A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiments of the invention provide the monitoring method of a kind of electronic equipment and device.This method includes:The performance monitoring order for being directed to target capabilities is sent to predetermined electronic equipment, during so that predetermined electronic equipment receiving performance monitoring order, the corresponding performance data of target capabilities is generated, wherein, predetermined electronic equipment is one or at least two electronic equipments at least one electronic equipment;Obtain the corresponding performance data of target capabilities of predetermined electronic equipment;Judge whether the corresponding performance data of target capabilities meets the corresponding default exceptional condition of target capabilities, if it is, determining that exception occurs for the target capabilities of predetermined electronic equipment, otherwise, it determines the target capabilities no exceptions of predetermined electronic equipment.Quickly and efficiently the properties of electronic equipment can be monitored by this programme, improve performance monitoring efficiency.

Description

Monitoring method and device for electronic equipment
Technical Field
The present invention relates to the field of monitoring research technologies, and in particular, to a monitoring method and a monitoring apparatus for an electronic device.
Background
At present, electronic equipment is not available in all industries, and normal operation of the electronic equipment plays a crucial role in development of all industries, so that various kinds of monitoring are added to the electronic equipment to monitor various performances of the electronic equipment, such as monitoring of hard disk occupation, memory usage, port accessibility and the like of the electronic equipment.
In the prior art, a common monitoring method is to deploy a corresponding script on each electronic device, and monitor whether the performance of the electronic device is abnormal or not by running the corresponding script regularly. In the prior art, the monitoring mode needs to deploy scripts for each electronic device, the deployment process is complex, a large amount of time is consumed, and the performance monitoring efficiency is low.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for monitoring electronic equipment, so as to efficiently and quickly monitor various performances of the electronic equipment. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a monitoring method for an electronic device, which is applied to a monitoring device in a monitoring system, where the monitoring system includes: at least one electronic device to which the monitoring device is communicatively coupled, the method comprising:
sending a performance monitoring command aiming at target performance to a predetermined electronic device, so that the predetermined electronic device generates performance data corresponding to the target performance when receiving the performance monitoring command, wherein the predetermined electronic device is one or at least two electronic devices in the at least one electronic device;
acquiring performance data corresponding to the target performance of the predetermined electronic equipment;
and judging whether the performance data corresponding to the target performance meets a preset abnormal condition corresponding to the target performance, if so, determining that the target performance of the preset electronic equipment is abnormal, otherwise, determining that the target performance of the preset electronic equipment is not abnormal.
Optionally, the method for monitoring an electronic device provided by the embodiment of the present invention further includes:
and when the target performance of the preset electronic equipment is judged to be abnormal, sending alarm information to a preset user corresponding to the preset electronic equipment, wherein the alarm information is used for indicating that the target performance of the preset electronic equipment is abnormal.
Optionally, the method for monitoring an electronic device provided by the embodiment of the present invention further includes:
and when the performance data corresponding to the target performance is acquired, displaying the acquired performance data corresponding to the target performance in a form of a chart.
Optionally, the step of displaying the obtained performance data corresponding to the target performance in a form of a graph includes:
when the target performance is judged to be abnormal, displaying the acquired performance data corresponding to the target performance in a chart form, wherein the data content of the performance data corresponding to the target performance is displayed in a first content format;
and when the target performance is judged not to be abnormal, displaying the acquired performance data corresponding to the target performance in a form of a chart, and displaying the data content of the performance data corresponding to the target performance in a second content format, wherein the second content format is different from the first content format.
Optionally, the step of sending a performance monitoring command for a target performance to a predetermined electronic device includes:
the performance monitoring command for the target performance is transmitted to a predetermined electronic device in real time or at a preset cycle.
In a second aspect, an embodiment of the present invention further provides a monitoring apparatus for an electronic device, which is applied to a monitoring device in a monitoring system, where the monitoring system includes: at least one electronic device, the monitoring device communicatively coupled to the at least one electronic device, the apparatus comprising:
the device comprises a sending module, an obtaining module and a judging module;
wherein,
the sending module is configured to send a performance monitoring command for a target performance to a predetermined electronic device, so that the predetermined electronic device generates performance data corresponding to the target performance when receiving the performance monitoring command, where the predetermined electronic device is one or at least two electronic devices in the at least one electronic device;
the acquisition module is used for acquiring performance data corresponding to the target performance of the predetermined electronic equipment;
the judging module is used for judging whether the performance data corresponding to the target performance meets a preset abnormal condition corresponding to the target performance, if so, determining that the target performance of the preset electronic equipment is abnormal, otherwise, determining that the target performance of the preset electronic equipment is not abnormal.
Optionally, the monitoring apparatus for an electronic device provided in the embodiment of the present invention further includes:
and the alarm information sending module is used for sending alarm information to a preset user corresponding to the preset electronic equipment when the judgment module judges that the target performance of the preset electronic equipment is abnormal, wherein the alarm information is used for indicating that the target performance of the preset electronic equipment is abnormal.
Optionally, the monitoring apparatus for an electronic device provided in the embodiment of the present invention further includes:
and the display module is used for displaying the performance data corresponding to the target performance acquired by the acquisition module in a chart form when the acquisition module acquires the performance data corresponding to the target performance.
Optionally, the display module includes:
the first display sub-module is used for displaying the acquired performance data corresponding to the target performance in a form of a chart when the judgment module judges that the target performance is abnormal, and the data content of the performance data corresponding to the target performance is displayed in a first content format;
and the second display sub-module is configured to display the acquired performance data corresponding to the target performance in a form of a graph when the determination module determines that the target performance is not abnormal, and display data content of the performance data corresponding to the target performance in a second content format, where the second content format is different from the first content format.
Optionally, the sending module is specifically configured to:
and sending a performance monitoring command aiming at the target performance to a preset electronic device according to a preset period or in real time.
Compared with the prior art, the scheme does not need to deploy scripts for each electronic device, but indicates the preset electronic device to generate the performance data of the target performance through the performance monitoring command, and then the monitoring device monitors the target performance of the preset electronic device based on the performance data generated by the preset electronic device, so that the deployment process of performance monitoring is simplified, and the deployment time is shortened.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a monitoring method for an electronic device according to an embodiment of the present invention;
fig. 2 is another flowchart of a monitoring method for an electronic device according to an embodiment of the present invention;
fig. 3 is another flowchart of a monitoring method for an electronic device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a monitoring apparatus of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a monitoring apparatus of an electronic device according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of a monitoring apparatus 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 clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to improve the performance monitoring efficiency of electronic equipment, the embodiment of the invention provides a monitoring method and a monitoring device of electronic equipment.
First, a monitoring method for an electronic device according to an embodiment of the present invention is described below.
The monitoring method of the electronic device provided by the embodiment of the invention is applied to a monitoring device of a monitoring system, wherein the monitoring system at least comprises one electronic device, and in practical application, the electronic device can be: mobile phones, notebooks, tablet computers, and the like; the monitoring equipment is in communication connection with the electronic equipment in the monitoring system; in order to avoid a single point of failure, monitoring devices may be deployed in a clustered manner, that is, to avoid a failure of a single monitoring device in the process of monitoring the electronic device, multiple monitoring devices may be deployed in the monitoring system to serve as alternative monitoring devices, so that when a failure occurs in a monitoring device that is monitoring the electronic device, the alternative monitoring devices may continue to monitor the electronic device.
As shown in fig. 1, a monitoring method for an electronic device according to an embodiment of the present invention may include the following steps:
s101, sending a performance monitoring command aiming at target performance to a preset electronic device, so that the preset electronic device generates performance data corresponding to the target performance when receiving the performance monitoring command, wherein the preset electronic device is one or at least two electronic devices in at least one electronic device;
because the monitoring system comprises one electronic device or a plurality of electronic devices, when the monitoring system comprises one electronic device, the electronic device is a preset electronic device; when a plurality of electronic devices are included in the monitoring system, which electronic devices need to be monitored are determined, and the electronic devices need to be monitored are predetermined electronic devices.
For example, the monitoring system includes 5 electronic devices, which are respectively: the method comprises the following steps that the electronic equipment 1, the electronic equipment 2, the electronic equipment 3, the electronic equipment 4 and the electronic equipment 5 are used, and if the monitoring equipment is used for monitoring the electronic equipment 1, the electronic equipment 1 is preset; moreover, the electronic device has different performances, such as a CPU, a memory, a hard disk, a port, and the like, so that when the electronic device is monitored, it is also necessary to determine which performances of the electronic device are monitored, that is, it is necessary to determine a target performance, for example, if the CPU is monitored, the target performance is the CPU; after the predetermined electronic device and the target performance are determined, the monitoring device may send a performance monitoring command for the target performance to the predetermined electronic device, and further, when the predetermined electronic device receives the performance monitoring command sent by the monitoring device, generate performance data corresponding to the target performance, so that the monitoring device obtains the performance data corresponding to the target performance of the predetermined electronic device.
It should be emphasized that there are many performance monitoring commands, such as top, free, iostat, mpstat, netstat, etc., and different performance monitoring commands monitor different types of performance, and top is used to view process activity status and some system conditions; free is used for checking the memory actually used by the current process; iostat is used for checking the CPU load and the hard disk condition; mpttat is used to view multiprocessor conditions; netstat is used to check the network status, for example, when the target performance is CPU load and hard disk status, the performance monitoring command sent by the monitoring device to the predetermined electronic device is iostat. Those skilled in the art should understand the kind of the performance monitoring command and the function of different performance monitoring commands, and therefore, the detailed description thereof is omitted here.
It should be noted that, in one implementation, the monitoring device may automatically determine which electronic devices are the predetermined electronic devices and which performances are the target performances according to a preset selection policy. Of course, in another implementation, the user may manually set which electronic devices are predetermined electronic devices and which capabilities are target capabilities. In order to provide a setting interface for a user, the monitoring device can provide an information entry interface for the user, and further, the user can input the name of the electronic device to be monitored and the name of the target performance through the information entry interface, so that the user can customize the preset electronic device and the target performance before the monitoring device sends a performance monitoring command to the preset electronic device.
It will be appreciated that, after the user inputs the name of the electronic device to be monitored and the name of the target performance through the information entry interface, the monitoring device can store the names of the electronic devices and the names of the target performances in a storage system of the monitoring device, and in practical application, the storage system may use a relational database, a non-relational database, a file system, etc. to implement the storage of information, wherein, the relational database can be mysql, Sql, sybase and the like, the non-relational database can be momnodb, CouchDB and the like, by storing the name of the electronic equipment and the name of the target performance, when the monitoring equipment monitors the electronic equipment, the monitoring equipment can automatically send a performance monitoring command aiming at the target performance to the preset electronic equipment according to the setting of a user, so that the aim of realizing multiple monitoring by setting once is fulfilled.
For example, if a user needs to monitor the CPU load condition and the hard disk occupation condition of the electronic device a, before the monitoring device monitors the electronic device, the name of the electronic device input in the information entry interface is the electronic device a, and the input target performance name is the CPU and the hard disk, so that when the monitoring device monitors the electronic device, the monitoring device automatically sends a performance monitoring command iostat for the target performance, that is, the CPU and the hard disk, to the electronic device a, so that the electronic device generates performance data for the target performance, that is, the CPU load condition and the hard disk occupation condition, and the monitoring device obtains corresponding performance data from the electronic device a.
Optionally, in a specific implementation manner, the step of sending the performance monitoring command for the target performance to the predetermined electronic device includes:
the performance monitoring command for the target performance is transmitted to a predetermined electronic device in real time or at a preset cycle.
The monitoring device may transmit a performance monitoring command for the target performance to the predetermined electronic device in real time so as to monitor the predetermined electronic device in real time; the performance monitoring command for the target performance may also be sent to the predetermined electronic device according to the actual situation and the preset period, so as to periodically monitor the predetermined electronic device, and the size of the preset period may be set according to the actual situation, which is not limited herein.
S102, acquiring performance data corresponding to target performance of predetermined electronic equipment;
through step S101, the predetermined electronic device generates performance data corresponding to the target performance, and in order to further determine whether the target performance is abnormal or not at S103, the performance data corresponding to the target performance needs to be acquired. It should be noted that, the manner of acquiring the performance data may be that the predetermined electronic device automatically sends the generated performance data to the monitoring device after generating the performance data; the monitoring device may also issue a request for obtaining the performance data to a predetermined electronic device, and when the predetermined electronic device receives the request, the performance data corresponding to the request is sent to the monitoring device.
S103, judging whether the performance data corresponding to the target performance meets a preset abnormal condition corresponding to the target performance, if so, executing S104, otherwise, executing S105;
s104, determining that the target performance of the preset electronic equipment is abnormal;
and S105, determining that the target performance of the predetermined electronic equipment is not abnormal.
After the monitoring equipment acquires the performance data corresponding to the target performance, matching the performance data corresponding to the target performance with a preset abnormal condition corresponding to the target performance stored in the monitoring equipment, judging whether the preset abnormal condition corresponding to the target performance is met, and if so, determining that the target performance of the preset electronic equipment is abnormal; if not, determining that the target performance of the predetermined electronic equipment is not abnormal.
For example, the memory occupancy rate obtained by the monitoring device from the electronic device a is 70%, and the preset abnormal condition corresponding to the memory occupancy rate of the electronic device a stored in the monitoring device is as follows: the memory occupancy rate exceeds 60 percent; because 70% exceeds 60%, the memory occupancy rate of the electronic device a meets the preset abnormal condition, and therefore it can be determined that the memory occupancy rate of the electronic device a is abnormal at this time, and the user can perform corresponding processing on the electronic device a according to the abnormal condition.
Compared with the prior art, the scheme does not need to deploy scripts for each electronic device, but indicates the preset electronic device to generate the performance data of the target performance through the performance monitoring command, and then the monitoring device monitors the target performance of the preset electronic device based on the performance data generated by the preset electronic device, so that the deployment process of performance monitoring is simplified, and the deployment time is shortened.
Another monitoring method for an electronic device according to an embodiment of the present invention is described below.
The monitoring method of the electronic device provided by the embodiment of the invention is applied to a monitoring device of a monitoring system, wherein the monitoring system at least comprises one electronic device, and in practical application, the electronic device can be: mobile phones, notebooks, tablet computers, and the like; the monitoring devices are in communication connection with the electronic devices in the monitoring system, and in order to avoid a single point of failure, the monitoring devices may be deployed in a clustered manner, that is, in order to avoid a failure of a single monitoring device in the process of monitoring the electronic devices, a plurality of monitoring devices may be deployed in the monitoring system as alternative monitoring devices, so that when a failure occurs in a monitoring device that is monitoring the electronic devices, the alternative monitoring devices may continue to monitor the electronic devices.
As shown in fig. 2, a monitoring method for an electronic device according to an embodiment of the present invention may include the following steps:
s201, sending a performance monitoring command aiming at target performance to a preset electronic device, so that the preset electronic device generates performance data corresponding to the target performance when receiving the performance monitoring command, wherein the preset electronic device is one or at least two electronic devices in at least one electronic device;
s202, acquiring performance data corresponding to target performance of the preset electronic equipment;
s203, judging whether the performance data corresponding to the target performance meets a preset abnormal condition corresponding to the target performance, if so, executing S204, otherwise, executing S205;
s204, determining that the target performance of the preset electronic equipment is abnormal;
s205, determining that the target performance of the preset electronic equipment is not abnormal;
in this embodiment, S201 to S205 are the same as S101 to S105 of the above embodiment, and are not described herein again.
And S206, when the target performance of the preset electronic equipment is judged to be abnormal, sending alarm information to a preset user corresponding to the preset electronic equipment.
When it is determined that the target performance of the predetermined electronic device is abnormal, in order to timely notify the preset user of the abnormal situation, the preset user is reminded to timely handle the abnormal situation, and unnecessary loss caused by the abnormal condition of the predetermined electronic device is avoided.
It should be noted that there are various ways of sending alarm information to the preset user, and the alarm sound may be directly sounded by the monitoring device, or a short message, a mail, a QQ message or a WeChat message and the like may be sent to the preset user; the alarm information can be in the form of simple alarm sound, character information sent to a preset user, and voice information sent to the preset user; the specific content of the alarm information may be only to prompt the occurrence of the abnormality, or may be detailed information such as the name of the electronic device in which the abnormality occurs, the type of the target performance, and the like. The method for sending the alarm information, the form of the alarm information and the specific content of the alarm information are not particularly limited.
Compared with the prior art, the scheme does not need to deploy scripts for each electronic device, but indicates the preset electronic device to generate the performance data of the target performance through the performance monitoring command, and then the monitoring device monitors the target performance of the preset electronic device based on the performance data generated by the preset electronic device, so that the deployment process of performance monitoring is simplified, the deployment time is shortened, and various performances of the electronic device can be monitored efficiently and quickly; when the target performance of the preset electronic equipment is determined to be abnormal, the preset user can be informed of the abnormal condition in time by sending alarm information to the preset user, and the preset user can take corresponding measures aiming at the abnormal condition in time, so that unnecessary loss caused by the abnormal condition of the preset electronic equipment is avoided.
Another monitoring method for an electronic device according to an embodiment of the present invention is described below.
The monitoring method of the electronic device provided by the embodiment of the invention is applied to a monitoring device of a monitoring system, wherein the monitoring system at least comprises one electronic device, and in practical application, the electronic device can be: mobile phones, notebooks, tablet computers, and the like; the monitoring devices are in communication connection with the electronic devices in the monitoring system, and in order to avoid a single point of failure, the monitoring devices may be deployed in a clustered manner, that is, in order to avoid a failure of a single monitoring device in the process of monitoring the electronic devices, a plurality of monitoring devices may be deployed in the monitoring system as alternative monitoring devices, so that when a failure occurs in a monitoring device that is monitoring the electronic devices, the alternative monitoring devices may continue to monitor the electronic devices.
As shown in fig. 3, a monitoring method for an electronic device according to an embodiment of the present invention may include the following steps:
s301, sending a performance monitoring command aiming at target performance to a predetermined electronic device, so that the predetermined electronic device generates performance data corresponding to the target performance when receiving the performance monitoring command, wherein the predetermined electronic device is one or at least two electronic devices in at least one electronic device;
s302, acquiring performance data corresponding to target performance of predetermined electronic equipment;
s303, displaying the performance data corresponding to the obtained target performance in a chart form;
s304, judging whether the performance data corresponding to the target performance meets the preset abnormal condition corresponding to the target performance, if so, executing S305, otherwise, executing S306;
s305, determining that the target performance of the preset electronic equipment is abnormal;
s306, determining that the target performance of the predetermined electronic equipment is not abnormal.
In this embodiment, S301 is the same as S101 of the above embodiment, S302 is the same as S102 of the above embodiment, and S304 to S306 are the same as S103 to S105 of the above embodiment, which are not repeated herein.
Step S303 will be described in detail below.
In order to enable a preset user of the preset electronic equipment to know various target performances of the preset electronic equipment, performance data corresponding to the target performances acquired from the preset electronic equipment are displayed in a chart form, so that the user can visualize the various target performances of the electronic equipment. The performance data corresponding to the acquired target performance can be made into a chart form by using a graphical tool such as echarts, and the chart form can be a report, a line graph, a bar graph, a region graph, a bar graph, a scatter graph, a bubble graph, a K line graph, a pie graph, a ring graph and the like.
It should be noted that the monitoring device can make the performance data corresponding to the obtained target performance into a chart form in real time and display the chart form, so that the user can conveniently know each target performance at any time; the user can also preset a time interval according to the self requirement, make the performance data corresponding to the acquired target performance into a chart form according to the preset time interval, and display the chart form, for example, the preset time interval may be one day, one week, one month, and the like. It can be understood that, in order to save the memory, the monitoring device may automatically delete the performance data that has been subjected to the graph display, and only store the performance data that has not been subjected to the graph display.
Optionally, the step of "displaying the received performance data corresponding to the target performance in the form of a graph" may occur after the step of "determining whether the performance data corresponding to the target performance meets a preset abnormal condition corresponding to the target performance"; thus, in a specific implementation manner, the step of displaying the received performance data corresponding to the target performance in the form of a graph includes:
when the target performance is judged to be abnormal, displaying the acquired performance data corresponding to the target performance in a chart form, wherein the data content of the performance data corresponding to the target performance is displayed in a first content format;
and when the target performance is judged not to be abnormal, displaying the acquired performance data corresponding to the target performance in a form of a chart, and displaying the data content of the performance data corresponding to the target performance in a second content format, wherein the second content format is different from the first content format.
The monitoring device displays the acquired performance data corresponding to the target performance in a graph form, so that a user can conveniently know various performances of the electronic device, in order to enable the user to visually distinguish the abnormal target performance from the target performance which does not generate the abnormality from the graph, the performance data corresponding to the abnormal target performance is displayed in a first content format, the performance data corresponding to the target performance which does not generate the abnormality is displayed in a second content format, and the first content format is different from the second content format, for example, the first content format can be used for thickening, blackening, highlighting and the like the font of the performance data, the second content format is used for normally displaying the font of the performance data, namely, the font is not thickened, darkened, highlighted and the like, so that the function of displaying the performance data corresponding to the abnormal target performance and the performance data corresponding to the target performance which does not generate the abnormality is realized by distinguishing, the user can intuitively identify the target performance with the abnormal performance, and the method is beneficial for the user to analyze and take corresponding measures.
Of course, after the performance data corresponding to the target performance of the predetermined electronic device is obtained, the step of "displaying the received performance data corresponding to the target performance in the form of a graph" may be immediately performed, at this time, the received performance data corresponding to the target performance is displayed in the form of a graph, and then, after it is determined whether the target performance is abnormal, the data content in the graph is displayed in a differentiated manner, which is also reasonable.
Compared with the prior art, the scheme does not need to deploy scripts for each electronic device, but indicates the preset electronic device to generate the performance data of the target performance through the performance monitoring command, and then the monitoring device monitors the target performance of the preset electronic device based on the performance data generated by the preset electronic device, so that the deployment process of performance monitoring is simplified, the deployment time is shortened, and various performances of the electronic device can be monitored efficiently and quickly; the performance data of the obtained target performance is displayed in a chart form, so that a user can conveniently know various performances of the electronic equipment; and the abnormal performance data and the performance data which are not abnormal in the acquired performance data of the target performance are displayed in a distinguishing manner, so that the user can visually identify the abnormal target performance, and the user can analyze and take corresponding measures.
Corresponding to the foregoing method embodiment, an embodiment of the present invention provides a monitoring apparatus for an electronic device, which is applied to a monitoring device in a monitoring system, and as shown in fig. 4, the apparatus may include:
a sending module 410, an obtaining module 420 and a judging module 430;
wherein,
the sending module 410 is configured to send a performance monitoring command for a target performance to a predetermined electronic device, so that the predetermined electronic device generates performance data corresponding to the target performance when receiving the performance monitoring command, where the predetermined electronic device is one or at least two electronic devices in the at least one electronic device;
the obtaining module 420 is configured to obtain performance data corresponding to the target performance of the predetermined electronic device;
the determining module 430 is configured to determine whether the performance data corresponding to the target performance meets a preset abnormal condition corresponding to the target performance, if so, determine that the target performance of the predetermined electronic device is abnormal, otherwise, determine that the target performance of the predetermined electronic device is not abnormal.
Compared with the prior art, the scheme does not need to deploy scripts for each electronic device, but indicates the preset electronic device to generate the performance data of the target performance through the performance monitoring command, and then the monitoring device monitors the target performance of the preset electronic device based on the performance data generated by the preset electronic device, so that the deployment process of performance monitoring is simplified, and the deployment time is shortened.
Optionally, in a specific implementation manner, the sending module is specifically configured to send the performance monitoring command for the target performance to the predetermined electronic device according to a preset period or in real time.
Further, on the basis of the sending module 410, the obtaining module 420 and the determining module 430, the monitoring apparatus of the electronic device may further include:
and an alarm information sending module 440, configured to send alarm information to a preset user corresponding to the predetermined electronic device when the determining module determines that the target performance of the predetermined electronic device is abnormal, where the alarm information is used to indicate that the target performance of the predetermined electronic device is abnormal.
Furthermore, on the basis of the module including the sending module 410, the obtaining module 420, the judging module 430, and the module 440 for sending alarm information, the monitoring apparatus of the electronic device may further include:
a displaying module 450, configured to display, in a form of a graph, the performance data corresponding to the target performance acquired by the acquiring module when the acquiring module acquires the performance data corresponding to the target performance.
Optionally, in a specific embodiment, the display module 450 includes:
the first display sub-module is used for displaying the acquired performance data corresponding to the target performance in a form of a chart when the judgment module judges that the target performance is abnormal, and the data content of the performance data corresponding to the target performance is displayed in a first content format;
and the second display sub-module is configured to display the acquired performance data corresponding to the target performance in a form of a graph when the determination module determines that the target performance is not abnormal, and display data content of the performance data corresponding to the target performance in a second content format, where the second content format is different from the first content format.
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. A monitoring method of electronic equipment is characterized in that the monitoring method is applied to monitoring equipment in a monitoring system, and the monitoring system comprises the following steps: at least one electronic device to which the monitoring device is communicatively coupled, the method comprising:
sending a performance monitoring command aiming at target performance to a predetermined electronic device, so that the predetermined electronic device generates performance data corresponding to the target performance when receiving the performance monitoring command, wherein the predetermined electronic device is one or at least two electronic devices in the at least one electronic device;
acquiring performance data corresponding to the target performance of the predetermined electronic equipment;
and judging whether the performance data corresponding to the target performance meets a preset abnormal condition corresponding to the target performance, if so, determining that the target performance of the preset electronic equipment is abnormal, otherwise, determining that the target performance of the preset electronic equipment is not abnormal.
2. The method of claim 1, further comprising:
and when the target performance of the preset electronic equipment is judged to be abnormal, sending alarm information to a preset user corresponding to the preset electronic equipment, wherein the alarm information is used for indicating that the target performance of the preset electronic equipment is abnormal.
3. The method of claim 1, further comprising:
and when the performance data corresponding to the target performance is acquired, displaying the acquired performance data corresponding to the target performance in a form of a chart.
4. The method according to claim 3, wherein the step of displaying the obtained performance data corresponding to the target performance in a form of a graph includes:
when the target performance is judged to be abnormal, displaying the acquired performance data corresponding to the target performance in a chart form, wherein the data content of the performance data corresponding to the target performance is displayed in a first content format;
and when the target performance is judged not to be abnormal, displaying the acquired performance data corresponding to the target performance in a form of a chart, and displaying the data content of the performance data corresponding to the target performance in a second content format, wherein the second content format is different from the first content format.
5. The method according to any one of claims 1 to 4, wherein the step of sending a performance monitoring command for a target performance to a predetermined electronic device comprises:
the performance monitoring command for the target performance is transmitted to a predetermined electronic device in real time or at a preset cycle.
6. A monitoring device of an electronic device is applied to a monitoring device in a monitoring system, and the monitoring system comprises: at least one electronic device, the monitoring device communicatively coupled to the at least one electronic device, the apparatus comprising:
the device comprises a sending module, an obtaining module and a judging module;
wherein,
the sending module is configured to send a performance monitoring command for a target performance to a predetermined electronic device, so that the predetermined electronic device generates performance data corresponding to the target performance when receiving the performance monitoring command, where the predetermined electronic device is one or at least two electronic devices in the at least one electronic device;
the acquisition module is used for acquiring performance data corresponding to the target performance of the predetermined electronic equipment;
the judging module is used for judging whether the performance data corresponding to the target performance meets a preset abnormal condition corresponding to the target performance, if so, determining that the target performance of the preset electronic equipment is abnormal, otherwise, determining that the target performance of the preset electronic equipment is not abnormal.
7. The apparatus of claim 6, further comprising:
and the alarm information sending module is used for sending alarm information to a preset user corresponding to the preset electronic equipment when the judgment module judges that the target performance of the preset electronic equipment is abnormal, wherein the alarm information is used for indicating that the target performance of the preset electronic equipment is abnormal.
8. The apparatus of claim 6, further comprising:
and the display module is used for displaying the performance data corresponding to the target performance acquired by the acquisition module in a chart form when the acquisition module acquires the performance data corresponding to the target performance.
9. The apparatus of claim 8, wherein the display module comprises:
the first display sub-module is used for displaying the acquired performance data corresponding to the target performance in a form of a chart when the judgment module judges that the target performance is abnormal, and the data content of the performance data corresponding to the target performance is displayed in a first content format;
and the second display sub-module is configured to display the acquired performance data corresponding to the target performance in a form of a graph when the determination module determines that the target performance is not abnormal, and display data content of the performance data corresponding to the target performance in a second content format, where the second content format is different from the first content format.
10. The apparatus according to any one of claims 6 to 9, wherein the sending module is specifically configured to:
and sending a performance monitoring command aiming at the target performance to a preset electronic device according to a preset period or in real time.
CN201710210436.7A 2017-03-31 2017-03-31 The monitoring method and device of electronic equipment Pending CN107168846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210436.7A CN107168846A (en) 2017-03-31 2017-03-31 The monitoring method and device of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210436.7A CN107168846A (en) 2017-03-31 2017-03-31 The monitoring method and device of electronic equipment

Publications (1)

Publication Number Publication Date
CN107168846A true CN107168846A (en) 2017-09-15

Family

ID=59849696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210436.7A Pending CN107168846A (en) 2017-03-31 2017-03-31 The monitoring method and device of electronic equipment

Country Status (1)

Country Link
CN (1) CN107168846A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108508874A (en) * 2018-05-08 2018-09-07 网宿科技股份有限公司 A kind of method and apparatus of monitoring equipment fault
CN112052142A (en) * 2020-09-08 2020-12-08 深圳创维-Rgb电子有限公司 Performance monitoring method, equipment, device and computer readable storage medium
CN114691258A (en) * 2020-12-29 2022-07-01 深圳Tcl新技术有限公司 System performance display method and system, intelligent device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783807A (en) * 2004-12-02 2006-06-07 华为技术有限公司 Method real time monitoring IP service property in optical network transmission system
WO2015037603A1 (en) * 2013-09-11 2015-03-19 Necフィールディング株式会社 Remote monitoring system, remote monitoring method, and program
CN104601771A (en) * 2014-12-26 2015-05-06 沈阳晨讯希姆通科技有限公司 Method and system for testing main board of mobile phone
CN106161707A (en) * 2016-07-22 2016-11-23 深圳市共进电子股份有限公司 The method and apparatus of test wireless phone performance
CN106201810A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 A kind of method of testing, device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783807A (en) * 2004-12-02 2006-06-07 华为技术有限公司 Method real time monitoring IP service property in optical network transmission system
WO2015037603A1 (en) * 2013-09-11 2015-03-19 Necフィールディング株式会社 Remote monitoring system, remote monitoring method, and program
CN104601771A (en) * 2014-12-26 2015-05-06 沈阳晨讯希姆通科技有限公司 Method and system for testing main board of mobile phone
CN106201810A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 A kind of method of testing, device
CN106161707A (en) * 2016-07-22 2016-11-23 深圳市共进电子股份有限公司 The method and apparatus of test wireless phone performance

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108508874A (en) * 2018-05-08 2018-09-07 网宿科技股份有限公司 A kind of method and apparatus of monitoring equipment fault
CN112052142A (en) * 2020-09-08 2020-12-08 深圳创维-Rgb电子有限公司 Performance monitoring method, equipment, device and computer readable storage medium
CN114691258A (en) * 2020-12-29 2022-07-01 深圳Tcl新技术有限公司 System performance display method and system, intelligent device and storage medium

Similar Documents

Publication Publication Date Title
CN109726072B (en) WebLogic server monitoring and alarming method, device and system and computer storage medium
CN109660380A (en) Monitoring method, platform, system and the readable storage medium storing program for executing of operation condition of server
CN106027328B (en) Cluster monitoring method and system based on application container deployment
CN109815094B (en) Data table monitoring method, device, equipment and computer readable storage medium
CN112311617A (en) Configured data monitoring and alarming method and system
CN109558301A (en) A kind of distributed system data monitoring method, device and relevant device
CN109669835B (en) MySQL database monitoring method, device, equipment and readable storage medium
CN104581806B (en) A kind of method and terminal for monitoring operation system
CN105468501A (en) Performance monitoring method and device of Linux system
CN111026606A (en) Alarm method and device based on hystrix fuse monitoring and computer equipment
CN107168846A (en) The monitoring method and device of electronic equipment
CN109766198B (en) Stream processing method, device, equipment and computer readable storage medium
CN111130867B (en) Intelligent household equipment alarm method and device based on Internet of things
CN104320285A (en) Website running status monitoring method and device
CN104049983A (en) Information update promoting method, information update promoting device and electronic equipment
CN111475379A (en) Log processing method and device, electronic equipment and storage medium
JP2018093432A (en) Determination system, determination method, and program
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN114285844A (en) Method and device for intelligently fusing server interface, electronic equipment and storage medium
JP2010015246A (en) Failure information analysis management system
JP5623333B2 (en) Monitoring server and monitoring evaluation method
CN110633165B (en) Fault processing method, device, system server and computer readable storage medium
CN108023741B (en) Monitoring resource use method and server
CN115391141A (en) Database flow analysis method, device, equipment and readable storage medium
KR102464688B1 (en) Method and apparatus for detrmining event level of monitoring result

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170915