A smart industrial gateway communication method and system

By monitoring the industrial sensing devices of industrial gateways, obtaining initial gateway data, evaluating and obtaining comprehensive communication switching index and encryption security index, and obtaining standard transmission methods based on these indexes, the problem of low accuracy of gateway state switching during gateway communication is solved, and the security and reliability of data transmission are improved.

CN119182653BActive Publication Date: 2025-04-01GUANGDONG YOUBI INTELLIGENT EQUIPMENT TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411204667.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-04-01
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

In the prior art, the accuracy of gateway status switching during gateway communication is not high, resulting in incomplete security policies or vulnerabilities, resulting in data leakage.

Method used

The initial gateway data is obtained by monitoring the industrial sensing device of the industrial gateway, and the comprehensive communication switching index and encryption security index are obtained based on the initial gateway data. The standard transmission method is obtained based on these indexes, and the encrypted gateway data is transmitted to the preset remote server.

Benefits of technology

It realizes the accuracy of gateway state switching during gateway communication, improves the security and reliability of data transmission, and solves the problem of data leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119182653B_ABST
    Figure CN119182653B_ABST
Patent Text Reader

Abstract

The present invention discloses an intelligent industrial gateway communication method and system, and relates to the field of data exchange network technology. The intelligent industrial gateway communication method includes the following steps: obtaining initial gateway data; obtaining a comprehensive communication switching index; obtaining an encryption security index; and obtaining a standard transmission mode. The present invention obtains a comprehensive communication switching index based on the initial gateway data, then encrypts the initial gateway data to obtain encrypted gateway data, further obtains an encryption security index, and finally obtains a standard transmission mode based on the encryption security index. At the same time, the encrypted gateway data is transmitted to a preset remote server according to the standard transmission mode, thereby achieving the effect of improving the accuracy of gateway state switching during gateway communication, and solving the problem of low accuracy of gateway state switching during gateway communication in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data exchange networks, and in particular to an intelligent industrial gateway communication method and system. Background Art

[0002] A gateway, also known as an inter-network connector or protocol converter, is a device that connects two or more networks and is used for data transmission and communication between different networks. It can realize network interconnection above the network layer and is one of the most complex network interconnection devices. In industrial control systems, gateways can realize protocol conversion and data transmission between different devices, improve production efficiency and the convenience of equipment management. For example, in smart factories, gateways can connect sensors, industrial robots and other equipment to realize remote monitoring and fault warning of equipment. In the Internet of Things system, the gateway is a key device connecting the perception layer and the network layer. It can integrate the data collected by various Internet of Things devices and transmit it to the cloud platform or data center for processing and analysis. For example, the gateway in the smart home system can connect smart door locks, smart lighting, smart appliances and other devices to realize centralized control and intelligent management of equipment. Future gateways will be more intelligent and have more powerful data processing and analysis capabilities. They can automatically learn and optimize communication protocols and data transmission methods to improve communication efficiency and stability.

[0003] Existing methods determine the network protocol used by identifying the header information of the data packet, and then convert the data packet from one protocol format to another protocol format to adapt to the communication requirements between different networks.

[0004] For example, the communication gateway announced in the invention patent with announcement number: CN115412402B includes: a first transmission channel and a second transmission channel; the input end of the first transmission channel is connected to the first system, the output end of the first transmission channel is connected to the second system, and the first transmission channel transmits data of the first system to the second system; the input end of the second transmission channel is connected to the second system, the output end of the second transmission channel is connected to the first system, and the second transmission channel transmits data of the second system to the first system; if the first system needs to transmit data to the second system, the first transmission channel is connected; if the first system does not need to transmit data to the second system, the first transmission channel is disconnected; if the second system needs to transmit data to the first system, the second transmission channel is connected; if the second system does not need to transmit data to the first system, the second transmission channel is disconnected.

[0005] For example, the gateway communication method, gateway and energy system announced in the invention patent with announcement number: CN108833270B include: the gateway receives energy information from the energy network; the gateway generates blockchain information based on the energy information; the blockchain information is published on the blockchain network where the gateway is located; the gateway receives an energy scheduling request from the energy network; the gateway generates energy scheduling information based on blockchain data, and the blockchain data includes blockchain information published by each node on the blockchain network where the gateway is located; the gateway generates blockchain information based on the energy scheduling information and publishes it on the blockchain network where the gateway is located, so that the gateway that receives the blockchain information determines that the blockchain information includes energy scheduling information, and the energy scheduling information is related to the energy network connected to the gateway that receives the blockchain information, and sends the energy scheduling information to the energy network to perform energy scheduling.

[0006] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems:

[0007] In the prior art, due to the continuous upgrading and complexity of network attack methods, the gateway's security policy is not perfect or there are loopholes that cause data leakage, resulting in inaccurate gateway status switching during gateway communication. Summary of the invention

[0008] The embodiments of the present application provide a smart industrial gateway communication method and system, thereby solving the problem of low accuracy of gateway state switching during gateway communication in the prior art and improving the accuracy of gateway state switching during gateway communication.

[0009] An embodiment of the present application provides a smart industrial gateway communication method, comprising the following steps: S1, monitoring an industrial sensor device of an industrial gateway to obtain initial gateway data, wherein the industrial sensor device is used to collect initial gateway data related to the industrial gateway, and the initial gateway data is used to describe the status of the industrial gateway; S2, obtaining a comprehensive communication switching index based on the initial gateway data, wherein the comprehensive communication switching index is used to evaluate the health status of the industrial gateway to facilitate switching of communication modes; S3, encrypting the initial gateway data to obtain encrypted gateway data, and obtaining an encryption security index based on the encrypted gateway data, wherein the encryption security index is used to evaluate the security of the initial gateway data encryption process; S4, obtaining a standard transmission method based on the encryption security index, and transmitting the encrypted gateway data to a preset remote server according to the standard transmission method.

[0010] Furthermore, the specific process of acquiring the initial gateway data is as follows: acquiring first gateway data according to the industrial sensor device, wherein the first gateway data represents the original data transmitted by the industrial sensor device to the industrial gateway; performing data outlier processing on the first gateway data to acquire second gateway data, wherein the outlier processing represents deleting duplicate values ​​in the first gateway data; and performing standardization processing on the second gateway data to acquire initial gateway data.

[0011] Furthermore, the specific acquisition process of the comprehensive communication switching index is as follows: the transmission rate related index of the industrial sensor device is obtained by the transmission related data obtained by the first measuring device in the transmission time period, the first measuring device includes a signal analyzer, a spectrum analyzer and a symbol counter, the transmission time period represents a preset time period in the process of monitoring the industrial sensor device corresponding to the industrial gateway, the transmission related data includes a standard baud rate, a standard modulation level number, a standard signal amplitude and a standard noise amplitude, and the transmission rate related index is used to evaluate the data transmission capability between the industrial gateway and the industrial sensor device to facilitate the switching of the communication mode; the transmission accuracy index of the industrial sensor device is obtained by the fault related data obtained by the second measuring device in the transmission time period, the second measuring device includes a network analyzer, a spectrum analyzer and a symbol counter. An analyzer and a bit error rate tester, the fault-related data include a standard number of packet losses, a standard total number of packets, a standard number of error codewords and a standard total number of codewords, and the transmission accuracy index is used to evaluate the health status of the industrial gateway to facilitate communication mode switching; a preset communication switching first weight and a preset communication switching second weight are obtained from a preset database, the preset communication switching first weight is used to evaluate the influence of the transmission rate related index on the comprehensive communication switching index, and the preset communication switching second weight is used to evaluate the influence of the transmission accuracy index on the comprehensive communication switching index; the preset communication switching first weight, the preset communication switching second weight, the transmission rate related index and the transmission accuracy index are input into the constructed gateway status evaluation model to obtain the comprehensive communication switching index, and communication switching is performed according to the comprehensive communication switching index.

[0012] Furthermore, the comprehensive communication switching index is calculated in the following manner:

[0013]

[0014] Where X represents the comprehensive communication switching index of the industrial sensor device, Represents the transmission rate correlation index of the industrial sensor device in the mth transmission time period, It represents the transmission accuracy index of the industrial sensor device in the mth transmission time period, m=1,2,...,r, m represents the number of the transmission time period, r represents the total number of transmission time periods, σ1 represents the first weight of the preset communication switching, and σ2 represents the second weight of the preset communication switching.

[0015] Furthermore, the specific process of performing communication switching according to the comprehensive communication switching index is as follows: sorting the obtained comprehensive communication switching index to obtain the maximum correlation index, switching the industrial sensor device to the corresponding preset communication mode according to the maximum correlation index, and the maximum correlation index represents the maximum value of the comprehensive communication switching index; monitoring the preset communication mode to obtain the transmission delay time, and determining whether the transmission delay time is greater than the preset delay time, if the transmission delay time is greater than the preset delay time, feedback is given to the preset personnel, otherwise monitoring is continued.

[0016] Furthermore, the transmission-related data obtained by the first measuring device during the transmission time period obtains the transmission rate-related index of the industrial sensor device, and the specific steps are as follows: a standard rate measurement value is obtained according to a standard baud rate and a standard modulation level number, and a standard signal-to-noise ratio measurement value is obtained according to a standard signal amplitude and a standard noise amplitude; a preset transmission rate threshold, a preset signal-to-noise ratio threshold, a preset transmission first weight, and a preset transmission second weight are obtained from a preset database, and a transmission rate-related index is obtained in combination with the standard rate measurement value and the standard signal-to-noise ratio measurement value; the transmission rate-related index is calculated using the following formula:

[0017]

[0018] In the formula, A m represents the standard rate measurement value in the mth preset time period, C m represents the standard signal-to-noise ratio measurement value in the mth preset time period, A0 represents the preset transmission rate threshold, C0 represents the preset signal-to-noise ratio threshold, α1 represents the preset transmission first weight, α2 represents the preset transmission second weight, and e represents a natural constant.

[0019] Furthermore, the fault-related data obtained by the second measuring device during the transmission time period obtains the transmission accuracy index of the industrial sensor device, and the specific process is as follows: a standard packet loss rate measurement value is obtained according to a standard packet loss number and a standard total packet number, and a standard bit error rate measurement value is obtained according to a standard error codeword number and a standard total codeword number; a preset packet loss rate threshold, a preset bit error rate threshold, a preset fault first weight, and a preset fault second weight are obtained from a preset database, and the transmission accuracy index is obtained in combination with the standard packet loss rate measurement value and the standard bit error rate measurement value; the transmission accuracy index is calculated using the following formula:

[0020]

[0021] Where D 1m represents the standard packet loss rate measurement value in the mth preset time period, D 2mrepresents the standard bit error rate measurement value in the mth preset time period, D0 represents the preset packet loss rate threshold, D1 represents the preset bit error rate threshold, β1 represents the preset fault first weight, β2 represents the preset fault second weight, and e represents a natural constant.

[0022] Furthermore, the specific method of obtaining the encrypted gateway data is as follows: obtaining an encryption key according to a preset encryption algorithm and a preset key generation algorithm, wherein the encryption key is used to ensure the randomness and unpredictability of encryption; encrypting the initial gateway data according to the preset encryption algorithm and the encryption key to obtain encrypted gateway data.

[0023] Furthermore, the specific method for obtaining the encryption security index is as follows: obtaining encryption-related data through a third measuring device during an encryption time period, the encryption time period representing a preset time period in the process of encrypting the initial gateway data, the third measuring device including a network performance analyzer and a timer, and the encryption-related data including a standard data volume, a standard processing time, a standard number of requests, and a standard total processing time; obtaining a standard encryption speed measurement value based on the standard data volume and the standard processing time, and obtaining a standard throughput measurement value based on the standard number of requests and the standard total processing time; obtaining a preset encryption speed threshold, a preset throughput threshold, a first encryption weight, and a second encryption weight from a preset database, and obtaining an encryption security index in combination with the standard encryption speed measurement value and the standard throughput measurement value.

[0024] An embodiment of the present application provides an intelligent industrial gateway communication system, including an initial gateway data acquisition module, a comprehensive communication switching index acquisition module, an encryption security index acquisition module and a standard transmission mode acquisition module; wherein the initial gateway data acquisition module is used to monitor the industrial sensor device of the industrial gateway to obtain initial gateway data, the industrial sensor device is used to collect initial gateway data related to the industrial gateway, and the initial gateway data is used to describe the status of the industrial gateway; the comprehensive communication switching index acquisition module is used to obtain a comprehensive communication switching index based on the initial gateway data, and the comprehensive communication switching index is used to evaluate the health status of the industrial gateway to facilitate communication mode switching; the encryption security index acquisition module is used to encrypt the initial gateway data to obtain encrypted gateway data, and obtain an encryption security index based on the encrypted gateway data, and the encryption security index is used to evaluate the security of the initial gateway data encryption process; the standard transmission mode acquisition module is used to obtain a standard transmission mode based on the encryption security index, and transmit the encrypted gateway data to a preset remote server according to the standard transmission mode.

[0025] The present application also provides an industrial gateway, which includes the intelligent industrial gateway communication system provided by the present invention.

[0026] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0027] 1. Initial gateway data is obtained by monitoring the industrial sensor device of the industrial gateway, and then a comprehensive communication switching index is obtained based on the initial gateway data. The initial gateway data is then encrypted to obtain encrypted gateway data, and an encryption security index is obtained based on the encrypted gateway data. Finally, a standard transmission method is obtained based on the encryption security index, and the encrypted gateway data is transmitted to a preset remote server according to the standard transmission method, thereby improving the reliability of monitoring the gateway status, and then improving the accuracy of gateway status switching during gateway communication, effectively solving the problem of low accuracy of gateway status switching during gateway communication in the prior art.

[0028] 2. A comprehensive communication switching index is obtained by inputting the preset communication switching first weight, the preset communication switching second weight, the transmission rate related index and the transmission accuracy index into the constructed gateway status evaluation model, and communication switching is performed according to the comprehensive communication switching index, thereby realizing a comprehensive evaluation of the gateway status, and further realizing the improvement of the accuracy of obtaining the basis for gateway status switching.

[0029] 3. Obtain the encryption key through the preset encryption algorithm and the preset key generation algorithm, then encrypt the initial gateway data according to the preset encryption algorithm and the encryption key to obtain the encrypted gateway data, and finally obtain the encryption security index according to the encrypted gateway data, thereby improving the security of the initial gateway data transmission process and further improving the data availability. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A flow chart of a smart industrial gateway communication method provided in an embodiment of the present application;

[0031] Figure 2 A statistical variation diagram of the transmission accuracy index provided in an embodiment of the present application;

[0032] Figure 3 A schematic diagram of the structure of an intelligent industrial gateway communication system provided in an embodiment of the present application.

[0033] Figure 4 This is an actual product example of a smart industrial gateway provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The embodiments of the present application solve the problem of low accuracy of gateway state switching during gateway communication in the prior art by providing an intelligent industrial gateway communication method and system. The initial gateway data is obtained by monitoring the industrial sensor device of the industrial gateway, and then a comprehensive communication switching index is obtained based on the initial gateway data. The initial gateway data is then encrypted to obtain encrypted gateway data, and an encryption security index is obtained based on the encrypted gateway data. Finally, a standard transmission method is obtained based on the encryption security index, and the encrypted gateway data is transmitted to a preset remote server according to the standard transmission method, thereby improving the accuracy of gateway state switching during gateway communication.

[0035] The technical solution in the embodiment of the present application is to solve the problem of low accuracy of gateway state switching during the above-mentioned gateway communication process. The overall idea is as follows:

[0036] The comprehensive communication switching index is obtained through the initial gateway data, and then the initial gateway data is encrypted to obtain the encryption security index. Finally, the standard transmission method is obtained based on the encryption security index. At the same time, the encrypted gateway data is transmitted to the preset remote server according to the standard transmission method, thereby achieving the effect of improving the accuracy of gateway state switching during gateway communication.

[0037] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0038] like Figure 1 As shown, it is a flow chart of a smart industrial gateway communication method provided by an embodiment of the present application, and the method includes the following steps: S1, monitoring the industrial sensor device of the industrial gateway to obtain initial gateway data, the industrial sensor device is used to collect initial gateway data related to the industrial gateway, and the initial gateway data is used to describe the status of the industrial gateway; S2, obtaining a comprehensive communication switching index according to the initial gateway data, and the comprehensive communication switching index is used to evaluate the health status of the industrial gateway to facilitate switching of the communication mode; S3, encrypting the initial gateway data to obtain encrypted gateway data, and obtaining an encryption security index according to the encrypted gateway data, and the encryption security index is used to evaluate the security of the initial gateway data encryption process; S4, obtaining a standard transmission mode based on the encryption security index, and transmitting the encrypted gateway data to a preset remote server according to the standard transmission mode, and the standard transmission mode represents the communication transmission mode of the industrial gateway.

[0039] In this embodiment, the industrial sensing devices include temperature sensors, vibration sensors, flow sensors, current sensors, etc. In different application scenarios and network environments, the industrial gateway may need to adopt different communication methods (such as wired, wireless, 4G, 5G, etc.) to ensure the reliability and efficiency of data transmission. The comprehensive communication switching index can provide a decision-making basis for switching the communication method, and help the system select the communication method that best suits the current environment and needs. Based on the encryption security index, the system will further select the standard transmission method that best suits the current security requirements and transmission conditions. The standard transmission method may include different network protocols, communication media (such as wired, wireless), communication technologies (such as 4G, 5G, Wi-Fi, Ethernet, etc.) and possible security protocols; the accuracy of gateway state switching during gateway communication is improved.

[0040] Furthermore, the specific process of acquiring the initial gateway data is as follows: first gateway data is acquired according to the industrial sensor device, the first gateway data representing the original data transmitted by the industrial sensor device to the industrial gateway; data outlier processing is performed on the first gateway data to acquire second gateway data, the outlier processing represents deleting duplicate values ​​in the first gateway data, and the second gateway data represents the first gateway data after outlier processing; the second gateway data is standardized to acquire initial gateway data, and the standardized processing is used to unify the format of the second gateway data.

[0041] In this embodiment, industrial sensor devices are an important part of the industrial Internet of Things. They are responsible for collecting various physical quantities and converting them into processable digital signals. The first gateway data may include temperature, pressure, flow, vibration and other sensor readings. The main purpose of standardization is to eliminate the impact of different dimensions and data ranges on data analysis results, so that data from different sources and different types can be compared and analyzed on the same scale; the accuracy of gateway state switching during gateway communication is improved.

[0042] Furthermore, the specific acquisition process of the comprehensive communication switching index is as follows: the transmission-related data obtained by the first measuring device in the transmission time period is used to obtain the transmission rate-related index of the industrial sensor device. The first measuring device includes a signal analyzer, a spectrum analyzer and a symbol counter. The transmission time period represents a preset time period in the process of monitoring the industrial sensor device corresponding to the industrial gateway. The transmission-related data includes a standard baud rate, a standard modulation level number, a standard signal amplitude and a standard noise amplitude. The standard baud rate represents the number of symbols transmitted per second by the industrial sensor device in the transmission time period. The standard frequency represents the number of valid discrete values ​​of each symbol transmitted by the industrial sensor device in the transmission time period. The standard signal amplitude represents the signal amplitude transmitted by the industrial sensor device in the transmission time period. The standard noise amplitude represents the noise amplitude transmitted by the industrial sensor device in the transmission time period. The transmission rate-related index is used to evaluate the data transmission capacity between the industrial gateway and the industrial sensor device in order to facilitate the switching of the communication mode. The fault-related data obtained by the second measuring device in the transmission time period is used to obtain the transmission accuracy index of the industrial sensor device. The second measuring device includes a network analyzer. The apparatus comprises a device for measuring the fault of an industrial gateway and a bit error rate tester, wherein the fault-related data include a standard packet loss number, a standard total packet number, a standard error codeword number and a standard total codeword number, wherein the standard packet loss number indicates the number of data packets lost by the industrial sensor device during the transmission time period, the standard total packet number indicates the total number of data packets transmitted by the industrial sensor device during the transmission time period, the standard error codeword number indicates the number of error codewords transmitted by the industrial sensor device during the transmission time period, the standard total codeword number indicates the total number of codewords transmitted by the industrial sensor device during the transmission time period, and the transmission accuracy index is used to evaluate the health status of the industrial gateway for the convenience of switching the communication mode; the preset communication switching first weight and the preset communication switching second weight are obtained from the preset database, the preset communication switching first weight is used to evaluate the influence of the transmission rate related index on the comprehensive communication switching index, and the preset communication switching second weight is used to evaluate the influence of the transmission accuracy index on the comprehensive communication switching index; the preset communication switching first weight, the preset communication switching second weight, the transmission rate related index and the transmission accuracy index are input into the constructed gateway status evaluation model to obtain the comprehensive communication switching index, and the communication switching is performed according to the comprehensive communication switching index.

[0043] In this embodiment, the signal analyzer is an instrument for measuring, analyzing and debugging signals, and can measure and analyze different types of signals, such as signal quality and performance indicators (signal strength, modulation, frequency offset, etc.) in wireless communication systems. The spectrum analyzer is an instrument for studying the spectrum structure of electrical signals, and is used to measure parameters such as signal distortion, modulation, spectrum purity, frequency stability and intermodulation distortion, and can also measure certain parameters of circuit systems such as amplifiers and filters. The symbol counter is mainly used to count the number of symbols in the signal. The network analyzer is mainly used to measure network parameters, such as complex scattering parameters (S parameters), input reflection coefficient, output reflection coefficient, voltage standing wave ratio, impedance, attenuation, phase shift and group delay, etc. It can perform scanning measurements in a wide frequency band to determine network parameters. The bit error rate tester is a test instrument that can generate a pseudo-random analog test signal and compare it with the signal received after transmission to calculate the bit error rate of the transmission medium; the accuracy of gateway state switching during gateway communication is improved.

[0044] Furthermore, the comprehensive communication switching index is calculated in the following manner:

[0045]

[0046] Where X represents the comprehensive communication switching index of the industrial sensor device, Represents the transmission rate correlation index of the industrial sensor device in the mth transmission time period, It represents the transmission accuracy index of the industrial sensor device in the mth transmission time period, m=1,2,...,r, m represents the number of the transmission time period, r represents the total number of transmission time periods, σ1 represents the first weight of the preset communication switching, and σ2 represents the second weight of the preset communication switching.

[0047] In this embodiment, the algorithm of this embodiment combines the transmission rate related index and transmission accuracy index Comprehensive analysis results in the comprehensive communication switching index. The transmission rate-related index in this formula is and transmission accuracy index There is a common regulatory association between and transmission accuracy index As the comprehensive communication switching index increases, the transmission rate related index increases. and transmission accuracy index It is positively correlated with the comprehensive communication switching index, so it is precisely analyzed by establishing a mathematical form. A high transmission rate may be accompanied by a higher noise amplitude, which affects the transmission accuracy; while a low error rate may mean that there is room for optimization of the transmission rate, so it is necessary to comprehensively consider the impact of the transmission rate-related index and the transmission accuracy index; the accuracy of gateway state switching during gateway communication is improved.

[0048] Specifically, the preset communication switching first weight is obtained from a preset database; in a specific embodiment, a mapping set of standard rate deviation values ​​and their corresponding weights is constructed according to the relationship between historical standard rate deviation values ​​and comprehensive communication switching indexes, and the real-time standard rate deviation value is input into the mapping set to obtain the corresponding preset communication switching first weight.

[0049] Specifically, the preset communication switching second weight is obtained from a preset database; in a specific embodiment, a mapping set of standard packet loss rate deviation values ​​and their corresponding weights is constructed based on the relationship between historical standard packet loss rate deviation values ​​and the comprehensive communication switching index, and the real-time standard packet loss rate deviation value is input into the mapping set to obtain the corresponding preset communication switching second weight.

[0050] Furthermore, the specific process of performing communication switching according to the comprehensive communication switching index is as follows: sorting the obtained comprehensive communication switching index to obtain the maximum correlation index, switching the industrial sensor device to the corresponding preset communication mode according to the maximum correlation index, sorting means sorting the comprehensive communication switching index in an orderly manner, and the maximum correlation index means the maximum value of the comprehensive communication switching index; and monitoring the preset communication mode to obtain the transmission delay time, and judging whether the transmission delay time is greater than the preset delay time, if the transmission delay time is greater than the preset delay time, feedback is given to the preset personnel, otherwise monitoring is continued, and monitoring means measuring the delay time of data transmission.

[0051] In this embodiment, the comprehensive communication switching indexes of all industrial sensor devices are sorted to ensure efficiency. The maximum correlation index represents that under the current conditions, the data transmission performance and reliability that a certain sensor device or communication link can provide are optimal. The monitored transmission delay time is compared with the preset delay time. The preset delay time is represented by the mean value of the delay time data in the preset database; the accuracy of gateway state switching during gateway communication is improved.

[0052] Furthermore, the transmission-related data acquired by the first measuring device in the transmission time period is used to obtain the transmission rate-related index of the industrial sensor device. The specific steps are as follows: a standard rate measurement value is acquired according to the standard baud rate and the standard modulation level number, and a standard signal-to-noise ratio measurement value is acquired according to the standard signal amplitude and the standard noise amplitude. The standard rate measurement value represents the transmission rate measurement value of the industrial sensor device in the transmission time period, and the standard signal-to-noise ratio measurement value represents the signal-to-noise ratio measurement value of the transmission data of the industrial sensor device in the transmission time period; a preset transmission rate threshold, a preset signal-to-noise ratio threshold, a preset transmission first weight, and a preset transmission second weight are acquired from a preset database, and the transmission rate-related index is acquired in combination with the standard rate measurement value and the standard signal-to-noise ratio measurement value. The preset transmission first weight is used to evaluate the influence of the standard baud rate and the standard modulation level number on the transmission rate-related index, and the preset transmission second weight is used to evaluate the influence of the standard signal amplitude and the standard noise amplitude on the transmission rate-related index; the transmission rate-related index is calculated using the following formula:

[0053]

[0054] In the formula, A m represents the standard rate measurement value in the mth preset time period, C m represents the standard signal-to-noise ratio measurement value in the mth preset time period, A0 represents the preset transmission rate threshold, C0 represents the preset signal-to-noise ratio threshold, α1 represents the preset transmission first weight, α2 represents the preset transmission second weight, and e represents a natural constant.

[0055] In this embodiment, the preset transmission rate threshold is represented by the mean of the transmission rate data in the preset database, the preset signal-to-noise ratio threshold is represented by the mean of the signal-to-noise ratio data in the preset database, and the preset signal-to-noise ratio threshold is represented by the mean of the signal-to-noise ratio data in the preset database.

[0056] Specifically, the preset transmission first weight is obtained from a preset database; in a specific embodiment, a mapping set of standard baud rate deviation values ​​and their corresponding weights is constructed based on the relationship between historical standard baud rate deviation values ​​and transmission rate related indexes, and the real-time standard baud rate deviation value is input into the mapping set to obtain the corresponding preset transmission first weight.

[0057] Specifically, the preset transmission second weight is obtained from a preset database; in a specific embodiment, a mapping set of standard signal amplitude deviation values ​​and their corresponding weights is constructed based on the relationship between historical standard signal amplitude deviation values ​​and transmission rate related indexes, and the real-time standard signal amplitude deviation value is input into the mapping set to obtain the corresponding preset transmission second weight.

[0058] Specifically, A m =B m *log2 Nm , B m Indicates the standard baud rate in the mth transmission time period, N m Indicates the standard modulation level number in the mth transmission time period, V 1m represents the standard signal amplitude in the mth transmission time period, V 2m represents the standard noise amplitude in the mth transmission time period. The algorithm in this embodiment combines the standard baud rate B m , Standard modulation level number N m , standard signal amplitude V 1m and standard noise amplitude V 2m , comprehensive analysis to obtain the transmission rate related index, the standard baud rate B in this formula m , Standard modulation level number N m , standard signal amplitude V 1m and standard noise amplitude V 2m There is a common regulation association between the standard baud rate B m , Standard modulation level number N m and standard signal amplitude V 1m The increase of the standard noise amplitude V 2m As the transmission rate decreases, the transmission rate related index gradually increases. The standard baud rate B m , Standard modulation level number N m and standard signal amplitude V 1m Positively correlated with the transmission rate correlation index, standard noise amplitude V 2m The index is negatively correlated with the transmission rate, so it can be accurately analyzed by establishing a mathematical form.

[0059] It needs to be explained that the standard baud rate B m The expression is: Among them, B m ' represents the standard baud rate data in the mth preset time period, B m 0 Indicates the reference standard baud rate data in the mth preset time period, ΔB m Indicates the standard baud rate data reference deviation, standard modulation level number N m The expression is: Among them, N m ' represents the standard modulation level data in the mth preset time period, N m 0 Indicates the reference standard modulation level data in the mth preset time period, ΔN m Indicates the standard modulation level data reference deviation, standard signal amplitude V 1m The expression is: Among them, V 1m' represents the standard signal amplitude data in the mth preset time period, V 1m 0 Indicates the reference standard signal amplitude data in the mth preset time period, ΔV 1m Indicates the standard signal amplitude data reference deviation, standard noise amplitude V 2m The expression is: Among them, V 2m ' represents the standard noise amplitude data in the mth preset time period, V 2m 0 Indicates the reference standard noise amplitude data in the mth preset time period, ΔV 2m Indicates the reference deviation of standard noise amplitude data.

[0060] It should be understood that the standard baud rate data in the m-th preset time period is obtained by measurement, the reference standard baud rate data is represented by the result of calculating the average value of the standard baud rate data in the m-th preset time period, the reference deviation of the standard baud rate data is obtained by calculating the standard baud rate data and the reference standard baud rate data through a deviation formula, the standard modulation level number data in the m-th preset time period is obtained by measurement, the reference standard modulation level number data is represented by the result of calculating the average value of the standard modulation level number data in the m-th preset time period, the reference deviation of the standard modulation level number data is obtained by calculating the standard modulation level number data and the reference standard modulation level number data through a deviation formula, the standard signal amplitude data in the m-th preset time period is obtained by measurement, and the reference standard signal amplitude data is represented by the result of calculating the average value of the standard signal amplitude data in the m-th preset time period. The degree data is represented by the result of calculating the average value of the standard signal amplitude data in the m-th preset time period, the reference deviation of the standard signal amplitude data is obtained by calculating the standard signal amplitude rate data and the reference standard signal amplitude data through the deviation formula, the standard noise amplitude data in the m-th preset time period is obtained by measurement, the reference standard noise amplitude data is represented by the result of calculating the average value of the standard noise amplitude data in the m-th preset time period, the reference deviation of the standard noise amplitude data is obtained by calculating the standard noise amplitude data and the reference standard noise amplitude data through the deviation formula, the deviation formula is used to measure the difference between the reference value and the actual measurement value, and is represented by the result of taking the average value of the difference between the reference value and the actual measurement value; the accuracy of gateway state switching during gateway communication is improved.

[0061] Furthermore, the transmission accuracy index of the industrial sensor device is obtained by the fault-related data obtained by the second measuring device during the transmission time period. The specific process is as follows: a standard packet loss rate measurement value is obtained according to the standard packet loss number and the standard total packet number, and a standard bit error rate measurement value is obtained according to the standard error codeword number and the standard total codeword number. The standard packet loss rate measurement value represents the measurement value of the packet loss rate of the industrial sensor device transmitting data during the transmission time period, and the standard bit error rate measurement value represents the measurement value of the bit error rate of the industrial sensor device transmitting data during the transmission time period; a preset packet loss rate threshold, a preset bit error rate threshold, a preset fault first weight and a preset fault second weight are obtained from a preset database, and the transmission accuracy index is obtained in combination with the standard packet loss rate measurement value and the standard bit error rate measurement value. The preset fault first weight is used to evaluate the influence of the standard packet loss number and the standard total packet number on the transmission accuracy index, and the preset fault second weight is used to evaluate the influence of the standard error codeword number and the standard total codeword number on the transmission accuracy index; the transmission accuracy index is calculated using the following formula:

[0062]

[0063] Where D 1m represents the standard packet loss rate measurement value in the mth preset time period, D 2m represents the standard bit error rate measurement value in the mth preset time period, D0 represents the preset packet loss rate threshold, D1 represents the preset bit error rate threshold, β1 represents the preset fault first weight, β2 represents the preset fault second weight, and e represents a natural constant.

[0064] In this embodiment, the preset packet loss rate threshold is represented by the average value of the packet loss rate data in the preset database, and the preset bit error rate threshold is represented by the average value of the bit error rate data in the preset database.

[0065] Specifically, the preset fault first weight is obtained from a preset database; in a specific embodiment, a mapping set of standard packet loss deviation values ​​and their corresponding weights is constructed according to the relationship between historical standard packet loss deviation values ​​and transmission accuracy index, and the real-time standard packet loss deviation value is input into the mapping set to obtain the corresponding preset fault first weight.

[0066] Specifically, the preset fault second weight is obtained from a preset database; in a specific embodiment, a mapping set of standard error code word deviation values ​​and their corresponding weights is constructed based on the relationship between historical standard error code word deviation values ​​and transmission accuracy index, and the real-time standard error code word deviation value is input into the mapping set to obtain the corresponding preset fault second weight.

[0067] Specifically, d 1m Indicates the standard number of packet losses in the mth preset time period, d mIndicates the total number of standard packets in the mth preset time period, g 1m Indicates the number of standard error code words in the mth preset time period, g m represents the standard total number of code words in the mth preset time period. The algorithm in this embodiment combines the standard packet loss number d 1m 、Standard total number of packages d m 、Number of standard error code words g 1m And the standard total code word number g m , comprehensive analysis to obtain the transmission accuracy index, the standard packet loss number d in this formula 1m 、Standard total number of packages d m 、Number of standard error code words g 1m And the standard total code word number g m There is a common regulatory correlation between them. As the standard packet loss number d 1m and the standard error code number g 1m The increase of the standard total number of packages d m And the standard total code word number g m The transmission accuracy index gradually decreases, and the standard packet loss number d 1m and the standard error code number g 1m Negatively correlated with the transmission accuracy index, the standard total number of packets d m And the standard total code word number g m It is positively correlated with the transmission accuracy index, so it can be accurately analyzed by establishing a mathematical form.

[0068] Specifically, assuming the standard packet loss rate measurement value D 1m The range is 0-0.1, and the standard bit error rate measurement value D 2m The range is 0-0.001, the preset packet loss rate threshold D0 is 0.05, and the preset bit error rate threshold D1 is 10 -7 , the preset fault first weight β1 is 0.0005, and the preset fault second weight β2 is 0.5, such as Figure 2 As shown in the figure, it is a statistical change diagram of the transmission accuracy index provided in the embodiment of the present application. As can be seen from the figure, as the standard packet loss rate measurement value D 1m and the standard bit error rate measurement value D 2m The transmission accuracy index gradually decreases, which directly reflects the errors, packet loss or increased delays in the data packet transmission process, which means that the state of the industrial gateway is abnormal; the accuracy of gateway state switching during gateway communication is improved.

[0069] Furthermore, the specific method of obtaining the encrypted gateway data is as follows: obtaining an encryption key according to a preset encryption algorithm and a preset key generation algorithm, the encryption key is used to ensure the randomness and unpredictability of the encryption; encrypting the initial gateway data according to the preset encryption algorithm and the encryption key to obtain the encrypted gateway data, the encryption processing is used to ensure the confidentiality and integrity of the initial gateway data

[0070] In this embodiment, the preset encryption algorithm is a mathematical function for data encryption obtained from a preset database, such as symmetric encryption using the same key for encryption and decryption, and the AES algorithm (Advanced Encryption Standard) is selected for encryption. After the encryption is completed, the encrypted information (ciphertext) is obtained and output or transmitted to the receiver. After the receiver receives the ciphertext, it is ready to decrypt. The receiver uses the same algorithm and key as the encryption to decrypt. After the decryption is completed, the original plaintext information is obtained and output or processed later. The preset key generation algorithm is used to generate the key required in the encryption process. The key should be randomly generated to avoid being predicted or guessed; the accuracy of gateway state switching during gateway communication is improved.

[0071] Furthermore, the specific method for obtaining the encryption security index is as follows: encryption-related data is obtained through a third measuring device during an encryption time period, the encryption time period represents a preset time period in the process of encrypting the initial gateway data, the third measuring device includes a network performance analyzer and a timer, the encryption-related data includes a standard data volume, a standard processing time, a standard number of requests and a standard total processing time, the standard volume represents the data volume of the encrypted gateway data during the encryption time period, the standard processing time represents the time required for encrypting the encrypted gateway data during the encryption time period, the standard number of requests represents the total number of requests for encryption of the encrypted gateway data during the encryption time period, and the standard total processing time represents the total duration of requests for encryption of the encrypted gateway data during the encryption time period; based on A standard encryption speed measurement value is obtained based on the standard data volume and the standard processing time, and a standard throughput measurement value is obtained based on the standard number of requests and the standard total processing time. The standard encryption speed measurement value represents the measurement value of the encryption speed in the encryption time period, and the standard throughput measurement value represents the measurement value of the throughput in the encryption time period. A preset encryption speed threshold, a preset throughput threshold, a first encryption weight, and a second encryption weight are obtained from a preset database, and an encryption security index is obtained in combination with the standard encryption speed measurement value and the standard throughput measurement value. The first encryption weight is used to evaluate the degree of influence of the standard data volume and the standard processing time on the encryption security index, and the second encryption weight is used to evaluate the degree of influence of the standard number of requests and the standard total processing time on the encryption security index.

[0072] In this embodiment, the encryption security index is calculated using the following formula:

[0073]

[0074] In the formula, represents the encryption security index in the nth encryption time period, n = 1, 2, ..., t, n represents the number of the encryption time period, t represents the total number of encryption time periods, B 1n represents the standard encryption speed measurement value in the nth encryption time period, B 2n represents the standard throughput measurement value in the nth encryption time period, B0 represents the preset encryption speed threshold, B1 represents the preset throughput threshold, θ1 represents the first encryption weight, θ2 represents the second encryption weight, and e represents a natural constant.

[0075] The preset encryption speed threshold is represented by the average value of the encryption speed data in the preset database, and the preset throughput threshold is represented by the average value of the throughput data in the preset database.

[0076] Specifically, the first encryption weight is obtained from a preset database; in a specific embodiment, a mapping set of standard data volume deviation values ​​and their corresponding weights is constructed based on the relationship between historical standard data volume deviation values ​​and encryption security indexes, and the real-time standard data volume deviation values ​​are input into the mapping set to obtain the corresponding first encryption weight.

[0077] Specifically, the second encryption weight is obtained from a preset database; in a specific embodiment, a mapping set of standard request number deviation values ​​and their corresponding weights is constructed based on the relationship between historical standard request number deviation values ​​and the encryption security index, and the real-time standard request number deviation value is input into the mapping set to obtain the corresponding second encryption weight.

[0078] Specifically, b 1n represents the standard data volume in the nth encryption time period, t 1n represents the standard processing time in the nth encryption period, b 2n represents the number of standard requests in the nth encryption period, t 2n represents the standard total processing time in the nth encryption time period. The algorithm in this embodiment combines the standard data volume b 1n , standard processing time t 1n , Standard request number b 2n and the standard total processing time t 2n , comprehensive analysis to obtain the encryption security index, the standard data volume b in this formula 1n , standard processing time t 1n , Standard request number b 2n and the standard total processing time t 2n There is a common regulatory association between 1n and the standard number of requests b2n The increase of standard processing time t 1n and the standard total processing time t 2n The encryption security index gradually increases, and the standard data volume b 1n and the standard number of requests b 2n Positively correlated with the encryption security index, the standard processing time t 1n and the standard total processing time t 2n It is negatively correlated with the encryption security index, so it is accurately analyzed by establishing a mathematical form.

[0079] Specifically, assuming the standard data volume b 1n The range is 500-1000 (MB), and the standard processing time is t 1n The range is 0-5 (min), the standard request number b 2n The range is 0-1000 (pieces), and the standard processing total time t 2n The range is 5-10 (min), the preset encryption speed threshold B0 is 100 (MB / min), the preset throughput threshold B1 is 50 (pieces / min), the first encryption weight θ1 is 0.5, and the second encryption weight θ2 is 0.5. The statistical change table of the encryption security index is shown in Table 1:

[0080] Table 1 Statistical changes in encryption security index

[0081]

[0082] As can be seen from the table, with the standard data volume b 1n and the standard number of requests b 2n The standard processing time t 1n and the standard total processing time t 2n The encryption security index gradually increases as the value decreases, which means that even in the face of massive data input and frequent request processing, complex calculations and responses can be completed in a shorter time, which means that the security of the initial gateway data encryption process is gradually enhanced; the accuracy of gateway state switching during gateway communication is improved.

[0083] like Figure 3As shown, it is a structural schematic diagram of an intelligent industrial gateway communication system provided by an embodiment of the present application. An intelligent industrial gateway communication system provided by an embodiment of the present application includes: an initial gateway data acquisition module, a comprehensive communication switching index acquisition module, an encryption security index acquisition module and a standard transmission mode acquisition module; wherein the initial gateway data acquisition module is used to monitor the industrial sensor device of the industrial gateway to obtain the initial gateway data, the industrial sensor device is used to collect the initial gateway data related to the industrial gateway, and the initial gateway data is used to describe the status of the industrial gateway; the comprehensive communication switching index acquisition module is used to obtain the comprehensive communication switching index according to the initial gateway data, and the comprehensive communication switching index is used to evaluate the health status of the industrial gateway to facilitate the switching of the communication mode; the encryption security index acquisition module is used to encrypt the initial gateway data to obtain the encrypted gateway data, and obtain the encryption security index according to the encrypted gateway data, and the encryption security index is used to evaluate the security of the initial gateway data encryption process; the standard transmission mode acquisition module is used to obtain the standard transmission mode based on the encryption security index, and at the same time transmit the encrypted gateway data to the preset remote server according to the standard transmission mode, and the standard transmission mode represents the communication transmission mode of the industrial gateway.

[0084] In this embodiment, the data acquired by the initial gateway data acquisition module should be directly passed to the comprehensive communication switching index acquisition module and the encryption security index acquisition module so that they can perform gateway status evaluation and encryption processing respectively. After the standard transmission mode acquisition module transmits the encrypted gateway data to the preset remote server, it should be able to receive a response or feedback from the server, including whether the data transmission is successful, the server status and other information; thereby achieving the improvement of the accuracy of gateway status switching during gateway communication.

[0085] To summarize, the embodiment of the present application monitors the industrial sensor device of the industrial gateway to obtain initial gateway data, then obtains a comprehensive communication switching index based on the initial gateway data, then encrypts the initial gateway data to obtain encrypted gateway data, and obtains an encryption security index based on the encrypted gateway data, and finally obtains a standard transmission method based on the encryption security index, and at the same time transmits the encrypted gateway data to a preset remote server according to the standard transmission method, thereby improving the reliability of monitoring the gateway status, and then improving the accuracy of gateway status switching during gateway communication, effectively solving the problem of low accuracy of gateway status switching during gateway communication in the prior art.

[0086] The embodiment of the present application also provides an industrial gateway, which includes the intelligent industrial gateway communication system provided by the present invention. The industrial gateway of this embodiment includes hardware components and software components.

[0087] The hardware part includes:

[0088] Processor: responsible for processing data and running the gateway's operating system;

[0089] Memory: used to store runtime data and programs;

[0090] Storage: This may include flash memory or hard disks to store operating systems, configuration files, and data;

[0091] Network interface: Provides connection with industrial equipment and networks, such as Ethernet, serial port, wireless interface, etc.;

[0092] Input / output interface: supports connection to external devices such as sensors, actuators, alarms, etc.;

[0093] The software part includes the intelligent industrial gateway communication system:

[0094] Protocol conversion: realize the conversion between different industrial protocols to ensure smooth communication between different devices.

[0095] Data collection and processing: Collect data from connected devices and process, analyze and store them.

[0096] Remote access and monitoring: Provide remote access and monitoring functions through the network, allowing users to understand the status of industrial equipment anytime and anywhere.

[0097] Security: Ensure the security of communications, including data encryption, authentication, and access control.

[0098] Storage section of the intelligent industrial gateway communication system:

[0099] Typically, the software part of the smart industrial gateway communication system is stored in the gateway's flash memory or hard disk. This includes the operating system, communication protocol stack, application program, etc. Figure 4 The example shows a hardware portion of an industrial gateway of the present invention.

[0100] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0101] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0102] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0103] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0104] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0105] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A smart industrial gateway communication method, characterized in that: The following steps are involved: S1, monitoring the industrial sensor device of the industrial gateway to obtain initial gateway data, wherein the industrial sensor device is used to collect initial gateway data related to the industrial gateway, and the initial gateway data is used to describe the status of the industrial gateway; S2, obtaining a comprehensive communication switching index according to the initial gateway data, wherein the comprehensive communication switching index is used to evaluate the health status of the industrial gateway to facilitate switching of the communication mode; S3, encrypting the initial gateway data to obtain encrypted gateway data, and obtaining an encryption security index based on the encrypted gateway data, wherein the encryption security index is used to evaluate the security of the initial gateway data encryption process; S4, obtaining a standard transmission method based on the encryption security index, and transmitting the encrypted gateway data to a preset remote server according to the standard transmission method; The specific process of obtaining the comprehensive communication switching index is as follows: The transmission rate related index of the industrial sensor device is obtained by using the transmission related data acquired by the first measuring device in the transmission time period, wherein the first measuring device includes a signal analyzer, a spectrum analyzer and a symbol counter, the transmission time period represents a preset time period in the process of monitoring the industrial sensor device corresponding to the industrial gateway, the transmission related data includes a standard baud rate, a standard modulation level number, a standard signal amplitude and a standard noise amplitude, and the transmission rate related index is used to evaluate the data transmission capability between the industrial gateway and the industrial sensor device to facilitate switching of the communication mode; The transmission accuracy index of the industrial sensor device is obtained by using the fault-related data obtained by the second measuring device during the transmission time period, wherein the second measuring device includes a network analyzer and a bit error rate tester, and the fault-related data includes a standard number of packet losses, a standard number of total packets, a standard number of error codewords, and a standard total number of codewords. The transmission accuracy index is used to evaluate the health status of the industrial gateway to facilitate switching of the communication mode; Acquire a preset communication switching first weight and a preset communication switching second weight from a preset database, wherein the preset communication switching first weight is used to evaluate the influence of the transmission rate related index on the comprehensive communication switching index, and the preset communication switching second weight is used to evaluate the influence of the transmission accuracy index on the comprehensive communication switching index; The preset communication switching first weight, the preset communication switching second weight, the transmission rate related index and the transmission accuracy index are input into the constructed gateway status evaluation model to obtain the comprehensive communication switching index, and the communication switching is performed according to the comprehensive communication switching index.

2. A smart industrial gateway communication method as claimed in claim 1, characterized in that: The specific process of obtaining the initial gateway data is as follows: Acquire first gateway data according to the industrial sensor device, where the first gateway data represents original data transmitted from the industrial sensor device to the industrial gateway; Performing data outlier processing on the first gateway data to obtain second gateway data, wherein the outlier processing means deleting duplicate values ​​in the first gateway data; The second gateway data is standardized to obtain initial gateway data.

3. The intelligent industrial gateway communication method according to claim 1, characterized in that: The comprehensive communication switching index is calculated in the following manner: Where X represents the comprehensive communication switching index of the industrial sensor device, Represents the transmission rate correlation index of the industrial sensor device in the mth transmission time period, It represents the transmission accuracy index of the industrial sensor device in the mth transmission time period, m=1,2,...,r, m represents the number of the transmission time period, r represents the total number of transmission time periods, σ1 represents the first weight of the preset communication switching, and σ2 represents the second weight of the preset communication switching.

4. The intelligent industrial gateway communication method according to claim 1, characterized in that: The specific process of performing communication switching according to the comprehensive communication switching index is as follows: Sorting the obtained comprehensive communication switching indexes to obtain a maximum correlation index, and switching the industrial sensor device to a corresponding preset communication mode according to the maximum correlation index, wherein the maximum correlation index represents a maximum value of the comprehensive communication switching index; The preset communication mode is monitored to obtain the transmission delay time, and it is determined whether the transmission delay time is greater than the preset delay time. If the transmission delay time is greater than the preset delay time, feedback is given to the preset personnel, otherwise the monitoring is continued.

5. The intelligent industrial gateway communication method according to claim 1, characterized in that: The transmission-related data acquired by the first measuring device during the transmission time period is used to obtain the transmission rate-related index of the industrial sensor device, and the specific steps are as follows: Obtain a standard rate measurement value according to a standard baud rate and a standard modulation level, and obtain a standard signal-to-noise ratio measurement value according to a standard signal amplitude and a standard noise amplitude; Obtaining a preset transmission rate threshold, a preset signal-to-noise ratio threshold, a preset transmission first weight, and a preset transmission second weight from a preset database, and obtaining a transmission rate related index in combination with a standard rate measurement value and a standard signal-to-noise ratio measurement value; The transmission rate correlation index is calculated using the following formula: In the formula, A m represents the standard rate measurement value in the mth preset time period, C m represents the standard signal-to-noise ratio measurement value in the mth preset time period, A0 represents the preset transmission rate threshold, C0 represents the preset signal-to-noise ratio threshold, α1 represents the preset transmission first weight, α2 represents the preset transmission second weight, and e represents a natural constant.

6. The intelligent industrial gateway communication method according to claim 1, characterized in that: The transmission accuracy index of the industrial sensor device is obtained by using the fault-related data acquired by the second measuring device during the transmission time period, and the specific process is as follows: A standard packet loss rate measurement value is obtained according to a standard packet loss number and a standard total packet number, and a standard bit error rate measurement value is obtained according to a standard error code word number and a standard total code word number; Obtaining a preset packet loss rate threshold, a preset bit error rate threshold, a preset fault first weight, and a preset fault second weight from a preset database, and obtaining a transmission accuracy index in combination with a standard packet loss rate measurement value and a standard bit error rate measurement value; The transmission accuracy index is calculated using the following formula: Where D 1m represents the standard packet loss rate measurement value in the mth preset time period, D 2m represents the standard bit error rate measurement value in the mth preset time period, D0 represents the preset packet loss rate threshold, D1 represents the preset bit error rate threshold, β1 represents the preset fault first weight, β2 represents the preset fault second weight, and e represents a natural constant.

7. The intelligent industrial gateway communication method according to claim 1, characterized in that: The specific method of obtaining the encrypted gateway data is as follows: Obtaining an encryption key according to a preset encryption algorithm and a preset key generation algorithm, wherein the encryption key is used to ensure randomness and unpredictability of encryption; The initial gateway data is encrypted according to a preset encryption algorithm and an encryption key to obtain encrypted gateway data.

8. The intelligent industrial gateway communication method according to claim 1, characterized in that: The specific method of obtaining the encryption security index is as follows: Acquiring encryption-related data through a third measuring device during an encryption time period, wherein the encryption time period represents a preset time period during the encryption processing of the initial gateway data, the third measuring device includes a network performance analyzer and a timer, and the encryption-related data includes a standard data volume, a standard processing time, a standard number of requests, and a standard total processing time; Get standard encryption speed measurements based on standard data volume and standard processing time, and get standard throughput measurements based on standard number of requests and standard total processing time; A preset encryption speed threshold, a preset throughput threshold, a first encryption weight, and a second encryption weight are obtained from a preset database, and an encryption security index is obtained by combining a standard encryption speed measurement value and a standard throughput measurement value.

9. An intelligent industrial gateway communication system, characterized in that: The communication system is used to execute the intelligent industrial gateway communication method according to any one of claims 1 to 8, and the intelligent industrial gateway communication system includes an initial gateway data acquisition module, a comprehensive communication switching index acquisition module, an encryption security index acquisition module and a standard transmission mode acquisition module; The initial gateway data acquisition module is used to monitor the industrial sensor device of the industrial gateway to obtain the initial gateway data, the industrial sensor device is used to collect the initial gateway data related to the industrial gateway, and the initial gateway data is used to describe the status of the industrial gateway; The comprehensive communication switching index acquisition module is used to acquire the comprehensive communication switching index according to the initial gateway data, and the comprehensive communication switching index is used to evaluate the health status of the industrial gateway to facilitate the switching of the communication mode; The encryption security index acquisition module is used to encrypt the initial gateway data to obtain encrypted gateway data, and to obtain an encryption security index based on the encrypted gateway data, wherein the encryption security index is used to evaluate the security of the initial gateway data encryption process; The standard transmission mode acquisition module is used to acquire the standard transmission mode based on the encryption security index, and transmit the encrypted gateway data to the preset remote server according to the standard transmission mode.

Citation Information

Patent Citations

  • Gateway communication methods, gateways and energy systems

    CN108833270B

  • Communication Gateway

    CN115412402B

  • Communication terminal wireless quality detection method and device based on 5G power virtual private network

    CN118102372A