CN115589354A - Equipment monitoring method, device, server and storage medium - Google Patents

Equipment monitoring method, device, server and storage medium Download PDF

Info

Publication number
CN115589354A
CN115589354A CN202211203422.XA CN202211203422A CN115589354A CN 115589354 A CN115589354 A CN 115589354A CN 202211203422 A CN202211203422 A CN 202211203422A CN 115589354 A CN115589354 A CN 115589354A
Authority
CN
China
Prior art keywords
alarm
information
equipment
electronic
electronic device
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
CN202211203422.XA
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.)
Haier Digital Technology Qingdao Co Ltd
Cosmoplat Industrial Intelligent Research Institute Qingdao Co Ltd
Original Assignee
Haier Digital Technology Qingdao Co Ltd
Cosmoplat Industrial Intelligent Research Institute Qingdao 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 Haier Digital Technology Qingdao Co Ltd, Cosmoplat Industrial Intelligent Research Institute Qingdao Co Ltd filed Critical Haier Digital Technology Qingdao Co Ltd
Priority to CN202211203422.XA priority Critical patent/CN115589354A/en
Publication of CN115589354A publication Critical patent/CN115589354A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Abstract

The invention discloses a device monitoring method, a device, a server and a storage medium, wherein the method is applied to the server configured with a root rule chain and comprises the following steps: receiving equipment information sent by the electronic equipment based on the equipment rule chain based on the root rule chain, and determining configuration information according to the equipment type of the electronic equipment contained in the equipment information; determining an alarm state of the electronic device according to the device information and the configuration information; and if the alarm state is abnormal, sending abnormal information to the user terminal. According to the technical scheme, the device information sent by the electronic device based on the device rule chain is received based on the root rule chain, the configuration information is determined according to the device information, the configuration of the electronic device is achieved, whether the electronic device meets the alarm triggering condition or not is determined according to the device data contained in the device information of the electronic device and the alarm triggering condition contained in the configuration information, the alarm type is determined according to the alarm triggering condition met by the electronic device, the alarm state is further determined, and the monitoring of the electronic device is achieved.

Description

Equipment monitoring method, device, server and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a device monitoring method, apparatus, server, and storage medium.
Background
The internet of things is a network form which extends and expands a user side to objects on the basis of the internet and carries out information exchange and communication. With the continuous popularization of the internet of things technology and the continuous upgrading of network bandwidth, more and more internet of things terminal devices achieve the intelligent upgrading of products through accessing to the cloud.
In this case, the cloud end needs to perform intelligent control on all electronic devices through a unified configuration platform. The configuration platform provided by the prior art can only configure partial attributes of the electronic equipment, and cannot well solve the problem of unified management of the electronic equipment.
Therefore, the present application provides an apparatus monitoring method, which is used for rapidly configuring multiple types of electronic apparatuses and multiple electronic apparatuses of the same type based on a configuration platform, so as to monitor the electronic apparatuses.
Disclosure of Invention
The invention provides a device monitoring method, a device, a server and a storage medium, which are used for rapidly configuring multiple types of electronic devices and multiple types of electronic devices based on a configuration platform so as to realize monitoring of the electronic devices.
According to an aspect of the present invention, there is provided a device monitoring method applied to a server configured with a root rule chain, the method including:
receiving equipment information sent by electronic equipment based on an equipment rule chain based on the root rule chain, and determining configuration information according to the equipment type of the electronic equipment contained in the equipment information;
determining an alarm state of the electronic device according to the device information and the configuration information;
and if the alarm state is abnormal, sending abnormal information to the user terminal.
Further, the device information includes: and the electronic equipment comprises at least one of equipment type, equipment data, on-off data and addition and deletion data.
Further, the configuration information includes: at least one of a device information storage address, an alarm type, an alarm trigger condition, an alarm clear condition, and an alarm transmission address.
Further, after determining the configuration information according to the device type of the electronic device included in the device information, the method further includes:
determining a queue corresponding to the electronic equipment according to the equipment information storage address contained in the configuration information;
and storing the equipment information in at least one queue corresponding to the electronic equipment.
Further, determining an alarm state of the electronic device according to the device information and the configuration information includes:
determining whether the electronic device satisfies the alarm triggering condition according to the device data in the device information and the alarm triggering condition in the configuration information;
when the electronic equipment is determined to meet at least one alarm triggering condition, determining the alarm type of the electronic equipment according to the alarm triggering condition met by the electronic equipment;
determining an alarm state according to the alarm type of the electronic device.
Further, the method further comprises:
determining whether the electronic device satisfies the alarm clearing condition according to the device data in the device information and the alarm clearing condition in the configuration information;
and when the electronic equipment is determined to meet the alarm clearing condition, sending normal information to the user terminal.
Further, sending the abnormal information to the user terminal includes:
and sending the abnormal information to the user terminal corresponding to the alarm sending address.
According to another aspect of the present invention, there is provided an apparatus for monitoring a device, configured on a configuration platform, the configuration platform being configured with a root rule chain, the apparatus comprising:
the receiving module is used for receiving equipment information sent by electronic equipment based on an equipment rule chain based on the root rule chain and determining configuration information according to the equipment type of the electronic equipment contained in the equipment information;
a determining module, configured to determine an alarm state of the electronic device according to the device information and the configuration information;
and the sending module is used for sending the abnormal information to the user terminal if the alarm state is abnormal.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one root rule chain; and a memory communicatively coupled to the at least one root rule chain;
wherein the memory stores a computer program executable by the at least one root rule chain, the computer program being executable by the at least one root rule chain to enable the at least one root rule chain to perform the device monitoring method according to any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the device monitoring method according to any one of the embodiments of the present invention when the computer instructions are executed.
The technical solution of this embodiment provides an apparatus monitoring method, which is applied to a server configured with a root rule chain, and the method includes: receiving equipment information sent by electronic equipment based on an equipment rule chain based on the root rule chain, and determining configuration information according to the equipment type of the electronic equipment contained in the equipment information; determining an alarm state of the electronic device according to the device information and the configuration information; and if the alarm state is abnormal, sending abnormal information to the user terminal. According to the technical scheme, the configuration platform can receive the equipment information sent by the electronic equipment based on the equipment rule chain based on the root rule chain, determine the configuration information corresponding to the electronic equipment according to the equipment type contained in the equipment information, realize the configuration of the electronic equipment, further determine whether the electronic equipment meets the alarm triggering condition according to the equipment data contained in the equipment information of the electronic equipment and the alarm triggering condition contained in the configuration information, determine the alarm type of the electronic equipment according to the alarm triggering condition met by the electronic equipment when the electronic equipment meets any alarm triggering condition, further determine whether the alarm state of the electronic equipment is normal or abnormal, and of course, the configuration platform can also send the alarm state to the user terminal corresponding to the alarm sending address in the configuration information, and realize the monitoring of the electronic equipment.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solution in the present embodiment, the drawings needed to be used in the description of the embodiment will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an apparatus monitoring method according to a first embodiment of the present disclosure;
fig. 2 is a flowchart of an apparatus monitoring method according to a second embodiment;
fig. 3 is a schematic structural diagram of an apparatus monitoring device according to a third embodiment;
fig. 4 is a schematic structural diagram of a server according to a fourth embodiment.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the present embodiment will be clearly and completely described below with reference to the drawings in the present embodiment, and it is obvious that the described embodiments are only a part of embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of an apparatus monitoring method provided in this embodiment, where this embodiment is applicable to a situation where an electronic apparatus accessing a server needs to be monitored, the method may be executed by an apparatus monitoring device, the apparatus monitoring device may be implemented in a form of hardware and/or software, and the apparatus monitoring device may be configured in a server configured with a root rule chain. As shown in fig. 1, the method includes:
s110, receiving equipment information sent by the electronic equipment based on the equipment rule chain based on the root rule chain, and determining configuration information according to the equipment type of the electronic equipment contained in the equipment information.
The server may be a configuration platform of the electronic device configured with a root rule chain. The electronic device may be configured with a device rule chain, and the device rule chain configured by the electronic device may establish a link with a root rule chain configured by the configuration platform, so that the electronic device and the configuration platform may communicate with each other, and the electronic device may send device information to the configuration platform based on the device rule chain and the root rule chain.
The device information may include a device type of the electronic device, device data acquired by the electronic device, on/off data of the electronic device, add/delete data of the electronic device, and the like; the configuration information may include a storage address of device information corresponding to the electronic device, a type of alarm that the electronic device may perform, an alarm triggering condition of the electronic device, an alarm clearing condition of the electronic device, an alarm sending address after the alarm of the electronic device is triggered, and the like.
Specifically, the server may serve as a configuration platform of the electronic device, and the configuration platform may receive, based on the configured root rule chain, device information sent by the electronic device based on the device rule chain configured by the electronic device. The device information may include a device type of the electronic device, e.g., a temperature sensor, a concentration sensor, etc. Further, the server may determine configuration information of the electronic device, for example, a device information storage address, an alarm type, an alarm triggering condition, an alarm clearing condition, an alarm transmission address, and the like, according to a device type of the electronic device included in the device information.
Of course, the server may establish a communication connection with any electronic device corresponding to the device rule chain based on the device startup and shutdown data and the add/delete data included in the device information, so as to establish monitoring on the electronic device, or disconnect the communication connection with any electronic device corresponding to the device rule chain, so as to disconnect monitoring on the electronic device.
In this embodiment, the configuration platform configured with the root rule chain may establish a communication link with the electronic device configured with the device rule chain, so as to configure the electronic device based on the root rule chain and the device rule chain, thereby implementing management and monitoring of the electronic device.
S120, determining the alarm state of the electronic equipment according to the equipment information and the configuration information.
Specifically, the configuration platform may determine whether the electronic device satisfies the alarm triggering condition according to the device data in the device information and the alarm triggering condition in the configuration information, and when it is determined that the electronic device satisfies any alarm triggering condition, determine the alarm type of the electronic device according to the alarm triggering condition satisfied by the electronic device, and further determine the alarm state of the electronic device.
For example, when the alarm type of the electronic device is determined to be dangerous, important, or minor, the alarm state may be determined to be abnormal, and when the alarm type of the electronic device is determined to be warning, or uncertain, the alarm state may be determined to be normal.
In addition, after the alarm state of the electronic device is determined, the configuration platform may further continue to receive, based on the root rule chain, the device information sent by the electronic device based on the device rule chain, and therefore, the configuration platform may determine whether the electronic device satisfies the alarm clearing condition based on the device data included in the device information and the alarm clearing condition included in the configuration information, and determine that the alarm state of the electronic device is normal when it is determined that the electronic device satisfies the alarm clearing condition.
In this embodiment, the configuration platform may determine whether the electronic device satisfies the alarm triggering condition according to the device data in the device information and the alarm triggering condition in the configuration information, and when it is determined that the electronic device satisfies any alarm triggering condition, determine the alarm type of the electronic device according to the alarm triggering condition satisfied by the electronic device, and further determine the alarm state of the electronic device; and determining whether the electronic equipment meets the alarm clearing condition according to the equipment data in the equipment information and the alarm clearing condition in the configuration information, and determining the alarm state of the electronic equipment when the electronic equipment meets the alarm clearing condition so as to realize monitoring on the electronic equipment.
And S130, if the alarm state is abnormal, sending abnormal information to the user terminal.
Firstly, a user terminal can be determined according to an alarm sending address contained in configuration information, and when the alarm type is determined to be dangerous, important or secondary, the alarm state can be determined to be abnormal; when the alarm type is determined to be warning and uncertain, the alarm state can be determined to be normal; when it is determined that the electronic device satisfies the alarm clear condition, the alarm state of the electronic device may also be determined to be normal. Furthermore, when the alarm state of the electronic device is determined to be abnormal, the abnormal information can be sent to the user terminal determined by the alarm sending address contained in the configuration information so as to remind the user, and the electronic device is monitored.
The embodiment provides an apparatus monitoring method, which is applied to a server configured with a root rule chain, and the method includes: receiving equipment information sent by electronic equipment based on an equipment rule chain based on the root rule chain, and determining configuration information according to the equipment type of the electronic equipment contained in the equipment information; determining an alarm state of the electronic device according to the device information and the configuration information; and if the alarm state is abnormal, sending abnormal information to the user terminal. According to the technical scheme, the configuration platform can receive equipment information sent by the electronic equipment based on the equipment rule chain based on the root rule chain, determine the configuration information corresponding to the electronic equipment according to the equipment type contained in the equipment information, realize the configuration of the electronic equipment, further determine whether the electronic equipment meets the alarm triggering condition according to the equipment data contained in the equipment information of the electronic equipment and the alarm triggering condition contained in the configuration information, determine the alarm type of the electronic equipment according to the alarm triggering condition met by the electronic equipment when determining that the electronic equipment meets any alarm triggering condition, further determine whether the alarm state of the electronic equipment is normal or abnormal, further determine whether the electronic equipment meets the alarm clearing condition according to the equipment data contained in the equipment information of the electronic equipment and the alarm clearing condition contained in the configuration information, further determine that the alarm state of the electronic equipment is normal when determining that the electronic equipment meets the alarm clearing condition, of course, the configuration platform can also send the alarm state to the user terminal corresponding to the alarm sending address in the configuration information, and realize the monitoring of the electronic equipment.
Example two
Fig. 2 is a flowchart of an apparatus monitoring method according to a second embodiment, which is also applied to a server configured with a root rule chain, and the relationship between the embodiments is that "determining whether the electronic apparatus satisfies the alarm clearing condition according to the apparatus data in the apparatus information and the alarm clearing condition in the configuration information" is added; and when the electronic equipment is determined to meet the alarm clearing condition, sending normal information to the user terminal. "after determining configuration information according to the device type of the electronic device included in the device information," determining a queue corresponding to the electronic device according to the device information storage address included in the configuration information "is added; and storing the equipment information in at least one queue corresponding to the electronic equipment. ", as shown in fig. 2, the method includes:
s210, receiving equipment information sent by the electronic equipment based on the equipment rule chain based on the root rule chain, and determining configuration information according to the equipment type of the electronic equipment contained in the equipment information.
Wherein the device information includes: and the electronic equipment comprises at least one of equipment type, equipment data, startup and shutdown data and addition and deletion data. The configuration information includes: at least one of a device information storage address, an alarm type, an alarm trigger condition, an alarm clear condition, and an alarm transmission address.
Specifically, the server may serve as a configuration platform of the electronic device, and the configuration platform may receive, based on the configured root rule chain, device information sent by the electronic device based on the device rule chain configured by the electronic device, that is, may receive a device type, device data, power on/off data, and add/delete data sent by the electronic device, where the device type may indicate the type of the electronic device, the device data may be data acquired by the electronic device, the power on/off data may indicate a power on/off state of the electronic device, and the add/delete data may indicate that a communication connection between the electronic device and the server is established or disconnected. The configuration platform can determine the configuration information of the electronic equipment according to the equipment type contained in the equipment information, so that the configuration of the electronic equipment is realized, and the efficiency of equipment configuration is improved.
It should be noted that the device information may be transmitted from the electronic device to the server in the form of MQTT.
S220, determining a queue corresponding to the electronic equipment according to the equipment information storage address contained in the configuration information; and storing the equipment information in at least one queue corresponding to the electronic equipment.
The queue is used for storing all information sent by the electronic equipment to the server.
Specifically, after the configuration platform receives the device information sent by the electronic device based on the device rule chain based on the root rule chain and determines the configuration information according to the device information, the configuration platform may configure at least one queue for the device information of the electronic device according to a device information storage address included in the configuration information, and store the device information corresponding to the electronic device in the at least one queue.
In practical applications, the device information is used for different calculation requirements, that is, when different processing logics are performed, the device information needs to be stored in different queues to realize queue separation. Of course, the device information may be stored to different queues based on different storage manners.
It should be noted that if a custom queue name needs to be used, the queue name needs to be configured in the yml file of the configuration platform before the queue is used.
In this embodiment, the device information of the electronic device managed and monitored by the server is stored in the queue, and the device information can be stored for multiple times for different computing requirements.
S230, determining whether the electronic equipment meets the alarm triggering condition according to the equipment data in the equipment information and the alarm triggering condition in the configuration information; and determining whether the electronic equipment meets the alarm clearing condition according to the equipment data in the equipment information and the alarm clearing condition in the configuration information.
Wherein the alarm triggering condition may comprise a simple trigger, a continuous trigger, or a repeated trigger, and the alarm type may comprise dangerous, important, secondary, warning, uncertain.
Specifically, the configuration platform may determine whether the device data satisfies the alarm triggering condition according to the device data in the device information and the alarm triggering condition in the configuration information, and determine that the electronic device satisfies the alarm triggering condition when it is determined that the device data satisfies the alarm triggering condition. The configuration platform may also determine whether the electronic device satisfies the alarm clearing condition according to the device data in the device information and the alarm clearing condition in the configuration information, and determine that the electronic device satisfies the alarm clearing condition when it is determined that the device data satisfies the alarm clearing condition.
For example, the device data includes temperature data and time data, and the alarm trigger condition may include, simply trigger: within 5 minutes, the temperature at any moment is more than 50 ℃; and (3) continuously triggering: the temperature is continuously higher than 50 ℃, and the duration is longer than 5 minutes; and (3) repeatedly triggering: the times that the temperature is higher than 50 ℃ in 5 minutes are larger than a preset threshold value.
When the alarm triggering condition is that the temperature is continuously greater than 50 ℃ and the duration is greater than 5 minutes, if the temperature data in the equipment data is determined to be greater than 50 ℃ and the time when the temperature data is greater than 50 ℃ is greater than 5 minutes, the equipment data can be determined to meet a first alarm triggering condition; if the temperature data in the device data is determined to be greater than 50 degrees centigrade and the time that the temperature data is greater than 50 degrees centigrade is less than or equal to 5 minutes, it may be determined that the device data meets a second alarm triggering condition; if it is determined that the temperature data in the device data is equal to 50 degrees celsius and the time when the temperature data is equal to 50 degrees celsius is greater than 5 minutes, it may be determined that the device data satisfies a third alarm triggering condition; if it is determined that the temperature data in the device data is equal to 50 degrees celsius and the time for which the temperature data is equal to 50 degrees celsius is less than or equal to 5 minutes, it may be determined that the device data satisfies a fourth alarm triggering condition; if it is determined that the temperature data in the device data is less than 50 degrees Celsius, it may be determined that the device data satisfies a fifth alarm triggering condition.
When the alarm clearing condition is that the temperature is continuously less than 50 ℃ and the duration time is greater than 5 minutes, if the temperature data in the equipment data is determined to be less than 50 ℃ and the time when the temperature is less than 50 ℃ is greater than 5 minutes, the equipment data can be determined to meet the alarm clearing condition, and then the electronic equipment can be determined to meet the alarm clearing condition.
In one embodiment, the configuration information may also include timing information, and the configuration platform may determine the time interval based on the timing information.
The time interval may be 0, a preset time interval, or a device time interval determined according to the device information.
And configuring the platform to continue/interval a preset time interval/interval a device time interval, and determining whether the device data meets the alarm triggering condition according to the device data in the device information and the alarm triggering condition in the configuration information so as to determine whether the electronic device meets the alarm triggering condition.
Similarly, the configuration platform continues/separates the preset time interval/the device time interval, and determines whether the device data meets the alarm removal condition according to the device data in the device information and the alarm removal condition in the configuration information, and further determines whether the electronic device meets the alarm removal condition.
In this embodiment, the configuration platform may determine whether the device data meets the alarm triggering condition according to the device data in the device information and the alarm triggering condition in the configuration information, and further determine whether the electronic device meets the alarm triggering condition, and may also determine whether the device data meets the alarm clearing condition according to the device data in the device information and the alarm clearing condition in the configuration information, and further determine whether the electronic device meets the alarm clearing condition, thereby implementing monitoring on the electronic device.
S240, when the electronic equipment is determined to meet at least one alarm triggering condition, determining the alarm type of the electronic equipment according to the alarm triggering condition met by the electronic equipment; determining an alarm state according to the alarm type of the electronic equipment; determining an alert state of the electronic device upon determining that the electronic device satisfies the alert clearing condition.
When the alarm triggering condition is that the temperature is continuously higher than 50 ℃ and the duration time is longer than 5 minutes, if the temperature data in the equipment data is determined to be higher than 50 ℃ and the time when the temperature data is higher than 50 ℃ is longer than 5 minutes, the equipment data can be determined to meet the first alarm triggering condition, the electronic equipment can be further determined to meet the first alarm triggering condition, and the alarm type can be further determined to be dangerous; if the temperature data in the device data is determined to be greater than 50 ℃, and the time when the temperature data is greater than 50 ℃ is less than or equal to 5 minutes, the device data can be determined to meet a second alarm triggering condition, the electronic device can be further determined to meet the second alarm triggering condition, and the alarm type can be further determined to be important; if the temperature data in the device data is determined to be equal to 50 ℃ and the time when the temperature data is equal to 50 ℃ is longer than 5 minutes, the device data can be determined to meet a third alarm triggering condition, the electronic device can be further determined to meet the third alarm triggering condition, and the alarm type can be determined to be secondary; if the temperature data in the device data is determined to be equal to 50 ℃, and the time when the temperature data is equal to 50 ℃ is less than or equal to 5 minutes, the device data can be determined to meet a fourth alarm triggering condition, further the electronic device can be determined to meet the fourth alarm triggering condition, and the alarm type can be determined to be warning; if the temperature data in the device data is determined to be less than 50 degrees celsius, it may be determined that the device data satisfies a fifth alarm triggering condition, and then it may be determined that the electronic device satisfies the fifth alarm triggering condition, and it may also be determined that the alarm type is uncertain.
Of course, the configuration platform continues/separates the preset time interval/the device time interval, and determines whether the device data meets the alarm triggering condition according to the device data in the device information and the alarm triggering condition in the configuration information, and further determines whether the electronic device meets the alarm triggering condition. And when the electronic equipment is determined to meet any alarm triggering condition, determining the alarm type of the electronic equipment according to the alarm triggering condition met by the electronic equipment, and further determining the alarm state of the electronic equipment. For example, when the alarm type of the electronic device is determined to be dangerous, important, or minor, the alarm state may be determined to be abnormal, and when the alarm type of the electronic device is determined to be warning or uncertain, the alarm state may be determined to be normal.
Similarly, the configuration platform continues/separates the preset time interval/the device time interval, determines whether the electronic device meets the alarm removing condition according to the device data in the device information and the alarm removing condition in the configuration information, and determines that the electronic device meets the alarm removing condition when the device data meets the alarm removing condition, so that the alarm state can be determined to be normal.
In this embodiment, the configuration platform may determine the alarm type according to the alarm triggering condition satisfied by the device data acquired by the electronic device, and further determine that the alarm state is normal or abnormal according to the alarm type, or determine that the alarm state is normal according to the electronic device satisfying the alarm clearing condition.
And S250, determining that the alarm state is abnormal, and sending the abnormal information to the user terminal corresponding to the alarm sending address.
The abnormal information may include, among other things, creating an alarm, updating the alarm severity.
Specifically, after the alarm state is determined to be abnormal, the abnormal information may be sent to the user terminal corresponding to the alarm sending address in the configuration information, so as to remind the user of the abnormality.
And S260, determining that the alarm state is normal, and sending normal information to the user terminal corresponding to the alarm sending address.
The normal information may include, among others, no alarm required, cleared alarm.
Specifically, after the alarm state is determined to be normal, the normal information may also be sent to the user terminal corresponding to the alarm sending address in the configuration information.
In this embodiment, after determining that the alarm state is abnormal or normal, the abnormal information or the normal information may be sent to the user terminal corresponding to the alarm sending address in the configuration information, so that the user may monitor the state of the electronic device, thereby implementing monitoring of the electronic device.
In practical application, the electronic device and the configuration platform are connected based on communication between the device rule chain and the root rule chain, so that configuration and monitoring of the electronic device can be realized, and updating of a software system loaded on the electronic device can also be realized.
It should be noted that the server may initiate a "keep alarm rule state", i.e. force the rule node to store the processing state to process alarms for a duration or repetition condition. For example, an alarm rule is set to "temperature greater than 50 for 1 hour", if the temperature is greater than 50 at 1 PM, an alarm will be received at 2 PM. However, if the server is restarted after 1 PM and before 2 PM, the rule node needs to look up the state from the database.
If "keep alarm rules state" and "get alarm rules state" are enabled, the rule node can generate an alarm. If "keep alarm rules state" is disabled, the rule node will not generate an alarm.
The server may initiate a "get alarm rules state," i.e., force the rule nodes to resume processing state upon initialization to handle alarms for a duration or repeating condition. The "get alarm rule status" needs to be used in conjunction with the "keep alarm rule status". Of course, enabling the "get alarm rules state" may avoid loading state from the database at initialization if the electronic device is required to continuously send device information. When the device information sent by a specific electronic device arrives, the rule node acquires the state from the database.
The second embodiment provides an apparatus monitoring method, which is applied to a server configured with a root rule chain, and the method includes: receiving equipment information sent by electronic equipment based on an equipment rule chain based on the root rule chain, and determining configuration information according to the equipment type of the electronic equipment contained in the equipment information; determining a queue corresponding to the electronic equipment according to the equipment information storage address contained in the configuration information; storing the device information in at least one queue corresponding to the electronic device; determining an alarm state of the electronic device according to the device information and the configuration information; determining whether the electronic equipment meets the alarm triggering condition according to the equipment information; when the electronic equipment is determined to meet at least one alarm triggering condition, determining the alarm type of the electronic equipment according to the alarm triggering condition met by the electronic equipment; determining an alarm state according to the alarm type of the electronic equipment; if the alarm state is abnormal, sending abnormal information to the user terminal; determining whether the electronic equipment meets the alarm clearing condition according to the equipment information; and when the electronic equipment is determined to meet the alarm clearing condition, sending normal information to the user terminal. According to the technical scheme, the configuration platform can receive equipment information sent by the electronic equipment based on the equipment rule chain based on the root rule chain, and determines configuration information corresponding to the electronic equipment according to equipment types contained in the equipment information, so that the configuration of the electronic equipment is realized, further, whether the electronic equipment meets an alarm triggering condition or not can be determined according to equipment data contained in the equipment information of the electronic equipment and an alarm triggering condition contained in the configuration information, when the electronic equipment is determined to meet any alarm triggering condition, the alarm type of the electronic equipment is determined according to the alarm triggering condition met by the electronic equipment, further, the alarm state of the electronic equipment is determined to be normal or abnormal, further, whether the electronic equipment meets the alarm clearing condition or not can be determined according to the equipment data contained in the equipment information of the electronic equipment and the alarm clearing condition contained in the configuration information, further, when the electronic equipment is determined to meet the alarm clearing condition, the alarm state can be sent to a user terminal corresponding to an alarm sending address in the configuration information, and the monitoring of the electronic equipment can be realized.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an apparatus monitoring device provided in the third embodiment, where the apparatus monitoring device is configured on a configuration platform, and the configuration platform is configured with a root rule chain, as shown in fig. 3, the apparatus includes:
a receiving module 310, configured to receive, based on the root rule chain, device information sent by an electronic device based on a device rule chain, and determine configuration information according to a device type of the electronic device included in the device information;
a determining module 320, configured to determine an alarm state of the electronic device according to the device information and the configuration information;
a sending module 330, configured to send the abnormal information to the user terminal if the alarm state is abnormal.
The device monitoring apparatus provided in this embodiment is configured to a server configured with a root rule chain, receive, based on the root rule chain, device information sent by an electronic device based on the device rule chain, and determine configuration information according to a device type of the electronic device included in the device information; determining an alarm state of the electronic device according to the device information and the configuration information; and if the alarm state is abnormal, sending abnormal information to the user terminal. According to the technical scheme, the configuration platform can receive equipment information sent by the electronic equipment based on the equipment rule chain based on the root rule chain, and determines configuration information corresponding to the electronic equipment according to equipment types contained in the equipment information, so that the configuration of the electronic equipment is realized, further, whether the electronic equipment meets an alarm triggering condition or not can be determined according to equipment data contained in the equipment information of the electronic equipment and an alarm triggering condition contained in the configuration information, when the electronic equipment is determined to meet any alarm triggering condition, the alarm type of the electronic equipment is determined according to the alarm triggering condition met by the electronic equipment, further, the alarm state of the electronic equipment is determined to be normal or abnormal, further, whether the electronic equipment meets the alarm clearing condition or not can be determined according to the equipment data contained in the equipment information of the electronic equipment and the alarm clearing condition contained in the configuration information, further, when the electronic equipment is determined to meet the alarm clearing condition, the alarm state can be sent to a user terminal corresponding to an alarm sending address in the configuration information, and the monitoring of the electronic equipment can be realized.
Optionally, the device information includes: and the electronic equipment comprises at least one of equipment type, equipment data, startup and shutdown data and addition and deletion data.
Optionally, the configuration information includes: at least one of a device information storage address, an alarm type, an alarm trigger condition, an alarm clear condition, and an alarm transmission address.
Optionally, the apparatus further comprises:
the storage module is used for determining a queue corresponding to the electronic equipment according to the equipment information storage address contained in the configuration information; and storing the equipment information in at least one queue corresponding to the electronic equipment.
Optionally, the determining module 320 is specifically configured to:
determining whether the electronic device meets the alarm triggering condition according to the device data in the device information and the alarm triggering condition in the configuration information; when the electronic equipment is determined to meet at least one alarm triggering condition, determining the alarm type of the electronic equipment according to the alarm triggering condition met by the electronic equipment; determining an alarm state according to the alarm type of the electronic device.
Optionally, the apparatus further comprises:
an execution module, configured to determine whether the electronic device satisfies the alarm clearing condition according to the device data in the device information and the alarm clearing condition in the configuration information; and when the electronic equipment is determined to meet the alarm clearing condition, sending normal information to the user terminal.
Optionally, the sending module 330 is specifically configured to:
and if the alarm state is abnormal, sending the abnormal information to the user terminal corresponding to the alarm sending address.
The device monitoring apparatus provided by this embodiment can execute the device monitoring method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
Example four
Fig. 4 is a schematic structural diagram of a server according to a fourth embodiment. The server 10 is configured with a root rule chain intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the server 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the server 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the server 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the server 10 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The processor 11 performs the various methods and processes described above, such as the device monitoring method.
In some embodiments, the device monitoring method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the server 10 via the ROM 12 and/or the communication unit 19. One or more steps of the device monitoring method described above may be performed when the computer program is loaded into the RAM 13 and executed by the processor 11. Alternatively, in other embodiments, the processor 11 may be configured to perform the device monitoring method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a server having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the server. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A device monitoring method applied to a server configured with a root rule chain, the method comprising:
receiving equipment information sent by electronic equipment based on an equipment rule chain based on the root rule chain, and determining configuration information according to the equipment type of the electronic equipment contained in the equipment information;
determining an alarm state of the electronic device according to the device information and the configuration information;
and if the alarm state is abnormal, sending abnormal information to the user terminal.
2. The device monitoring method according to claim 1, wherein the device information includes: and the electronic equipment comprises at least one of equipment type, equipment data, startup and shutdown data and addition and deletion data.
3. The device monitoring method of claim 2, wherein the configuration information comprises: at least one of a device information storage address, an alarm type, an alarm trigger condition, an alarm clear condition, and an alarm transmission address.
4. The device monitoring method according to claim 3, further comprising, after determining configuration information according to the device type of the electronic device included in the device information:
determining a queue corresponding to the electronic equipment according to the equipment information storage address contained in the configuration information;
and storing the equipment information in at least one queue corresponding to the electronic equipment.
5. The device monitoring method of claim 3, wherein determining an alarm state of the electronic device based on the device information and the configuration information comprises:
determining whether the electronic device meets the alarm triggering condition according to the device data in the device information and the alarm triggering condition in the configuration information;
when the electronic equipment is determined to meet at least one alarm triggering condition, determining the alarm type of the electronic equipment according to the alarm triggering condition met by the electronic equipment;
determining an alarm state according to the alarm type of the electronic device.
6. The device monitoring method according to claim 3, further comprising:
determining whether the electronic device meets the alarm clearing condition according to the device data in the device information and the alarm clearing condition in the configuration information;
and when the electronic equipment is determined to meet the alarm clearing condition, sending normal information to the user terminal.
7. The device monitoring method according to claim 3, wherein sending the abnormal information to the user terminal comprises:
and sending the abnormal information to the user terminal corresponding to the alarm sending address.
8. An apparatus for monitoring equipment, configured on a configuration platform, the configuration platform configured with a root rule chain, the apparatus comprising:
a receiving module, configured to receive, based on the root rule chain, device information sent by an electronic device based on a device rule chain, and determine configuration information according to a device type of the electronic device included in the device information;
a determining module, configured to determine an alarm state of the electronic device according to the device information and the configuration information;
and the sending module is used for sending the abnormal information to the user terminal if the alarm state is abnormal.
9. A server, wherein the server is configured with a root rule chain, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the device monitoring method of any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the device monitoring method of any one of claims 1-7 when executed by a computer processor.
CN202211203422.XA 2022-09-29 2022-09-29 Equipment monitoring method, device, server and storage medium Pending CN115589354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211203422.XA CN115589354A (en) 2022-09-29 2022-09-29 Equipment monitoring method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211203422.XA CN115589354A (en) 2022-09-29 2022-09-29 Equipment monitoring method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN115589354A true CN115589354A (en) 2023-01-10

Family

ID=84778604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211203422.XA Pending CN115589354A (en) 2022-09-29 2022-09-29 Equipment monitoring method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN115589354A (en)

Similar Documents

Publication Publication Date Title
CN109257200B (en) Method and device for monitoring big data platform
CN113468021B (en) Method, device, equipment and storage medium for monitoring performance data
CN112965848A (en) Fusing degradation method, device, equipment and medium for micro service
CN113592337A (en) Fault processing method and device, electronic equipment and storage medium
CN105446801A (en) Task processing method and device in distributed system
CN115589354A (en) Equipment monitoring method, device, server and storage medium
CN116112342A (en) Alarm information processing method, device, electronic equipment and storage medium
CN116431313A (en) Scheduling method, device, equipment and medium for polling task
CN110752972A (en) Network card state monitoring method, device, equipment and medium
CN115543416A (en) Configuration updating method and device, electronic equipment and storage medium
CN113590287B (en) Task processing method, device, equipment, storage medium and scheduling system
CN115421859A (en) Dynamic loading method and device of configuration file, computer equipment and storage medium
CN114885014A (en) Method, device, equipment and medium for monitoring external field equipment state
CN113656239A (en) Monitoring method and device for middleware and computer program product
CN116170278A (en) Alarm processing method and device
CN113220554B (en) Method and apparatus for detecting performance of program code
CN113783769B (en) Method and device for transmitting message in automatic driving and relay equipment
CN115361709A (en) Data sending method, system, loRa node and storage medium
CN116302796A (en) Process monitoring method and device, electronic equipment and storage medium
CN116501968A (en) Method, device, electronic equipment and medium for subscribing internet of things data
CN117611138A (en) Abnormality detection method and device for operation and maintenance equipment and electronic equipment
CN115168140A (en) Port state supervision method and device and port state supervision system
CN115643091A (en) System log monitoring method, device, equipment and medium
CN116668258A (en) Alarm information processing method and device and electronic equipment
CN115914271A (en) Control system alarm method and device, electronic 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