[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111639239A - Equipment running state monitoring method and system - Google Patents

Equipment running state monitoring method and system Download PDF

Info

Publication number
CN111639239A
CN111639239A CN202010409269.0A CN202010409269A CN111639239A CN 111639239 A CN111639239 A CN 111639239A CN 202010409269 A CN202010409269 A CN 202010409269A CN 111639239 A CN111639239 A CN 111639239A
Authority
CN
China
Prior art keywords
real
equipment
topological graph
information
html page
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
CN202010409269.0A
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.)
Xinao Shuneng Technology Co Ltd
Original Assignee
Xinao Shuneng 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 Xinao Shuneng Technology Co Ltd filed Critical Xinao Shuneng Technology Co Ltd
Priority to CN202010409269.0A priority Critical patent/CN111639239A/en
Publication of CN111639239A publication Critical patent/CN111639239A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention is suitable for the technical field of monitoring information management control, and provides a method and a system for monitoring the running state of equipment, wherein the method comprises the following steps: acquiring a topological graph of the equipment according to the acquired equipment system data; carrying out data processing on the topological graph to obtain a topological graph text in an HTML format corresponding to the topological graph; rendering the topological graph text to an HTML page; associating the collected real-time information of the equipment with a measuring point of an HTML page to obtain associated information of the real-time information and the measuring point; and rendering the real-time information to the HTML page according to the association information of the real-time information and the measuring points. The method and the device can simultaneously display the topological relation and the real-time running state of the equipment on the HTML page, so that a user can monitor the running state of the equipment on any client with an Internet environment in real time, the data real-time performance is strong, the application range is wide, the second-level real-time display and control of the equipment information are realized, and the display and control efficiency of the running state of the equipment is greatly improved.

Description

Equipment running state monitoring method and system
Technical Field
The invention belongs to the technical field of monitoring information management control, and particularly relates to a method and a system for monitoring an equipment running state.
Background
An SCADA (supervisory Control And Data acquisition) system, namely a Data acquisition And monitoring system, is a production process Control And scheduling automation system based on a computer. The SCADA system has very wide application fields, for example, the SCADA system is applied to the fields of city water supply dispatching systems, gas transmission and distribution systems, electric power systems, petroleum, chemical engineering and the like, and can monitor and control field operation equipment so as to realize various functions of data acquisition, equipment control, measurement, parameter adjustment, various signal alarms and the like.
The traditional data acquisition and monitoring system mostly adopts a C/S (Client/Server) mode, a C/S architecture is usually desktop application developed based on hardware-related embedded development language, and the functions are complete, so that products with complete functions are basically the C/S architecture application needing to be provided with a Client. However, the C/S architecture product requires installation of a special client program, and has the disadvantages of large program structure size, difficulty in upgrading, difficulty in acquiring the running state of the device in real time, inability to implement rapid deployment, and the like, thereby greatly reducing the application range of the product.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and a system for monitoring an operating state of a device, so as to solve the technical problems that an existing data acquisition and monitoring system is narrow in application range when monitoring the device, and it is difficult to obtain the operating state of the device in real time.
A first aspect of an embodiment of the present invention provides a method for monitoring an operating state of a device, including:
acquiring a topological graph of the equipment according to the acquired equipment system data;
carrying out data processing on the topological graph to obtain a topological graph text in an HTML format corresponding to the topological graph;
rendering the topological graph-text book to an HTML page;
associating the collected real-time information of the equipment with a measuring point of the HTML page to obtain associated information of the real-time information and the measuring point;
and rendering the real-time information to the HTML page according to the correlation information of the real-time information and the measuring points.
In one embodiment, the obtaining a topological graph of the device according to the collected device system data includes:
collecting system data of a device, the system data including topology structure data of the device;
and drawing a topological graph of the equipment according to the system data of the equipment, wherein the topological graph comprises a scalable vector graphic configuration graph.
In an embodiment, the performing data processing on the topological graph to obtain a topological graph text in an HTML format corresponding to the topological graph includes:
analyzing the topological graph to obtain a topological graph plaintext corresponding to the topological graph;
and carrying out format conversion on the plain text of the topological graph to obtain the corresponding topological graph text in the HTML format.
In one embodiment, the step of rendering the real-time information to the HTML page according to the association information of the real-time information and the measuring point comprises the following steps:
the real-time information comprises real-time operation data of the equipment;
rendering the real-time running data to the HTML page through a preset text format and JavaScript.
In one embodiment, the real-time information further comprises real-time status information of the device;
after the step of rendering the real-time running data to the HTML page through a preset text format and JavaScript, the method further comprises the following steps:
and simulating the real-time state of the equipment on the HTML page through JavaScript.
In one embodiment, after the step of rendering the topology map text to an HTML page, the method further includes:
and acquiring an execution result of the equipment according to the operation information, and displaying the execution result on the HTML page.
In one embodiment, the step of obtaining an execution result of the device according to the operation information and displaying the execution result on the HTML page includes:
acquiring operation information of a user, and converting the operation information into text information in a preset text format;
issuing an operation command to the equipment according to the command parameter in the text message;
acquiring an execution result of the equipment executing the operation command;
rendering the execution result to the HTML page to show the execution result.
A second aspect of the embodiments of the present invention provides a system for monitoring an operating state of a device, including a device control layer, a network server layer, and a client layer;
the device control layer is used for acquiring data of the device, wherein the data comprises system data and real-time information;
the network server layer is used for acquiring a topological graph of the equipment according to the acquired equipment system data;
the topological graph processing module is used for processing data of the topological graph and acquiring a topological graph text in an HTML format corresponding to the topological graph;
the topological graph-text book is used for rendering to an HTML page;
the system comprises a monitoring unit, a monitoring unit and a monitoring unit, wherein the monitoring unit is used for acquiring real-time information of the equipment and a measuring point of an HTML page, and the monitoring unit is used for acquiring the association information of the real-time information and the measuring point;
the system is used for rendering the real-time information to the HTML page according to the correlation information of the real-time information and the measuring point;
and the client layer is used for displaying the HTML page.
A third aspect of the embodiments of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the device operation state monitoring method as described above when executing the computer program.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the apparatus operation state monitoring method described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
(1) according to the embodiment of the invention, the topological relation and the real-time running state of the equipment can be simultaneously displayed on the HTML page by acquiring the topological graph and the real-time information of the equipment, so that a user can monitor the running state of the equipment on any client with an Internet environment in real time, the data real-time performance is strong, the operation is simple and convenient, the application range is wide, and the deployment mode is flexible.
(2) According to the embodiment, the data are processed in real time in a manner of converting the topological graph into an HTML format, so that second-level real-time display and control of equipment information are realized, and display and control efficiency of the running state of the equipment is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described 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 without creative efforts.
Fig. 1 is a schematic structural diagram of an apparatus operation state monitoring system according to an embodiment of the present invention;
fig. 2 is a first schematic flow chart illustrating an implementation process of a device operation state monitoring method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of a step of obtaining a topology diagram of a device in a device operation state monitoring method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation step of acquiring a topology graph in an HTML format in the method for monitoring the operating state of the device according to the embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating an implementation process of a device operation state monitoring method according to an embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating an implementation of a step of acquiring an execution result of a device according to operation information and displaying the execution result on an HTML page in the method for monitoring an operating state of the device according to the embodiment of the present invention;
fig. 7 is a schematic diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
In order to monitor the operation state of the device, the current modes commonly used include a C/S mode and a Web mode.
The C/S mode, i.e., the client/server mode, is a desktop application developed based on an embedded development language related to hardware, and requires a special client program to be installed on a client. However, because the program structure of the client program is large in size and weak in distribution function, rapid deployment, installation and configuration cannot be realized for a user group with multiple points and wide range and without network conditions; the reusability and the compatibility are poor, and the method has great limitation on different development tools, and if different tools are adopted, the program needs to be rewritten; the development cost is high, the upgrading is difficult, and the development can be completed by a technician with a certain professional level; the interactivity is low, and the running state of the equipment is difficult to acquire in real time, so that the application range of the mode is greatly reduced.
Compared with the C/S mode, the Web mode does not need to develop a client program installed on a client, and a user accesses the client through a webpage, so that the development difficulty is low, the application range is wide, and the deployment mode is flexible. However, the current running state monitoring product in the Web mode can only display some static resources and simple text information, and cannot vividly and flexibly display more complex information such as topological relation, running state and the like of equipment.
The SCADA system can monitor and control on-site operation equipment to realize various functions such as data acquisition, equipment control, measurement, parameter adjustment, various signal alarms and the like, so that the SCADA system has very wide application in various fields, for example, the SCADA system can monitor the operation state of the equipment in the field of Internet of things.
The embodiment of the invention provides a brand-new WEBSCADA (Web Browser/Server) system for monitoring the running state of equipment on the basis of an SCADA (supervisory control and data acquisition) system, and can provide a convenient and quick operation mode for requirements of topological relation display, real-time running data display, equipment running state display, real-time control and the like of the equipment in the field of Internet of things by combining a Web technology based on a B/S (Browser/Server) mode.
Fig. 1 is a schematic structural diagram of an apparatus operation state monitoring system according to an embodiment of the present invention. The device operation state monitoring system comprises a device control layer 11, a network server layer 12 and a client layer 13, wherein the device control layer 11 can be composed of controllers embedded in devices and is responsible for interacting with respective devices, so that data of the devices can be collected, and the devices can be controlled to operate according to operation commands. The client layer 13 may be composed of a client machine and is responsible for displaying HTML pages and interacting with users, for example, acquiring operation information of the users. The network server layer 12 is the core of the device operation state monitoring system, and needs to interact with the controllers of the device control layers 11, generate corresponding monitoring Web pages (HTML pages), and provide the HTML pages to the client of the client layer 13, where the user performs monitoring operation through the browser platform.
It should be understood that the number of devices may be set as desired, for example, all devices in a certain campus may be provided, each device has at least one controller embedded therein, and the controllers embedded in all devices in the campus together form the device control layer 11. The number of clients in the client layer 13 may be set as needed, and since the user monitors the client through the browser platform, the operating system of the client is not limited, and may be a Windows operating system, a Linux operating system, an Android operating system, an IOS operating system, or other types of operating systems.
The web server layer 12 includes a data processing module 121, a web service module 122, and a web page processing module 123. In the data uplink display stage, the data processing module 121 communicates with the controller of the device control layer 11 to receive data acquired by the controller and process the data; the web service module 122 can analyze the data from the data processing module 121 and correspondingly transmit the analyzed information to the page processing module 123; the web page processing module 123 may further process the data from the web service module 122 into information suitable for presentation on an HTML page, thereby providing it to a client of the client layer 13. In the data downlink control stage, the page processing module 123 processes the user operation information received by the client and sends the processed user operation information to the network service module 122, the network service module 122 analyzes the operation information and sends the analyzed operation information to the data processing module 121, and the data processing module 121 sends an operation command corresponding to the operation information to the controller, so that the control of the device is realized.
The technical basis of the equipment running state monitoring system provided by the embodiment of the invention comprises the following steps:
(1) the architecture technology is as follows: spraying boot + vue.js;
(2) front end script technique: HTML5(HyperText Markup Language) + CSS3 (technical upgrade of cascading style sheet) + JavaScript;
(3) background scripting technology: java (Java)
(4) The environment foundation is as follows: JDK 1.8, node
(5) Operating the system: linux, Window, IOS, Android
(6) A deployment scheme: front-to-back end separation
(7) The application technical points are as follows: js, Webservice, Redis, WebSocket, Quartz, HttpClient, Mybatis, MySQL, HTML5, CSS3, Json, JavaScript, Jquery, LayUI, ElementUI, Echarts, SVG, etc.
The equipment running state monitoring system provided by the embodiment of the invention has the beneficial effects that at least:
(1) the equipment running state monitoring system provided by the embodiment of the invention is based on a B/S mode, adopts a framework development with separated front and back ends, has wide reusability, can switch any data source by the front end through an HTTP protocol appointed interface, and can provide data for any system by the back end through an HTTP protocol.
(2) The equipment running state monitoring system has the advantages that the whole system is independently deployed, a background data interface is integrated, a front end display page is integrated, a topological graph is integrated, real-time information is displayed, the use modes are rich and diverse, the functions of the equipment running state monitoring system are greatly enriched, and the reusability of the system is greatly improved.
(3) The equipment running state monitoring system adopts a response type layout, can run on any client with an Internet environment, and has wide application range and flexible deployment mode.
(4) The equipment running state monitoring system processes data in real time by converting the topological graph into an HTML format, thereby realizing second-level real-time display and control of equipment information and greatly improving the display and control efficiency of the equipment running state.
(5) The equipment running state monitoring system simulates the real-time state of the equipment on the HTML page through different special effect modes, so that the running state of the equipment can be dynamically displayed on the HTML page, and the running state of the equipment can be displayed more visually.
Fig. 2 is a schematic flow chart illustrating an implementation process of a method for monitoring an operating state of a device according to an embodiment of the present invention. The method for monitoring the running state of the equipment provided by the embodiment of the invention comprises the following steps:
step S21: and acquiring a topological graph of the equipment according to the acquired equipment system data.
When the information of the equipment is displayed on the client, a monitoring graph of the equipment needs to be constructed firstly, wherein the monitoring graph comprises a topological graph of the equipment in the park needing to be monitored. The topology of the device may refer to a network structure diagram formed by the devices and the communication medium in the campus, which may reflect the interrelation of the devices in the campus, where each device may be regarded as a node, and a connection line between two nodes may be regarded as a link of two nodes.
Referring to fig. 3, in this embodiment, the step S21 of obtaining the topology map of the device may be implemented as follows:
step S211: system data of a device is collected, the system data including topology data of the device.
Here, the system data of the device may be obtained by a controller embedded in the device, and the system data includes topology data of the device, and may be information set for each device when a park is established, which is derived from planning information for the park and information of the device itself. The controllers of the devices on the campus, after having acquired the system data of the devices, may upload the system data to the network server layer 12.
Step S212: and drawing a topological graph of the equipment according to the system data of the equipment, wherein the topological graph comprises a scalable vector graphic configuration graph.
After acquiring the system data of all devices in the topology map that needs to be constructed, the network server layer 12 may draw the topology map according to the system data of the devices that are comprehensive in the system. In the present embodiment, the topology map includes a Scalable Vector Graphics (SVG) configuration map. SVG is an open-standard vector graphics language, can design a high-resolution Web graphics page because it provides tools for making complex elements such as gradations, embedded fonts, transparency effects, animation, filter effects, etc., and can provide high-quality vector graphics rendering using usual font commands inserted into HTML coding, while SVG graphics simultaneously have a strong interactive capability due to support of JavaScript and document object models.
Step S22: and carrying out data processing on the topological graph to obtain a topological graph text in an HTML format corresponding to the topological graph.
Because the obtained device topological graph cannot be directly displayed on an HTML page of a client, the topological graph needs to be further processed to realize conversion of the data format of the topological graph, so that a topological graph text with the HTML format is obtained, and the topological graph text can be displayed on the HTML page.
Referring to fig. 4, in the present embodiment, the process of performing data processing on the topology map in step S22 includes the following steps:
step S221: analyzing the topological graph to obtain a topological graph plaintext corresponding to the topological graph;
step S222: and carrying out format conversion on the plain text of the topological graph to obtain the corresponding topological graph text in the HTML format.
After analyzing the obtained topological graph, the network service module 122 of the network server layer 12 can obtain a plaintext of the topological graph, and the plaintext of the topological graph obtained by the analysis may include the measuring point information, the user information, and the like, so that a monitoring graph of the device can be constructed on the HTML page of the client. However, the plain text of the topological diagram cannot be displayed on the HTML page, and the format of the plain text of the topological diagram obtained by analysis needs to be further converted into a general text format of the HTML page, so that the plain text of the topological diagram needs to be sent to the page processing module 123 for format conversion. After acquiring the plain text of the topology graph analyzed by the web service module 122, the web page processing module 123 converts the plain text into a topology graph text in an HTML format.
Step S23: and rendering the topological graph text to an HTML page.
In this embodiment, after acquiring the HTML-format text, the web page processing module 123 needs to render the HTML-format text to the HTML page of the client, and at this time, the user can view the topology map of the device through the HTML page of the client.
It can be understood that the rendering of the device topology map is only to construct the topology structure of the device on the HTML page of the client, and further obtain the device operation information and display the device operation information on the HTML page, so that the device topology map and the operation state can be viewed in real time by the monitoring map constructed on the HTML page, and the real-time monitoring of the device can be realized.
Step S24: and associating the collected real-time information of the equipment with the measuring point of the HTML page to obtain the associated information of the real-time information and the measuring point.
In this embodiment, the real-time information of the device includes real-time operation data and real-time status information of the device, where the real-time status information includes a start-stop status, a steady operation status, and warning information of the device. The controller in the device provides the real-time information to the data processing module 121 after acquiring the real-time information of the device, and the data processing module 121 associates the data of the device with the measuring point of the HTML page, so that which device the acquired real-time running data should be associated with can be known.
Step S25: and rendering the real-time information to the HTML page according to the correlation information of the real-time information and the measuring points.
The data processing module 121 sends the processed real-time information to the web service module 122, the web service module 122 analyzes the real-time information and sends the analyzed data to the web page processing module 123, the web page processing module 123 converts real-time running data in the real-time information through a preset text format, renders the real-time running data to an HTML page through JavaScript, and simultaneously, simulates the real-time state of equipment in the HTML page through the JavaScript. The preset text format can be selected according to needs, and the preset text format can be selected to be a Json format in the embodiment. When the real-time state of the HTML page simulation equipment is in a real-time state, different states can be represented by different special effect modes, and the special effects can include showing and hiding, flickering, color changing, dynamic refreshing and the like. For example, if the device is in a power-off state, the device is in a hidden state; if the equipment is in a starting state, the equipment is correspondingly in a display state; and if the equipment is operated stably, the green light flickers all the time, and if the equipment is operated unstably, the red light flickers all the time to provide an alarm and the like.
In this embodiment, in addition to acquiring real-time information of the device, the device may be controlled. Referring to fig. 5, after the step S25, the method further includes:
step S26: and acquiring an execution result of the equipment according to the operation information, and displaying the execution result on the HTML page.
Of course, in other embodiments, the step S26 may be at any position after the step S23, and is not limited to the above-mentioned situation, and is not limited herein. The operation information is the operation information of the user on the client, and the network server layer 12 controls the device to execute the corresponding operation command according to the acquired operation information, and displays the acquired execution result on the HTML page of the client. Referring to fig. 6, the method specifically includes the following steps:
step S261: the method comprises the steps of obtaining operation information of a user, and converting the operation information into text information in a preset text format. In this embodiment, a user operates on a client, operation information is sent to the web page processing module 123 through the client, the web page processing module 123 performs format conversion on the operation information, and a preset text format may be set as required, and may be selected as a Json format, so as to obtain text information in the preset text format.
Step S262: and issuing an operation command to the equipment according to the command parameter in the text message.
The web page processing module 123 sends the text information obtained through format conversion to the network service module 122, the network service module 122 performs data analysis on the text information to obtain command parameters in the text information, and sends the command parameters to the data processing module 121, the data processing module 121 obtains corresponding operation commands according to the command parameters, and sends the operation commands to a controller of the device, and the device is controlled by the controller to execute corresponding operations.
Step S263: and acquiring an execution result of the equipment executing the operation command.
Step S264: rendering the execution result to the HTML page to show the execution result.
After the device executes the corresponding operation, the controller acquires the corresponding execution result and sends the execution result to the data processing module 121, the network service module 122 and the web page processing module 123 sequentially process the execution result to obtain data in a format capable of being displayed on an HTML page of the client, and the web page processing module 123 renders the execution result to the HTML page, so that the display of the execution result is realized.
The method for monitoring the running state of the equipment provided by the embodiment of the invention has the beneficial effects that at least:
(1) according to the embodiment of the invention, the topological relation and the real-time running state of the equipment can be simultaneously displayed on the HTML page by acquiring the topological graph and the real-time information of the equipment, so that a user can monitor the running state of the equipment on any client with an Internet environment in real time, the data real-time performance is strong, the operation is simple and convenient, the application range is wide, and the deployment mode is flexible.
(2) According to the embodiment, the data are processed in real time in a manner of converting the topological graph into an HTML format, so that second-level real-time display and control of equipment information are realized, and display and control efficiency of the running state of the equipment is greatly improved.
(3) The real-time state of the equipment is simulated on the HTML page through different special effect modes, so that the running state of the equipment can be dynamically displayed on the HTML page, and the running state of the equipment can be displayed more visually.
The following describes an exemplary manner of data uplink display and data downlink control in conjunction with the device operation state monitoring system.
The step of performing data uplink display through the equipment running state monitoring system comprises the following steps:
step S301: the controller of the device control layer 11 acquires system data of the device, and sends the system data to the data processing module 121 of the network server layer 12;
step S302: the data processing module 121 draws a topological graph of the device according to the acquired system data, and sends the drawn topological graph to the network service module 122;
step S303: the network service module 122 analyzes the acquired topological graph to obtain a plaintext of the topological graph, and sends the plaintext of the topological graph to the web page processing module 123;
step S304: the webpage processing module 123 converts the plain text of the topological graph into a topological graph text with an HTML format, and renders the topological graph text to an HTML page;
step S305: the topology of the HTML page display device of the client in the client layer 13;
step S306: the controller of the device control layer 11 acquires real-time information of the device and sends the real-time information to the data processing module 121 of the network server layer 12;
step S307: the data processing module 121 processes the acquired real-time information, associates the acquired real-time information of the device with the measuring point of the HTML page, and sends the processed real-time information to the network service module 122;
step S308: the web service module 122 analyzes the analyzed real-time information, and sends the analyzed data to the web page processing module 123;
step S309: the web page processing module 123 converts the real-time running data in the real-time information into data in a Json format, and renders the real-time running data and the real-time status information to the HTML page through JavaScript;
step S310: the HTML page of the client in the client layer 13 displays real-time operating data and real-time status information for the device.
The step of performing data downlink control through the equipment operation state monitoring system comprises the following steps:
step S401: the client in the client layer 13 acquires the operation information of the user and sends the operation information to the web page processing module 123;
step S402: the web page processing module 123 performs format conversion on the operation information, converts the operation information into data in a Json format, and sends text information obtained through the format conversion to the web service module 122;
step S403: the network service module 122 performs data analysis on the text information to obtain command parameters in the text information, and sends the command parameters to the data processing module 121;
step S404: the data processing module 121 obtains a corresponding operation command according to the command parameter, and sends the operation command to a controller of the device;
step S405: the controller of the device control layer 11 controls the device to execute corresponding operations and sends the execution result to the data processing module 121;
step S406: the data processing module 121 processes the execution result data and sends the processed data to the network service module 122;
step S407: the web service module 122 performs data analysis on the acquired data, and sends the analyzed data to the web page processing module 123;
step S407: the web page processing module 123 converts the data into data in a Json format, and renders an execution result to an HTML page;
step S408: the HTML page of the client in the client layer 13 displays the execution result.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 7 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 7, the electronic apparatus 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52, such as a device operation status monitoring program, stored in said memory 51 and operable on said processor 50. The processor 50 executes the computer program 52 to implement the steps in the above-mentioned method for monitoring the operation status of each device, such as the steps S21 to S25 shown in fig. 2. Alternatively, the processor 50 implements the functions of the modules/units in the above-described device embodiments when executing the computer program 52.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 52 in the electronic device 5.
The electronic device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The electronic device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 7 is merely an example of the electronic device 5, and does not constitute a limitation of the electronic device 5, and may include more or less components than those shown, or combine certain components, or different components, for example, the electronic device 5 may also include an input-output device, a network access device, a bus, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the electronic device 5, such as a hard disk or a memory of the electronic device 5. The memory 51 may also be an external storage device of the electronic device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the electronic device 5. The memory 51 is used for storing the computer program and other programs and data required by the electronic device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. An equipment running state monitoring method is characterized by comprising the following steps:
acquiring a topological graph of the equipment according to the acquired equipment system data;
carrying out data processing on the topological graph to obtain a topological graph text in an HTML format corresponding to the topological graph;
rendering the topological graph-text book to an HTML page;
associating the collected real-time information of the equipment with a measuring point of the HTML page to obtain associated information of the real-time information and the measuring point;
and rendering the real-time information to the HTML page according to the correlation information of the real-time information and the measuring points.
2. The method for monitoring the operating state of the equipment according to claim 1, wherein the step of obtaining the topological graph of the equipment according to the collected system data of the equipment comprises the following steps:
collecting system data of a device, the system data including topology structure data of the device;
and drawing a topological graph of the equipment according to the system data of the equipment, wherein the topological graph comprises a scalable vector graphic configuration graph.
3. The method for monitoring the running state of the equipment according to claim 1, wherein the step of performing data processing on the topological graph to obtain a topological graph text in an HTML format corresponding to the topological graph comprises the steps of:
analyzing the topological graph to obtain a topological graph plaintext corresponding to the topological graph;
and carrying out format conversion on the plain text of the topological graph to obtain the corresponding topological graph text in the HTML format.
4. The method for monitoring the running state of equipment according to claim 1, wherein the step of rendering the real-time information to the HTML page according to the information about the real-time information and the measuring point comprises the following steps:
the real-time information comprises real-time operation data of the equipment;
rendering the real-time running data to the HTML page through a preset text format and JavaScript.
5. The apparatus operation state monitoring method according to claim 4, wherein the real-time information further includes real-time state information of the apparatus;
after the step of rendering the real-time running data to the HTML page through a preset text format and JavaScript, the method further comprises the following steps:
and simulating the real-time state of the equipment on the HTML page through JavaScript.
6. The device operation state monitoring method according to any one of claims 1 to 5, wherein after the step of rendering the topology map text to an HTML page, the method further comprises:
and acquiring an execution result of the equipment according to the operation information, and displaying the execution result on the HTML page.
7. The device operation state monitoring method according to claim 6, wherein the step of obtaining the execution result of the device according to the operation information and displaying the execution result on the HTML page includes:
acquiring operation information of a user, and converting the operation information into text information in a preset text format;
issuing an operation command to the equipment according to the command parameter in the text message;
acquiring an execution result of the equipment executing the operation command;
rendering the execution result to the HTML page to show the execution result.
8. The equipment running state monitoring system is characterized by comprising an equipment control layer, a network server layer and a client layer;
the device control layer is used for acquiring data of the device, wherein the data comprises system data and real-time information;
the network server layer is used for acquiring a topological graph of the equipment according to the acquired equipment system data;
the topological graph processing module is used for processing data of the topological graph and acquiring a topological graph text in an HTML format corresponding to the topological graph;
the topological graph-text book is used for rendering to an HTML page;
the system comprises a monitoring unit, a monitoring unit and a monitoring unit, wherein the monitoring unit is used for acquiring real-time information of the equipment and a measuring point of an HTML page, and the monitoring unit is used for acquiring the association information of the real-time information and the measuring point;
the system is used for rendering the real-time information to the HTML page according to the correlation information of the real-time information and the measuring point;
and the client layer is used for displaying the HTML page.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the device operation state monitoring method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for monitoring the operational state of a device according to any one of claims 1 to 7.
CN202010409269.0A 2020-05-14 2020-05-14 Equipment running state monitoring method and system Pending CN111639239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010409269.0A CN111639239A (en) 2020-05-14 2020-05-14 Equipment running state monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010409269.0A CN111639239A (en) 2020-05-14 2020-05-14 Equipment running state monitoring method and system

Publications (1)

Publication Number Publication Date
CN111639239A true CN111639239A (en) 2020-09-08

Family

ID=72330215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010409269.0A Pending CN111639239A (en) 2020-05-14 2020-05-14 Equipment running state monitoring method and system

Country Status (1)

Country Link
CN (1) CN111639239A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162801A (en) * 2020-09-09 2021-01-01 埃尔利德(广东)智能科技有限公司 General Web online flow chart display method, system medium and terminal for air compressor equipment
CN113093574A (en) * 2021-03-23 2021-07-09 珠海格力电器股份有限公司 Front-end configuration method and device of building control system and building control system
CN113381880A (en) * 2021-05-24 2021-09-10 深圳市宏电技术股份有限公司 Internet of things equipment management method, device and system
WO2022156316A1 (en) * 2021-01-25 2022-07-28 广州新科佳都科技有限公司 Configuration method and system supporting heterogeneous environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120243469A1 (en) * 2011-03-21 2012-09-27 Philippe Klein In-house location based services
CN106230636A (en) * 2016-08-05 2016-12-14 成都酉辰科技有限公司 Radio monitoring net whole network equipment monitoring system
CN107682199A (en) * 2017-10-23 2018-02-09 北京德塔精要信息技术有限公司 Topology exhibits method and device
CN109245951A (en) * 2018-11-06 2019-01-18 武汉虹信通信技术有限责任公司 A method of network optimization equipment networking monitoring is realized based on web
CN111030840A (en) * 2019-11-06 2020-04-17 视联动力信息技术股份有限公司 Method and device for generating topological graph, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120243469A1 (en) * 2011-03-21 2012-09-27 Philippe Klein In-house location based services
CN106230636A (en) * 2016-08-05 2016-12-14 成都酉辰科技有限公司 Radio monitoring net whole network equipment monitoring system
CN107682199A (en) * 2017-10-23 2018-02-09 北京德塔精要信息技术有限公司 Topology exhibits method and device
CN109245951A (en) * 2018-11-06 2019-01-18 武汉虹信通信技术有限责任公司 A method of network optimization equipment networking monitoring is realized based on web
CN111030840A (en) * 2019-11-06 2020-04-17 视联动力信息技术股份有限公司 Method and device for generating topological graph, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162801A (en) * 2020-09-09 2021-01-01 埃尔利德(广东)智能科技有限公司 General Web online flow chart display method, system medium and terminal for air compressor equipment
WO2022156316A1 (en) * 2021-01-25 2022-07-28 广州新科佳都科技有限公司 Configuration method and system supporting heterogeneous environment
CN113093574A (en) * 2021-03-23 2021-07-09 珠海格力电器股份有限公司 Front-end configuration method and device of building control system and building control system
CN113381880A (en) * 2021-05-24 2021-09-10 深圳市宏电技术股份有限公司 Internet of things equipment management method, device and system

Similar Documents

Publication Publication Date Title
CN111639239A (en) Equipment running state monitoring method and system
CN107885097B (en) Nuclear power station simulator control system DCS transformation closed loop verification system and method
CN109117138B (en) Configuration method and device and computer readable storage medium
CN112149329B (en) Method, system, equipment and storage medium for previewing state of key equipment of nuclear power plant
CN109254771A (en) A kind of monitoring page generation method and device
US20210208562A1 (en) Hybrid rendering hmi terminal device
CN109828921A (en) HTML5 webpage automated function test method, system and electronic equipment
CN104156213A (en) Android application running method and device
CN111553129A (en) SVG and echarts graph fusion method based on canvas
CN111221729A (en) Automatic testing method and system with platform service and testing service separated
CN106709132A (en) Mathematical modeling teaching system
CN107038060A (en) A kind of page coloring device code debugging method, device
Guan et al. Front-end and back-end separation-react based framework for networked remote control laboratory
CN112817651A (en) Canvas-based graph generation method and Canvas-based graph generation system
CN104881430A (en) Cross-terminal self-adaptation visual electronic map implementation method based on pure network script languages
CN114780005A (en) Graph drawing method, graph drawing device, electronic device, and storage medium
KR101937890B1 (en) Simulation system with high degree of freedom and simulation method using the same
CN115408968A (en) Construction method and system based on SVG virtual circuit
CN112859637B (en) Wind turbine generator system simulation system
JP2002108600A (en) Terminal device for control system and recording medium and control system
CN114169723A (en) Digital workshop implementation method and system
CN107908393B (en) Method for designing SCADA real-time model picture
CN108874651A (en) The remote debugging method and device of smart machine
CN109445776A (en) Mixing picture method and device
CN113849164A (en) Data processing method and device, electronic equipment and memory

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200908