CN110658769B - Unit monitoring system and method - Google Patents

Unit monitoring system and method Download PDF

Info

Publication number
CN110658769B
CN110658769B CN201910991910.3A CN201910991910A CN110658769B CN 110658769 B CN110658769 B CN 110658769B CN 201910991910 A CN201910991910 A CN 201910991910A CN 110658769 B CN110658769 B CN 110658769B
Authority
CN
China
Prior art keywords
rule
equipment
monitoring
unit
processing
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.)
Active
Application number
CN201910991910.3A
Other languages
Chinese (zh)
Other versions
CN110658769A (en
Inventor
安硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Licheng Intelligent Technology Co ltd
Original Assignee
Beijing Licheng Intelligent 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 Licheng Intelligent Technology Co ltd filed Critical Beijing Licheng Intelligent Technology Co ltd
Priority to CN201910991910.3A priority Critical patent/CN110658769B/en
Publication of CN110658769A publication Critical patent/CN110658769A/en
Application granted granted Critical
Publication of CN110658769B publication Critical patent/CN110658769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24024Safety, surveillance

Abstract

The invention discloses a unit monitoring system and a method, wherein the system comprises: the sensor is arranged on the unit equipment and used for acquiring the operation parameters of the unit equipment in real time; the edge computing equipment periodically sends the operation parameters to the monitoring equipment; the monitoring equipment receives the operation parameters, processes the operation parameters of the unit equipment through the rule executive body, and monitors the unit equipment according to the parameter processing result, wherein the monitoring processing comprises at least one of the following steps: fault alarm processing, unit equipment operation control processing and fault log generation processing; the rule execution body is obtained by packaging rule compiled codes, and the rule compiled codes are obtained by compiling the rule codes written by using a target programming language. Compared with the conventional rule engine, the system and the method provided by the embodiment of the invention can realize more complex and flexible monitoring function.

Description

Unit monitoring system and method
Technical Field
The invention relates to the technical field of equipment monitoring, in particular to a unit monitoring system and a unit monitoring method.
Background
Units (such as fan units, generator sets, motor train units and the like in buildings) are generally complex in equipment structure, and faults of the units need to be found and repaired in time.
The current common unit alarm mode is to set a sensor on a unit, establish a rule engine on a monitoring server, compare an operating parameter acquired by the sensor with a threshold value set by the rule by using the rule in the rule engine, judge whether a unit device fails according to a comparison result, and alarm the failure when the failure is judged.
However, the existing rule engine has a single function, realizes simple alarm judgment only by a threshold judgment mode, cannot cope with complex fault conditions caused by complex operation environments of units, and cannot meet various unit monitoring requirements including alarms.
Disclosure of Invention
In view of the above problems, the present invention provides a unit monitoring system and method to improve the diversity of unit monitoring functions and meet the monitoring requirements of complex scenes of the unit.
In one aspect, an embodiment of the present invention provides a unit control system, including:
the sensor is arranged on the unit equipment and used for acquiring the operation parameters of the unit equipment in real time;
the edge computing device is in communication connection with the sensor and comprises a first memory, a first processor and a first communication unit, wherein the first memory is used for storing an edge computing program, and the first processor is used for executing the edge computing program to control the first communication unit to periodically send the operating parameters to the monitoring device;
the monitoring device in communication connection with the edge computing device comprises a second memory, a second processor and a second communication unit, wherein the second memory is used for storing a rule execution body, the second processor is used for receiving the operation parameters through the second communication unit, processing the operation parameters of the unit device through the rule execution body, and monitoring the unit device according to a parameter processing result, and the monitoring processing comprises at least one of the following steps: fault alarm processing, unit equipment operation control processing and fault log generation processing; the rule execution body is obtained by packaging rule compiled codes, and the rule compiled codes are obtained by compiling the rule codes written by using a target programming language.
The unit monitoring system provided by the embodiment of the invention utilizes a target programming language to compile rule codes, and further obtains a rule execution body through compiling and packaging so as to carry out parameter processing on the operation parameters of unit equipment and carry out corresponding monitoring processing according to the parameter processing result. By utilizing the target programming language, more complex and flexible rule codes with more complex functions can be written according to needs, and threshold comparison is not limited, so that more complex and various monitoring functions can be realized, more complex processing can be performed on operating parameters to perform fault alarm, fault log generation can be performed, and even unit equipment can be controlled.
Further, the operation parameter sent by the first communication unit may be stream data; the second memory also stores a data conversion program, a data scheduling program and a monitoring processing program; the monitoring equipment converts the operating parameters into table data by executing a data conversion program; the monitoring equipment searches the equipment type of the unit equipment and first configuration information of each rule execution body through an execution data scheduling program, wherein the first configuration information indicates the equipment type applicable to the rule execution body, and stores the operation parameters in the form of table data to a cache queue corresponding to the rule execution body applicable to the equipment type of the unit equipment; the monitoring equipment reads the operating parameters of the unit equipment from the corresponding cache queue through the execution rule execution body, executes the rule compiling code to process the read operating parameters, and outputs a parameter processing result; and the monitoring equipment performs monitoring processing corresponding to the parameter processing result by executing a monitoring processing program.
Further, before the monitoring device searches for the device type of the set device by executing a data scheduling program: searching the equipment identification information of the unit equipment and second configuration information of each rule executive, wherein the second configuration information indicates the equipment identification information bound by the rule executive; and storing the operation parameters in the form of table data to a cache queue corresponding to the rule execution body bound with the equipment identification information of the unit equipment.
Further, the second memory also stores a middleware program; and the monitoring equipment forwards the parameter processing result to a monitoring execution program through executing a middleware program.
Further, when the monitoring device executes the rule executable, if data is not read from the corresponding cache within a predetermined time period, the monitoring device ends the rule executable.
Further, the second memory stores at least one of the following rules: the alarm rule executive body is used for correspondingly monitoring and processing fault alarm processing when the parameter processing result of the alarm rule executive body is true or the operation parameter is judged to be true by the alarm rule executive body; when the parameter processing result of the alarm log generation rule execution body is true or the operation parameter is judged to be true by the alarm log generation rule execution body, the corresponding monitoring processing is fault log generation processing; and when the parameter processing result of the unit equipment operation control rule executive body is true or the operation parameter is judged to be true by the unit equipment operation control rule executive body, the corresponding monitoring processing is unit equipment operation control processing.
Further, a multi-level rule execution body is stored in the second memory; and the second processor reads data from the corresponding cache queue through the entry rule execution body in the multi-stage rule execution body, processes the data and sends the processed data to the next-stage rule execution body until the parameter processing result is output by the last-stage rule execution body.
Further, the second processor processes the operation parameters of the unit device through a rule executor, including: the second processor obtains an intermediate parameter through a rule execution body, and processes the operation parameter by using the intermediate parameter, wherein the obtaining mode of the intermediate parameter comprises at least one of the following modes: calculation acquisition, acquisition by utilizing a crawler technology, and acquisition through a communication request.
Based on the same inventive concept, an embodiment of the present invention further provides a unit monitoring method, including:
receiving operation parameters of unit equipment;
processing the operating parameters of the unit equipment through a rule execution body, wherein the rule execution body is obtained by packaging a rule compiling code, and the rule compiling code is obtained by compiling the rule code compiled by using a target programming language;
monitoring the unit equipment according to the parameter processing result, wherein the monitoring processing comprises at least one of the following steps: fault alarm processing, unit equipment operation control processing and fault log generation processing.
Further, the method further comprises:
converting the operating parameters in the form of streaming data into tabular data;
searching the equipment type of the unit equipment and first configuration information of each rule execution body, wherein the first configuration information indicates the equipment type applicable to the rule execution body, and storing the operation parameters in the form of table data to a cache queue corresponding to the rule execution body applicable to the equipment type of the unit equipment;
the processing of the operation parameters of the unit equipment by the rule executive body comprises the following steps:
and reading the operating parameters of the unit equipment from the corresponding cache queue through the rule execution body, executing the rule compiling code to process the read operating parameters, and outputting a parameter processing result.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments 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 illustrates a block diagram of a crew device monitoring system according to one embodiment of the present invention;
FIG. 2 illustrates a flow diagram of a crew monitoring method according to one embodiment of the present invention;
FIG. 3 illustrates a rule code configuration interface diagram according to one embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
In some of the flows described in the present specification and claims and in the above figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, with the order of the operations being indicated as 101, 102, etc. merely to distinguish between the various operations, and the order of the operations by themselves does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different signals, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
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.
The embodiment of the invention provides a unit monitoring system which can be used for monitoring various types of units, such as a fan unit of a building, a generator unit, a motor train unit and the like.
As shown in fig. 1, the unit monitoring system provided in the embodiment of the present invention includes the following devices:
and the sensor 101 is arranged on the unit equipment and is used for acquiring the operating parameters of the unit equipment in real time.
In the embodiment of the invention, a plurality of sensors can be arranged on one set of equipment and used for collecting various operation parameters or collecting one operation parameter in a matching way. The embodiment of the invention does not limit the number, types, structures and the like of the sensors, and in practical application, the sensors are installed and deployed according to requirements.
The edge computing device 102 communicatively connected to the sensor 101 includes a first memory 1021, a first processor 1022, and a first communication unit 1023, where the first memory 1021 is used for storing an edge computing program, and the first processor 1022 is used for executing the edge computing program to control the first communication unit 1023 to periodically send the operating parameter to the monitoring device.
In the embodiment of the present invention, the edge computing device and the unit device may be in a one-to-one correspondence relationship, or one edge computing device may correspond to a plurality of unit devices.
In the embodiment of the invention, the edge computing equipment can be communicated with the sensor in a limited or wireless mode, and can also be communicated with the monitoring equipment in a wired or wireless mode; the edge computing device may communicate with the sensor and the monitoring device via the same communication interface or may communicate with the sensor and the monitoring device via different communication interfaces, respectively.
In the embodiment of the invention, the edge computing equipment can also perform data cleaning, caching and other processing on the operation parameters.
In one implementation, the edge computing device communicates with different sensors through different communication interfaces respectively, and pre-stores association relations between the communication interfaces and identification information of the sensors and between the communication interfaces and identification information of the unit equipment, so that after receiving an operation parameter through a certain communication interface, the edge computing device searches for the identification information of the sensor associated with the communication interface and the identification information of the unit equipment, establishes an association relation between the searched information and the operation parameter, and sends the association relation to the monitoring device;
in another implementation manner, the edge computing device communicates with different unit devices through different communication interfaces respectively, and pre-stores an association relationship between the communication interface and device identification information of the unit devices, then, after receiving an operation parameter through a certain communication interface, searches for the device identification information of the unit devices associated with the communication interface, establishes an association relationship between the searched information and the operation parameter, and sends the association relationship to the monitoring device;
in another implementation, the edge computing device and the plant equipment have a one-to-one correspondence, the edge computing device does not need to establish an association relationship between the sensor and/or the plant equipment and the operating parameter, and subsequently, the monitoring device can distinguish different plant equipment according to different edge computing devices and identify the sensor or the detection component of the sensor through the characteristics (such as a characteristic field) of the operating parameter.
The monitoring device 103, communicatively connected to the edge computing device 102, includes a second memory 1031, a second processor 1032 and a second communication unit 1033, where the second memory 1031 is configured to store a rule executor, the second processor 1032 is configured to receive the operating parameter through the second communication unit 1033, process the operating parameter of the unit device through the rule executor, and perform monitoring processing on the unit device according to a parameter processing result, where the monitoring processing includes at least one of: fault alarm processing, unit equipment operation control processing and fault log generation processing; the rule execution body is obtained by packaging rule compiled codes, and the rule compiled codes are obtained by compiling the rule codes written by using a target programming language.
In the embodiment of the present invention, the monitoring devices and the edge computing devices may be in a one-to-one correspondence relationship, or one monitoring device may correspond to a plurality of edge computing devices.
The embodiment of the invention does not limit the target programming language, and the existing programming language or the custom programming language can be selected according to the requirement in practical application. By way of example, and not limitation, the python language may be selected.
The unit monitoring system provided by the embodiment of the invention utilizes a target programming language to compile rule codes, and further obtains a rule execution body through compiling and packaging so as to carry out parameter processing on the operation parameters of unit equipment and carry out corresponding monitoring processing according to the parameter processing result. By utilizing the target programming language, more complex and flexible rule codes with more complex functions can be written according to needs, and threshold comparison is not limited, so that more complex and various monitoring functions can be realized, more complex processing can be performed on operating parameters to perform fault alarm, fault log generation can be performed, and even unit equipment can be controlled.
In an embodiment of the present invention, the operation parameter sent by the first communication unit of the edge computing device may be stream data. Then, the second memory also stores a data conversion program, a data scheduling program and a monitoring processing program; the monitoring equipment converts the operating parameters into table data by executing a data conversion program; the monitoring equipment searches the equipment type of the unit equipment and first configuration information of each rule execution body through an execution data scheduling program, wherein the first configuration information indicates the equipment type applicable to the rule execution body, and stores the operation parameters in the form of table data to a cache queue corresponding to the rule execution body applicable to the equipment type of the unit equipment; the monitoring equipment sequentially reads the operating parameters of the unit equipment from the corresponding cache queue through an execution rule execution body, executes the rule compiling code to process the read operating parameters and outputs a parameter processing result; and the monitoring equipment performs monitoring processing corresponding to the parameter processing result by executing a monitoring processing program.
In the embodiment of the present invention, stream data is also called streaming data, and is a sequence of data that arrives sequentially, massively, rapidly, and continuously, and in general, a data stream can be regarded as a dynamic data set that grows infinitely with time. For the edge computing device, on one hand, each sensor collects and uploads the operation parameters in real time, and on the other hand, if the edge computing device corresponds to a plurality of sensors/a plurality of unit devices, the sensors of each unit device collect and upload the operation parameters in real time, so that the operation parameters sent by the edge computing device are streaming data.
In the embodiment of the present invention, table data is also referred to as tabular data, which refers to grouping the tabular data according to, but not limited to, a unit device. Taking a unit device as an example, the streaming data includes operation parameters of a plurality of unit devices, and then, in the table data, the operation parameter of one unit device corresponds to one group of table data, and the operation parameters of different unit devices correspond to different table data; of course, the tabular data may also be defined in multiple dimensions, for example, the tabular data may be determined not only by the unit equipment but also by the detection time, and then the operating parameters of the same unit equipment and in the same time period are divided into the same set of tabular data.
In the embodiment of the invention, different grouping granularities are supported, and correspondingly, the definition of the unit equipment is different. By way of example and not limitation, in one implementation, the unit device refers to the entire unit, and in another implementation, the unit device refers to each component in the unit, such as a bearing, that is, one unit device. In practical application, the specific meaning of the unit equipment can be flexibly determined according to the requirement.
In the embodiment of the invention, the monitoring equipment can be single equipment or can be composed of a plurality of independent equipment. If the monitoring device is composed of a plurality of independent devices, the devices may be in a distributed architecture or in other deployment architectures, and accordingly, a computer program running on the monitoring device may be centralized on one device or may be distributed on a plurality of devices to cooperate with the above functions of the monitoring device. In practical applications, each computer program of the monitoring device, such as the data conversion program, the data scheduling program, and the monitoring processing program, may be an independent program file, or may be different code segments in one program file.
In the embodiment of the present invention, the data scheduler searches for the device type of the unit device in a plurality of implementation manners. For example, if the edge computing device sends the association relationship between the device identification information (or the identification information of the sensor) of the searched unit device and the operation parameter to the monitoring device, the data scheduling program may search the device identification information of the unit device through the association relationship, and further search the device type corresponding to the device identification information (that is, the device type of the unit device) according to the association relationship between the pre-stored device identification information and the device type; for another example, the edge computing devices correspond to the unit devices one to one, and the edge computing devices send the operating parameters, which usually carry their own identification information, so that the data scheduling program searches for the device types of the unit devices according to the pre-stored association relationship between the device identification information of the edge computing devices and the device type information of the unit devices; for another example, the operation parameter includes a field indicating a device type, and the data scheduler determines the device type of the group device through the field.
In the embodiment of the invention, the data scheduling program performs data scheduling by taking the table data as a unit, so that the efficiency of data scheduling can be improved. In practical application, in order to ensure the accuracy of the monitoring result, the same detection target needs to be continuously detected for a period of time (i.e. the rule executive body processes the operation parameters of the same unit device within a period of time, and if the processing results are the same or most of the processing results are the same, the rule executive body can be used as the final processing result), in this case, if the table data is converted at least based on the time dimension, i.e. the operation parameters of the same unit device and within the same detection period of time are converted into the same set of table data, the data scheduling module caches the operation parameters to the cache queue with the table data as the unit, the rule executive body processes a set of table data, i.e. processes the operation parameters within a detection period of time, no additional timer is needed to record the detection time, the division of the table data can be based on the timestamp, the implementation mode is simple, and the processing efficiency is improved.
In the embodiment of the present invention, as described above, the required monitoring function can be implemented by writing the rule code in the target programming language. By way of example and not limitation, based on a classification, the second memory of the monitoring device stores at least one of the following rule executors:
the alarm rule executive body is used for correspondingly monitoring and processing fault alarm processing when the parameter processing result of the alarm rule executive body is true or the operation parameter is judged to be true by the alarm rule executive body;
when the parameter processing result of the alarm log generation rule execution body is true or the operation parameter is judged to be true by the alarm log generation rule execution body, the corresponding monitoring processing is fault log generation processing;
and when the parameter processing result of the unit equipment operation control rule executive body is true or the operation parameter is judged to be true by the unit equipment operation control rule executive body, the corresponding monitoring processing is unit equipment operation control processing.
It should be noted that, in practical applications, for example, the same rule executor may be an alarm rule executor or a unit equipment operation control rule executor, and then, according to a parameter processing result of the rule executor, both a fault alarm and a control of the unit equipment are performed.
It should be noted that, for different rule executors, if the operating parameters processed by the rule executors or the processing results of the obtained parameters are not true, no processing may be performed, or a fault log may be generated and saved.
In the embodiment of the present invention, the rule executer may be of various types, which is taken as an example and not limited, and may include an authentication rule and an execution rule, and for the authentication rule, if it also belongs to the alarm rule executer, an alarm is given when the processing operation parameter is true, and for the execution rule, if it also belongs to the alarm rule executer, an alarm is given when the processing result of the processing parameter is true.
In the embodiment of the present invention, by way of example and not limitation, the parameter processing result may include, but is not limited to, at least one of the following parameter information: identification information of the rule executer, trigger time of the monitoring process and operation parameters of the monitoring process. So that the monitoring processing program can make correspondent processing according to these parameter information. For example, if the monitoring process is to generate a fault log, then the parameter information included in the parameter processing result is recorded in the fault log; if the monitoring processing is fault alarm, displaying all or part of parameter information carried in the parameter processing result as alarm content, or searching all or part of alarm content associated with the parameter information according to a pre-stored association relation for displaying; if the monitoring processing is unit equipment control, the target unit equipment needing to be controlled is searched at least according to the operation parameters carried in the parameter processing result, and the target unit equipment is controlled.
In the embodiment of the present invention, the rule executor may have only one stage or may have multiple stages. The multi-stage rule executer is used for calling the next stage rule executer to continuously process the processing result after the processing of the first stage rule executer is finished. Specifically, the second memory stores a plurality of levels of rule executors; and the second processor reads data from the corresponding cache queue through the entry rule execution body in the multi-stage rule execution body, processes the data and sends the processed data to the next-stage rule execution body until the parameter processing result is output by the last-stage rule execution body.
In the embodiment of the present invention, as described above, more complex functions, such as operations, crawlers, and communications, may be implemented as needed. For such a situation, when the second processor processes the operating parameters of the plant equipment through the rule executor, specifically, the rule executor may obtain intermediate parameters, and process the operating parameters by using the intermediate parameters, where the obtaining manner of the intermediate parameters includes at least one of the following: calculation acquisition, acquisition by utilizing a crawler technology, and acquisition through a communication request.
On the basis of any system implementation manner, before the monitoring device searches the device type of the unit device through a data scheduling program, the monitoring device searches device identification information of the unit device and second configuration information of each rule executor, wherein the second configuration information indicates device identification information bound by the rule executor; and storing the operation parameters in the form of table data to a cache queue corresponding to the rule execution body bound with the equipment identification information of the unit equipment.
In the embodiment of the present invention, the data scheduler may search for the device identification information of the unit device in a variety of ways. For example, if the edge computing device sends the association relationship between the found device identification information of the unit device (or the identification information of the sensor) and the operation parameter to the monitoring device together with the operation parameter, the data scheduling program may find the device identification information of the unit device through the association relationship; for another example, the edge computing devices correspond to the unit devices one to one, and the edge computing devices send the operating parameters, which usually carry their own identification information, so that the data scheduling program searches the device identification information of the unit devices according to the pre-stored association relationship between the device identification information of the edge computing devices and the device identification information of the unit devices; for another example, the operation parameter includes a field indicating device identification information, and the data scheduler determines the device identification information of the unit device through the field.
In one implementation, if the rule executor bound to the device identifier information of the unit device is found, it is not necessary to find an applicable rule executor for the operating parameter of the unit device.
In another implementation manner, whether the rule executer bound with the equipment identification information of the unit equipment is found or not, the applicable rule executer is found.
On the basis of any system implementation mode, the second memory also stores a middleware program; and the monitoring equipment forwards the parameter processing result to a monitoring execution program through executing a middleware program.
As mentioned above, the monitoring device may be composed of a plurality of devices, and then the second memory may also be a plurality of memories distributed on a plurality of devices, and the second processor may also be a plurality of processors distributed on a plurality of devices.
On the basis of any system implementation manner, when the monitoring device executes the rule execution body, if data is not read from the corresponding cache within a predetermined time period, the monitoring device ends the rule execution body.
In the embodiment of the invention, the calling of the rule execution body is triggered and maintained by the data source, and if the cache queue does not continuously have data to be processed, the rule execution body can be ended, so that the processing resources are saved.
Based on the same inventive concept, an embodiment of the present invention further provides a unit monitoring method, as shown in fig. 2, including:
step 201, receiving operation parameters of the unit equipment.
The specific obtaining manner of the operation parameters of the unit device may refer to the description of the system embodiment, and is not described herein again.
Step 202, processing the operation parameters of the unit equipment through a rule execution body, wherein the rule execution body is obtained by packaging a rule compiling code, and the rule compiling code is obtained by compiling the rule code compiled by using a target programming language.
Step 203, performing monitoring processing on the unit equipment according to the parameter processing result, wherein the monitoring processing includes at least one of the following steps: fault alarm processing, unit equipment operation control processing and fault log generation processing.
Further, the method further comprises:
converting the operating parameters in the form of streaming data into tabular data;
searching the equipment type of the unit equipment and first configuration information of each rule execution body, wherein the first configuration information indicates the equipment type applicable to the rule execution body, and storing the operation parameters in the form of table data to a cache queue corresponding to the rule execution body applicable to the equipment type of the unit equipment;
the processing of the operation parameters of the unit equipment by the rule executive body comprises the following steps:
and reading the operating parameters of the unit equipment from the corresponding cache queue through the rule execution body, executing the rule compiling code to process the read operating parameters, and outputting a parameter processing result.
Further, before the device type of the unit device is searched, device identification information of the unit device and second configuration information of each rule executor are searched, wherein the second configuration information indicates device identification information bound by the rule executor; and storing the operation parameters in the form of table data to a cache queue corresponding to the rule execution body bound with the equipment identification information of the unit equipment.
Further, the parameter processing result is forwarded to the monitoring executive program through the execution middleware program.
Further, when the rule executor is executed, if the data is not read from the corresponding cache within a predetermined time period, the rule executor is ended.
Further, there is at least one of the following rule executors:
the alarm rule executive body is used for correspondingly monitoring and processing fault alarm processing when the parameter processing result of the alarm rule executive body is true or the operation parameter is judged to be true by the alarm rule executive body;
when the parameter processing result of the alarm log generation rule execution body is true or the operation parameter is judged to be true by the alarm log generation rule execution body, the corresponding monitoring processing is fault log generation processing;
and when the parameter processing result of the unit equipment operation control rule executive body is true or the operation parameter is judged to be true by the unit equipment operation control rule executive body, the corresponding monitoring processing is unit equipment operation control processing.
Further, there are multiple levels of rule executors; and reading data from the corresponding cache queue through the entry rule executer in the multi-stage rule executer, processing the data and then sending the processed data to the next stage rule executer until a parameter processing result is output by the last stage rule executer.
Further, the processing of the operation parameters of the unit equipment by the rule execution body includes:
acquiring an intermediate parameter through a rule execution body, and processing the operation parameter by using the intermediate parameter, wherein the acquisition mode of the intermediate parameter comprises at least one of the following modes: calculation acquisition, acquisition by utilizing a crawler technology, and acquisition through a communication request.
The following exemplifies the unit monitoring method provided in the embodiment of the present invention with reference to a specific application scenario.
In the application scenario, a fan unit of a building is monitored, specifically, sensors are installed on each unit device (such as a valve and a bearing) to be monitored of the fan unit, an edge computing device is deployed, the edge computing device obtains operating parameters acquired by each sensor in real time, and the operating parameters are subjected to data cleaning and then sent to a designated server in a streaming data mode. Specifically, the edge computing device generates stream data according to a predetermined data format, where each stream data includes an operation parameter and device identification information of the unit device corresponding to the operation parameter.
The specified server is pre-configured with a plurality of rule execution bodies, and each rule execution body is obtained by compiling and packaging a rule code written by a target programming language.
Specifically, the server invokes a rule configuration interface, and the staff inputs rule codes through the interface and configures relevant parameters for the rule codes. By way of example, and not limitation, the rule configuration interface is shown in FIG. 3.
Inputting a rule code in an input box control corresponding to the rule DSL, and acquiring the rule code through the input box control by an appointed server, compiling and packaging;
selecting a rule type through a pull-down selection box control corresponding to the DSL mode, wherein the rule type can be but is not limited to verification, execution and the like, and the specified server obtains the rule type corresponding to the rule code through the pull-down selection box control;
selecting a processing mode under the condition of lacking data, such as a pre-value, through a pull-down selection box corresponding to lacking data processing;
inputting the detection duration through an input box control corresponding to the detection duration, wherein the option can be vacant or can be a system default value;
inputting the device type (i.e. the first configuration information) applicable to the rule code (rule execution body) through an input box control corresponding to the device type, and designating the server to acquire the device type applicable to the rule code through the input box control; if the data is not acquired from the input box control, determining that the rule code is suitable for all equipment types;
clicking a key control corresponding to the equipment binding, calling an equipment binding input box control by using a specified server when detecting the click event, and acquiring equipment identification information of the unit equipment corresponding to the rule code (rule execution body) through the equipment binding input box control;
inputting an alarm title through an input frame control corresponding to the alarm title, acquiring the alarm title through the input frame control by an appointed server, and displaying the alarm title as alarm content when fault alarm is required;
inputting an alarm reason through an input frame control corresponding to the alarm reason, acquiring the alarm reason through the input frame control by an appointed server, and displaying the alarm reason as alarm content when a fault alarm is required;
and selecting the alarm type through a drop-down selection box control corresponding to the alarm classification, and selecting the alarm level through a drop-down selection box control corresponding to the alarm level.
The appointed server executes a data conversion program, converts the received operation parameters in the form of stream data into table data, and specifically, takes the operation parameters of the same set of equipment and within the same detection time period as the same set of table data;
the appointed server executes a data scheduling program, searches equipment identification information bound by each rule executive, respectively searches equipment identification information corresponding to the operation parameters in each group of table data, determines the rule executive bound by the equipment identification information corresponding to each group of table data through matching, and stores the corresponding operation parameters into a cache queue of the rule executive by taking the table data as a unit; in addition, the device types suitable for each rule execution body are searched, the device types corresponding to the device identification information corresponding to each group of table data are searched, the rule execution body suitable for each group of table data is determined through matching, and the table data is stored in the cache queue after the corresponding table data is determined not to be stored in the cache queue of the rule execution body;
and the appointed server executes each rule execution body, each rule reads the operation parameters from the cache queue in sequence, and the execution bodies process the operation parameters by executing corresponding rule compiling codes.
For part of rule executors, acquiring intermediate parameters to process the operation parameters, and acquiring the intermediate parameters in modes of operation, crawling or communication request and the like; taking the valve temperature as an example, if the rule execution body needs to process the valve temperature by using the wet bulb temperature, calculating the wet bulb temperature by using the relevant operation parameters sent by the edge calculation node, and further processing the valve temperature by using the wet bulb temperature; for another example, if the rule execution body needs to process the operation parameters of a certain unit device by using the local real-time PM2.5 parameters, the rule execution body obtains the local real-time PM2.5 parameters by using a crawler technology, and further processes the operation parameters by using the local real-time PM2.5 parameters.
After the operation parameters of part of the rule executors are processed, the next-level rule executors are called, and the parameter processing results are output to the next-level rule executors.
And the rule executive body sends the parameter operation result and the configuration parameter I of the rule executive body to the middleware program.
And the appointed server calls the middleware program, searches the monitoring processing program corresponding to each parameter processing result and sends the parameter processing result to the corresponding monitoring processing program. Specifically, a corresponding monitoring processing program is searched for in combination with a rule execution body corresponding to the parameter processing result and the specific content of the parameter processing result. As an example and not by way of limitation, if the parameter processing result is output by a certain rule execution body, the monitoring processing program corresponding to the rule execution body is searched, and since the rule execution body corresponds to two monitoring processing programs, each monitoring processing program corresponds to one parameter processing result, and the rule execution body corresponding to each monitoring processing program is further searched according to the content of the parameter processing result.
Taking the verification execution rule body as an example, the parameter processing result includes the following information: the operation parameter verification result, the identification information of the rule execution body, the trigger time of the monitoring processing and the operation parameter of the triggering monitoring processing.
And the appointed server executes the monitoring processing program, alarms according to the alarm title and the alarm reason in the received configuration information, and determines an alarm object according to the alarm level in the received configuration information.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
While the fatigue detection method and apparatus provided by the present invention have been described in detail, for those skilled in the art, there are variations in the specific implementation and application scope according to the idea of the embodiments of the present invention, and in summary, the content of the present description should not be construed as a limitation to the present invention.

Claims (8)

1. A unit monitoring system, comprising:
the sensor is arranged on the unit equipment and used for acquiring the operation parameters of the unit equipment in real time;
the edge computing device is in communication connection with the sensor and comprises a first memory, a first processor and a first communication unit, wherein the first memory is used for storing an edge computing program, and the first processor is used for executing the edge computing program to control the first communication unit to periodically send the operating parameters to the monitoring device;
the monitoring device in communication connection with the edge computing device comprises a second memory, a second processor and a second communication unit, wherein the second memory is used for storing a rule execution body, the second processor is used for receiving the operation parameters through the second communication unit, processing the operation parameters of the unit device through the rule execution body, and monitoring the unit device according to a parameter processing result, and the monitoring processing comprises at least one of the following steps: fault alarm processing, unit equipment operation control processing and fault log generation processing; the rule execution body is obtained by packaging a rule compiling code, and the rule compiling code is obtained by compiling the rule code compiled by using a target programming language;
the operation parameter sent by the first communication unit is stream data;
the second memory also stores a data conversion program, a data scheduling program and a monitoring processing program;
the monitoring equipment converts the operating parameters into table data by executing a data conversion program;
the monitoring equipment searches the equipment type of the unit equipment and first configuration information of each rule execution body through an execution data scheduling program, wherein the first configuration information indicates the equipment type applicable to the rule execution body, and stores the operation parameters in the form of table data to a cache queue corresponding to the rule execution body applicable to the equipment type of the unit equipment;
the monitoring equipment reads the operating parameters of the unit equipment from the corresponding cache queue through the execution rule execution body, executes the rule compiling code to process the read operating parameters, and outputs a parameter processing result;
and the monitoring equipment performs monitoring processing corresponding to the parameter processing result by executing a monitoring processing program.
2. The system of claim 1, wherein the monitoring device searches the device type of the crew device by executing a data scheduler before:
searching the equipment identification information of the unit equipment and second configuration information of each rule executive, wherein the second configuration information indicates the equipment identification information bound by the rule executive;
and storing the operation parameters in the form of table data to a cache queue corresponding to the rule execution body bound with the equipment identification information of the unit equipment.
3. The system of claim 1 or 2, wherein the second memory further holds a middleware program;
and the monitoring equipment forwards the parameter processing result to a monitoring execution program through executing a middleware program.
4. The system according to claim 1 or 2, wherein the monitoring device ends the rule executor if data is not read from the corresponding cache within a predetermined time period when the monitoring device executes the rule executor.
5. The system according to claim 1 or 2, wherein the second memory stores therein at least one of the following rule executors:
the alarm rule executive body is used for correspondingly monitoring and processing fault alarm processing when the parameter processing result of the alarm rule executive body is true or the operation parameter is judged to be true by the alarm rule executive body;
when the parameter processing result of the alarm log generation rule execution body is true or the operation parameter is judged to be true by the alarm log generation rule execution body, the corresponding monitoring processing is fault log generation processing;
and when the parameter processing result of the unit equipment operation control rule executive body is true or the operation parameter is judged to be true by the unit equipment operation control rule executive body, the corresponding monitoring processing is unit equipment operation control processing.
6. The system according to claim 1 or 2, wherein a plurality of levels of rule executors are stored in the second memory;
and the second processor reads data from the corresponding cache queue through the entry rule execution body in the multi-stage rule execution body, processes the data and sends the processed data to the next-stage rule execution body until the parameter processing result is output by the last-stage rule execution body.
7. The system according to claim 1 or 2, wherein the second processor processes the operating parameters of the plant equipment through a rule executor, including:
the second processor obtains an intermediate parameter through a rule execution body, and processes the operation parameter by using the intermediate parameter, wherein the obtaining mode of the intermediate parameter comprises at least one of the following modes: calculation acquisition, acquisition by utilizing a crawler technology, and acquisition through a communication request.
8. A method for monitoring a unit, comprising: receiving operation parameters of unit equipment;
processing the operating parameters of the unit equipment through a rule execution body, wherein the rule execution body is obtained by packaging a rule compiling code, and the rule compiling code is obtained by compiling the rule code compiled by using a target programming language;
monitoring the unit equipment according to the parameter processing result, wherein the monitoring processing comprises at least one of the following steps: fault alarm processing, unit equipment operation control processing and fault log generation processing;
the method further comprises the following steps:
converting the operating parameters in the form of streaming data into tabular data;
searching the equipment type of the unit equipment and first configuration information of each rule execution body, wherein the first configuration information indicates the equipment type applicable to the rule execution body, and storing the operation parameters in the form of table data to a cache queue corresponding to the rule execution body applicable to the equipment type of the unit equipment;
the processing of the operation parameters of the unit equipment by the rule executive body comprises the following steps:
and reading the operating parameters of the unit equipment from the corresponding cache queue through the rule execution body, executing the rule compiling code to process the read operating parameters, and outputting a parameter processing result.
CN201910991910.3A 2019-10-17 2019-10-17 Unit monitoring system and method Active CN110658769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910991910.3A CN110658769B (en) 2019-10-17 2019-10-17 Unit monitoring system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910991910.3A CN110658769B (en) 2019-10-17 2019-10-17 Unit monitoring system and method

Publications (2)

Publication Number Publication Date
CN110658769A CN110658769A (en) 2020-01-07
CN110658769B true CN110658769B (en) 2020-12-29

Family

ID=69041491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910991910.3A Active CN110658769B (en) 2019-10-17 2019-10-17 Unit monitoring system and method

Country Status (1)

Country Link
CN (1) CN110658769B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115044B (en) * 2021-11-26 2023-09-01 武汉锐科光纤激光技术股份有限公司 Monitoring method, system and device of welding equipment, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354283A (en) * 2011-09-20 2012-02-15 天津智康医疗科技有限公司 Method for constructing rule base and method for checking data by utilizing rule base
CN107895176A (en) * 2017-11-13 2018-04-10 国网湖南省电力有限公司 A kind of mist computing system and method towards water power group of planes wide area monitoring, diagnosing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201332704A (en) * 2012-02-10 2013-08-16 中原大學 Cutting edge chip-buildup monitoring method
CN109684171B (en) * 2018-12-17 2021-01-08 珠海格力电器股份有限公司 Data monitoring method and device for unit equipment, unit equipment and system
CN110288146A (en) * 2019-06-21 2019-09-27 广州远正智能科技股份有限公司 A kind of energy resources information collecting method, device and readable storage medium storing program for executing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354283A (en) * 2011-09-20 2012-02-15 天津智康医疗科技有限公司 Method for constructing rule base and method for checking data by utilizing rule base
CN107895176A (en) * 2017-11-13 2018-04-10 国网湖南省电力有限公司 A kind of mist computing system and method towards water power group of planes wide area monitoring, diagnosing

Also Published As

Publication number Publication date
CN110658769A (en) 2020-01-07

Similar Documents

Publication Publication Date Title
Wang et al. Feature-level attention-guided multitask CNN for fault diagnosis and working conditions identification of rolling bearing
CN106940679B (en) Data processing method and device
US20190163552A1 (en) System and method for contextual event sequence analysis
US20180219722A1 (en) Proactive fault detection and diagnostics for networked node transaction events
CN110796366A (en) Quality difference cell identification method and device
CN112199671A (en) Artificial intelligence-based malicious data analysis method and device and electronic device
CN115048370B (en) Artificial intelligence processing method for big data cleaning and big data cleaning system
CN110658769B (en) Unit monitoring system and method
CN111913824B (en) Method for determining data link fault cause and related equipment
CN110245077A (en) A kind of response method and equipment of program exception
CN111930526A (en) Load prediction method, load prediction device, computer equipment and storage medium
CN111738467A (en) Running state abnormity detection method, device and equipment
CN114095032B (en) Data stream compression method based on Flink and RVR, edge computing system and storage medium
CN107203464B (en) Method and device for positioning service problem
CN106599222B (en) Method and equipment for processing logs in streaming parallel
CN111897634A (en) Operator operation method and device, storage medium and electronic device
CN116826961A (en) Intelligent power grid dispatching and operation and maintenance system, method and storage medium
CN116302989A (en) Pressure testing method and system, storage medium and computer equipment
CN110673587B (en) Unit monitoring system
US20170293292A1 (en) Rule based real-time data stream-processing method and apparatus thereof
KR102519132B1 (en) System and method for operating self-growing software based on microservice
CN114500101B (en) Cloud game vulnerability analysis method based on cloud computing and server
CN114697234B (en) Intelligent data reporting cable
CN116582462B (en) Converged service monitoring method and device
CN113535594B (en) Method, device, equipment and storage medium for generating service scene test case

Legal Events

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