A cloud platform-based plc monitoring method and system, and an electronic device

CN116887074BActive Publication Date: 2026-09-11QINGDAO PENGHAI SOFT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310913125.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2026-09-11
Estimated Expiration
2043-07-24

AI Technical Summary

Technical Problem

远程监控系统也一样,单一的数字化远程监控已不能满足设备控制的需求

Benefits of technology

[0029]This invention utilizes a data acquisition module to collect operating status data of a PLC device according to a preset monitoring cycle. The operating status data is then sequentially transmitted to a mobile terminal via a first edge computing module, a cloud server, and a second edge computing module. The data transmission time from the first edge module to the second edge module is calculated. It is determined whether the data transmission time is greater than or equal to a first preset threshold, and based on the determination result, the second edge computing module outputs a control signal to adjust the preset monitoring cycle. This allows for automatic adjustment of the preset monitoring cycle when network latency occurs. By shortening the preset monitoring cycle, the frequency of PLC data acquisition and transmission is increased, thereby offsetting the impact of network latency on PLC data transmission delays. This enables more intelligent and user-friendly equipment monitoring, significantly improving the security and reliability of remote PLC device monitoring and ensuring stable equipment operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116887074B_ABST
    Figure CN116887074B_ABST
Patent Text Reader

Abstract

The application provides a PLC monitoring method and system based on a cloud platform and an electronic device, comprising collecting working state data of a PLC device by a collection module according to a preset monitoring period; sending the working state data of the PLC device to a mobile terminal through a first edge calculation module, a cloud server and a second edge calculation module in sequence; calculating the data transmission time of the working state data of the PLC device sent from the first edge module to the second edge module; judging whether the data transmission time is greater than or equal to a first preset threshold value, and controlling the second edge calculation module to output a control signal related to adjusting the preset monitoring period according to the judgment result. When the network delay occurs, the preset monitoring period is automatically adjusted, the collection frequency and transmission frequency of the PLC data are improved by shortening the preset monitoring period, so that the influence of the delayed sending of the PLC data caused by the network delay is offset, and the reliability of the remote monitoring and the safety of the PLC device are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of remote cloud configuration acquisition and control technology, specifically to a PLC monitoring method and system based on a cloud platform, and electronic equipment thereof. Background Technology

[0002] In today's world, information technology innovation is advancing rapidly. The information wave, characterized by digitalization, networking, and intelligence, is booming. Technology is constantly being updated, and only by keeping up with the times can one avoid being left behind. The same applies to remote monitoring systems. Simple digital remote monitoring can no longer meet the needs of equipment control. The data latency issue caused by network transmission delays in remote PLC data acquisition is becoming increasingly prominent. If PLC data transmission is delayed due to network latency, it will affect the remote real-time monitoring of PLC data and may even pose certain security risks. Therefore, a cloud-based configuration remote monitoring system is designed to address this situation, enabling more intelligent and user-friendly equipment monitoring and ensuring stable equipment operation.

[0003] Therefore, existing technologies still need further development. Summary of the Invention

[0004] The purpose of this invention is to overcome the above-mentioned technical deficiencies and provide a PLC monitoring method, system, and electronic equipment based on a cloud platform to solve the problems existing in the prior art.

[0005] To achieve the above-mentioned technical objectives, according to a first aspect of the present invention, the present invention provides a PLC monitoring method based on a cloud platform, the method comprising:

[0006] S100. Collect the working status data of the PLC device according to the preset monitoring cycle using the acquisition module;

[0007] S200: The working status data of the PLC device is sent to the mobile terminal sequentially through the first edge computing module, the cloud server, and the second edge computing module; the data transmission time of the working status data of the PLC device from the first edge module to the second edge module is calculated.

[0008] S300: Determine whether the data transmission time is greater than or equal to the first preset threshold, and control the second edge computing module to output a control signal related to adjusting the preset monitoring cycle based on the determination result.

[0009] Specifically, S100 is as follows:

[0010] The PLC device's operating status data is collected using a sensor group in the acquisition module at a preset monitoring cycle. The sensor group includes a current sensor, a voltage sensor, and a temperature sensor. The PLC device's operating status data includes the PLC device's operating current data, operating voltage data, and operating temperature data.

[0011] Specifically, S200 includes:

[0012] The data transmission time from the start of sending the PLC device's operating status data to the end of receiving it is calculated using the heartbeat time base signal provided by the first timer in the first edge computing module and the second edge computing module.

[0013] Specifically, S300 includes:

[0014] If the data transmission time is greater than or equal to the first preset threshold, the second edge computing module is controlled to output a control signal to the cloud server regarding reducing the preset monitoring period by a first ratio. The cloud server then sends the control signal regarding reducing the preset monitoring period by a first ratio to the control unit in the acquisition module through the first edge computing module.

[0015] Specifically, S300 further includes:

[0016] If the data transmission time is greater than or equal to the first preset threshold, determine whether the data transmission time is greater than or equal to the second preset threshold. If so, control the edge computing module to output a control signal regarding reducing the preset monitoring period by a second ratio. The cloud server will send the control signal regarding reducing the preset monitoring period by a second ratio to the control unit in the acquisition module through the first edge computing module.

[0017] Specifically, S300 further includes:

[0018] If the data transmission time is greater than or equal to the first preset threshold, the duration of the data transmission time being greater than or equal to the first preset threshold is calculated using the heartbeat time base signal provided by the second timer in the second edge computing module. It is then determined whether the duration of the data transmission time being greater than or equal to the first preset threshold is greater than or equal to the third preset threshold. Based on the determination result, the second edge computing module is controlled to output an early warning signal about network communication quality fluctuations to the mobile terminal.

[0019] Specifically, S300 further includes:

[0020] If the duration of the data transmission time being greater than or equal to the first preset threshold is greater than or equal to the third preset threshold, determine whether the duration of the data transmission time being greater than or equal to the first preset threshold is greater than or equal to the fourth preset threshold. If so, control the second edge computing module to output an alarm signal about the serious fluctuation in network communication quality to the mobile terminal.

[0021] Specifically, S300 further includes:

[0022] If the duration of data transmission time greater than or equal to the first preset threshold is less than the fourth preset threshold, the second edge computing module is controlled to output an early warning signal about network communication quality fluctuations to the mobile terminal.

[0023] According to a second aspect of the present invention, a cloud-based PLC monitoring system is provided, comprising:

[0024] The data acquisition module is used to collect the operating status data of the PLC device according to a preset monitoring cycle;

[0025] The control module is used to send the working status data of the PLC device to the mobile terminal sequentially through the first edge computing module, the cloud server, and the second edge computing module; calculate the data transmission time of the working status data of the PLC device from the first edge module to the second edge module; or determine whether the data transmission time is greater than or equal to a first preset threshold, and control the second edge computing module to output a control signal related to adjusting the preset monitoring cycle based on the determination result.

[0026] The second edge computing module is used to output control signals related to adjusting the preset monitoring cycle.

[0027] According to a third aspect of the present invention, an electronic device is provided, comprising: a memory; and a processor, wherein the memory stores computer-readable instructions, which, when executed by the processor, implement the cloud-based PLC monitoring method according to any one of claims 1 to 8.

[0028] Beneficial effects:

[0029] This invention utilizes a data acquisition module to collect operating status data of a PLC device according to a preset monitoring cycle. The operating status data is then sequentially transmitted to a mobile terminal via a first edge computing module, a cloud server, and a second edge computing module. The data transmission time from the first edge module to the second edge module is calculated. It is determined whether the data transmission time is greater than or equal to a first preset threshold, and based on the determination result, the second edge computing module outputs a control signal to adjust the preset monitoring cycle. This allows for automatic adjustment of the preset monitoring cycle when network latency occurs. By shortening the preset monitoring cycle, the frequency of PLC data acquisition and transmission is increased, thereby offsetting the impact of network latency on PLC data transmission delays. This enables more intelligent and user-friendly equipment monitoring, significantly improving the security and reliability of remote PLC device monitoring and ensuring stable equipment operation. Attached Figure Description

[0030] Figure 1 This is a flowchart of a cloud-based PLC monitoring method provided in a specific embodiment of the present invention;

[0031] Figure 2 This is a structural diagram of a cloud-based PLC monitoring system provided in a specific embodiment of the present invention. Detailed Implementation

[0032] To enable those skilled in the art to better understand the technical solutions of the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Based on the embodiments in this application, other similar embodiments obtained by those skilled in the art without creative effort should all fall within the scope of protection of this application. Furthermore, directional terms mentioned in the following embodiments, such as "up," "down," "left," and "right," are only for reference to the directions in the accompanying drawings; therefore, the directional terms used are for illustrative purposes and not for limiting the invention.

[0033] The present invention will be further described below with reference to the accompanying drawings and preferred embodiments.

[0034] Please see Figure 1 This invention provides a PLC monitoring method based on a cloud platform, comprising:

[0035] S100: Use the acquisition module to collect the working status data of the PLC device according to the preset monitoring cycle.

[0036] It should be noted here that step S100 includes the following:

[0037] The preset monitoring period, first preset ratio, second preset ratio, first preset threshold, second preset threshold, third preset threshold and fourth preset threshold are preset, wherein the first preset ratio is less than the second preset ratio, the first preset threshold is less than the second preset threshold and the third preset threshold is less than the fourth preset threshold.

[0038] It is understood that S100 specifically refers to:

[0039] The PLC device's operating status data is collected using a sensor group in the acquisition module at a preset monitoring cycle. The sensor group includes a current sensor, a voltage sensor, and a temperature sensor. The PLC device's operating status data includes the PLC device's operating current data, operating voltage data, and operating temperature data.

[0040] S200: The working status data of the PLC device is sent to the mobile terminal sequentially through the first edge computing module, the cloud server, and the second edge computing module. The data transmission time of the working status data of the PLC device from the first edge module to the second edge module is calculated.

[0041] It should be noted here that S200 includes:

[0042] The data transmission time from the start of sending the PLC device's operating status data to the end of receiving it is calculated using the heartbeat time base signal provided by the first timer in the first edge computing module and the second edge computing module.

[0043] S300: Determine whether the data transmission time is greater than or equal to the first preset threshold, and control the second edge computing module to output a control signal related to adjusting the preset monitoring cycle based on the determination result.

[0044] It should be noted here that S300 includes:

[0045] If the data transmission time is greater than or equal to the first preset threshold, the second edge computing module is controlled to output a control signal to the cloud server regarding reducing the preset monitoring period by a first ratio. The cloud server then sends the control signal regarding reducing the preset monitoring period by a first ratio to the control unit in the acquisition module through the first edge computing module.

[0046] Understandably, if the network latency is normal during the transmission of PLC device status data between the first edge computing module, the cloud server, and the second edge computing module, then the data transmission time from the start of transmission by the first edge module to the end of reception by the second edge module should be within a reasonable range. Specifically, the data transmission time should be less than a first preset threshold. If the data transmission time is greater than or equal to the first preset threshold, it indicates that the network latency during the transmission of PLC device status data between the first edge computing module, the cloud server, and the second edge computing module is abnormal, with a significant network latency. This could potentially affect the remote real-time monitoring of PLC data and may even pose certain security risks. At this time, the present invention controls the second edge computing module to output a control signal to the cloud server regarding reducing the preset monitoring period by a first ratio. The cloud server sends the control signal regarding reducing the preset monitoring period by a first ratio to the control unit in the acquisition module through the first edge computing module. The control unit controls the acquisition module to acquire the working status data of the PLC device according to the adjusted preset monitoring period. This realizes that when there is network latency, the preset monitoring period is automatically adjusted. By shortening the preset monitoring period, the acquisition frequency and transmission frequency of PLC data are increased, thereby offsetting the impact of PLC data delay caused by network latency. This enables more intelligent and user-friendly monitoring of the equipment, greatly improving the safety and reliability of the remote monitoring process of the PLC device and ensuring the stable operation of the equipment.

[0047] Specifically, S300 further includes:

[0048] If the data transmission time is greater than or equal to the first preset threshold, determine whether the data transmission time is greater than or equal to the second preset threshold. If so, control the edge computing module to output a control signal regarding reducing the preset monitoring period by a second ratio. The cloud server will send the control signal regarding reducing the preset monitoring period by a second ratio to the control unit in the acquisition module through the first edge computing module.

[0049] Understandably, if the data transmission time is greater than or equal to the first preset threshold, it indicates an abnormal network latency during the transmission of the PLC device's operating status data between the first edge computing module, the cloud server, and the second edge computing module, indicating a significant network latency. In this case, the present invention further assesses the degree of network latency anomaly to prevent more severe impacts or security risks on PLC remote monitoring caused by serious network latency anomalies. The present invention achieves graded judgment of network latency status and graded adjustment of the preset monitoring cycle by setting a second preset threshold and a second preset ratio, with the second preset threshold set to be greater than the first preset threshold and the second preset ratio set to be greater than the first preset ratio. This simplifies the problem of inaccurate remote monitoring or security risks caused by complex network data transmission delays, further improving the security, reliability, and availability of the remote monitoring process. It eliminates the need for complex algorithm modeling, significantly reducing the application and maintenance costs of the present invention and further expanding its application scenarios.

[0050] It should be noted that S300 also includes:

[0051] If the data transmission time is greater than or equal to the first preset threshold, the duration of the data transmission time being greater than or equal to the first preset threshold is calculated using the heartbeat time base signal provided by the second timer in the second edge computing module. It is then determined whether the duration of the data transmission time being greater than or equal to the first preset threshold is greater than or equal to the third preset threshold. Based on the determination result, the second edge computing module is controlled to output an early warning signal about network communication quality fluctuations to the mobile terminal.

[0052] It should be noted that if the abnormal data transmission delay is caused by a brief network fluctuation or other brief signal interference, the duration of the data transmission time being greater than or equal to the first preset threshold should be within a reasonable range. That is, the duration of the data transmission time being greater than or equal to the first preset threshold should be less than the third preset threshold. This invention calculates the duration of the data transmission time being greater than or equal to the first preset threshold using the heartbeat time base signal provided by the second timer in the second edge computing module. By further judging the duration of the abnormal network delay, when the duration of the abnormal network delay exceeds the normal range, the second edge computing module is controlled to output an early warning signal about the fluctuation of network communication quality to the mobile terminal based on the judgment result. This signal is displayed to relevant personnel through the mobile terminal, and the relevant personnel implement subsequent safety measures, which further improves the intelligence, security and reliability of this invention.

[0053] Specifically, S300 further includes:

[0054] If the duration of the data transmission time being greater than or equal to the first preset threshold is greater than or equal to the third preset threshold, determine whether the duration of the data transmission time being greater than or equal to the first preset threshold is greater than or equal to the fourth preset threshold. If so, control the second edge computing module to output an alarm signal about the serious fluctuation in network communication quality to the mobile terminal.

[0055] It should be noted that if the present invention uses a fourth preset threshold, and sets the fourth preset threshold to be greater than the third preset threshold, to achieve graded judgment of the duration of network latency, if the duration of data transmission time greater than or equal to the first preset threshold is also greater than or equal to the fourth preset threshold, it indicates that the network communication quality is severely fluctuating. The present invention controls the second edge computing module to output an alarm signal about the severe fluctuation of network communication quality to the mobile terminal, displaying the alarm information to relevant personnel, who then implement subsequent safety measures. This further improves the intelligence, security, and reliability of the present invention, simplifies the problem of inaccurate remote monitoring or security risks caused by excessively long duration of abnormal network data transmission latency, and further improves the security, reliability, and usability of the remote monitoring process of the present invention. It eliminates the need for complex algorithm modeling, greatly reducing the application and maintenance costs of the present invention, and further expands the application scenarios of the present invention.

[0056] Specifically, S300 further includes:

[0057] If the duration of data transmission time greater than or equal to the first preset threshold is less than the fourth preset threshold, the second edge computing module is controlled to output an early warning signal about network communication quality fluctuations to the mobile terminal.

[0058] It should be noted that when the duration of the data transmission time being greater than or equal to the first preset threshold is less than the fourth preset threshold, it indicates that the network fluctuation is still a short-term network fluctuation or other short-term signal interference causing abnormal data transmission delay. At this time, since the duration of the data transmission time being greater than or equal to the first preset threshold is not greater than the fourth preset threshold, it is not defined as a serious fluctuation in network communication quality. At this time, the control module controls the second edge computing module to output an early warning signal about the network communication quality fluctuation to the mobile terminal, displaying the early warning information to relevant personnel, who then implement subsequent safety measures, further improving the intelligence, security, and reliability of the present invention.

[0059] It is understood that this invention utilizes a data acquisition module to collect the operating status data of the PLC device according to a preset monitoring cycle; the operating status data of the PLC device is sequentially sent to the mobile terminal through a first edge computing module, a cloud server, and a second edge computing module; the data transmission time of the PLC device's operating status data from the first edge module to the second edge module is calculated; it is determined whether the data transmission time is greater than or equal to a first preset threshold, and based on the determination result, the second edge computing module is controlled to output a control signal related to adjusting the preset monitoring cycle. This enables automatic adjustment of the preset monitoring cycle when there is network latency. By shortening the preset monitoring cycle, the frequency of PLC data acquisition and transmission is increased, thereby offsetting the impact of network latency on PLC data transmission delays. This achieves more intelligent and user-friendly equipment monitoring, significantly improving the security and reliability of the remote monitoring process of the PLC device and ensuring stable equipment operation.

[0060] Please see Figure 2 The present invention provides another embodiment, which provides a cloud platform-based PLC monitoring system, the cloud platform-based PLC monitoring system comprising:

[0061] The data acquisition module 100 is used to acquire the working status data of the PLC device according to a preset monitoring cycle;

[0062] The control module 200 is used to send the working status data of the PLC device to the mobile terminal sequentially through the first edge computing module, the cloud server, and the second edge computing module; calculate the data transmission time of the working status data of the PLC device from the first edge module to the second edge module; or determine whether the data transmission time is greater than or equal to a first preset threshold, and control the second edge computing module 300 to output a control signal related to adjusting the preset monitoring cycle based on the determination result.

[0063] The second edge computing module 300 is used to output control signals related to adjusting the preset monitoring cycle.

[0064] In a preferred embodiment, this application also provides an electronic device, the electronic device comprising:

[0065] The computer device includes a memory and a processor, wherein the memory stores computer-readable instructions that, when executed by the processor, implement the cloud-based PLC monitoring method described above. The computer device can be broadly categorized as a server, terminal, or any other electronic device with the necessary computing and / or processing capabilities. In one embodiment, the computer device may include a processor, memory, network interface, communication interface, etc., connected via a system bus. The processor of the computer device can be used to provide the necessary computing, processing, and / or control capabilities. The memory of the computer device may include a non-volatile storage medium and internal memory. The non-volatile storage medium may store an operating system, computer programs, etc. The internal memory can provide an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface and communication interface of the computer device can be used to connect and communicate with external devices via a network. When the computer program is executed by the processor, it performs the steps of the method of the present invention.

[0066] This invention can be implemented as a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the steps of the methods of embodiments of the invention to be performed. In one embodiment, the computer program is distributed across multiple network-coupled computer devices or processors, such that the computer program is stored, accessed, and executed in a distributed manner by one or more computer devices or processors. A single method step / operation, or two or more method steps / operations, may be executed by a single computer device or processor or by two or more computer devices or processors. One or more method steps / operations may be executed by one or more computer devices or processors, and one or more other method steps / operations may be executed by one or more other computer devices or processors. One or more computer devices or processors may execute a single method step / operation, or execute two or more method steps / operations.

[0067] Those skilled in the art will understand that the method steps of this invention can be performed by a computer program instructing related hardware, such as a computer device or processor, to perform the steps of this invention when executed. Depending on the context, any references herein to memory, storage, databases, or other media may include non-volatile and / or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state drive, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.

[0068] The technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification, provided that such combination does not contain contradictions.

[0069] The specific embodiments of the present invention described above do not constitute a limitation on the scope of protection of the present invention. Any other corresponding changes and modifications made in accordance with the technical concept of the present invention should be included within the scope of protection of the claims of the present invention.

Claims

1. A PLC monitoring method based on a cloud platform, characterized in that, The method includes: S100. Collect the working status data of the PLC device according to the preset monitoring cycle using the acquisition module; S200: The working status data of the PLC device is sent to the mobile terminal sequentially through the first edge computing module, the cloud server, and the second edge computing module; the data transmission time of the working status data of the PLC device from the first edge module to the second edge module is calculated. S300: Determine whether the data transmission time is greater than or equal to the first preset threshold, and control the second edge computing module to output a control signal related to adjusting the preset monitoring cycle based on the determination result; The S300 includes: If the data transmission time is greater than or equal to the first preset threshold, the second edge computing module is controlled to output a control signal to the cloud server regarding reducing the preset monitoring period by a first ratio. The cloud server then sends the control signal regarding reducing the preset monitoring period by a first ratio to the control unit in the acquisition module through the first edge computing module. The S300 also includes: If the data transmission time is greater than or equal to the first preset threshold, the duration of the data transmission time being greater than or equal to the first preset threshold is calculated using the heartbeat time base signal provided by the second timer in the second edge computing module. It is then determined whether the duration of the data transmission time being greater than or equal to the first preset threshold is greater than or equal to the third preset threshold. Based on the determination result, the second edge computing module is controlled to output an early warning signal about network communication quality fluctuations to the mobile terminal. The S300 also includes: If the duration of the data transmission time being greater than or equal to the first preset threshold is greater than or equal to the third preset threshold, determine whether the duration of the data transmission time being greater than or equal to the first preset threshold is greater than or equal to the fourth preset threshold. If so, control the second edge computing module to output an alarm signal about the serious fluctuation in network communication quality to the mobile terminal.

2. The PLC monitoring method based on a cloud platform according to claim 1, characterized in that, Specifically, S100 is: The PLC device's operating status data is collected using a sensor group in the acquisition module at a preset monitoring cycle. The sensor group includes a current sensor, a voltage sensor, and a temperature sensor. The PLC device's operating status data includes the PLC device's operating current data, operating voltage data, and operating temperature data.

3. The PLC monitoring method based on a cloud platform according to claim 1, characterized in that, S200 includes: The data transmission time from the start of sending the PLC device's operating status data to the end of receiving it is calculated using the heartbeat time base signal provided by the first timer in the first edge computing module and the second edge computing module.

4. The PLC monitoring method based on a cloud platform according to claim 1, characterized in that, The S300 also includes: If the data transmission time is greater than or equal to the first preset threshold, determine whether the data transmission time is greater than or equal to the second preset threshold. If so, control the edge computing module to output a control signal regarding reducing the preset monitoring period by a second ratio. The cloud server will send the control signal regarding reducing the preset monitoring period by a second ratio to the control unit in the acquisition module through the first edge computing module.

5. A PLC monitoring system based on a cloud platform, characterized in that, The PLC monitoring method based on a cloud platform according to any one of claims 1-4 includes: The data acquisition module is used to collect the operating status data of the PLC device according to a preset monitoring cycle; The control module is used to send the working status data of the PLC device to the mobile terminal sequentially through the first edge computing module, the cloud server, and the second edge computing module; calculate the data transmission time of the working status data of the PLC device from the first edge module to the second edge module; or determine whether the data transmission time is greater than or equal to a first preset threshold, and control the second edge computing module to output a control signal related to adjusting the preset monitoring cycle based on the determination result. The second edge computing module is used to output control signals related to adjusting the preset monitoring cycle.

6. An electronic device, characterized in that, include: Memory; The processor, wherein the memory stores computer-readable instructions, which, when executed by the processor, implement the cloud-based PLC monitoring method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • QoS-based sampling period adjusting method for networked control system

    CN104486166A

  • Data acquisition method and system of factory automation equipment, and electronic equipment

    CN115933561A