Management system and method for data acquisition of electrolytic cell equipment

Through the Netty network application framework and Modbus TCP/IP protocol, combined with the WebSocket protocol, efficient collection and real-time monitoring of electrolytic device data is achieved, solving the problems of low data acquisition efficiency and slow update in the existing technology, and reducing costs. Meets market and regulatory requirements.

CN118972477APending Publication Date: 2024-11-15SHENZHEN WENSHI HYDROGEN ENERGY TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411079326.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The data acquisition efficiency of existing electrolytic cells is low, slow to update and high cost, and cannot meet market demand and regulatory requirements.

Method used

The Netty network application framework is used to communicate with the Modbus TCP/IP protocol, and real-time bidirectional connection between the backend and the frontend is established through WebSocket to achieve efficient data collection, decoding and display, ensuring data integrity and independence.

Benefits of technology

It improves data reading efficiency and flexibility, realizes real-time monitoring of equipment performance, reduces development and maintenance costs, and solves the problems of low data collection efficiency and slow updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972477A_ABST
    Figure CN118972477A_ABST
Patent Text Reader

Abstract

The invention provides a management system and method for electrolytic cell equipment data acquisition, and the method comprises the steps: obtaining equipment detail data through an equipment management module, obtaining equipment user information data through a user management module, collecting and decoding equipment operation data through a data collection module, and obtaining decoded data; after judging that the back end is connected with the front-end page, pushing the data in the set format to the front-end page to be displayed; according to the invention, a Netty network application program framework is adopted, and a Modbus TCP / IP protocol is used for communication, so that data can be read through software in a networking state, and the data reading efficiency and flexibility are improved; different devices are distinguished through the device management module, uniqueness of the data acquisition module is determined through device coding, and integrity and independence of data are guaranteed; according to the invention, the connection between the rear end and the front end is established by adopting the WebSocket protocol, so that the data can be transmitted between the server and the client in real time in a two-way manner, and the real-time monitoring of the equipment performance is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrolytic cell equipment control, and in particular to a management system and method for electrolytic cell equipment data collection. Background Art

[0002] With the rapid development of electrolytic cell equipment technology, the functional complexity of the equipment is increasing, the regulatory requirements for safety, environmental protection and energy saving are becoming increasingly stringent, the customer needs for comfort, flexibility and personalization vary greatly, the globalization of market competition has shortened the development cycle, and a large number of electronic controllers are widely used in electrolytic cell equipment, resulting in huge challenges in the development of data acquisition software;

[0003] In the process of developing the electrolytic cell equipment acquisition software, it is necessary to calibrate the controller according to the target market requirements, regulatory requirements, equipment configuration requirements, etc. The existing electrolytic cell equipment data acquisition is usually read through the serial port. This method can only read point-to-point, has high environmental requirements, and the collected data is relatively primitive, and needs to be analyzed and displayed through some traditional industrial control software. However, the update iteration of traditional industrial control software is relatively slow, but some manufacturers pay more attention to the display of data acquisition. Therefore, the traditional electrolytic cell equipment data acquisition solution has the defects of low efficiency, slow update and high cost. Therefore, it is urgent to develop an electrolytic cell equipment data acquisition software with high efficiency, fast update and low cost. Summary of the invention

[0004] The present invention aims to solve the problems of low efficiency, slow updating and high cost of electrolytic cell equipment data collection in the above-mentioned prior art, and provides a management system and method for electrolytic cell equipment data collection.

[0005] The present invention provides a method for collecting data of an electrolytic cell device, comprising the following steps:

[0006] Establishing a long connection with a preset device controller through a network application framework and a first communication protocol set in a preset data acquisition module;

[0007] Collecting equipment operation data through the data acquisition module;

[0008] Decoding the device operation data through the data acquisition module to obtain decoded data;

[0009] Determine whether the backend and the frontend have established a connection through the set second communication protocol;

[0010] If not, connect via the set second communication protocol connection address and initialize data transmission;

[0011] If yes, sending the decoded data to the front end via the second communication protocol;

[0012] Acquire data content in a set format through the front end, and render the data content to obtain rendering data;

[0013] The rendering data is displayed on the front-end page through a preset front-end page data display module.

[0014] Furthermore, before the step of collecting the equipment operation data through the preset data collection module, the method further includes:

[0015] The updated data of the device is obtained through a preset device controller and stored in the coils and registers in the device controller.

[0016] Furthermore, the step of collecting equipment operation data through a preset data collection module also includes:

[0017] Periodically sending data acquisition signals to a preset device controller through a preset data acquisition module;

[0018] The device controller receives and processes the request message, and the data acquisition module reads the data of the coils and registers in the device controller.

[0019] Furthermore, before the step of decoding the device operation data by the set data acquisition module, it also includes:

[0020] The set device controller point information is stored in a preset configuration management database module through a preset data acquisition module, wherein the set device controller point information is stored as a single piece of data according to the point, mapping address and specific content, wherein the specific content includes but is not limited to Modbus address, PLC controller address, point name and function code, wherein the device includes multiple controllers, and the configuration management database includes multiple pieces of device controller point information.

[0021] Furthermore, the data acquisition module performs mapping processing through the set device controller point information, decodes and converts the device operation data into data in a specified format, and obtains decoded data.

[0022] Furthermore, before the step of determining whether the backend and the frontend page have established a connection through the set second communication protocol, the step further includes:

[0023] The device detail data is stored in a preset configuration management database module through a preset device management module, wherein the device detail data includes but is not limited to device code, device name, device power, device address and device region;

[0024] The user details data is stored in a preset configuration management database module through a preset user management module, wherein the user details data includes but is not limited to user number, user name, and user authority;

[0025] Create a client usage page through the preset front-end page data display module.

[0026] Furthermore, before the step of obtaining the data content in a set format through the front end, the method further includes:

[0027] Placing the decoded data in a set temporary data object;

[0028] The set temporary data object is encapsulated according to the set format.

[0029] The present invention also provides a management system for electrolytic cell equipment data, comprising:

[0030] A first connection module, used to establish a long connection with a preset device controller through a network application framework and a first communication protocol set in a preset data acquisition module;

[0031] A data acquisition module, used to collect equipment operation data through the data acquisition module;

[0032] A data decoding module, used for decoding the device operation data through the data acquisition module to obtain decoded data;

[0033] A determination module, used for determining whether the back end and the front end have established a connection through a set second communication protocol;

[0034] A second connection module, for, if not, connecting via a set second communication protocol connection address and initializing data transmission;

[0035] a transmission module, configured to, if yes, send the decoded data to the front end via the second communication protocol;

[0036] A rendering module, used to obtain data content in a set format through the front end, and render the data content to obtain rendering data;

[0037] The front-end page data display module is used to display the rendering data on the front-end page through a preset front-end page data display module.

[0038] Equipment management module, used to manage electrolyzer equipment and distinguish various types of equipment;

[0039] User management module, used for the company's management of customers, providing different user permissions to different customers;

[0040] The configuration management database module is used to store and maintain the data content of each module.

[0041] The present invention also provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor executes the computer program to implement the steps in any one of the above methods.

[0042] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0043] The present invention provides a management system and method for data collection of electrolytic cell equipment, which has the following beneficial effects:

[0044] (1) The present invention adopts the Netty network application framework and uses the Modbus TCP / IP protocol to communicate with the device, so that it can directly communicate with the device to realize data transmission, thereby improving the efficiency of data reading;

[0045] (2) The present invention reads the data of the device through software, realizes reading data through the network in a networked state, and improves the flexibility of data reading.

[0046] (3) The present invention distinguishes different devices through the device management module, determines the uniqueness of the data acquisition module through the device code, solves the data conflict problem that may exist between different devices, and ensures the integrity and independence of the data.

[0047] (4) The present invention uses WebSocket to establish a connection between the back-end and front-end pages, so that data can be transmitted in real time and bidirectionally between the server and the client, realizing real-time monitoring of device performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A schematic diagram of a method for collecting data of an electrolytic cell device in one embodiment of the present invention;

[0049] Figure 2 A block diagram of a management system for data collection of an electrolytic cell device in one embodiment of the present invention;

[0050] Figure 3 This is a flow chart of a data collection method for an electrolytic cell device in one embodiment of the present invention;

[0051] Figure 4 The present invention is a block diagram showing the structure of a computer device according to an embodiment of the present invention.

[0052] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

[0053] Marking description: configuration management database 11, front-end page data display module 12, data acquisition module 13, device management module 14, user management module 15. DETAILED DESCRIPTION

[0054] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] Reference Figure 1 , is a method for collecting data of an electrolytic cell device in one embodiment of the present invention, comprising:

[0057] S1, establishing a long connection with a preset device controller through a network application framework and a first communication protocol set in a preset data acquisition module 13;

[0058] S2, obtaining updated data of the device through a preset device controller, and storing it in the coil and register in the device controller;

[0059] S3, storing the set device controller point information in the preset configuration management database 11 module through the preset data acquisition module 13;

[0060] S4, acquiring device operation data by collecting coil and register data in the device controller through the data acquisition module 13, and decoding the device operation data through the device controller point information to obtain decoded data;

[0061] S5, storing the device details data in the preset configuration management database 11 module through the preset device management module 14;

[0062] S6, storing the user details data in the preset configuration management database 11 module through the preset user management module 15;

[0063] S7, determining whether the back end and the front end have established a connection through the set second communication protocol;

[0064] S8, if not, connect via the set second communication protocol connection address and initialize data transmission;

[0065] S9, if yes, sending the set format data to the front end via the second communication protocol;

[0066] S10, placing the decoded data in a set temporary data object, and encapsulating the set temporary data object according to a set format;

[0067] S11, obtaining data content in a set format through the front end, and rendering the data content to obtain rendering data;

[0068] S12, displaying the rendering data on the front-end page through the preset front-end page data display module 12.

[0069] In the above steps, first, a long connection is established with the preset device controller through the network application framework set in the preset data acquisition module 13 and the set first communication protocol; in a specific embodiment, the data acquisition module 13 adopts the Java programming language, adopts the Netty network application framework, and uses the Modbus TCP / IP protocol to establish a long connection with the device controller, wherein the Modbus TCP protocol is an Ethernet-based communication protocol, which is built on the Modbus protocol and realizes data transmission by using the TCP / IP protocol stack. It has the characteristics of being simple and easy to use, highly reliable, real-time and flexible, so that the data acquisition module 13 and the device controller can transmit data in real time.

[0070] In one embodiment, the data collection module 13 collects the equipment operation data.

[0071] During specific implementation, when any device data is updated, the preset device controller will obtain the updated data of the device and store it in the coils and registers in the device controller; the preset data acquisition module 13 periodically sends a data acquisition signal to the preset device controller, and the device controller receives and processes the request message. The data acquisition module 13 reads the data of the coils and registers in the preset device controller, thereby enabling the data acquisition module 13 to collect the device operation data.

[0072] In one embodiment, the preset data acquisition module 13 stores the set device controller point information in the preset configuration management database 11 module.

[0073] In a specific implementation, the set device controller point information is stored in a preset configuration management database 11 module through a preset data acquisition module 13, wherein the set device controller point information is stored as a single piece of data according to the point, mapping address and specific content, wherein the specific content includes but is not limited to Modbus address, PLC controller address, point name and function code, the device includes multiple controllers, and the configuration management database 11 includes multiple pieces of device controller point information; in a specific embodiment, PLC refers to a programmable logic controller, which is an electrolytic cell controller in the present invention; Modbus is a serial communication protocol that can realize communication between a programmable logic controller and a device; the data acquisition module 13 can only be permanently connected to the device controller through the PLC controller address, and the device controller can only obtain the device operation data through the Modbus address.

[0074] In one embodiment, the device operation data is decoded by the data acquisition module 13 to obtain decoded data.

[0075] In specific implementation, the data acquisition module 13 converts the set device controller point information query mapping relationship, decodes the collected device operation data, obtains decoded data, and stores the decoded data in the configuration management database 11; in a specific embodiment, if the user views the device operation data on the front-end page, the decoded data may not pass through the configuration management database 11, and may be directly processed in the next step and then directly displayed on the front-end page data display module 12;

[0076] Netty is a high-performance, asynchronous event-driven network application framework with built-in multiple decoders and encoders, supporting multiple protocols, powerful functions, high performance, and fast update iteration. It provides support for TCP, UDP, and file transfer, allowing us to communicate directly with the device and obtain point data, realizing efficient data reading of electrolyzer equipment;

[0077] In another specific embodiment, the reading and encoding and decoding of device point data can use the Socket-mqtt framework in addition to the Netty network program framework. The Socket-mqtt framework is a Push push basic framework based on Netty4.x+MQTT. It provides a simple and unified programming mode, high-performance code, a unified connection management solution, a unified thread management solution, and solutions to some basic network problems, such as heartbeat maintenance, compression and decompression, and encoding and decoding.

[0078] The data acquisition module 13 adopts the Netty network application framework, uses the Modbus TCP / IP protocol to communicate with the device, reads and processes the device operation data through software, and improves the efficiency and flexibility of data reading.

[0079] In one embodiment, the device detail data is stored in a preset configuration management database 11 module through a preset device management module 14 .

[0080] In specific implementation, the equipment management module 14 is used to manage the electrolytic cell equipment and distinguish various types of equipment; the equipment detail data includes but is not limited to the equipment code, equipment name, equipment power, equipment address and equipment region, and the equipment detail data is entered by the administrator or user and stored in the configuration management database 11 module; the equipment detail data can be set according to the equipment situation, and is mainly used to manage the electrolytic cell equipment, distinguish the equipment type and whether it has been maintained, and each device can determine the unique corresponding data acquisition module 13 through the equipment code, solve the data conflict problem that may exist between different devices, and ensure the integrity and independence of the data; in a specific embodiment, the administrator can manage the equipment data in a unified manner through the management page; in another specific embodiment, the user can view the equipment operation data through the user page, and the user page provides a new device function, and the user can independently enter the equipment detail data and add new equipment.

[0081] In one embodiment, the user details data is stored in the preset configuration management database 11 module through the preset user management module 15 .

[0082] In specific implementation, the user management module 15 is used for the company's management of customers, and different user permissions are opened to different customers; user details data include but are not limited to user number, user name, user permissions, etc., and the user details data are entered in advance by the administrator or the user and stored in the configuration management database 11; in a specific embodiment, the administrator can manage user data information through the administrator page, including but not limited to adding user information and setting user permissions; in another specific embodiment, the user page has a user registration function, and the user can join the system by registration. The user management module 15 can obtain the user's personal information through the information filled in by the user during registration, and store it in the configuration management database 11.

[0083] In one embodiment, it is determined whether the back end and the front end have established a connection through the set second communication protocol; if not, the connection is established through the set second communication protocol connection address, and data transmission is initialized; if so, the decoded data is sent to the front end through the second communication protocol.

[0084] In the specific implementation, it is determined whether a WebSocket connection is established between the backend and the frontend page. If no connection has been established, a connection is established through the specified WebSocket connection address to initialize data transmission; if a connection has been established, the decoded data is pushed to the frontend through the established WebSocket connection;

[0085] Traditional network communication generally uses the HTTP protocol, which is a stateless, connectionless, unidirectional application layer protocol. Communication requests can only be initiated by the client, and the server responds to the request, which makes it impossible for the server to actively send messages to the client. It is also one-time, that is, after each request is responded to, the connection ends. If you want to continue to communicate with the server, you need to resend the request; the WebSocket protocol is a full-duplex communication protocol on a single TCP connection. It enables data to be transmitted between the server and the client in real time and bidirectionally. And only one connection is needed to maintain the connection state, so that data can be transmitted between the server and the client in real time and bidirectionally, realizing real-time monitoring of device performance;

[0086] In another specific embodiment, in addition to WebSocket, the MQTT protocol can also be used; the MQTT protocol is a lightweight publish and subscribe message transmission protocol suitable for all network environments, especially environments with low network bandwidth, instability or high latency. In addition, the network application framework Netty can also be used to build a WebSocket server. This two-way communication protocol based on the TCP protocol can establish a real-time communication channel between the Web browser and the Web server, so that data can be transmitted in real time and bidirectionally between the server and the client, thereby realizing real-time monitoring of device performance.

[0087] In one embodiment, data content in a set format is acquired through the front end, and the data content is rendered to obtain rendering data.

[0088] In the specific implementation, the decoded data is placed in a preset temporary data object, and the preset temporary data object is encapsulated according to the set format to facilitate WebSocket to push it to the client page. The preset front-end page obtains the data content in JSON format, renders the data content, and obtains rendering data.

[0089] In one embodiment, the rendering data is displayed on the front-end page by a preset front-end page data display module 12 .

[0090] In the specific implementation, the rendering data is displayed on the front-end page through the preset front-end page data display module 12; in a specific embodiment, the front-end page is provided with an administrator page and a user page, wherein the administrator page functions include but are not limited to the management of device detail data, device operation data, user information and permissions, and the user page functions include but are not limited to the realization of user registration, new device and device operation data viewing functions. When the user clicks the button for viewing device operation data set on the user page, the front-end page data display module 12 displays the rendering data on the front-end page, so that the user can view the device operation data in real time.

[0091] Reference Figure 2 , a management system for electrolytic cell equipment data collection, including a data collection module 13, an equipment management module 14, a user management module 15, a configuration management database 11 module and a front-end data page display module.

[0092] In the specific implementation, the device management module 14 obtains device detail data, including but not limited to device code, device name, device power, device address and device region; the user management module 15 obtains device user information and permission data, including but not limited to user number, user name, user permission; the configuration management database 11 module is used to store and maintain the data content of each module, and the device detail data, user information and permission data are all stored in the configuration management database 11 module. In addition, the configuration management database 11 module also stores the device controller point information, and the device controller point information is stored in the format of a data content according to the point, mapping address and specific content, wherein the specific content includes but is not limited to Modbus address, PLC controller address, point name and function code; for any device update, the preset device controller obtains the device update data, and the device operation data is stored in the coils and registers in the device controller; the data acquisition module 13 adopts the Java programming language, adopts the Netty network application framework, and uses Modbus The TCP / IP protocol establishes a long connection with the device controller, the data acquisition module 13 periodically sends a data acquisition signal, the device controller receives the request message and processes the reply, the data acquisition module 13 reads the coil and register data in the device controller to obtain the device operation data, and after the data acquisition module 13 obtains the device operation data, it maps and processes the device controller point information, and decodes the device operation data to obtain the decoded data; when the back-end and the front-end page establish a connection through WebSocket, the decoded data is placed in the set temporary data object, and encapsulated according to the set format to obtain the set format data, and the set format data is transported to the front-end page data display module 12 through WebSocket, and the front-end page data display module 12 renders the data content and displays it on the front-end page.

[0093] In summary, in the specific implementation, the data acquisition module 13 is used to collect and process the equipment performance and operation data; the equipment management module 14 is used to manage the electrolytic cell equipment and distinguish various types of equipment, so as to determine the uniqueness of the data acquisition module 13 through the equipment code and solve the data conflict problems that may exist between different devices; the user management module 15 is used for the company's management of customers and opens different user permissions to different customers; the configuration management database 11 module is used to store and maintain the data content of each module; the front-end data page display module is used to display the equipment performance and operation data to realize real-time monitoring of the equipment.

[0094] Reference Figure 3 , a flow chart of a method for collecting data of an electrolytic cell equipment, including a method for collecting data using an electrolytic cell equipment data collection management system.

[0095] In the specific implementation, when any device data is updated, the device controller obtains the updated data of the device, and the device operation data is stored in the coils and registers in the device controller; the data acquisition module 13 uses the Modbus TCP / IP protocol to establish a long connection with the device control through the Netty network application framework; the data acquisition module 13 obtains the device operation data by reading the data of the coils and registers in the device controller; the data acquisition module 13 decodes the device operation data to obtain decoded data; the decoded data is placed in a set temporary data object and packaged according to the set format; the system determines whether a WebSocket connection is established between the backend and the frontend; if not, a connection is made through the set WebSocket connection address, and data transmission is initialized; if so, the set format data is sent to the front-end page; the data content in the set format is obtained through the front end, and the data content is rendered to obtain rendering data; the rendering data is displayed on the front-end page through the preset front-end page data display module 12; a complete data collection, decoding, packaging, pushing, rendering, and display are completed.

[0096] In summary, during the specific implementation, when any device data is updated, the data acquisition module 13 collects and decodes the device operation data to obtain decoded data. After the back end establishes a connection with the front end through WebSocket, the decoded data is packaged according to the set format and pushed to the front end page. The front end page renders the set format data and displays it, completing a complete data collection, decoding, packaging, pushing, rendering, and display.

[0097] Reference Figure 4 A computer device includes a memory and a processor, wherein a computer program is stored in the memory. The computer device may be a server, and its internal structure is as follows: Figure 3As shown. The computer device includes a processor, a memory, a network interface and a database. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory is the operating system, computer program and database in the non-volatile storage medium. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data such as preset thresholds, templates, tables, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a management method for data collection of an electrolytic cell device is implemented.

[0098] Those skilled in the art will understand that Figure 4 The structure shown in is merely a block diagram of a portion of the structure related to the present application solution and does not constitute a limitation on the computer device to which the present application solution is applied.

[0099] An embodiment of the present application further provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, a management method for data collection of an electrolytic cell device is implemented.

[0100] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0101] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0102] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for collecting data of an electrolytic cell, characterized in that: The following steps are involved: Establishing a long connection with a preset device controller through a network application framework and a first communication protocol set in a preset data acquisition module; Collecting equipment operation data through the data acquisition module; Decoding the device operation data through the data acquisition module to obtain decoded data; Determine whether the backend and the frontend have established a connection through the set second communication protocol; If not, connecting via the second communication protocol connection address and initializing data transmission; If yes, sending the decoded data to the front end via the second communication protocol; Acquire data content in a set format through the front end, and render the data content to obtain rendering data; The rendering data is displayed on the front-end page through a preset front-end page data display module.

2. The electrolytic cell equipment data collection method according to claim 1, characterized in that: Before the step of collecting the equipment operation data by the preset data collection module, the method further includes: The updated data of the device is obtained through a preset device controller and stored in the coils and registers in the device controller.

3. The electrolytic cell equipment data collection method according to claim 2, characterized in that: The step of collecting equipment operation data through a preset data collection module also includes: Periodically sending data acquisition signals to a preset device controller through a preset data acquisition module; Receive and process the request message through the device controller; The data of the coils and registers in the device controller are read through the data acquisition module.

4. The electrolytic cell equipment data collection method according to claim 1, characterized in that: Before the step of decoding the device operation data by the set data acquisition module, the method further includes: The set device controller point information is stored in a preset configuration management database module through a preset data acquisition module, wherein the set device controller point information is stored as a single piece of data according to the point, mapping address and specific content, wherein the specific content includes but is not limited to Modbus address, PLC controller address, point name and function code, the device includes multiple controllers, and the configuration management database stores multiple pieces of device controller point information.

5. The electrolytic cell equipment data collection method according to claim 4, characterized in that: The step of decoding the device operation data by the data acquisition module further includes: The data acquisition module is used to map the device controller point information, decode the device operation data, and obtain decoded data.

6. The electrolytic cell equipment data collection method according to claim 1, characterized in that: Before the step of determining whether the backend and the frontend page have established a connection through the set second communication protocol, the method further includes: The device detail data is stored in a preset configuration management database module through a preset device management module, wherein the device detail data includes but is not limited to device code, device name, device power, device address and device region; The user details data is stored in the preset configuration management database module through the preset user management module, wherein the user details data includes but is not limited to the user number, user name, and user authority; Create client usage pages through the preset front-end page data display module.

7. The electrolytic cell equipment data collection method according to claim 1, characterized in that: Before the step of obtaining the data content in a set format through the front end, the method further includes: Placing the decoded data in a set temporary data object; The set temporary data object is encapsulated according to the set format.

8. A management system for data collection of electrolytic cell equipment, characterized in that: include: A first connection module, used to establish a long connection with a preset device controller through a network application framework and a first communication protocol set in a preset data acquisition module; A data acquisition module, used to collect equipment operation data through the data acquisition module; A data decoding module, used for decoding the device operation data through the data acquisition module to obtain decoded data; A determination module, used to determine whether the back end and the front end have established a connection through a set second communication protocol; A second connection module, for, if not, connecting via a set second communication protocol connection address and initializing data transmission; a transmission module, configured to, if yes, send the decoded data to the front end via the second communication protocol; A rendering module, used to obtain data content in a set format through the front end, and render the data content to obtain rendering data; A front-end page data display module, used to display the rendering data on the front-end page through a preset front-end page data display module; Equipment management module, used to manage electrolyzer equipment and distinguish various types of equipment; User management module, used for the company's management of customers, providing different user permissions to different customers; The configuration management database module is used to store and maintain the data content of each module.

9. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the electrolytic cell equipment data collection method described in any one of claims 1 to 7 are implemented.

10. A computer storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a method for collecting data of an electrolytic cell equipment according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Cloud platform control system based on business management

    CN120259019A