CN117596271A - Method, system, device and storage medium for monitoring equipment operation - Google Patents

Method, system, device and storage medium for monitoring equipment operation Download PDF

Info

Publication number
CN117596271A
CN117596271A CN202311739732.8A CN202311739732A CN117596271A CN 117596271 A CN117596271 A CN 117596271A CN 202311739732 A CN202311739732 A CN 202311739732A CN 117596271 A CN117596271 A CN 117596271A
Authority
CN
China
Prior art keywords
state
equipment
state variable
data
monitoring
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
CN202311739732.8A
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Gree Intelligent Equipment Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311739732.8A priority Critical patent/CN117596271A/en
Publication of CN117596271A publication Critical patent/CN117596271A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a method, a system, a device and a storage medium for monitoring equipment operation, which comprise the following steps: acquiring state information of equipment; setting a state variable according to the equipment state information and establishing a mapping relation between equipment and the state variable; and transmitting the state variable to a server by using the message queue, performing color management according to the state variable, and displaying the equipment state in different colors according to the mapping relation through the front end. According to the invention, the state variables are output by collecting real-time data, the state variable data are transmitted to the RabbitMQ service, then the service data are read by the webpage client, the webpage is displayed by utilizing the color management strategy, the data interaction between the SMS monitoring service and the RabbitMQ service is opened, the equipment monitoring information visualization degree is higher, the one-to-many deployment of the SMS monitoring service and the webpage client is realized, the application range is wider, the system deployment is more convenient, and the monitoring content is more comprehensive.

Description

Method, system, device and storage medium for monitoring equipment operation
Technical Field
The invention relates to the technical field of information monitoring of industrial control equipment, in particular to a method, a system, a device and a storage medium for monitoring equipment operation.
Background
In the traditional industrial control industry, a WIn form window or Wpf window system is adopted for equipment information monitoring by an industrial control system, so that the software has great limitation in installation and deployment. The traditional industrial control industry can only realize single-machine deployment in the data monitoring of equipment running state, equipment attribute, log information and the like, and the monitoring is inconvenient.
Disclosure of Invention
Aiming at the problems of great limitation and inconvenient monitoring of monitoring deployment of industrial control equipment, the invention provides a monitoring method, a system, a device and a storage medium for equipment operation, wherein real-time data of equipment operation is acquired through a monitoring service, a plurality of equipment state attribute information is uniformly collected and summarized and is pushed to a front end through a message queue, the front end reads data according to different authority attributes and displays equipment states through different colors, information flows are synchronous and data flows are shared, and the effects of more comprehensive monitoring range and higher monitoring identification degree are realized.
In order to achieve the above purpose, the invention adopts the following technical scheme: a method of monitoring operation of a device, comprising:
acquiring state information of equipment;
setting a state variable according to the equipment state information and establishing a mapping relation between equipment and the state variable;
and transmitting the state variable to a server by using the message queue, performing color management according to the state variable, and displaying the equipment state in different colors according to the mapping relation through the front end.
As a further improvement of the present invention, the acquiring the status information of the device includes:
creating a monitoring service to construct a data acquisition channel;
acquiring real-time data of equipment through a data acquisition channel, wherein the equipment is a plurality of industrial control equipment controlled by a PLC (programmable logic controller);
and configuring the real-time data in the data file, filling the acquisition information points according to the details of the data file, wherein the acquisition information at least comprises state information and equipment identification.
As a further improvement of the present invention, the setting a state variable according to the device state information and establishing a mapping relationship between the device and the state variable includes:
reading state information in the data file through a monitoring service;
judging the state attribute of the equipment according to the state information, and setting a state variable;
the state variables are associated with the device identifications to establish a mapping relationship.
As a further improvement of the present invention, the determining the attribute of the state of the device according to the state information includes:
judging whether the alarm state of the current equipment alarms or not: if the alarm state is in, setting a state variable as the alarm state; otherwise, continuously judging whether the running mode of the current equipment is automatic or not:
if the state variable is in the manual mode, setting the state variable as the manual mode; if the device is in the automatic mode, continuing to judge whether the state of the current device is idle:
if yes, setting a state variable as an idle state; if not, the state variable is set as a busy state.
As a further improvement of the present invention, the transmitting the state variable to the server in the message queue includes:
acquiring a state variable and acquiring a device identifier according to the mapping relation of the state variable;
naming the queue name by the equipment identifier and pushing the generated message to the message queue by the state variable;
and the server consumes the state variable of the corresponding mapping relation according to the equipment identifier and pushes the message to the front end.
As a further improvement of the present invention, the color management according to the state variables and the display of the device states in different colors according to the mapping relation by the front end includes:
the front end determines a color region for displaying corresponding equipment according to the mapping relation and marks the equipment identification;
when a state variable of a device is an alarm state, the color area is displayed in a first color;
when the state variable of the equipment is in a manual mode, the color area is displayed in a second color;
when the state variable of a device is in an idle state, the color area is displayed in a third color;
when a state variable of a device is in a busy state, the color region is displayed in a fourth color.
On the other hand, the invention adopts the following technical scheme: a monitoring system for operation of a device, comprising:
the acquisition module is used for acquiring the state information of the equipment;
the judging module is used for judging the state attribute according to the state information, outputting the state variable of each device and establishing the mapping relation between the device and the state variable;
the message queue module is used for receiving data of a named queue name by the equipment identifier and a production message by taking a state variable as a state variable, and storing the data in the queue;
the server is used for consuming the state variables of the corresponding mapping relation according to the equipment identification and pushing the message to the front end;
and the front end is used for carrying out color management according to the state variables and displaying the states of the equipment in different colors according to the mapping relation.
As a further improvement of the present invention, there is also included:
the PLC module is used for controlling the operation of the equipment and collecting real-time data of the operation of the equipment;
the monitoring service is used for constructing a data acquisition channel with the PLC module, acquiring real-time data of the equipment through the data acquisition channel, configuring the real-time data in a data file, and filling and acquiring information points according to the details of the data file.
On the other hand, the invention adopts the following technical scheme: a device for monitoring operation of an apparatus comprising a memory and a processor for executing a method for monitoring operation of an apparatus as described in any one of the preceding claims by invoking a control program stored in the memory.
On the other hand, the invention adopts the following technical scheme: a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform a method of monitoring operation of an apparatus as claimed in any one of the preceding claims.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, the SMS monitoring service is created, the S7netplus communication protocol is cited for self-adaptive development, data communication with equipment controlled by the PLC is realized, a transmission channel is provided for data acquisition, real-time data is configured in a devicedata.csv file, information point positions are acquired by filling equipment, state variables are output through the acquisition of the real-time data, the state variable data are transmitted to RabbitMQ service, then a webpage client side carries out service data reading, and a color management strategy is utilized for carrying out webpage display, data interaction between the SMS monitoring service and the RabbitMQ service is realized, the equipment monitoring information visualization degree is higher, the SMS monitoring service and the webpage client side are deployed one to many, the application range is wider, the system deployment is more convenient, and the supervision monitoring content is more comprehensive.
Drawings
For a clearer description of the technical solutions, the drawings that are required to be used in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an architecture of an embodiment.
Fig. 2 is a schematic flow chart of an embodiment.
Detailed Description
In order that the manner in which a fully and completely understood embodiment of the invention may be readily understood, it is intended that the invention be further described in connection with the accompanying drawings, in which it is to be understood that the embodiments described are merely illustrative of some of the invention and that all other embodiments may be made by those skilled in the art without the benefit of the inventive faculty.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the invention provides a monitoring method for equipment operation, which is characterized in that an SMS monitoring service is created, an S7netplus communication protocol is used for self-adaptive development, data communication with equipment controlled by a PLC is realized, a transmission channel is provided for data acquisition, real-time data is configured in a devicedata.csv file, information points are acquired by filling equipment, state variables are output through acquisition of the real-time data, the state variables are transmitted to a RabbitMQ service, a webpage client is used for service data reading, a webpage is displayed by utilizing a color management strategy, data interaction between the SMS monitoring service and the RabbitMQ service is opened, the equipment monitoring information visualization degree is higher, the SMS monitoring service and the webpage client are deployed in a one-to-many mode, the application range is wider, the system deployment is more convenient, and the monitoring content is more comprehensive.
Specifically, as shown in fig. 1 and fig. 2, a method for monitoring operation of a device includes:
creating a monitoring service to construct a data acquisition channel;
acquiring real-time data of equipment through a data acquisition channel, wherein the equipment is a plurality of industrial control equipment controlled by a PLC (programmable logic controller);
real-time data are configured in a data file, and acquisition information points are filled according to details of the data file, wherein the acquisition information at least comprises state information and equipment identification;
acquiring state information of equipment;
setting a state variable according to the equipment state information and establishing a mapping relation between equipment and the state variable;
and transmitting the state variable to a server by using the message queue, performing color management according to the state variable, and displaying the equipment state in different colors according to the mapping relation through the front end.
In the above steps, the creation of the monitoring service is to write the SMS monitoring service by using Visual Studio programming software, autonomously develop PLC communication service based on S7 protocol, and process the service logic design of multiple modules such as equipment module, instruction module, log module, etc. in the monitoring system by using the multithreading technology.
It should be noted that, the embodiment does not limit any form of logic program for designing SMS monitoring service by Visual Studio, and a person skilled in the art can set the logic program of the monitoring service by himself according to actual use requirements, as long as the logic program can realize text information or data interaction with devices, including data transmission with PLC, the SMS monitoring service of the embodiment autonomously develops SMS monitoring system communication protocol based on S7netplus component for realizing data communication with devices controlled by PLC, the conventional read-write mode of PLC internal data is to use touch screen configuration, PLC can easily establish connection with HMI and transmit data, and S7netplus provides another connection idea for us, so that we can read and write data inside PLC by using c#, but the embodiment constructs data acquisition channel not limited thereto.
The real-time data of the equipment is acquired through a data acquisition channel, the equipment is a plurality of industrial control equipment controlled by a PLC (programmable logic controller), namely a programmable logic controller (Programmable Logic Controller, PLC for short), which is a digital electronic equipment with a microprocessor and is used for automatically controlling the digital logic controller, and control instructions can be loaded into a memory at any time for storage and operation. The programmable logic controller is formed by modularly combining an internal CPU, an instruction and data memory, an input and output unit, a power module, a digital analog unit and the like. PLCs can receive (input) and send (output) various types of electrical or electronic signals and use them to control or monitor almost all kinds of mechanical and electrical systems. The operation of the equipment is controlled through the PLC, real-time data of the operation of the equipment are collected, and the real-time data are output to the SMS monitoring service through a data collection channel.
The SMS monitoring service obtains real-time data through data collection, configures the real-time data in a data file, adopts a multi-device integration mode to uniformly collect and summarize a plurality of device state attribute information, fills collected information points according to the details of the data file, and the collected information comprises state information (alarm state, heartbeat signal, task information, task type, running mode and the like), device identification (device name, device number and the like), information type and the like.
It will be appreciated by those skilled in the art that the data file CSV (Comma Separated Values) is a simple and practical file format for storing and representing various types of data including text, numerical Values, and the like. CSV files are typically named CSV as file extension. One notable feature of this file format is: the data in the file is separated by commas and is presented in a tabular form, and CSV files have been widely used for storing, transmitting and editing data. The embodiment does not limit details of the data file in any way, and a technician can set the details according to actual use requirements, and in some embodiments, contents of the data file are shown as follows through a device data table:
the SMS monitoring service of this embodiment achieves split control of device state operation by reading real-time data in the data file and grouping the data according to the device name. The real-time data of the equipment is acquired, the state variables are output and transmitted to the RabbitMQ service, and then the data are read by a webpage client and displayed by utilizing a color management strategy.
In an alternative embodiment, the setting the state variable according to the device state information and establishing the mapping relationship between the device and the state variable includes:
reading state information in the data file through a monitoring service;
and judging the state attribute of the equipment according to the state information, setting a state variable, and associating the state variable with the equipment identifier to establish a mapping relation.
Further, the judging the attribute of the state of the device according to the state information includes:
judging whether the alarm state of the current equipment alarms or not: if the alarm state is in, setting a state variable as the alarm state; otherwise, continuously judging whether the running mode of the current equipment is automatic or not:
if the device is in the manual mode, i.e. the device has no alarm and is operated in the manual mode, setting the state variable to be operated in the manual mode; if the device is in the automatic mode, i.e. the device has no alarm and is in the automatic mode, the device continues to judge whether the current state of the device is idle:
if yes, namely, the equipment is idle under the condition of no alarm and automatic mode operation, setting a state variable to be an idle state; if not, that is, the device has no alarm and is executing the task under the automatic mode operation condition, the state variable is set to be in a busy state.
After the equipment state attribute is judged, the equipment identifier (equipment name) and the state variable are packaged into corresponding variable data, the state variable and the equipment identifier are associated to establish a mapping relation, and the embodiment enables the equipment and the state variable corresponding to the equipment in real time to be associated and data grouping is carried out according to the equipment name so as to achieve split control of equipment state operation.
In an alternative embodiment, the transmitting the state variable to the server in the message queue includes:
acquiring a state variable and acquiring a device identifier according to the mapping relation of the state variable;
naming the queue name by the equipment identifier and pushing the generated message to the message queue by the state variable;
and the server consumes the state variable of the corresponding mapping relation according to the equipment identifier and pushes the message to the front end.
Those skilled in the art will appreciate that a Message Queue (MQ) refers to a container that holds messages, essentially a Queue. A Message (Message) refers to data transferred between applications, and may be very simple, e.g. contain text strings only, or may be more complex, possibly containing embedded objects. The overall architecture of the message queue involves three classes of roles, including:
the Broker message processing center is responsible for message storage, confirmation, retry and the like, and generally comprises a plurality of requests;
the Producer message Producer (i.e., the SMS monitoring service of the present embodiment) is responsible for producing and sending messages to the Broker;
the Consumer of Consumer message (i.e. the server of this embodiment) is responsible for obtaining the message from the Broker and performing corresponding processing;
the embodiment adopts RabbitMQ service, rabbitMQ is developed by the erlang language, and a plurality of protocols are supported by combining the concurrency advantages of the erlang language: AMQP, XMPP, SMTP, STOMP, performance is in the tens of thousands/second. It should be noted that, in this embodiment, the architecture and product selection of the message queue are not limited in any way, and a technician can set the architecture and product selection according to the actual use requirement, so long as the data interaction between the SMS monitoring service and the server can be opened through the message queue, so that the server and the front end can read service data by consuming data in the rabitimq service.
In an optional embodiment, the color management according to the state variable and the displaying, by the front end, the device state in different colors according to the mapping relation includes:
the front end determines and displays the color area of the corresponding equipment according to the mapping relation, marks the equipment identifier, develops the webpage client based on the front end technology, sets different authority attributes of the webpage client, divides according to workshops, production lines, equipment and the like, and comprises the following steps for the color management strategy:
when the state variable of a device is an alarm state, the color area is displayed in red;
when the state variable of a device is in a manual mode, the color area is displayed in yellow;
when a state variable of a device is in an idle state, the color area is displayed in green;
when a state variable of a device is busy, the color region is displayed in blue.
According to the color management scheme matched with the embodiment, technicians can carry out adaptive adjustment according to actual use requirements, so that monitoring display is richer, and identification degree is higher.
The embodiment realizes the multi-equipment operation monitoring based on the system service and the webpage technology, realizes the information flow synchronization and the data flow sharing of the SMS monitoring service, the RabbitMQ service and the webpage client, realizes the one-to-many deployment of the equipment monitoring information with higher visualization degree, has wider application range, is more convenient for the system deployment and has more comprehensive monitoring content.
It is clear that the above embodiments are only used to illustrate the monitoring method of the operation of the apparatus, and are not intended to limit the scope of the present invention, and those skilled in the art can adjust the above logistics distribution method without departing from the concept of the present invention, so that the present invention can be applied to more specific application scenarios.
For better understanding, another embodiment of the present invention provides a monitoring system for device operation, where the system is used to implement the foregoing embodiment and optional implementation manners, and the description is omitted herein. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Specifically, a monitoring system for operation of a device includes:
the PLC module is used for controlling the operation of the equipment and collecting real-time data of the operation of the equipment;
the monitoring service is used for constructing a data acquisition channel with the PLC module, acquiring real-time data of the equipment through the data acquisition channel, configuring the real-time data in a data file, and filling and acquiring information points according to the details of the data file.
The acquisition module is used for acquiring the state information of the equipment;
the judging module is used for judging the state attribute according to the state information, outputting the state variable of each device and establishing the mapping relation between the device and the state variable;
the message queue module is used for receiving data of a named queue name by the equipment identifier and a production message by taking a state variable as a state variable, and storing the data in the queue;
the server is used for consuming the state variables of the corresponding mapping relation according to the equipment identification and pushing the message to the front end;
and the front end is used for carrying out color management according to the state variables and displaying the states of the equipment in different colors according to the mapping relation.
Optionally, the judging module is configured to perform attribute judgment on a state of the device, and includes:
judging whether the alarm state of the current equipment alarms or not: if the alarm state is in, setting a state variable as the alarm state; otherwise, continuously judging whether the running mode of the current equipment is automatic or not:
if the device is in the manual mode, i.e. the device has no alarm and is operated in the manual mode, setting the state variable to be operated in the manual mode; if the device is in the automatic mode, i.e. the device has no alarm and is in the automatic mode, the device continues to judge whether the current state of the device is idle:
if yes, namely, the equipment is idle under the condition of no alarm and automatic mode operation, setting a state variable to be an idle state; if not, that is, the device has no alarm and is executing the task under the automatic mode operation condition, the state variable is set to be in a busy state.
After the device state attribute judgment is completed, the device identifier (device name) and the state variable are packaged into corresponding variable data, and the state variable and the device identifier are associated to establish a mapping relation.
Optionally, the front-end performing color management according to the state variable includes the following:
when the state variable of a device is an alarm state, the color area is displayed in red;
when the state variable of a device is in a manual mode, the color area is displayed in yellow;
when a state variable of a device is in an idle state, the color area is displayed in green;
when a state variable of a device is busy, the color region is displayed in blue.
Optionally, a specific example in this embodiment may refer to an example of a method for monitoring operation of a device described in the foregoing embodiment and the optional implementation manner, and this embodiment is not described herein again.
From the above description of the embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred implementation. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as Read-Only Memory (ROM), random access Memory (Random AccessMemory, RAM), magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
Embodiments of the present invention also provide a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform a method of monitoring the operation of an apparatus as in one or more of the embodiments described above.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
creating a monitoring service to construct a data acquisition channel;
acquiring real-time data of equipment through a data acquisition channel, wherein the equipment is a plurality of industrial control equipment controlled by a PLC (programmable logic controller);
real-time data are configured in a data file, and acquisition information points are filled according to details of the data file, wherein the acquisition information at least comprises state information and equipment identification;
acquiring state information of equipment;
setting a state variable according to the equipment state information and establishing a mapping relation between equipment and the state variable;
and transmitting the state variable to a server by using the message queue, performing color management according to the state variable, and displaying the equipment state in different colors according to the mapping relation through the front end.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
On the other hand, in the embodiment of the present invention, a device for monitoring operation of an apparatus is further provided, and the device is used to implement the foregoing embodiment and the preferred embodiment, which are not described herein. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
A device for monitoring operation of an apparatus, comprising a memory and a processor for executing a method for monitoring operation of an apparatus according to one or more embodiments described above by invoking a control program stored in the memory.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a control program:
creating a monitoring service to construct a data acquisition channel;
acquiring real-time data of equipment through a data acquisition channel, wherein the equipment is a plurality of industrial control equipment controlled by a PLC (programmable logic controller);
real-time data are configured in a data file, and acquisition information points are filled according to details of the data file, wherein the acquisition information at least comprises state information and equipment identification;
acquiring state information of equipment;
setting a state variable according to the equipment state information and establishing a mapping relation between equipment and the state variable;
and transmitting the state variable to a server by using the message queue, performing color management according to the state variable, and displaying the equipment state in different colors according to the mapping relation through the front end.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
The foregoing disclosure is merely illustrative of one or more of the preferred embodiments of the present invention and is not intended to limit the scope of the invention in any way, as it is intended to cover all modifications, variations, uses, or equivalents of the invention that fall within the spirit and scope of the invention.

Claims (10)

1. A method for monitoring operation of a device, comprising:
acquiring state information of equipment;
setting a state variable according to the equipment state information and establishing a mapping relation between equipment and the state variable;
and transmitting the state variable to a server by using the message queue, performing color management according to the state variable, and displaying the equipment state in different colors according to the mapping relation through the front end.
2. The method for monitoring operation of a device according to claim 1, wherein the obtaining the status information of the device comprises:
creating a monitoring service to construct a data acquisition channel;
acquiring real-time data of equipment through a data acquisition channel, wherein the equipment is a plurality of industrial control equipment controlled by a PLC (programmable logic controller);
and configuring the real-time data in the data file, filling the acquisition information points according to the details of the data file, wherein the acquisition information at least comprises state information and equipment identification.
3. The method for monitoring operation of a device according to claim 1, wherein the setting a state variable according to the device state information and establishing a mapping relationship between the device and the state variable comprises:
reading state information in the data file through a monitoring service;
judging the state attribute of the equipment according to the state information, and setting a state variable;
the state variables are associated with the device identifications to establish a mapping relationship.
4. A method for monitoring operation of a device according to claim 3, wherein said determining a status attribute of the device according to the status information comprises:
judging whether the alarm state of the current equipment alarms or not: if the alarm state is in, setting a state variable as the alarm state; otherwise, continuously judging whether the running mode of the current equipment is automatic or not:
if the state variable is in the manual mode, setting the state variable as the manual mode; if the device is in the automatic mode, continuing to judge whether the state of the current device is idle:
if yes, setting a state variable as an idle state; if not, the state variable is set as a busy state.
5. The method of claim 1, wherein said transmitting the state variable to the server in the message queue comprises:
acquiring a state variable and acquiring a device identifier according to the mapping relation of the state variable;
naming the queue name by the equipment identifier and pushing the generated message to the message queue by the state variable;
and the server consumes the state variable of the corresponding mapping relation according to the equipment identifier and pushes the message to the front end.
6. The method for monitoring operation of a device according to claim 1, wherein the performing color management according to the state variable and displaying the device state in different colors according to the mapping relation through the front end comprises:
the front end determines a color region for displaying corresponding equipment according to the mapping relation and marks the equipment identification;
when a state variable of a device is an alarm state, the color area is displayed in a first color;
when the state variable of the equipment is in a manual mode, the color area is displayed in a second color;
when the state variable of a device is in an idle state, the color area is displayed in a third color; when a state variable of a device is in a busy state, the color region is displayed in a fourth color.
7. A system for monitoring operation of a device, comprising:
the acquisition module is used for acquiring the state information of the equipment;
the judging module is used for judging the state attribute according to the state information, outputting the state variable of each device and establishing the mapping relation between the device and the state variable;
the message queue module is used for receiving data of a named queue name by the equipment identifier and a production message by taking a state variable as a state variable, and storing the data in the queue;
the server is used for consuming the state variables of the corresponding mapping relation according to the equipment identification and pushing the message to the front end;
and the front end is used for carrying out color management according to the state variables and displaying the states of the equipment in different colors according to the mapping relation.
8. The system for monitoring operation of a device of claim 7, further comprising:
the PLC module is used for controlling the operation of the equipment and collecting real-time data of the operation of the equipment;
the monitoring service is used for constructing a data acquisition channel with the PLC module, acquiring real-time data of the equipment through the data acquisition channel, configuring the real-time data in a data file, and filling and acquiring information points according to the details of the data file.
9. A device for monitoring operation of an apparatus comprising a memory and a processor, characterized in that: the processor performs a method of monitoring the operation of a device as claimed in any one of claims 1 to 6 by invoking a control program stored in the memory.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform a method of monitoring the operation of an apparatus according to any of claims 1-6.
CN202311739732.8A 2023-12-18 2023-12-18 Method, system, device and storage medium for monitoring equipment operation Pending CN117596271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311739732.8A CN117596271A (en) 2023-12-18 2023-12-18 Method, system, device and storage medium for monitoring equipment operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311739732.8A CN117596271A (en) 2023-12-18 2023-12-18 Method, system, device and storage medium for monitoring equipment operation

Publications (1)

Publication Number Publication Date
CN117596271A true CN117596271A (en) 2024-02-23

Family

ID=89911576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311739732.8A Pending CN117596271A (en) 2023-12-18 2023-12-18 Method, system, device and storage medium for monitoring equipment operation

Country Status (1)

Country Link
CN (1) CN117596271A (en)

Similar Documents

Publication Publication Date Title
US8132127B2 (en) System and methodology providing adaptive interface in an industrial controller environment
EP3318941B1 (en) Industrial automation system machine analytics for a connected enterprise
EP1168768B1 (en) Web function block in automation equipment
CN111555922A (en) Method, device, equipment and storage medium for active adaptive access of Internet of things equipment
CN104102734B (en) Method for exhibiting data and system
CN110995859A (en) Intelligent transformer substation supporting platform system based on ubiquitous Internet of things
CN110417760B (en) Interoperation method of edge layer in industrial Internet and middleware
CN111314371A (en) Edge device access system and method based on intelligent gateway technology
CN108984496B (en) Method and device for generating report
CN108985461A (en) A kind of method, apparatus and terminal device of autonomous machine study
WO2022156316A1 (en) Configuration method and system supporting heterogeneous environment
CN113467771B (en) Model-based industrial edge cloud collaboration system and method
CN116614453B (en) Image transmission bandwidth selection method and device based on cloud interconnection
CN117596271A (en) Method, system, device and storage medium for monitoring equipment operation
CN115333943B (en) Deterministic network resource allocation system, method, device and storage medium
CN113242254B (en) Communication message processing method, device, terminal equipment and storage medium
CN115248735A (en) Log data output control method, device, equipment and storage medium
CN114281563A (en) Application program reconstruction method and device
CN110134086B (en) Data acquisition and control device for realizing middleware function in digital workshop
CN111831380A (en) Task execution method and device, storage medium and electronic device
CN106815295B (en) Substation data statistical method and device
CN111143171A (en) Monitoring method, device and system
CN110136251B (en) Cross-platform data visualization system
CN113949601B (en) Inter-controller station communication method, device and computer readable storage medium
CN113485265B (en) Real-time interconnection method based on chart and industrial intelligent manufacturing equipment data

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