Automatic keep-alive method, device and system for acquisition software applicable to industrial Internet of Things

Through real-time monitoring and analysis of production equipment and host computer data in the Industrial Internet of Things, and automatic restart of the collection software, the problems of host computer crashes, crashes and data errors are solved, the reliability and accuracy of data collection are improved, and manual maintenance is reduced. cost.

CN118503052BActive Publication Date: 2024-09-24NINGBO SHUYI GONGLIAN TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410948568.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-24
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

Existing industrial IoT data collection software lacks an automatic keep-alive function, resulting in the inability to automatically recover when the host computer crashes, freezes, or has data errors, affecting the reliability and accuracy of the data and increasing manual maintenance costs.

Method used

Through the PC-side host computer processing module, real-time monitoring and analysis of production equipment, power consumption data and host computer operation data, combined with historical data, calls monitoring rules to determine the operating status of the host computer, and automatically restarts the collection software when an unhealthy state is detected. Realize the automatic keep-alive of the host computer.

Benefits of technology

It ensures the reliability and accuracy of industrial IoT data collection, improves the monitoring efficiency of the smart cloud platform for industrial IoT, reduces data loss and error reporting, and reduces the need for manual maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118503052B
    Figure CN118503052B
Patent Text Reader

Abstract

The present invention provides an automatic keep-alive method, device and system for acquisition software applicable to the industrial Internet of Things, comprising the following steps: establishing a physical model and sending it to an acquisition terminal; receiving production equipment data, smart meter power consumption data and host computer operation data in a time sequence; performing data quality optimization processing on the received original time series data, writing it into a time series database in a physical model manner, and sending it to a downstream; performing a comprehensive analysis on the production equipment data, power consumption data, host computer operation data and historical data, calling monitoring rules, and judging the operation status of the host computer; when the host computer acquisition software crashes, exits, freezes, or fails, sending and executing a command to restart the host computer acquisition software by a host computer processing module; the advantages are: realizing timely and accurate automatic keep-alive of the host computer acquisition software, minimizing data loss and data error reporting, ensuring the reliability and accuracy of the acquired data, and improving the monitoring efficiency of the smart cloud platform for the industrial Internet of Things.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data collection of industrial Internet of Things, and in particular to a method, device and system for automatically keeping collection software alive. The system can automatically monitor the operating status of a PC-side host computer, and integrate energy data, PC-side data where the host computer is located, historical data, etc., to keep the host computer in an unhealthy operating state alive in a timely manner. Background Art

[0002] As Industrial Manufacturing 4.0 advances from concept to reality, more and more factories are actively promoting the construction and implementation of the Industrial Internet of Things. Production equipment is connected to the Internet through data Internet of Things, and equipment parameters are uploaded to the database through collection protocols for data monitoring and analysis. The premise of all this is the stability and accuracy of real-time data collection.

[0003] For example, the invention patent with application publication number CN113473263A discloses an industrial Internet of Things data collection and transmission device, including a transmission control device, a collection device and a control device. Wireless communication connection is used to avoid wiring problems between the transmission control device and the collection device, and all-round data collection and transmission of the industrial Internet of Things is performed to improve the communication stability of industrial Internet of Things data collection and transmission.

[0004] In the industrial Internet of Things architecture of a smart factory, the smart cloud platform is equivalent to the central nervous system, and the data collection network is equivalent to the nerve endings. The data collection network includes the workshop production equipment data collection network, energy (water, electricity, gas) data collection network, etc. After collecting data through collectors and sensors, the data is uploaded to the smart cloud platform for cleaning, aggregation, calculation and analysis, monitoring the operation of the entire factory, and sending reverse control commands. Usually, the factory itself does not have the ability to build the industrial Internet of Things, and requires the intervention of a third party. The current widely used industrial Internet of Things operation model is to connect each data collection network to the smart cloud platform built by a third party.

[0005] For energy data collection in factories, such as electricity consumption data, it can be collected and summarized by the power collection terminal installed in the factory's dedicated power distribution room and then transmitted to the cloud platform. It can also be installed near each or several production equipment. Smart meters are collected by the collection terminal and then transmitted to the cloud platform. For example, the invention patent with authorization announcement number CN104298202B discloses an industrial field intelligent monitoring terminal based on the Internet of Things. The terminal can collect power parameters and switch input status on site, and can also collect other monitoring parameters through the RS485 bus of the industrial field layer or the wireless network constructed by the field layer wireless self-organizing network module. The terminal performs comprehensive calculation and analysis on the collected parameters and implements intelligent control.

[0006] Regarding data collection of production equipment, many factories do not allow third parties to directly collect data from production equipment. Instead, they aggregate the data of production equipment through the upper computer on the PC side of the equipment manufacturer, and then share the data with the third-party cloud platform through a specific protocol. For example, the utility model patent with authorization announcement number CN217506409U discloses a data acquisition control system based on the industrial Internet of Things, including a PLC controller for collecting real-time data of equipment components and sending the real-time data to the upper computer; the upper computer is used to receive the real-time data sent by the PLC controller and send the data to the cloud server; the cloud server is used to receive the data sent by the upper computer, analyze and process the data, and send control instructions to the upper computer according to the analysis results.

[0007] It can be seen that the monitoring and analysis of the data and operating status of production equipment in the factory are highly dependent on the healthy operation of the PC-side host computer and the accuracy of data reporting. However, in the actual operation of the smart factory, the host computer, like other software, will also crash, freeze, and have data errors. Since the host computer manufacturer does not allow third parties to modify its host computer program, it can only be handled manually on site. Usually, the host computer freezes and errors occur every few days, and manual restart and repair take at least half a day. This results in the data quality, accuracy, and continuity collected on the smart cloud platform cannot be guaranteed, and the cloud platform's monitoring quality and efficiency of the industrial Internet of Things are affected, and a lot of labor costs are also increased.

[0008] Therefore, the existing data collection software of the Industrial Internet of Things has at least the following technical problems: 1. The host computer only has data collection and forwarding functions, and the "watchdog" function is not embedded. When the collection software crashes, it cannot recover automatically; 2. Once a system bug occurs in the host computer and causes it to crash, the software will not exit automatically, and the data collection and forwarding functions will become invalid; 3. The host computer collects data through a private protocol. When there is a problem with the host computer code logic or the device communication protocol logic, the host computer can only determine whether the data is obtained, but cannot determine whether the data is accurate, resulting in inaccurate data reported to the cloud platform.

[0009] In order to solve the above technical problems, it is urgent to develop an automatic keep-alive system for the collection software, which can analyze and judge in real time whether the host computer is running healthily and whether the collected data it reports is correct, and can automatically and timely keep the host computer in an unhealthy operating state alive, so as to ensure the reliability and accuracy of the industrial Internet of Things collection data and improve the monitoring efficiency of the smart cloud platform for the industrial Internet of Things. Summary of the invention

[0010] In view of the fact that the PC-side host computer acquisition software in the current industrial Internet of Things frequently crashes, freezes, and acquires errors and other unhealthy operating conditions, the smart cloud platform cannot continue to receive reliable and accurate production equipment acquisition data, and needs to rely on manual repair, which is time-consuming and labor-intensive. The technical problem to be solved by the present invention is to provide an automatic keep-alive method, device and system for acquisition software suitable for the industrial Internet of Things, which can analyze and judge in real time whether the host computer is running healthily and whether the collected data reported by it is correct, and can automatically and timely keep the host computer in an unhealthy operating state alive, so as to ensure the reliability and accuracy of the industrial Internet of Things acquisition data and improve the monitoring efficiency of the smart cloud platform on the industrial Internet of Things.

[0011] The technical solution adopted by the present invention to solve the above technical problems is: a method for automatically keeping alive acquisition software applicable to industrial Internet of Things, comprising the following steps:

[0012] Step S10: establishing a physical model for all production equipment according to the production equipment conditions in the factory domain, and sending the physical model to the collection terminal;

[0013] Step S20: receiving the production equipment data, smart meter power consumption data and host computer operation data collected and reported by the collection terminal according to the physical model in a time sequence; the host computer operation data is reported to the collection terminal by the host computer processing module;

[0014] Step S30: After performing data quality optimization processing on the received original time series data, the data is written into the time series database in the manner of the physical model and sent to the downstream;

[0015] Step S40: Combine the production equipment data, power consumption data, host computer operation data and historical data for comprehensive analysis, call the monitoring rules of steps S41 to S46, and determine the operation status of the host computer:

[0016] Step S41: If the host computer process cannot be read, it is determined that the host computer acquisition software crashes and exits, and step S50 is executed; if the host computer process can be read, it is determined that the host computer acquisition software is online, and step S42 is executed;

[0017] Step S42: If the power consumption data is within the normal production power consumption range, it is determined that the production equipment corresponding to the power consumption data is in normal production, and step S43 is executed; if the power consumption data is lower than the production power consumption threshold of the production equipment, it is determined that the production equipment corresponding to the power consumption data is not in production, and step S46 is executed;

[0018] Step S43: If the production equipment data of the corresponding object model cannot be read, it is determined that the host computer acquisition software is dead, and step S50 is executed; if the production equipment data of the corresponding object model can be read, step S44 is executed;

[0019] Step S44: If the host computer operation data is continuously lower than the normal operation threshold value within the preset determination period, it is determined that the host computer acquisition software is wrong, and step S50 is executed; if the host computer operation data is within the normal operation value range, step S45 is executed;

[0020] Step S45: If the production equipment data is consistent with the production plan and historical data, it is determined that the host computer is operating normally, and the steps S20 to S40 are continued to be looped; if the production equipment data is not consistent with the production plan or historical data, it is determined that the host computer acquisition software is wrong, and step S50 is executed;

[0021] Step S46: If the production equipment data of the corresponding object model remains unchanged, it is determined that the host computer is operating normally, and steps S20 to S40 are continuously looped; if the production equipment data of the corresponding object model is still changing, it is determined that the acquisition software of the host computer is wrong, and step S50 is executed;

[0022] Step S50: Sending a command for restarting the host computer acquisition software to the acquisition terminal, the command for restarting the host computer acquisition software is sent by the acquisition terminal to the host computer processing module, and the host computer processing module executes the command for restarting the host computer acquisition software.

[0023] The preferred technical solution adopted by the present invention to solve the above technical problem is: in the step S20, the host computer operation data includes CPU usage, memory usage, disk usage, and network usage.

[0024] The preferred technical solution adopted by the present invention to solve the above technical problem is: in the step S44, the preset determination cycle is 3 processing beat cycles;

[0025] If at least two of the CPU usage, memory usage, disk usage, and network usage are lower than the normal operating threshold at the same time, and data updates stop for three processing cycle cycles, it is determined that the host computer acquisition software has an error.

[0026] The preferred technical solution adopted by the present invention to solve the above technical problem is: in step S30, the data quality optimization process includes the following steps:

[0027] Step S31: using adaptive filtering technology to smooth the data, retain the edge information of the signal, and combat high-frequency noise;

[0028] Step S32: Identify and mark potential outlier points to ensure data purity;

[0029] Step S33: fill in missing data;

[0030] Step S34: Implement a resampling strategy and select upsampling or downsampling based on data analysis requirements; wherein, the upsampling increases the density of data points through interpolation, and the downsampling reduces the frequency through averaging or median aggregation to ensure that all sequences follow the same time step.

[0031] The preferred technical solution adopted by the present invention to solve the above technical problem is: in step S45, it is determined whether the production equipment data conforms to the production plan and historical data according to the following steps:

[0032] Step S451: Establish a baseline model, preset a baseline time period, integrate the production equipment data and production plan data within the baseline time period, and construct a parameter distribution model under the normal operation of the production equipment. The parameter distribution model is defined as the baseline model.

[0033] Step S452: Dynamic threshold adjustment, combining the current production plan to dynamically adjust the threshold of the normal production data range in the baseline model;

[0034] Step S453: Real-time comparative analysis, substituting the real-time production equipment data points into the baseline model adjusted by dynamic threshold for evaluation. If the evaluation exceeds the reasonable data range, it is determined that the production equipment data does not conform to the production plan or historical data, and the host computer acquisition software has an error.

[0035] Another technical solution adopted by the present invention to solve the above technical problem is: an automatic keep-alive device for acquisition software applicable to industrial Internet of Things, comprising:

[0036] The physical model building module is used to build physical models for all production equipment according to the production equipment conditions in the factory area, and send the physical models to the acquisition and reverse control module;

[0037] The acquisition and reverse control module is used to collect, read and report production equipment data, smart meter power consumption data and host computer operation data to the data quality optimization module according to the physical model; it is used to receive and send a command to restart the host computer acquisition software to the host computer processing module;

[0038] The host computer processing module is used to collect, read and report the host computer operation data to the acquisition and reverse control module; and is used to receive and execute a command to restart the host computer acquisition software;

[0039] A data quality optimization module is used to receive, in time sequence, the production equipment data, the smart meter power consumption data, and the host computer operation data collected and reported by the acquisition and reverse control module according to the physical model; and to perform data quality optimization processing on the received original time series data, write it into the time series database according to the physical model, and send it to the real-time monitoring module;

[0040] Real-time monitoring module, including monitoring submodule and rule submodule;

[0041] The monitoring submodule is used to perform comprehensive analysis based on the production equipment data, power consumption data, host computer operation data and historical data, call the monitoring rules in the rule submodule, and judge the operation status of the host computer; when the host computer acquisition software crashes, freezes or fails, it sends a command to restart the host computer acquisition software to the acquisition reverse control module;

[0042] The rule submodule is used to store the following monitoring rules:

[0043] If the host computer process cannot be read in rule R41, it is judged that the host computer acquisition software crashes and exits; if the host computer process can be read, it is judged that the host computer acquisition software is online, and continue with rule R42;

[0044] Rule R42: If the power consumption data is within the normal production power consumption range, it is determined that the production equipment corresponding to the power consumption data is in normal production, and the process continues with Rule R43; if the power consumption data is lower than the production power consumption threshold of the production equipment, it is determined that the production equipment corresponding to the power consumption data is not in production, and the process continues with Rule R46;

[0045] Rule R43: If the production equipment data of the corresponding object model cannot be read, it is judged that the host computer acquisition software is dead; if the production equipment data of the corresponding object model can be read, continue with Rule R44;

[0046] Rule R44: If the host computer operation data is continuously lower than the normal operation threshold within the preset judgment period, it is judged that the host computer acquisition software is wrong; if the host computer operation data is within the normal operation value range, continue to Rule R45;

[0047] Rule R45: If the production equipment data is consistent with the production plan and historical data, it is judged that the host computer is operating normally; if the production equipment data is not consistent with the production plan or historical data, it is judged that the host computer acquisition software is wrong;

[0048] Rule R46: If the production equipment data of the corresponding object model remains unchanged, it is judged that the host computer is operating normally; if the production equipment data of the corresponding object model is still changing, it is judged that the host computer acquisition software is wrong.

[0049] Another technical solution adopted by the present invention to solve the above technical problems is: an automatic keep-alive system for acquisition software applicable to the industrial Internet of Things, characterized by comprising: a collector, an acquisition terminal, a host computer processing module and a smart cloud platform;

[0050] The collector is used to collect production equipment data and report it to the host computer collection software;

[0051] The host computer processing module is loaded on the PC where the host computer acquisition software is located;

[0052] The acquisition terminal establishes a two-way data transmission channel with the PC and the smart cloud platform, and is loaded with an acquisition reverse control module;

[0053] The smart cloud platform establishes a two-way data transmission channel with the acquisition terminal, and is loaded with a physical model establishment module, a data quality optimization module and a real-time monitoring module;

[0054] The physical model establishment module is used to establish physical models for all production equipment according to the production equipment conditions in the factory area, and send the physical models to the collection and reverse control module of the collection terminal;

[0055] The acquisition and reverse control module is used to acquire, read and report production equipment data, smart meter power consumption data and host computer operation data to the data quality optimization module according to the physical model; and is used to receive and send a command to restart the host computer acquisition software to the host computer processing module;

[0056] A limited data transmission path is established between the host computer processing module and the host computer acquisition software, and the limited data transmission path includes collecting and reading the host computer operation data, and executing a command to restart the host computer acquisition software; the host computer processing module is used to report the host computer operation data to the acquisition reverse control module of the acquisition terminal, and receive a command to restart the host computer acquisition software from the acquisition reverse control module of the acquisition terminal;

[0057] The data quality optimization module is used to receive the production equipment data, smart meter power consumption data and host computer operation data collected and reported by the acquisition and reverse control module according to the physical model in a time series; after performing data quality optimization processing on the received original time series data, write it into the time series database in the manner of the physical model, and send it to the real-time monitoring module;

[0058] The real-time monitoring module includes a monitoring submodule and a rule submodule;

[0059] The monitoring submodule is used to perform comprehensive analysis based on the production equipment data, power consumption data, host computer operation data and historical data, call the monitoring rules in the rule submodule, and judge the operation status of the host computer; when the host computer acquisition software crashes, freezes or fails, it sends a command to restart the host computer acquisition software to the acquisition reverse control module;

[0060] The rule submodule is used to store the following monitoring rules:

[0061] If the host computer process cannot be read in rule R41, it is judged that the host computer acquisition software crashes and exits; if the host computer process can be read, it is judged that the host computer acquisition software is online, and continue with rule R42;

[0062] Rule R42: If the power consumption data is within the normal production power consumption range, it is determined that the production equipment corresponding to the power consumption data is in normal production, and the process continues with Rule R43; if the power consumption data is lower than the production power consumption threshold of the production equipment, it is determined that the production equipment corresponding to the power consumption data is not in production, and the process continues with Rule R46;

[0063] Rule R43: If the production equipment data of the corresponding object model cannot be read, it is judged that the host computer acquisition software is dead; if the production equipment data of the corresponding object model can be read, continue with Rule R44;

[0064] Rule R44: If the host computer operation data is continuously lower than the normal operation threshold within the preset judgment period, it is judged that the host computer acquisition software is wrong; if the host computer operation data is within the normal operation value range, continue to Rule R45;

[0065] Rule R45: If the production equipment data is consistent with the production plan and historical data, it is judged that the host computer is operating normally; if the production equipment data is not consistent with the production plan or historical data, it is judged that the host computer acquisition software is wrong;

[0066] Rule R46: If the production equipment data of the corresponding object model remains unchanged, it is judged that the host computer is operating normally; if the production equipment data of the corresponding object model is still changing, it is judged that the host computer acquisition software is wrong.

[0067] Another technical solution adopted by the present invention to solve the above technical problems is: a computer device, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, it implements the steps of the automatic keep-alive method of the collection software applicable to the industrial Internet of Things.

[0068] Another technical solution adopted by the present invention to solve the above technical problem is: a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the automatic keep-alive method of acquisition software applicable to the industrial Internet of Things are implemented.

[0069] Another technical solution adopted by the present invention to solve the above technical problem is: a computer program product, including a computer program, which, when executed by a processor, implements the steps of a method for automatically keeping acquisition software alive that is applicable to the industrial Internet of Things.

[0070] Compared with the prior art, the advantages of the present invention are: First, by loading the host computer processing module on the PC side, the operation data of the host computer acquisition software is reported in real time to the acquisition reverse control module of the acquisition terminal, and the data quality optimization module and the real-time monitoring module in the smart cloud platform are processed to realize real-time monitoring and analysis of the operation status of the host computer acquisition software, thereby ensuring the reliability and accuracy of the industrial Internet of Things acquisition data and improving the monitoring efficiency of the smart cloud platform on the industrial Internet of Things.

[0071] Second, it can timely discover the unhealthy running state of the host computer acquisition software, and send a command to restart the host computer acquisition software to the host computer processing module through the acquisition reverse control module of the acquisition terminal at the first time. The host computer processing module restarts the host computer acquisition software. On the basis of respecting the host computer manufacturer's non-open interface for program modification, it is equivalent to giving the host computer an external "watchdog" function, so as to restore the normal and healthy operation of the host computer in time, realize the automatic preservation of the host computer acquisition software, minimize the data loss and data error of the industrial Internet of Things, and lay a solid foundation for building an efficient, healthy, and report-based industrial Internet of Things system.

[0072] Third, the power consumption data of production equipment is creatively incorporated into the calculation and judgment rules as data raw materials, accurately and quickly judging the unhealthy operation category of the host computer acquisition software. In the case of the host computer acquisition software crashing and exiting, the original host computer can be automatically pulled up within a few seconds, greatly reducing the time and amount of data loss; in the case of the host computer acquisition software freezing, a quick judgment can be made within tens of seconds, eliminating the energy and time spent on manual discovery and troubleshooting of problem points; in the case of errors in the host computer acquisition software, data errors can be discovered in a timely manner, eliminating the occurrence of large-scale errors in factory reports and ensuring the integrity and accuracy of the data.

[0073] In addition, in the process of building, operating and maintaining the industrial Internet of Things of smart factories, the third party as the platform builder needs to match different building plans according to the actual situation of each factory. However, due to the various restrictions set by the factory and the host computer manufacturer for the purpose of protecting corporate secrets, the third party can only find and solve problems under limited conditions. The automatic preservation method, device and system for the acquisition software applicable to the industrial Internet of Things provided by the present invention fully reflects the difficulty of the third party as the platform builder in discovering, troubleshooting and handling the unhealthy operation of the host computer acquisition software, accurately locates the breakthrough from various restrictions, and creatively combines the production equipment data, energy data and host computer operation data, real-time data and historical data, and crosses data types and time dimensions to realize the automatic preservation function of the host computer acquisition software, which solves the actual problems and difficulties of the industrial Internet of Things in a very targeted manner, and cures the disease immediately. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] The present invention will be further described in detail below in conjunction with the accompanying drawings and preferred embodiments, but those skilled in the art will appreciate that these drawings are drawn only for the purpose of explaining the preferred embodiments and therefore should not be used as a limitation on the scope of the present invention. In addition, unless otherwise specified, the drawings are only schematically representing the composition or structure of the described objects and may contain exaggerated displays, and the drawings are not necessarily drawn to scale.

[0075] Figure 1 This is a schematic diagram of an industrial Internet of Things smart factory framework of a preferred embodiment of the present invention;

[0076] Figure 2 This is a general flow chart of an automatic keep-alive method for acquisition software applicable to the industrial Internet of Things according to a preferred embodiment of the present invention;

[0077] Figure 3 A flowchart of determining the operating status of a host computer according to a preferred embodiment of the present invention;

[0078] Figure 4 A flowchart of data quality optimization processing according to a preferred embodiment of the present invention;

[0079] Figure 5 This is a flowchart for determining whether production equipment data conforms to production plans and historical data in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0080] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 making creative work are within the scope of protection of the present invention.

[0081] like Figure 1 The figure shows a schematic diagram of the data collection, transmission, processing and monitoring framework of an industrial Internet of Things smart factory provided by this embodiment. Among them, the collector, collection terminal, host computer processing module loaded on the PC end, and smart cloud platform represented by the solid line frame in the figure are usually provided by a third party that builds the industrial Internet of Things for the factory, and are constructed as the automatic keep-alive system of the collection software applicable to the industrial Internet of Things provided by this embodiment; and the production equipment, smart meter, PC end, and host computer collection software loaded on the PC end represented by the dotted line frame in the figure are usually self-installed by the factory, or provided by the power department, host computer manufacturer, etc.

[0082] It should be noted that there are two types of smart meters for measuring the power consumption of production equipment in factories. One type is the smart meter installed in the factory's dedicated power distribution room, which includes a master meter and a sub-meter for each outgoing line. However, usually each outgoing line does not correspond to a single production equipment, but rather is centralized to a workshop, where a branch distribution box is installed, which distributes the power to each piece of equipment. Therefore, it is usually difficult for the smart meter in the power distribution room to accurately reflect the power consumption of each piece of production equipment.

[0083] Therefore, factories usually install a smart meter for each production equipment, or use one smart meter for several production equipment, next to the production equipment in the workshop, near several production equipment, or near the branch distribution box, in order to accurately collect and reflect the electricity consumption of each production equipment.

[0084] The collection terminal is connected to the smart meter at the end of the factory to collect and read the electricity consumption data in the smart meter. In this embodiment, each production equipment is equipped with a smart meter, so the collection terminal can obtain the electricity consumption data corresponding to each production equipment. In other embodiments, several production equipment share a smart meter, and the collection terminal needs to know in advance and set which production equipment the electricity consumption data of each smart meter corresponds to.

[0085] The collector is usually installed on each production equipment to collect production equipment data and report it to the host computer collection software. This is because for the purpose of protecting corporate confidentiality, most factories do not allow third parties to directly obtain the original data of their production equipment. Even if the collector is provided and installed by a third party, the original data of the production equipment must still be reported to the host computer collection software on the factory's PC. The third-party collection terminal is connected to the PC through a communication protocol and an open interface, and the host computer collection software reports the production equipment data that has been preliminarily processed or screened to the collection terminal.

[0086] In addition, the acquisition terminal establishes a two-way data transmission channel with the PC and the smart cloud platform, so that two-way data transmission can be achieved between the acquisition terminal and the PC, and between the acquisition terminal and the smart cloud platform. The acquisition terminal establishes a two-way data transmission channel with the PC, and its main purpose is to establish a two-way data transmission channel with the host computer processing module loaded in the PC, so as to send commands to the host computer processing module in reverse.

[0087] Each module in the automatic keep-alive device for the acquisition software applicable to the industrial Internet of Things is loaded into the automatic keep-alive system for the acquisition software applicable to the industrial Internet of Things, and relies on the automatic keep-alive system for the acquisition software applicable to the industrial Internet of Things to run. Among them, the acquisition terminal is loaded with an acquisition reverse control module, the host computer processing module is loaded on the PC where the host computer acquisition software is located, and the smart cloud platform is loaded with a physical model establishment module, a data quality optimization module, and a real-time monitoring module. Let's take a closer look at the functions of each module.

[0088] The first is the physical model establishment module within the smart cloud platform, which is used to establish physical models for all production equipment based on the production equipment conditions within the factory, and send the physical model to the collection and reverse control module of the collection terminal, so that the collection and reverse control module of the collection terminal can collect, read and report the production equipment data based on the physical model, realizing the precise correspondence of "one device, one model and one set of data".

[0089] The acquisition reverse control module in the acquisition terminal is used to collect, read and report production equipment data, smart meter power consumption data and host computer operation data to the data quality optimization module of the smart cloud platform according to the physical model; it is used to receive and send a command to restart the host computer acquisition software to the host computer processing module. Among them, as mentioned above, the production equipment data comes from the report of the host computer acquisition software on the PC side, and the smart meter power consumption data comes from the report of the smart meter. The host computer operation data comes from the report of the host computer processing module.

[0090] Those skilled in the art will appreciate that the “smart meter electricity consumption data” referred to in the present invention is an abbreviation for the electricity consumption data of production equipment measured by the smart meter, and is not the electricity consumption data of the smart meter itself.

[0091] A limited data transmission path is established between the host computer processing module in the PC end and the host computer acquisition software. This is because the host computer manufacturer does not allow third parties to modify and revise its programs, and only supports third-party programs to establish limited data transmission with it. Therefore, the limited data transmission path between the host computer processing module and the host computer acquisition software includes the host computer processing module collecting and reading the host computer operation data, and the host computer processing module executing the host computer acquisition software restart command. The host computer processing module is also used to report the host computer operation data to the acquisition reverse control module of the acquisition terminal, and receive the restart host computer acquisition software command from the acquisition reverse control module of the acquisition terminal.

[0092] Let’s look at other modules in the smart cloud platform:

[0093] The data quality optimization module is used to receive the production equipment data, smart meter power consumption data and host computer operation data collected and reported by the acquisition and reverse control module from the acquisition terminal according to the physical model in a time series; it is used to optimize the data quality of the received original time series data, write it into the time series database according to the physical model, and send it to the real-time monitoring module.

[0094] The real-time monitoring module includes a monitoring submodule and a rule submodule. The monitoring submodule is used to conduct a comprehensive analysis based on production equipment data, power consumption data, host computer operation data and historical data, call the monitoring rules in the rule submodule, and judge the operation status of the host computer; when the host computer acquisition software crashes, exits, freezes or fails, it sends a command to restart the host computer acquisition software to the acquisition reverse control module of the acquisition terminal.

[0095] It can be seen that the command to restart the host computer acquisition software is sent by the real-time monitoring module of the smart cloud platform to the acquisition reverse control module of the acquisition terminal, and then sent by the acquisition reverse control module of the acquisition terminal to the host computer processing module on the PC side, and finally executed by the host computer processing module on the host computer acquisition software.

[0096] The rules submodule is used to store the following monitoring rules:

[0097] If the host computer process cannot be read according to rule R41, it is judged that the host computer acquisition software crashes and exits; if the host computer process can be read, it is judged that the host computer acquisition software is online and continues with rule R42.

[0098] Rule R42: If the electricity consumption data is within the normal production electricity consumption range, then the production equipment corresponding to the electricity consumption data is judged to be in normal production, and the rule R43 is continued; if the electricity consumption data is lower than the production electricity consumption threshold of the production equipment, then the production equipment corresponding to the electricity consumption data is judged to be not in production, and the rule R46 is continued.

[0099] Rule R43: If the production equipment data of the corresponding object model cannot be read, it is determined that the host computer acquisition software has crashed; if the production equipment data of the corresponding object model can be read, continue with Rule R44.

[0100] Rule R44: If the host computer operation data continues to be lower than the normal operation threshold within the preset judgment period, it is judged that the host computer acquisition software has an error; if the host computer operation data is within the normal operation value range, continue with Rule R45.

[0101] Rule R45: If the production equipment data is consistent with the production plan and historical data, it is judged that the host computer is operating normally; if the production equipment data is not consistent with the production plan or historical data, it is judged that the host computer acquisition software is wrong.

[0102] Rule R46: If the production equipment data of the corresponding object model remains unchanged, it is judged that the host computer is operating normally; if the production equipment data of the corresponding object model is still changing, it is judged that the host computer acquisition software is wrong.

[0103] It can be seen that the rule submodule presets three possible unhealthy operating states of the host computer acquisition software: crash exit, freeze and error. The three unhealthy operating states have their own characteristics as follows:

[0104] The crash and exit of the host computer acquisition software is the easiest state to judge among the three states, that is, whether the host computer process can be read. However, in this case, before using the technical means provided by the present invention, it is necessary to manually discover the data loss, and then arrange personnel to return to the original factory to check whether the host computer has crashed and exited, which usually takes several hours or even one to two days. If there is no on-duty personnel to pay attention to the data reporting situation at all times, it is very likely that no problem will be found for several days, resulting in a large amount of data missing.

[0105] The host computer acquisition software crashes. At this time, the host computer is still online, so the host computer process can still be read, but there is actually no data reported. Since no data is reported, it is also possible that the production equipment is not in production, so there will inevitably be a delay in manually discovering the problem. Even if it is found that the data is not reported, it is quite difficult for the factory to investigate, and it is necessary to eliminate problems with the production equipment itself, collector problems, line problems, network problems, etc. one by one.

[0106] An error in the host computer acquisition software is the most difficult to judge among the three states. Not only is the host computer actually online, but it is also continuously reporting data. Before using the technical means provided by the present invention, this unhealthy operating state is almost impossible to be discovered manually. It is not until the smart cloud platform integrates data reports after a long period of erroneous operation that it is discovered when checking the reports that the report data does not correspond to the actual production situation, which is too late.

[0107] It should be noted here that the error in the host computer acquisition software referred to in the present invention refers to an error in the data reported by the host computer acquisition software, which is inconsistent with the actual production equipment data. It mainly includes two situations: one is the code logic bug of the host computer acquisition software, and the other is the communication protocol logic bug, both of which will ultimately lead to errors in the data reported by the host computer acquisition software.

[0108] The following specifically combines the automatic keep-alive method for collection software suitable for industrial Internet of Things provided in this embodiment to intuitively understand the various modules of the automatic keep-alive device for collection software suitable for industrial Internet of Things, the functions of various software and hardware of the automatic keep-alive system for collection software suitable for industrial Internet of Things, and their mutual coordination relationship from the perspective of timing steps, so as to more concretely and intuitively understand how the technical means provided by the present invention monitor, reverse control and automatically keep the collection software of the host computer alive.

[0109] like Figure 2 As shown, the automatic keep-alive method for acquisition software applicable to the industrial Internet of Things includes the following steps:

[0110] Step S10: Create a physical model for all production equipment according to the production equipment situation in the factory domain, and send the physical model to the acquisition terminal. This step is performed by the physical model establishment module of the smart cloud platform. After completing the physical model establishment, equipment configuration and initialization, the subsequent steps begin.

[0111] Step S20: receiving the production equipment data, smart meter power consumption data and host computer operation data collected and reported by the collection terminal according to the object model in a time sequence; the host computer operation data is reported to the collection terminal by the host computer processing module.

[0112] Specifically at the device and system level, since smart meters and collectors report data in sequence, the host computer acquisition software on the PC side receives the production equipment data in sequence and reports it to the acquisition and reverse control module of the acquisition terminal; the host computer processing module reads the host computer operation data in the host computer acquisition software in sequence, and reports it to the acquisition and reverse control module of the acquisition terminal in sequence; the acquisition and reverse control module of the acquisition terminal also reports the production equipment data, smart meter electricity consumption data and host computer operation data to the data quality optimization module of the smart cloud platform in sequence.

[0113] Preferably, the host computer processing module collects, reads and reports the host computer operation data, specifically including CPU usage, memory usage, disk usage, network usage, etc.

[0114] Step S30: After the received original time series data is processed for data quality optimization, it is written into the time series database in the form of a physical model and sent downstream.

[0115] This step is performed by the data quality optimization module of the smart cloud platform, wherein the data quality optimization of the original time series data further includes steps S31 to S34, such as Figure 4 As shown, the specific steps are as follows:

[0116] Step S31: Smoothing the data using adaptive filtering technology, such as a bilateral filter or a Kalman filter, which can effectively smooth the data while retaining the edge information of the signal, thereby combating high-frequency noise.

[0117] Step S32: Use Grubbs' test statistical method or Isolation Forest and Autoencoders based on machine learning to identify and mark potential outlier points with high accuracy to ensure the purity of the data.

[0118] Step S33: If data is missing, fill in the missing data according to the following rules: first determine the degree and type of missing data; for mild data missing, use linear interpolation or nearest neighbor interpolation to quickly fill in the missing data to maintain data continuity; for data series with significant regularity or periodicity, use the ARIMA time series prediction model or seasonal decomposition to predict the missing part to keep the intrinsic trend and periodic characteristics of the data series unchanged.

[0119] Step S34: In order to unify the frequency and facilitate cross-sequence comparison, a resampling strategy is implemented, and an appropriate resampling method, such as upsampling or downsampling, is selected according to data analysis requirements; upsampling increases the density of data points through interpolation, and downsampling reduces the frequency through averaging or median aggregation to ensure that all sequences follow the same time step.

[0120] After data quality optimization, the data quality optimization module writes the data into the time series database in the form of a physical model so that it can be retrieved at any time, and sends it to the real-time monitoring module to execute step S40.

[0121] Step S40: Perform a comprehensive analysis based on the production equipment data, power consumption data, host computer operation data and historical data, call the monitoring rules of steps S41 to S46, and determine the operating status of the host computer.

[0122] This step is performed by the monitoring submodule of the real-time monitoring module, and the monitoring rules are stored in the rule submodule. The monitoring submodule retrieves the rules from the rule submodule for calculation. This modular design makes it easier to modify the monitoring rules and rule parameters in the rule submodule. A third party can customize the monitoring rules according to the actual characteristics of different factory production equipment and host computer acquisition software, and can also flexibly modify the monitoring rules at any time according to the increase or decrease of factory production equipment, model changes, and the upgrade of host computer acquisition software.

[0123] Steps S41 to S46 correspond to the above rules R41 to R46, such as Figure 3 As shown, the details are as follows:

[0124] Step S41: If the host computer process cannot be read, it is determined that the host computer acquisition software crashes and exits, and step S50 is executed; if the host computer process can be read, it is determined that the host computer acquisition software is online, and step S42 is executed.

[0125] Step S42: If the electricity consumption data is within the normal production electricity consumption range, it is determined that the production equipment corresponding to the electricity consumption data is in normal production, and step S43 is executed; if the electricity consumption data is lower than the production electricity consumption threshold of the production equipment, it is determined that the production equipment corresponding to the electricity consumption data is not in production, and step S46 is executed.

[0126] Regarding the normal production power consumption threshold, it needs to be preset in the rule submodule according to the actual power consumption of the production equipment. The rated voltage, rated current, rated power, starting current and other data of the production equipment can usually be found on the nameplate or instruction manual of the production equipment. When the production equipment is not powered on, on standby, started, and producing at different rates, its voltage and current values ​​are different. Therefore, when setting the normal production power consumption threshold, it is necessary not only to refer to the nameplate and instruction manual data, but also to comprehensively determine it based on the measurement data during actual operation.

[0127] For this step, at least a current boundary value between when the production equipment starts production and when it is not in production must be pre-set as a preset normal production power consumption threshold.

[0128] In addition, for the case where several production equipment share one terminal smart meter, the reference weight of the measurement data corresponding to the smart meter under different actual operating conditions of each production equipment is greater. For example, if a smart meter is connected to five production equipment, it is necessary to measure at least the power consumption values ​​of all five production equipment when they are in normal production, and the power consumption value of any of the production equipment when it is not in production, and pre-set them as parameters in the rule submodule.

[0129] Step S43: If the production equipment data of the corresponding object model cannot be read, it is determined that the host computer acquisition software is frozen and step S50 is executed; if the production equipment data of the corresponding object model can be read, step S44 is executed.

[0130] Step S44: If the host computer operation data is continuously lower than the normal operation threshold value within the preset judgment period, it is determined that the host computer acquisition software has an error, and step S50 is executed; if the host computer operation data is within the normal operation value range, step S45 is executed.

[0131] In this step, the present embodiment sets the preset judgment period to 3 processing beat cycles. When at least two indicators of the host computer operation data such as CPU usage, memory usage, disk usage, and network usage are lower than the normal operation threshold at the same time, and the data stops updating for 3 processing beat cycles, it is judged that the host computer acquisition software has an error. At the same time, since the processing beat cycles of different production equipment are not the same, this step also requires reading the physical model of the corresponding production equipment to confirm its processing beat cycle, and then making targeted judgments.

[0132] Step S45: If the production equipment data is consistent with the production plan and historical data, it is determined that the host computer is operating normally, and the loop from step S20 to step S40 continues; if the production equipment data is not consistent with the production plan or historical data, it is determined that the host computer acquisition software is wrong, and step S50 is executed.

[0133] In this step, preferably, Figure 5 As shown, according to steps S451 to S453, it is determined whether the production equipment data conforms to the production plan and historical data:

[0134] Step S451: Establish a baseline model, preset a baseline time period, integrate the production equipment data and production plan data within the baseline time period, and construct a parameter distribution model under normal operation of the production equipment. The parameter distribution model is defined as the baseline model. The baseline time period is a period of time in the past, so the production equipment data and production plan data within the baseline time period are historical data within a period of time in the past. The integrated historical production equipment data includes but is not limited to production equipment operating parameters, productivity, product quality indicators, etc. The historical production plan data must correspond to the historical production equipment data, including but not limited to production batches, target output, and process parameters.

[0135] Step S452: Dynamic threshold adjustment: Combined with the current production plan, dynamically adjust the threshold of the normal production data range in the baseline model. For example, different production batches may correspond to different process parameters. If the processing speed required in the production plan is higher, the corresponding threshold should also be adjusted higher.

[0136] Step S453: Real-time comparative analysis, substituting the real-time production equipment data points into the baseline model adjusted by dynamic thresholds for evaluation. If the evaluation exceeds the reasonable data range, it is determined that the production equipment data does not conform to the production plan or historical data, and the host computer acquisition software has an error.

[0137] Further preferably, according to the judgment of steps S451 to S453, if it is judged as "the production equipment data does not conform to the production plan or historical data, and the host computer acquisition software is wrong" for five consecutive times, the process jumps to step S50 to reduce the probability of misjudgment and avoid accidental restart of the host computer.

[0138] Step S46: If the production equipment data of the corresponding object model remains unchanged, it is determined that the host computer is operating normally, and steps S20 to S40 are continued to be looped; if the production equipment data of the corresponding object model is still changing, it is determined that the host computer acquisition software has an error, and step S50 is executed.

[0139] Step S50: Send a command to restart the host computer acquisition software to the acquisition terminal. The command is sent by the acquisition terminal to the host computer processing module, and the host computer processing module executes the command.

[0140] In this step, when the monitoring submodule in the real-time monitoring module determines that the host computer acquisition software has crashed, exited, frozen or has an error according to the monitoring rules in the rule submodule, a command to restart the host computer acquisition software is sent to the acquisition reverse control module of the acquisition terminal. The acquisition reverse control module of the acquisition terminal reversely controls the host computer processing module and sends it a command to restart the host computer acquisition software. The host computer processing module executes the command to restart the host computer acquisition software on the host computer acquisition software to restart the host computer acquisition software.

[0141] It can be seen that the automatic keep-alive method, device and system for acquisition software applicable to the industrial Internet of Things provided by the present invention achieve at least the following technical effects:

[0142] First, by loading the host computer processing module on the PC side, the operating data of the host computer acquisition software is reported in real time to the acquisition reverse control module of the acquisition terminal. After the calculation and processing of the data quality optimization module and the real-time monitoring module in the smart cloud platform, real-time monitoring and analysis of the operating status of the host computer acquisition software is realized, ensuring the reliability and accuracy of the industrial Internet of Things acquisition data and improving the monitoring efficiency of the smart cloud platform on the industrial Internet of Things.

[0143] Second, it can timely discover the unhealthy running state of the host computer acquisition software, and send a command to restart the host computer acquisition software to the host computer processing module through the acquisition reverse control module of the acquisition terminal at the first time. The host computer processing module restarts the host computer acquisition software. On the basis of respecting the host computer manufacturer's non-open interface for program modification, it is equivalent to giving the host computer an external "watchdog" function, so as to restore the normal and healthy operation of the host computer in time, realize the automatic preservation of the host computer acquisition software, minimize the data loss and data error of the industrial Internet of Things, and lay a solid foundation for building an efficient, healthy, and report-based industrial Internet of Things system.

[0144] Third, the power consumption data of production equipment is creatively incorporated into the calculation and judgment rules as data raw materials, accurately and quickly judging the unhealthy operation category of the host computer acquisition software. In the case of the host computer acquisition software crashing and exiting, the original host computer can be automatically pulled up within a few seconds, greatly reducing the time and amount of data loss; in the case of the host computer acquisition software freezing, a quick judgment can be made within tens of seconds, eliminating the energy and time spent on manual discovery and troubleshooting of problem points; in the case of errors in the host computer acquisition software, data errors can be discovered in a timely manner, eliminating the occurrence of large-scale errors in factory reports and ensuring the integrity and accuracy of the data.

[0145] In addition, in the process of building, operating and maintaining the industrial Internet of Things of smart factories, the third party as the platform builder needs to match different building plans according to the actual situation of each factory. However, due to the various restrictions set by the factory and the host computer manufacturer for the purpose of protecting corporate secrets, the third party can only find and solve problems under limited conditions. The automatic preservation method, device and system for the acquisition software applicable to the industrial Internet of Things provided by the present invention fully reflects the difficulty of the third party as the platform builder in discovering, troubleshooting and handling the unhealthy operation of the host computer acquisition software, accurately locates the breakthrough from various restrictions, and creatively combines the production equipment data, energy data and host computer operation data, real-time data and historical data, and crosses data types and time dimensions to realize the automatic preservation function of the host computer acquisition software, which solves the actual problems and difficulties of the industrial Internet of Things in a very targeted manner, and cures the disease immediately.

[0146] It should be noted that like reference numerals denote similar items in the following drawings, and thus, once an item is defined in one drawing, it may not be further defined or explained in subsequent drawings.

[0147] The above is an introduction to the automatic keep-alive method, device and system for acquisition software applicable to the industrial Internet of Things provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the present invention and its core ideas. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. An automatic keep-alive method for acquisition software applicable to industrial Internet of Things, characterized in that: The steps include: Step S10: establishing a physical model for all production equipment according to the production equipment conditions in the factory domain, and sending the physical model to the collection terminal; Step S20: receiving the production equipment data, smart meter power consumption data and host computer operation data collected and reported by the collection terminal according to the object model in a time sequence; The host computer operation data is reported to the acquisition terminal by the host computer processing module; Step S30: After performing data quality optimization processing on the received original time series data, the data is written into the time series database in the manner of the physical model and sent to the downstream; Step S40: Combine the production equipment data, power consumption data, host computer operation data and historical data for comprehensive analysis, call the monitoring rules of steps S41 to S46, and determine the operation status of the host computer: Step S41: If the host computer process cannot be read, it is determined that the host computer acquisition software crashes and exits, and step S50 is executed; if the host computer process can be read, it is determined that the host computer acquisition software is online, and step S42 is executed; Step S42: If the power consumption data is within the normal production power consumption range, it is determined that the production equipment corresponding to the power consumption data is in normal production, and step S43 is executed; if the power consumption data is lower than the production power consumption threshold of the production equipment, it is determined that the production equipment corresponding to the power consumption data is not in production, and step S46 is executed; Step S43: If the production equipment data of the corresponding object model cannot be read, it is determined that the host computer acquisition software is dead, and step S50 is executed; if the production equipment data of the corresponding object model can be read, step S44 is executed; Step S44: If the host computer operation data is continuously lower than the normal operation threshold value within the preset determination period, it is determined that the host computer acquisition software is wrong, and step S50 is executed; if the host computer operation data is within the normal operation value range, step S45 is executed; Step S45: If the production equipment data is consistent with the production plan and historical data, it is determined that the host computer is operating normally, and the steps S20 to S40 are continued to be looped; if the production equipment data is not consistent with the production plan or historical data, it is determined that the host computer acquisition software is wrong, and step S50 is executed; Step S46: If the production equipment data of the corresponding object model remains unchanged, it is determined that the host computer is operating normally, and steps S20 to S40 are continuously looped; if the production equipment data of the corresponding object model is still changing, it is determined that the acquisition software of the host computer is wrong, and step S50 is executed; Step S50: Sending a command for restarting the host computer acquisition software to the acquisition terminal, the command for restarting the host computer acquisition software is sent by the acquisition terminal to the host computer processing module, and the host computer processing module executes the command for restarting the host computer acquisition software.

2. The automatic keeping alive method for acquisition software applicable to the industrial Internet of Things according to claim 1 is characterized in that: In step S20, the host computer operation data includes CPU usage, memory usage, disk usage, and network usage.

3. The automatic keeping alive method for acquisition software applicable to industrial Internet of Things according to claim 2 is characterized in that: In the step S44, the preset determination period is 3 processing beat periods; If at least two of the CPU usage, memory usage, disk usage, and network usage are lower than the normal operating threshold at the same time, and data updates stop for three processing cycle cycles, it is determined that the host computer acquisition software has an error.

4. The automatic keeping alive method for acquisition software applicable to industrial Internet of Things according to claim 1 is characterized in that: In step S30, the data quality optimization process includes the following steps: Step S31: using adaptive filtering technology to smooth the data, retain the edge information of the signal, and combat high-frequency noise; Step S32: Identify and mark potential outlier points to ensure data purity; Step S33: fill in missing data; Step S34: Implement a resampling strategy and select upsampling or downsampling based on data analysis requirements; wherein, the upsampling increases the density of data points through interpolation, and the downsampling reduces the frequency through averaging or median aggregation to ensure that all sequences follow the same time step.

5. The automatic keeping alive method for acquisition software applicable to industrial Internet of Things according to claim 1 is characterized in that: In step S45, whether the production equipment data conforms to the production plan and historical data is determined according to the following steps: Step S451: Establish a baseline model, preset a baseline time period, integrate the production equipment data and production plan data within the baseline time period, and construct a parameter distribution model under the normal operation of the production equipment. The parameter distribution model is defined as the baseline model. Step S452: Dynamic threshold adjustment, combining the current production plan to dynamically adjust the threshold of the normal production data range in the baseline model; Step S453: Real-time comparative analysis, substituting the real-time production equipment data points into the baseline model adjusted by dynamic threshold for evaluation. If the evaluation exceeds the reasonable data range, it is determined that the production equipment data does not conform to the production plan or historical data, and the host computer acquisition software has an error.

6. An automatic keep-alive device for acquisition software applicable to the industrial Internet of Things, characterized in that: include: The physical model building module is used to build physical models for all production equipment according to the production equipment conditions in the factory area, and send the physical models to the acquisition and reverse control module; The acquisition and reverse control module is used to collect, read and report production equipment data, smart meter power consumption data and host computer operation data to the data quality optimization module according to the physical model; it is used to receive and send a command to restart the host computer acquisition software to the host computer processing module; The host computer processing module is used to collect, read and report the host computer operation data to the acquisition and reverse control module; and is used to receive and execute a command to restart the host computer acquisition software; A data quality optimization module is used to receive, in time sequence, the production equipment data, the smart meter power consumption data, and the host computer operation data collected and reported by the acquisition and reverse control module according to the physical model; and to perform data quality optimization processing on the received original time series data, write it into the time series database according to the physical model, and send it to the real-time monitoring module; Real-time monitoring module, including monitoring submodule and rule submodule; The monitoring submodule is used to perform comprehensive analysis based on the production equipment data, power consumption data, host computer operation data and historical data, call the monitoring rules in the rule submodule, and judge the operation status of the host computer; when the host computer acquisition software crashes, freezes or fails, it sends a command to restart the host computer acquisition software to the acquisition reverse control module; The rule submodule is used to store the following monitoring rules: If the host computer process cannot be read in rule R41, it is judged that the host computer acquisition software crashes and exits; if the host computer process can be read, it is judged that the host computer acquisition software is online, and continue with rule R42; Rule R42: If the power consumption data is within the normal production power consumption range, it is determined that the production equipment corresponding to the power consumption data is in normal production, and the process continues with Rule R43; if the power consumption data is lower than the production power consumption threshold of the production equipment, it is determined that the production equipment corresponding to the power consumption data is not in production, and the process continues with Rule R46; Rule R43: If the production equipment data of the corresponding object model cannot be read, it is judged that the host computer acquisition software is dead; if the production equipment data of the corresponding object model can be read, continue with Rule R44; Rule R44: If the host computer operation data is continuously lower than the normal operation threshold within the preset judgment period, it is judged that the host computer acquisition software is wrong; if the host computer operation data is within the normal operation value range, continue to Rule R45; Rule R45: If the production equipment data is consistent with the production plan and historical data, it is judged that the host computer is operating normally; if the production equipment data is not consistent with the production plan or historical data, it is judged that the host computer acquisition software is wrong; Rule R46: If the production equipment data of the corresponding object model remains unchanged, it is judged that the host computer is operating normally; if the production equipment data of the corresponding object model is still changing, it is judged that the host computer acquisition software is wrong.

7. Automatic keep-alive system for acquisition software applicable to industrial Internet of Things, characterized by: include: Collector, collection terminal, host computer processing module and smart cloud platform; The collector is used to collect production equipment data and report it to the host computer collection software; The host computer processing module is loaded on the PC where the host computer acquisition software is located; The acquisition terminal establishes a two-way data transmission channel with the PC and the smart cloud platform, and is loaded with an acquisition reverse control module; The smart cloud platform establishes a two-way data transmission channel with the acquisition terminal, and is loaded with a physical model establishment module, a data quality optimization module and a real-time monitoring module; The physical model establishment module is used to establish physical models for all production equipment according to the production equipment conditions in the factory area, and send the physical models to the collection and reverse control module of the collection terminal; The acquisition and reverse control module is used to acquire, read and report production equipment data, smart meter power consumption data and host computer operation data to the data quality optimization module according to the physical model; and is used to receive and send a command to restart the host computer acquisition software to the host computer processing module; A limited data transmission path is established between the host computer processing module and the host computer acquisition software, and the limited data transmission path includes collecting and reading the host computer operation data, and executing a command to restart the host computer acquisition software; the host computer processing module is used to report the host computer operation data to the acquisition reverse control module of the acquisition terminal, and receive a command to restart the host computer acquisition software from the acquisition reverse control module of the acquisition terminal; The data quality optimization module is used to receive the production equipment data, smart meter power consumption data and host computer operation data collected and reported by the acquisition and reverse control module according to the physical model in a time series; after performing data quality optimization processing on the received original time series data, write it into the time series database in the manner of the physical model, and send it to the real-time monitoring module; The real-time monitoring module includes a monitoring submodule and a rule submodule; The monitoring submodule is used to perform comprehensive analysis based on the production equipment data, power consumption data, host computer operation data and historical data, call the monitoring rules in the rule submodule, and judge the operation status of the host computer; when the host computer acquisition software crashes, freezes or fails, it sends a command to restart the host computer acquisition software to the acquisition reverse control module; The rule submodule is used to store the following monitoring rules: If the host computer process cannot be read in rule R41, it is judged that the host computer acquisition software crashes and exits; if the host computer process can be read, it is judged that the host computer acquisition software is online, and continue with rule R42; Rule R42: If the power consumption data is within the normal production power consumption range, it is determined that the production equipment corresponding to the power consumption data is in normal production, and the process continues with Rule R43; if the power consumption data is lower than the production power consumption threshold of the production equipment, it is determined that the production equipment corresponding to the power consumption data is not in production, and the process continues with Rule R46; Rule R43: If the production equipment data of the corresponding object model cannot be read, it is judged that the host computer acquisition software is dead; if the production equipment data of the corresponding object model can be read, continue with Rule R44; Rule R44: If the host computer operation data is continuously lower than the normal operation threshold within the preset judgment period, it is judged that the host computer acquisition software is wrong; if the host computer operation data is within the normal operation value range, continue to Rule R45; Rule R45: If the production equipment data is consistent with the production plan and historical data, it is judged that the host computer is operating normally; if the production equipment data is not consistent with the production plan or historical data, it is judged that the host computer acquisition software is wrong; Rule R46: If the production equipment data of the corresponding object model remains unchanged, it is judged that the host computer is operating normally; if the production equipment data of the corresponding object model is still changing, it is judged that the host computer acquisition software is wrong.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the automatic keep-alive method for collection software applicable to the industrial Internet of Things described in any one of claims 1 to 5 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the automatic keep-alive method for collection software applicable to the industrial Internet of Things described in any one of claims 1 to 5 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the automatic keep-alive method for collection software applicable to the industrial Internet of Things described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • An intelligent monitoring terminal for industrial sites based on the Internet of Things

    CN104298202B

  • Industrial Internet of Things data acquisition and transmission device

    CN113473263A

  • Data acquisition control system based on industrial Internet of Things

    CN217506409U

  • Device fine management method and system based on Internet of Things

    CN113660335A

  • Industrial control system anomaly detection system, method and device and storage medium

    CN114760103A