A network interconnection and intercommunication method with transmission protocol consistency
By combining protocol conversion, data integration, and digital-to-analog conversion modules, along with 5G wireless transmission and the Modbus protocol, the issues of data security, bandwidth limitations, and cross-platform compatibility are resolved, enabling efficient and secure data sharing and communication between industrial sites and cloud platforms.
Patent Information
- Application Number
- CN202410259461.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2044-03-07
AI Technical Summary
Existing technologies suffer from issues such as data security, bandwidth and speed limitations, cross-platform compatibility, and data consistency and synchronization. In particular, efficient and secure data sharing and communication are difficult to achieve in the network interconnection between cloud platforms and industrial sites.
By combining a protocol conversion module, a data integration module, a digital-to-analog conversion module, and an interconnection module, and through 5G wireless transmission, Modbus TCP and Modbus RTU protocols, and by combining the weighted summation of overshoot, error square integral and field control quality, network interconnection with consistent transmission protocols is achieved.
It achieves high-speed transmission, information security, and cross-platform compatibility, ensuring data consistency and synchronization, and supporting efficient communication and management between industrial sites and cloud platforms.
Smart Images

Figure CN117979252B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of data sharing, and particularly relates to a network interconnection and intercommunication method with transmission protocol consistency. BACKGROUND
[0002] Network interconnection and intercommunication refers to the ability of different networks to connect and communicate with each other. This includes different types of networks, such as local area networks (LAN), wide area networks (WAN), the Internet, wireless networks, etc., which can exchange and communicate data between them. The implementation of network interconnection and intercommunication usually requires the use of network devices such as routers, switches, gateways, and some communication protocols and standards such as TCP / IP protocol, HTTPS protocol, etc. The importance of network interconnection and intercommunication lies in its ability to connect different networks, enabling data sharing and communication, and providing users with a wider range of services and resources. For example, through the Internet, users can access websites and resources worldwide; through local area networks and wireless networks, users can share files and data between different devices; through wide area networks, users in different locations can communicate and collaborate remotely. The development of network interconnection and intercommunication has also promoted the rise of new applications such as cloud computing and the Internet of Things. However, network interconnection and intercommunication also faces some challenges, such as security, cross-platform compatibility, bandwidth and speed limitations, etc., which need to be continuously improved and perfected.
[0003] In terms of data sharing, there are currently cloud storage (through cloud storage services, users can store data in the cloud to achieve data sharing and access), file sharing (through local area networks or the Internet, users can share files and data), and database sharing (multiple applications can share the same database to achieve data sharing and collaboration) and other ways.
[0004] In terms of network communication technology, the current mainstream wireless networks include Wi-Fi, Bluetooth, 4G / 5G, etc. wireless communication technology, which realizes the connection and communication between mobile devices and wireless networks. The mainstream wired network includes Ethernet, optical fiber network, etc. wired communication technology, which realizes the data transmission and communication between devices.
[0005] However, the above-mentioned technology has many problems and deficiencies: 1) data security problem, in the process of data sharing and network communication, there is a risk of data leakage, tampering and loss, which needs to strengthen data encryption and security control; 2) bandwidth and speed limit, in large-scale data sharing and network communication, bandwidth and transmission speed may become a bottleneck, affecting the real-time and efficiency of data; 3) cross-platform compatibility, data sharing and communication between different devices and systems may have compatibility problems, which needs to unify standards and protocols; 4) data consistency and synchronization, when multiple devices access and modify shared data at the same time, there may be problems of data consistency and synchronization, which needs to design appropriate synchronization mechanism and algorithm.
[0006] In view of the problems and deficiencies of the above-mentioned data sharing and network communication technology, a network interconnection and intercommunication method capable of ensuring high-speed transmission, information security and cross-platform compatibility (especially between cloud platform and on-site industry) is found, which has very high practical value. SUMMARY
[0007] The purpose of the present application is to solve the problems existing in the prior art and provide a network interconnection and intercommunication method with transmission protocol consistency, which has the characteristics of simplicity, reliability, feasibility and easy implementation, and has high practical value.
[0008] The specific technical scheme adopted by the present application is as follows:
[0009] A network interconnection and intercommunication method with transmission protocol consistency, comprising the following steps:
[0010] S1, obtaining measurement value from the sensor of the industrial field device, and transmitting the measurement value in the form of analog signal to the isolation gate of the protocol conversion module;
[0011] S2, the protocol conversion module reads the signal converted by the isolation gate and transmits it to the data integration module in the form of digital signal through 5G wireless transmission;
[0012] S3, the data integration module transmits the digital signal to the digital-analog conversion module through the RS485 interface, the digital-analog conversion module performs digital-analog conversion on the digital signal and transmits it to the distributed control system in the form of new analog signal, and the digital-analog conversion module relays the digital signal through the RS485 interface to obtain new digital signal;
[0013] S4, the interconnection and intercommunication module reads the new digital signal from the digital-analog conversion module, and calculates the control performance index in real time according to the new digital signal, the control performance index includes overshoot, error square integral and field control quality, and the field control quality is obtained by weighted summation of the overshoot and the error square integral;
[0014] S5, the interconnection module and the cloud platform establish a TCP / IP connection and send a hypertext transfer protocol secure (HTTPS) request to upload the control performance index to the cloud platform and parse the network communication index returned from the cloud platform;
[0015] S6, the interconnection module inputs the network communication index into the digital-analog conversion module, and the digital-analog conversion module writes the network communication index into the distributed control system, realizing network interconnection and intercommunication with consistent transmission protocols.
[0016] Preferably, in step S1, the isolation barrier converts the measurement value through the semiconductor device modulation of the protocol conversion module, removes the noise superimposed on the analog signal, and processes the analog signal to match the signal input and output requirements of the distributed control system; the isolation conversion is realized by the magnetic sensor device of the protocol conversion module, and the signal converted by the isolation barrier is independent of the analog signal in S1, and the power supply of the protocol conversion module is independent of the power supply of the industrial field device.
[0017] Preferably, in step S2, the protocol conversion module is connected with the first access router through an Ethernet interface, the first access router is connected with the 5G customer terminal device, the 5G customer terminal device transmits digital signals wirelessly through a pre-deployed 5G base station, a second access router is deployed at one end of the distributed control system, the 5G base station communicates wirelessly with the second access router, and the second access router is connected with the data integration module through an Ethernet interface.
[0018] Preferably, in the communication process of step S2, a Modbus TCP communication protocol is used.
[0019] Preferably, in the communication process of step S3, a Modbus RTU communication protocol is used.
[0020] Preferably, in step S4, the function form of the field control quality is:
[0021] CQ = w1·σ + w2·ISE
[0022] wherein σ represents the overshoot, ISE represents the error square integral, CQ represents the field control quality, and w1 and w2 represent the first and second hyperparameters, respectively.
[0023] Further, the first hyperparameter is set to 0.2, and the second hyperparameter is set to 0.8.
[0024] As preferred, the interconnection and interworking module of step S5 comprises a single-chip microcomputer and a WiFi wireless module, wherein the single-chip microcomputer performs a communication function between the WiFi wireless module through a universal asynchronous receiver-transmitter; after the interconnection and interworking module is connected to the cloud platform, the interconnection and interworking module uploads control data and calls a control data uploading interface through a hypertext transfer protocol secure protocol, wherein the control data comprises the control performance index, the digital signal in S2, and a sensor IP address associated with the digital signal in S2.
[0025] As preferred, the network communication index data comprises a timestamp of the index, a TCP round-trip delay, a TCP uplink average rate, a TCP downlink average rate, and a terminal-side uplink TCP packet loss rate.
[0026] As preferred, in step S6, the single-chip microcomputer of the interconnection and interworking module communicates with the digital-analog conversion module via an RS485 interface, the network communication index is converted from digital to analog by the digital-analog conversion module to obtain an analog quantity of the network communication index, and finally the analog quantity of the network communication index is transmitted to the distributed control system by the digital-analog conversion module.
[0027] Compared with the prior art, the present application has the following beneficial effects:
[0028] 1. The present application monitors network communication index data with timestamp information, which facilitates subsequent industrial control system design.
[0029] 2. The present application uses overshoot, error square, and field control quality concepts to ensure that maintenance personnel can comprehensively evaluate the running state of the current industrial system through the cloud platform management system, and ensure that the network and application are efficient, manageable, maintainable, and operable, and can be quickly delimited, responsible, and repaired in case of problems.
[0030] 3. The HTTPS protocol is a network protocol constructed by SSL+HTTP protocol, which can perform encrypted transmission and identity authentication, is more secure than HTTP protocol, and can prevent data from being stolen and changed during transmission, and ensure the integrity of data.
[0031] 4. The method of the present application has no specific requirements for industrial scenarios and can be widely used in various continuous / discrete industrial, large transmission delay, and multi-sensor variable scenarios. BRIEF DESCRIPTION OF DRAWINGS
[0032] Figure 1 The step flow chart of the present application;
[0033] Figure 2 The device networking diagram in the embodiment of the present application;
[0034] Figure 3 The communication transmission delay curve result diagram monitored in the embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to make the above objectives, features and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application are described in detail below with reference to the drawings. In the following description, a large number of specific details are set forth in order to provide a thorough understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without departing from the spirit of the present application, so the present application is not limited to the specific embodiments disclosed below. The technical features in each embodiment of the present application can be combined accordingly without conflict.
[0036] In the description of the present application, it should be understood that the terms "first", "second" are only used for distinguishing description purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features.
[0037] In a preferred embodiment of the present application, a network interconnection and interworking method with transmission protocol consistency is provided, as shown in Figure 1 The method comprises the following steps:
[0038] S1, obtaining a measurement value from a sensor of an industrial field device, and transmitting the measurement value to an isolation barrier of a protocol conversion module in the form of an analog signal of 4-20mA.
[0039] It should be noted that in step S1 of the present application, the isolation barrier of the protocol conversion module (Modbus TCP module) converts the measurement value from the sensor instrument through the modulation of the semiconductor device of the protocol conversion module, and the isolation barrier also removes the noise superimposed on the analog signal and matches the input and output requirements of the distributed control system; the isolation conversion is realized by the magnetic sensor device of the protocol conversion module, and the signal converted by the isolation barrier is independent of the above-mentioned analog signal, and the power supply of the protocol conversion module is independent of the power supply of the industrial field device.
[0040] S2, the protocol conversion module reads the signal converted by the isolation barrier and transmits it to the data integration module in the form of a digital signal through 5G wireless transmission.
[0041] It should be noted that in the step S2 of the present application, the protocol conversion module is connected with the first access router (AR) through the Ethernet interface, the first access router is connected with the 5G customer terminal equipment (5G CPE), the 5G customer terminal equipment transmits digital signals wirelessly through the pre-deployed 5G base station, a second access router is deployed at one end of the distributed control system (DCS), the 5G base station communicates wirelessly with the second access router, and the second access router is connected with the data integration module through the Ethernet interface.
[0042] In addition, it should be noted that in the communication process of the step S2, the Modbus TCP communication protocol is adopted.
[0043] S3, the data integration module transmits the digital signal in S2 to the digital-analog conversion module through the RS485 interface, the digital-analog conversion module performs digital-analog (D / A) conversion on the obtained digital signal, transmits the digital signal in the form of a new analog signal of 4-20 mA to the distributed control system, and relays the digital signal through the RS485 interface to obtain a new digital signal.
[0044] It should be noted that in the step S3 of the present application, the digital-analog conversion module supports four-channel analog input and output, and has the function of converting analog signals and digital signals. Specifically, the digital-analog conversion module writes the output new analog signal into the distributed control system, and also relays the digital signal in S2 through the RS485 interface, that is, reads the analog signals outside the distributed control system (such as controllers and other sensors not in the industrial field), reads the additional analog signals as digital signals, and superimposes the original digital signals in S2 to obtain a new digital signal.
[0045] In addition, it should be noted that in the communication process of the step S3, the Modbus RTU communication protocol is adopted.
[0046] S4, the interconnection and intercommunication module reads the new digital signal from the digital-analog conversion module, and calculates the control performance index in real time according to the new digital signal, wherein the control performance index includes overshoot, error square integral and field control quality, and the field control quality is obtained by weighted summation of the overshoot and the error square integral.
[0047] It should be noted that in the step S4 of the present application, the calculation methods of various control performance indexes are as follows:
[0048] 1) Overshoot σ, that is, the ratio of the difference between the first peak value of the controlled variable in the response process curve of the control system under step signal input and the set value to the set value, and its function form is:
[0049]
[0050] wherein y is the above-mentioned digital signal (i.e. the controlled variable), y r is the set value.
[0051] 2) ISE, i.e. the integral value of the square error of the controlled variable from 10% of the set value to the time when the controlled variable enters the steady state, and its function form is:
[0052]
[0053] wherein t r is the time for the controlled variable to reach 10% of the set value, and t f is the time for the controlled variable to enter the steady state.
[0054] 3) CQ, i.e. the weighted sum of the above-mentioned two control performance indexes, and its function form is:
[0055] CQ = w1·σ + w2·ISE
[0056] wherein w1 and w2 represent the first hyperparameter and the second hyperparameter respectively. In the embodiment, the smaller the CQ value is, the better the control effect is.
[0057] In addition, it should be noted that the first hyperparameter and the second hyperparameter can be adjusted and set according to actual needs in the present application. In the embodiment, the first hyperparameter w1 is set to 0.2, and the second hyperparameter w2 is set to 0.8.
[0058] S5. The interconnection and interworking module establishes a TCP / IP connection with the cloud platform, and sends a Hypertext Transfer Protocol Secure (HTTPS) by the interconnection and interworking module to request to upload the above-mentioned control performance indexes to the cloud platform. The interconnection and interworking module also requests the network communication indexes (including transmission delay) of the wireless transmission part of the control loop from the cloud platform, and parses the network communication indexes from the return message of the cloud platform.
[0059] It should be noted that in step S5 of the present application, the above-mentioned interconnection module includes a single-chip microcomputer and a WiFi wireless module, and the single-chip microcomputer performs the communication function between the WiFi wireless module through a universal asynchronous receiver / transmitter (UART). Specifically, the single-chip microcomputer first sends an AT instruction to the WiFi wireless module, and the WiFi wireless module responds to the AT instruction, and the single-chip microcomputer receives the response of the WiFi wireless module to complete the connection between the single-chip microcomputer and the WiFi wireless module; after the connection process is completed, the WiFi wireless module is configured by the single-chip microcomputer, so that the WiFi wireless module is connected to the pre-configured WiFi network; after the network is configured, the single-chip microcomputer establishes a connection with the cloud platform based on the TCP / IP protocol, sends an HTTPS request to upload control data to the cloud platform, and at the same time requests the cloud platform to return the network communication indicators (including transmission delay) of the wireless transmission part of the control loop to the single-chip microcomputer, the single-chip microcomputer calls the network communication indicator monitoring interface of the cloud platform, and then parses the network communication indicators from the cloud platform return message. The above-mentioned network communication indicator data includes: the timestamp of the indicator, the TCP round-trip time (unit: ms), the TCP average uplink rate (unit: Mbps), the TCP average downlink rate (unit: Mbps), and the terminal side uplink TCP packet loss rate (unit: %). It can be seen that the single-chip microcomputer performs the functions of connecting, sending AT instructions and receiving AT responses with the WiFi wireless module through the UART, thereby completing the configuration of the WiFi wireless module connecting the WiFi network of the router, establishing a TCP / IP connection with the cloud platform, sending an HTTPS request and a series of tasks, and ultimately achieving the purpose of requesting network communication indicators and uploading control performance indicators.
[0060] In addition, it should be noted that in step S5 of the present application, after connecting the cloud platform, the interconnection module uploads control data and calls a control data upload interface through a hypertext transfer protocol secure (HTTPS) request, wherein the above-mentioned control data includes the above-mentioned control performance indicators, the digital signal in S2, and the sensor IP address associated with the digital signal in S2.
[0061] S6, the interconnection module inputs the network communication indicators into the digital-to-analog conversion module, and the digital-to-analog conversion module writes the network communication indicators into the distributed control system to realize network interconnection with consistent transmission protocols.
[0062] It should be noted that in step S6 of the present application, the single-chip microcomputer of the interconnection and interworking module communicates with the digital-to-analog conversion module via the RS485 interface, and the network communication index obtained by the request is converted from digital to analog by the digital-to-analog conversion module (i.e., converted from digital quantity to analog quantity), to obtain the analog quantity of the network communication index, and finally the analog quantity of the network communication index is transmitted to the distributed control system by the digital-to-analog conversion module, so as to support the deployment of the networked control algorithm of the subsequent communication delay of the distributed control system.
[0063] The present application will now be described through a specific example to show the application effect of the network interconnection and interworking method with transmission protocol consistency described in S1-S6 of the above embodiment in a specific industrial scene, so as to understand the essence of the present application.
[0064] Embodiment
[0065] This embodiment takes the production site of a certain chemical enterprise as an example to describe in detail the network interconnection and interworking method between the industrial site and the cloud platform based on the HTTPS protocol. The device networking after realizing wireless data transmission and remote management of the cloud platform in the industrial site is as shown in Figure 2 , wherein the solid line represents the real physical connection, and the dashed line represents the 5G wireless transmission. The communication transmission delay curve monitored in the process is as shown in Figure 3 , wherein the abscissa is the actual time stamp (unit: s), and the ordinate is the TCP round-trip delay (unit: ms).
[0066] In summary, the present application can realize wireless transformation for industrial scenes with complex production processes and a large number of sensors, reduce the cost of wiring and maintenance, improve the troubleshooting of signal transmission faults, and build a bridge between the industrial business side and the 5G network side, which can not only transmit the control performance index information of the business side to the network side, but also transmit the network communication index information of the network side to the business side.
[0067] The above-described embodiments are only a preferred scheme of the present application, and are not intended to limit the present application. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, any technical solution obtained by equivalent replacement or equivalent transformation falls within the protection scope of the present application.
Claims
1. A network interconnection method with consistent transmission protocols, characterized in that, For use on the network side, the following steps are included: S1. Obtain measurement values from sensors in industrial field equipment and transmit the measurement values in the form of analog signals to the isolation barrier of the protocol conversion module; S2. The protocol conversion module reads the signal converted by the isolation barrier and transmits it to the data integration module in digital form via 5G wireless transmission. S3. The data integration module transmits digital signals to the digital-to-analog converter module via the RS485 interface. The digital-to-analog converter module converts the digital signals into analog signals and transmits them to the distributed control system in the form of new analog signals. The digital-to-analog converter module relays the digital signals via the RS485 interface to obtain new digital signals. S4. The interconnection module reads new digital signals from the digital-to-analog converter module and calculates control performance indicators in real time based on the new digital signals. The control performance indicators include overshoot, integral of the square of error, and field control quality. The field control quality is obtained by weighted summation of the overshoot and the integral of the square of error. S5. The interconnection module establishes a TCP / IP connection with the cloud platform and sends a Hypertext Transfer Security Protocol request to upload the control performance indicators to the cloud platform and parse the network communication indicators returned from the cloud platform. S6. The interconnection module inputs the network communication indicators into the digital-to-analog conversion module, which then writes the network communication indicators into the distributed control system to achieve network interconnection with consistent transmission protocols.
2. The network interconnection method with transmission protocol consistency according to claim 1, characterized in that, In step S1, the isolation barrier modulates and converts the measured value through the semiconductor device of the protocol conversion module, removes noise superimposed on the analog signal, and processes the analog signal to match the signal input and output requirements of the distributed control system; the magnetic sensing device of the protocol conversion module realizes the isolation conversion and obtains the signal after the isolation barrier conversion. The signal after the isolation barrier conversion is independent of the analog signal, and the power supply of the protocol conversion module is independent of the power supply of the industrial field equipment.
3. The network interconnection method with transmission protocol consistency according to claim 1, characterized in that, In step S2, the protocol conversion module is connected to the first access router via an Ethernet interface. The first access router is connected to the 5G client terminal device. The 5G client terminal device wirelessly transmits digital signals through a pre-deployed 5G base station. A second access router is deployed at one end of the distributed control system. The 5G base station communicates wirelessly with the second access router. The second access router is connected to the data integration module via an Ethernet interface.
4. A network interconnection method with transmission protocol consistency according to claim 3, characterized in that, The Modbus TCP communication protocol is used in the communication process of step S2.
5. A network interconnection method with transmission protocol consistency according to claim 1, characterized in that, In step S3, the Modbus RTU communication protocol is used during the communication process.
6. A network interconnection method with transmission protocol consistency according to claim 1, characterized in that, In step S4, the functional form of the field control quality is: ; in, This indicates the overshoot amount; This represents the integral of the square of the error; This indicates the quality of the on-site control; These represent the first hyperparameter and the second hyperparameter, respectively.
7. A network interconnection method with transmission protocol consistency according to claim 6, characterized in that, The first hyperparameter is set to 0.2, and the second hyperparameter is set to 0.
8.
8. A network interconnection method with transmission protocol consistency according to claim 1, characterized in that, The interconnection module in step S5 includes a microcontroller and a WiFi wireless module. The microcontroller performs communication with the WiFi wireless module through a universal asynchronous transceiver. After connecting to the cloud platform, the interconnection module requests the upload of control data through the Hypertext Transfer Protocol and calls the control data upload interface. The control data includes the control performance indicators, digital signals, and the sensor IP addresses associated with the digital signals.
9. A network interconnection method with transmission protocol consistency according to claim 8, characterized in that, The network communication metrics data include: timestamps of the metrics, TCP round-trip time, average TCP uplink rate, average TCP downlink rate, and uplink TCP packet loss rate on the terminal side.
10. A network interconnection method with transmission protocol consistency according to claim 1, characterized in that, In step S6, the microcontroller of the interconnection module communicates with the digital-to-analog converter module via the RS485 interface. The digital-to-analog converter module converts the network communication indicators into analog quantities to obtain analog quantities of the network communication indicators. Finally, the digital-to-analog converter module transmits the analog quantities of the network communication indicators to the distributed control system.
Citation Information
Patent Citations
Integrated power quality adjustment control method and device
CN101106273A
Heterogeneous convergence network architecture applied to intelligent factory and route configuration method
CN110996368A