Data processing system based on industrial sensing technology

By comprehensively investigating the network communication and data interaction status of the gateway in the industrial sensing technology data processing system, the limitations and unreliability of detection results in the existing technology are solved, and an accurate and comprehensive evaluation of the gateway performance is achieved.

CN118540240AInactive Publication Date: 2024-08-23SHANXI HUIKONG TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410748544.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology fails to fully consider the potential impact of network communication status on data interaction status during gateway performance testing, ignores the communication status between the gateway and the cloud network, and fails to accurately reflect the data interaction performance of the gateway in the actual industrial automation environment, resulting in Limitations and unreliability of test results.

Method used

A data processing system based on industrial sensing technology is designed, including a test environment construction module, a network communication test module, a data interaction test module, a gateway performance abnormality feedback module and a cloud database. It is built from the two dimensions of storage environment and hardware environment. In the test environment, the network communication status and data interaction status of the gateway are comprehensively examined, the PLC is screened for signal pass-through conversion testing and simulation data processing, and the data interaction performance of the gateway is comprehensively evaluated.

Benefits of technology

It improves the accuracy and credibility of gateway performance detection, reduces the error of detection results, comprehensively reflects the data interaction performance of the gateway, especially in efficient data transparent transmission application scenarios, and enhances the comprehensiveness and accuracy of detection. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540240A
    Figure CN118540240A
Patent Text Reader

Abstract

The invention relates to the technical field of industrial sensing, in particular to a data processing system based on the industrial sensing technology, which comprises the following steps of: firstly, establishing a test environment for a target gateway, and secondly, testing a network communication state of the target gateway; network communication conditions between the target gateway and various test PLCs and between the target gateway and a computer end are comprehensively investigated, downlink and uplink communication state evaluation coefficients of the target gateway are synthesized, whether the network communication state of the target gateway is abnormal or not is judged, and on the basis that the network communication state of the target gateway is normal, the network communication state of the target gateway is abnormal is judged. Then data interaction state testing of the target gateway is carried out, the data interaction state testing comprises signal straight-through conversion testing of all straight-through PLCs and simulation data processing testing of all non-straight-through PLCs, and therefore whether the data interaction state of the target gateway is abnormal or not is comprehensively judged, and the accuracy, systematicness and comprehensiveness of target gateway performance evaluation are effectively achieved; the method has an important application value for gateway performance testing in the field of industrial automation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial sensing technology, and in particular to a data processing system based on industrial sensing technology. Background Art

[0002] In the field of industrial automation, industrial gateways, as the core bridge connecting industrial equipment and the Internet, play a vital role in achieving real-time data collection, remote monitoring, and precise control of equipment. For newly deployed industrial gateways or gateways that are under routine maintenance, it is particularly important to test them to ensure their high performance and stable operation.

[0003] In the prior art, there are also some solutions related to gateway performance detection. For example, the Chinese patent number CN2020104677971 is an invention patent application for a performance testing method based on a power safety gateway. The method detects the maximum traffic throughput, delay value, encryption and decryption packet loss rate transmitted between the client and the server through the security gateway to transmit the throughput test data stream, delay value test data stream and packet loss rate test data stream between the client and the server, and establishes a communication channel with the security gateway through the test platform, adds a timer thread in the test platform, and adds a counter to count the number of successful connections as the maximum number of new connections, and generates a security gateway performance test based on the maximum traffic throughput, delay value, encryption and decryption packet loss rate and the maximum number of new connections.

[0004] Another invention patent application for a gateway detection method, device, electronic device and computer-readable medium with Chinese patent number CN2021109961201 builds a gateway detection system that is exactly the same as the actual network environment. The gateway detection system is connected to the optical line terminal device, and the gateway is connected to the optical line terminal device in turn, and the connection status of the gateway on the optical line terminal device and the gateway detection system is judged. If the connection status of the gateway is normal, the gateway version is upgraded through the gateway detection system, and then the service configuration is sent to the gateway, and the service performance test of the gateway is performed. The service configuration sending results and service performance test results of the gateway are monitored in real time. If the service configuration sending results and service performance test results of the gateway are all normal, the gateway is determined as a recyclable gateway, and automatic batch detection of the gateway is realized to improve detection efficiency.

[0005] Although the above schemes have proposed some solutions for gateway performance detection, the existing technology still has the following limitations: 1. The existing technology often performs network communication performance detection and data interaction performance detection for gateways simultaneously, and fails to fully consider the potential impact of network communication status on data interaction status. In actual situations, network communication status is the cornerstone of data interaction. Once the network communication status is abnormal, the data interaction status will inevitably be affected by fluctuations, which in turn affects the accuracy and credibility of the overall performance detection results of the gateway.

[0006] 2. Existing technologies for detecting the network communication performance of gateways often focus on analyzing the network communication status between the gateway and the PLC, while ignoring the network communication status between the gateway and the upper cloud. As a result, the network communication performance of the gateway in the entire industrial automation system cannot be fully reflected, making it difficult to detect potential network communication problems of the gateway in a timely manner.

[0007] 3. The existing technology for testing the data interaction performance of the gateway mainly focuses on the gateway's ability to process non-direct PLC data, while relatively ignoring the in-depth analysis of the direct conversion capability of direct PLC data. As a result, it is unable to accurately reflect the gateway's actual performance in actual industrial automation or Internet of Things environments, especially those application scenarios that rely on efficient data transmission, which in turn leads to limitations and unreliability in the gateway data interaction performance test results. Summary of the invention

[0008] In order to overcome the shortcomings of the background technology, an embodiment of the present invention provides a data processing system based on industrial sensor technology, which can effectively solve the problems involved in the above-mentioned background technology.

[0009] The purpose of the present invention can be achieved through the following technical solutions: A data processing system based on industrial sensor technology, including: a test environment construction module, a network communication test module, a data interaction test module, a gateway performance abnormality feedback module, a gateway performance normal feedback module and a cloud database.

[0010] The test environment building module is connected to the network communication test module, the network communication test module is respectively connected to the data interaction test module and the gateway performance abnormality feedback module, the data interaction test module is respectively connected to the gateway performance abnormality feedback module and the gateway performance normal feedback module, and the cloud database is respectively connected to the network communication test module and the data interaction test module.

[0011] The test environment building module is used to build the test environment of the target gateway, connect various test PLCs of the connected control devices to the target gateway in turn and configure the interface parameters of the corresponding target gateway.

[0012] The network communication test module is used to connect the power of the target gateway, confirm that the target gateway is successfully connected to various test PLCs, and then test the network communication status of the target gateway to determine whether the network communication status of the target gateway is abnormal. If it is, the gateway performance abnormality feedback module is executed, otherwise the data interaction test module is executed.

[0013] The data interaction test module is used to test the data interaction status of the target gateway to determine whether the data interaction status of the target gateway is abnormal. If it is, the gateway performance abnormality feedback module is executed, otherwise the gateway performance normal feedback module is executed.

[0014] The gateway performance abnormality feedback module is used to provide abnormal feedback on network communication performance or data interaction performance to the target gateway.

[0015] The gateway performance normal feedback module is used to provide normal feedback on the data interaction performance of the target gateway.

[0016] The cloud database is used to store the reasonable thresholds of the target gateway data interaction state coefficient and the network communication state coefficient, and to store the reasonable numerical ranges of the data throughput, resource utilization and response speed during the target gateway data processing.

[0017] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects: (1) The present invention effectively reduces the interference of the external environment on the performance test of the target gateway by developing the test environment of the target gateway from the two dimensions of storage environment and hardware environment, thereby providing a basis for subsequent performance test analysis, thereby ensuring the accuracy and reliability of the test results.

[0018] (2) The present invention tests the network communication status of the target gateway, comprehensively examines the network communication status between the target gateway and various test PLCs, and between the target gateway and the computer end, and analyzes the downlink and uplink communication status evaluation coefficients of the target gateway, thereby effectively understanding the two-way communication capability of the target gateway and improving the credibility and accuracy of the target gateway network communication status test results.

[0019] (3) The present invention carries out a data interaction status test of the target gateway under the premise that the network communication status of the target gateway is normal, effectively avoiding the potential impact of the network communication status of the target gateway on the data interaction status, helping to more purely reflect the real data interaction performance of the target gateway, and reducing the error of the test results of the data interaction status of the target gateway.

[0020] (4) The present invention screens various types of test PLCs, performs signal direct conversion tests on each direct PLC, performs simulation data processing tests on each non-direct PLC, and comprehensively determines whether the data interaction status of the target gateway is abnormal based on the data conversion accuracy index of the direct PLC and the data processing efficiency index of the non-direct PLC. This improves the lack of analysis of the gateway's ability to directly convert direct PLC data in the prior art, and significantly enhances the comprehensiveness and accuracy of the evaluation of the target gateway's data interaction status. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.

[0022] Figure 1 It is a schematic diagram of module connection of the present invention. DETAILED DESCRIPTION

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

[0024] Reference Figure 1 As shown, the present invention provides a data processing system based on industrial sensor technology, including: a test environment construction module, a network communication test module, a data interaction test module, a gateway performance abnormality feedback module, a gateway performance normal feedback module and a cloud database.

[0025] The test environment building module is connected to the network communication test module, the network communication test module is respectively connected to the data interaction test module and the gateway performance abnormality feedback module, the data interaction test module is respectively connected to the gateway performance abnormality feedback module and the gateway performance normal feedback module, and the cloud database is respectively connected to the network communication test module and the data interaction test module.

[0026] The test environment building module is used to build a test environment for the target gateway, connect various test PLCs that have been connected to the control device to the target gateway in sequence, and configure the interface parameters corresponding to the target gateway.

[0027] Specifically, the test environment for building the target gateway includes: building a test laboratory, installing temperature and humidity sensors and electromagnetic interference test instruments in the test laboratory, monitoring the internal environment of the test laboratory in real time and automatically adjusting its internal temperature and humidity values ​​to be within a preset temperature range and a preset humidity range corresponding to a reasonable storage environment of the target gateway, and requiring that the electromagnetic interference intensity in the test laboratory be lower than the maximum tolerance value specified in the target gateway specification.

[0028] A power supply device, including a UPS and a voltage stabilizer, is installed in a test laboratory, and the supply voltage of the power supply device is set within a preset working voltage range of the target gateway.

[0029] Place the target gateway in the test laboratory and configure hardware resources for it according to the specifications of the target gateway, including computers, network switches, and a preset number of network cables. Connect the computer to any network port of the target gateway via a network cable and configure a preset static IP address on the computer. Ensure that the computer and the target gateway are in the same subnet, thereby realizing the construction of the test environment for the target gateway.

[0030] It should be noted that the target gateway of the present invention refers to an industrial-grade communication gateway, which includes both newly deployed advanced gateways and gateway devices used in daily operation and maintenance, and specifically refers to the HK-PNMOD gateway.

[0031] It should also be noted that the above-mentioned control equipment includes but is not limited to industrial temperature sensors, industrial gas sensors, industrial liquid level sensors, industrial force sensors, etc.

[0032] It should be further explained that the preset temperature range and preset humidity range corresponding to the reasonable storage environment of the above-mentioned target gateway, and the preset working voltage range of the target gateway can all refer to the specification of the target gateway.

[0033] The embodiment of the present invention constructs the test environment of the target gateway from two dimensions: storage environment and hardware environment, effectively reducing the interference of the external environment on the performance test of the target gateway, providing a basis for subsequent performance test analysis, thereby ensuring the accuracy and reliability of the test results.

[0034] The network communication test module is used to connect the power supply of the target gateway, confirm that the target gateway is successfully connected to various test PLCs, and then test the network communication status of the target gateway to determine whether the network communication status of the target gateway is abnormal. If it is, the gateway performance abnormality feedback module is executed, otherwise the data interaction test module is executed.

[0035] Specifically, the process of confirming the successful connection between the target gateway and various test PLCs includes: by deploying current sensors in the built-in control circuit of the connection interface between the target gateway and various test PLCs, real-time monitoring of current changes in the control circuit; when the current sensor continuously detects that the current level in the control circuit of its corresponding test PLC connection interface stably reaches or exceeds a preset reference current threshold within a preset monitoring time period, the logic control unit of the target gateway interprets this information as a signal of an effective connection, activates the configuration indicator light of the connection interface, and sets the logic judgment output state to 1, thereby confirming that the target gateway is successfully connected to this type of test PLC, thereby confirming whether the target gateway is successfully connected to various test PLCs.

[0036] Specifically, the test of the network communication status of the target gateway includes: injecting a benchmark test data set of the corresponding control device into each type of test PLC, the benchmark test data set contains each data packet sequence with different data packet numbers and data packet byte numbers, and each data packet sequence is marked with its corresponding number and sending timestamp in order from small to large in terms of the number of data packets, wherein the sending timestamp of the first data packet sequence is calibrated to a preset time point, and then each data packet sequence increments its sending timestamp mark according to a predetermined time interval.

[0037] When the preset time point is reached, each type of test PLC synchronously sends its corresponding benchmark test data set to the target gateway to implement the network communication status test of the target gateway.

[0038] Specifically, the determination of whether the network communication state of the target gateway is abnormal includes: obtaining the receiving timestamp t′ of each data packet sequence in each test PLC benchmark test data set by the target gateway; ij , the number of received data packets m′ ij And the number of bytes n' of each received data packet ijg , and the sending timestamp t of each data packet sequence in various test PLC benchmark test data sets ij , Initially set the number of data packets m ij And the initial setting of the number of bytes of the data packet n ij A comparison is performed, where i is the number of each type of test PLC, i=1, 2, ..., a, j is the number of each data packet sequence, j=1, 2, ..., b, g is the number of each received data packet, g=1, 2, ..., c, and the downlink communication status evaluation coefficient of the target gateway is analyzed.

[0039] Obtain the receiving timestamp, number of received packets and the number of bytes of each received packet for each packet sequence in various test PLC benchmark test data sets on the computer side, compare them with the receiving timestamp, number of received packets and the number of bytes of each received packet for each packet sequence in various test PLC benchmark test data sets on the target gateway, and analyze the uplink communication status evaluation coefficient of the target gateway.

[0040] The calculated average of the uplink and downlink communication status evaluation coefficients of the target gateway is used as the network communication status coefficient of the target gateway. If it is less than the reasonable threshold of the target gateway network communication status coefficient stored in the cloud database, the network communication status of the target gateway is judged to be abnormal, otherwise the network communication status of the target gateway is judged to be normal.

[0041] Specifically, the calculation formula of the downlink communication state evaluation coefficient of the target gateway is: Where a, b, c are the test PLC type, data packet sequence, and the number of received data packets, respectively; e is a natural constant; and Δt is the preset rated transmission time of the data packet sequence.

[0042] It should be noted that the calculation method of the uplink communication state evaluation coefficient of the above-mentioned target gateway is consistent with the calculation method of the downlink communication state evaluation coefficient of the target gateway, and will not be repeated here.

[0043] It should be noted that the process of obtaining the above-mentioned preset rated transmission time of the data packet sequence is: taking the product of the rated transmission time of the unit data packet in the preset good network environment and the number of data packets of each data packet sequence in each type of test PLC benchmark test data set as the rated transmission time of each data packet sequence in each type of test PLC benchmark test data set, and calculating the mean to obtain the preset rated transmission time of the data packet sequence. It should be noted in particular that the rated transmission time of the unit data packet in the above-mentioned preset good network environment can be obtained by referring to the Industrial Network Practice Guide.

[0044] The embodiment of the present invention performs a network communication status test on the target gateway, comprehensively examines the network communication status between the target gateway and various test PLCs, and between the target gateway and the computer end, and analyzes the downlink and uplink communication status evaluation coefficients of the target gateway, thereby effectively understanding the two-way communication capability of the target gateway and improving the credibility and accuracy of the target gateway network communication status test results.

[0045] The data interaction test module is used to test the data interaction state of the target gateway to determine whether the data interaction state of the target gateway is abnormal. If it is, the gateway performance abnormality feedback module is executed, otherwise the gateway performance normal feedback module is executed.

[0046] The embodiment of the present invention carries out a data interaction status test of the target gateway under the premise that the network communication status of the target gateway is normal, effectively avoiding the potential impact of the network communication status of the target gateway on the data interaction status, helping to more purely reflect the real data interaction performance of the target gateway, and reducing the error of the target gateway data interaction status test result.

[0047] Specifically, the testing of the data interaction state of the target gateway includes: screening various test PLCs into direct-through PLCs and non-direct-through PLCs according to interface parameters of various test PLCs corresponding to the target gateway.

[0048] It should be noted that the above-mentioned direct PLC refers to a PLC that communicates directly with the gateway through a standard or proprietary protocol and does not require complex data conversion or processing. The non-direct PLC refers to a PLC whose communication protocol is incompatible with the protocol directly supported by the target gateway, or requires protocol conversion, data format adjustment, filtering, aggregation and other processing before and after data transmission. The communication protocol, network configuration, port mapping and forwarding, data format and encoding in the test PLC corresponding to the target gateway interface parameters can be used to screen whether it is a direct PLC.

[0049] A test signal with preset spectrum characteristics is designed on the computer side and an initial spectrum diagram of the test signal is drawn. The computer side sends the test signal to each direct PLC through the target gateway. After receiving the test signal, each direct PLC forwards the test signal to the target gateway without modification, and the target gateway further forwards it to the computer side. The computer side receives the test signal forwarded by each direct PLC and draws a forwarding spectrum diagram of the test signal for each direct PLC, thereby realizing the data interaction status test of the target gateway for the direct PLC.

[0050] A business simulation data packet of the corresponding type is designed for each non-direct PLC. The business simulation data packet includes original business data and metadata. The metadata is the expected summary of the original business data. The business simulation data packet of the corresponding control device is injected into each non-direct PLC. Each non-direct PLC sends its business simulation data packet to the target gateway, which is processed by the target gateway and then sent to the computer end. The computer end receives the business simulation data of each non-direct PLC to realize the data interaction status test of the target gateway for the non-direct PLC.

[0051] Specifically, the determining whether the data interaction state of the target gateway is abnormal includes: comparing the initial spectrum diagram of the test signal with the forwarding spectrum diagram of each direct PLC for the test signal, and analyzing the data conversion accuracy index β of the target gateway for the direct PLC.

[0052] The business simulation data of each non-direct PLC is compared with its corresponding metadata, and the management log of the target gateway is used to obtain the overall monitoring information of the target gateway during the original business data processing of each non-direct PLC, including data throughput ξ, resource utilization η and response speed v, and the data processing efficiency index λ of the target gateway for non-direct PLC is analyzed.

[0053] It should be noted that the above data throughput, resource utilization and response speed are respectively the average data throughput, average resource utilization and average response speed of the target gateway in the process of processing the original business data of each non-through PLC.

[0054] The product of λ and β is used as the data interaction state coefficient of the target gateway. If it is less than the reasonable threshold of the data interaction state coefficient of the target gateway stored in the cloud database, the data interaction state of the target gateway is judged to be abnormal, otherwise the data interaction state of the target gateway is judged to be normal.

[0055] Specifically, the analysis process of β includes: extracting each spectrum peak point and each spectrum valley point of the initial spectrum diagram of the test signal, and numbering each spectrum peak point and each spectrum valley point in order from left to right. Similarly, obtaining the number of each spectrum peak point and each spectrum valley point in the forwarding spectrum diagram of the test signal of each direct PLC, and according to the numbering, the initial spectrum diagram of the test signal and the spectrum peak points and spectrum valley points in the forwarding spectrum diagram of the test signal of each direct PLC correspond one by one.

[0056] Get the frequency and amplitude of each spectrum peak and each spectrum valley of the initial spectrum graph of the test signal, which are recorded as and Wherein, h is the number of each spectrum peak point, h=1, 2, ..., s, and d is the number of each spectrum valley point, d=1, 2, ..., l.

[0057] Obtain the frequency and amplitude of each spectrum peak and each spectrum valley in the forwarding spectrum diagram of each direct PLC for the test signal, and record them as and Wherein z is the serial number of each direct PLC, z=1, 2, ..., r.

[0058] By formula The data conversion accuracy index of the target gateway for the direct PLC is obtained, and r is the number of direct PLCs.

[0059] Specifically, the analysis process of λ includes: if the format of the business simulation data of a non-through PLC is the same as the format of its corresponding metadata, then the first-order data processing accuracy of the non-through PLC is set to 1, otherwise it is set to 0.

[0060] If the value of the business simulation data of a non-through PLC is within the value range of its corresponding metadata, the second-order data processing accuracy of the non-through PLC is set to 1, otherwise it is set to 0, so as to obtain the first-order and second-order data processing accuracy of each non-through PLC, which are recorded as Wherein p is the number of each non-through PLC, p=1, 2, ..., x.

[0061] Extract the reasonable numerical range of data throughput, resource utilization and response speed in the process of data processing of the target gateway stored in the cloud database, obtain the reasonable reference value and reasonable deviation threshold of data throughput, resource utilization and response speed in the process of data processing of the target gateway, and record them as ξ 0 , η 0 、v 0 and Δξ, Δη, Δv.

[0062] It should be noted that the reasonable reference value of the data throughput in the above-mentioned target gateway data processing process is obtained by averaging the upper and lower limits of the reasonable numerical range of the data throughput in the target gateway data processing process, and the reasonable deviation threshold of the data throughput in the target gateway data processing process is obtained by subtracting the upper limit of the reasonable numerical range of the data throughput in the target gateway data processing process from the reasonable reference value of the data throughput in the target gateway data processing process. Similarly, the reasonable reference values ​​and reasonable deviation thresholds of the resource utilization and response speed in the target gateway data processing process are obtained.

[0063] By formula Get the data processing performance index of the target gateway for the non-direct PLC.

[0064] The embodiment of the present invention screens various types of test PLCs, performs signal direct conversion tests on each direct PLC, performs simulation data processing tests on each non-direct PLC, and comprehensively determines whether the data interaction state of the target gateway is abnormal based on the data conversion accuracy index of the direct PLC and the data processing efficiency index of the non-direct PLC. This improves the lack of analysis of the gateway's direct conversion capability for the direct PLC data in the prior art, and significantly enhances the comprehensiveness and accuracy of the evaluation of the data interaction state of the target gateway.

[0065] The gateway performance abnormality feedback module is used to provide abnormal feedback on network communication performance or abnormal feedback on data interaction performance to the target gateway.

[0066] The gateway performance normal feedback module is used to provide normal data interaction performance feedback to the target gateway.

[0067] The cloud database is used to store reasonable thresholds of the target gateway data interaction state coefficient and the network communication state coefficient, and to store reasonable numerical ranges of data throughput, resource utilization and response speed during the target gateway data processing process.

[0068] The data sources in the cloud database of this embodiment are shown in Table 1 below.

[0069] Table 1

[0070]

[0071] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the present invention, they should all fall within the protection scope of the present invention.

Claims

1. A data processing system based on industrial sensor technology, characterized in that: include: The test environment building module is used to build the test environment of the target gateway, connect various test PLCs that have been connected to the control device to the target gateway in turn and configure the interface parameters of the corresponding target gateway; The network communication test module is used to connect the target gateway to the power supply, confirm that the target gateway is successfully connected to various test PLCs, and then test the network communication status of the target gateway to determine whether the network communication status of the target gateway is abnormal. If it is, the gateway performance abnormality feedback module is executed, otherwise the data interaction test module is executed; The data interaction test module is used to test the data interaction status of the target gateway to determine whether the data interaction status of the target gateway is abnormal. If it is, the gateway performance abnormality feedback module is executed, otherwise the gateway performance normal feedback module is executed; The gateway performance abnormality feedback module is used to provide abnormal feedback on the network communication performance or data interaction performance of the target gateway; The gateway performance normal feedback module is used to provide normal feedback on the data interaction performance of the target gateway; The cloud database is used to store the reasonable thresholds of the target gateway data interaction state coefficient and the network communication state coefficient, and to store the reasonable numerical ranges of the data throughput, resource utilization and response speed during the target gateway data processing.

2. The data processing system based on industrial sensor technology according to claim 1 is characterized in that: The test environment for the target gateway is constructed, including: constructing a test laboratory, installing a temperature and humidity sensor and an electromagnetic interference test instrument in the test laboratory, monitoring the internal environment of the test laboratory in real time, and automatically adjusting the internal temperature and humidity values ​​to be within a preset temperature range and a preset humidity range corresponding to a reasonable storage environment of the target gateway, and requiring the electromagnetic interference intensity in the test laboratory to be lower than the maximum tolerance value specified in the target gateway specification; By installing a power supply device, including a UPS and a voltage stabilizer, in the test laboratory, the supply voltage of the power supply device is set to be within the preset working voltage range of the target gateway; Place the target gateway in the test laboratory and configure hardware resources for it according to the specifications of the target gateway, including computers, network switches, and a preset number of network cables. Connect the computer to any network port of the target gateway via a network cable and configure a preset static IP address on the computer. Ensure that the computer and the target gateway are in the same subnet, thereby realizing the construction of the test environment for the target gateway.

3. The data processing system based on industrial sensor technology according to claim 1 is characterized in that: The process of confirming the successful connection between the target gateway and various test PLCs includes: by deploying a current sensor in the built-in control circuit of the connection interface between the target gateway and various test PLCs, real-time monitoring of current changes in the control circuit; when the current sensor continuously detects that the current level in the control circuit of its corresponding test PLC connection interface stably reaches or exceeds a preset reference current threshold within a preset monitoring time period, the logic control unit of the target gateway interprets this information as a signal of an effective connection, activates the configuration indicator light of the connection interface, and sets the logic judgment output state to 1, thereby confirming that the target gateway is successfully connected to this type of test PLC, thereby confirming whether the target gateway is successfully connected to various test PLCs.

4. The data processing system based on industrial sensor technology according to claim 1 is characterized in that: The test of the network communication status of the target gateway includes: injecting a benchmark test data set of its corresponding control device into each test PLC, the benchmark test data set contains each data packet sequence with different data packet numbers and data packet byte numbers, and each data packet sequence is marked with its corresponding number and sending timestamp in the order of the data packet number from small to large, wherein the sending timestamp of the first data packet sequence is calibrated to a preset time point, and then each data packet sequence increments its sending timestamp mark according to a predetermined time interval; When the preset time point is reached, each type of test PLC synchronously sends its corresponding benchmark test data set to the target gateway to implement the network communication status test of the target gateway.

5. The data processing system based on industrial sensor technology according to claim 4 is characterized in that: The determination of whether the network communication state of the target gateway is abnormal includes: obtaining the receiving timestamp t′ of each data packet sequence in each test PLC benchmark test data set by the target gateway ij , the number of received data packets m′ ij And the number of bytes n' of each received data packet ijg , and the sending timestamp t of each data packet sequence in various test PLC benchmark test data sets ij , Initially set the number of data packets m ij And the initial setting of the number of bytes of the data packet n ij Compare, where i is the number of each test PLC, i=1, 2, ..., a, j is the number of each data packet sequence, j=1, 2, ..., b, g is the number of each received data packet, g=1, 2, ..., c, analyze the downlink communication status evaluation coefficient of the target gateway; Obtain the receiving timestamp, number of received packets and number of bytes of each received packet for each packet sequence in various test PLC benchmark test data sets on the computer side, compare them with the receiving timestamp, number of received packets and number of bytes of each received packet for each packet sequence in various test PLC benchmark test data sets on the target gateway, and analyze the uplink communication status evaluation coefficient of the target gateway; The calculated average of the uplink and downlink communication status evaluation coefficients of the target gateway is used as the network communication status coefficient of the target gateway. If it is less than the reasonable threshold of the target gateway network communication status coefficient stored in the cloud database, the network communication status of the target gateway is judged to be abnormal, otherwise the network communication status of the target gateway is judged to be normal.

6. The data processing system based on industrial sensor technology according to claim 5 is characterized in that: The calculation formula of the downlink communication status evaluation coefficient of the target gateway is: Where a, b, c are the test PLC type, data packet sequence, and the number of received data packets, respectively; e is a natural constant; and Δt is the preset rated transmission time of the data packet sequence.

7. The data processing system based on industrial sensor technology according to claim 6 is characterized in that: The testing of the data interaction state of the target gateway includes: screening various test PLCs into direct-through PLCs and non-direct-through PLCs according to interface parameters of various test PLCs corresponding to the target gateway; A test signal with preset spectrum characteristics is designed on the computer side and an initial spectrum diagram of the test signal is drawn. The computer side sends the test signal to each direct PLC through the target gateway. After receiving the test signal, each direct PLC forwards the test signal to the target gateway without modification, and the target gateway further forwards it to the computer side. The computer side receives the test signal forwarded by each direct PLC and draws a forwarding spectrum diagram of each direct PLC for the test signal, thereby realizing the data interaction status test of the target gateway for the direct PLC. A business simulation data packet of the corresponding type is designed for each non-direct PLC. The business simulation data packet includes original business data and metadata. The metadata is the expected summary of the original business data. The business simulation data packet of the corresponding control device is injected into each non-direct PLC. Each non-direct PLC sends its business simulation data packet to the target gateway, which is processed by the target gateway and then sent to the computer end. The computer end receives the business simulation data of each non-direct PLC to realize the data interaction status test of the target gateway for the non-direct PLC.

8. The data processing system based on industrial sensor technology according to claim 7 is characterized in that: The determining whether the data interaction state of the target gateway is abnormal includes: comparing the initial spectrum diagram of the test signal with the forwarding spectrum diagram of each direct PLC for the test signal, and analyzing the data conversion accuracy index β of the target gateway for the direct PLC; The business simulation data of each non-direct PLC is compared with its corresponding metadata, and the management log of the target gateway is used to obtain the overall monitoring information of the target gateway in the process of processing the original business data of each non-direct PLC, including data throughput ξ, resource utilization η and response speed v, and the data processing efficiency index λ of the target gateway for non-direct PLC is analyzed; The product of λ and β is used as the data interaction state coefficient of the target gateway. If it is less than the reasonable threshold of the data interaction state coefficient of the target gateway stored in the cloud database, the data interaction state of the target gateway is judged to be abnormal, otherwise the data interaction state of the target gateway is judged to be normal.

9. The data processing system based on industrial sensor technology according to claim 8 is characterized in that: The analysis process of β includes: extracting each spectrum peak point and each spectrum valley point of the initial spectrum diagram of the test signal, numbering and marking each spectrum peak point and each spectrum valley point in the order from left to right, and similarly obtaining the number of each spectrum peak point and each spectrum valley point in the forwarding spectrum diagram of the test signal of each direct PLC, and according to the numbering, the initial spectrum diagram of the test signal and the spectrum peak points and spectrum valley points in the forwarding spectrum diagram of the test signal of each direct PLC correspond one by one; Get the frequency and amplitude of each spectrum peak and each spectrum valley of the initial spectrum graph of the test signal, which are recorded as and Where h is the number of each spectrum peak point, h = 1, 2, ..., s, d is the number of each spectrum valley point, d = 1, 2, ..., l; Obtain the frequency and amplitude of each spectrum peak and each spectrum valley in the forwarding spectrum diagram of each direct PLC for the test signal, and record them as and Where z is the number of each direct PLC, z = 1, 2, ..., r; By formula The data conversion accuracy index of the target gateway for the direct PLC is obtained, and r is the number of direct PLCs.

10. The data processing system based on industrial sensor technology according to claim 8, characterized in that: The analysis process of λ includes: if the format of the business simulation data of a non-through PLC is the same as the format of its corresponding metadata, then the first-order data processing accuracy of the non-through PLC is set to 1, otherwise it is set to 0; If the value of the business simulation data of a non-through PLC is within the value range of its corresponding metadata, the second-order data processing accuracy of the non-through PLC is set to 1, otherwise it is set to 0, so as to obtain the first-order and second-order data processing accuracy of each non-through PLC, which are recorded as Where p is the number of each non-through PLC, p = 1, 2, ..., x; Extract the reasonable numerical range of data throughput, resource utilization and response speed in the target gateway data processing process stored in the cloud database, obtain the reasonable reference value and reasonable deviation threshold of data throughput, resource utilization and response speed in the target gateway data processing process, and record them as ξ0, η0, v0 and Δξ, Δη, Δv respectively; By formula Get the data processing performance index of the target gateway for the non-direct PLC.

Citation Information

Cited By

  • Implementation method and system of PLC virtual extension module

    CN122613869A

  • A method and system for implementing a PLC virtual expansion module

    CN122613869B