A method for information interaction between IIoT devices
The interface protocol of the IIOT device is processed through the interface control algorithm and compatible algorithms, which solves the problem of inconsistent device interfaces, and realizes mutual calls and information interaction between interfaces.
Patent Information
- Application Number
- CN202211014693.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2042-08-23
AI Technical Summary
The interface files between existing IIoT devices are inconsistent, which makes it impossible to call each other, causing difficulty in information interaction.
The interface control file of different types of interfaces is obtained through the interface control algorithm, the interface protocol is resolved, a compatible protocol file is generated using a compatible algorithm, and the interface is transformed through the interface conversion.
Implement information interaction between IIOT devices, simplify operations, improve information interaction efficiency, and ensure compatibility between devices.
Smart Images

Figure CN115412600B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial Internet technology, and in particular to a method for information interaction between IIoT devices. Background Art
[0002] The Industrial Internet of Things (IIoT), also known as the Industrial Internet of Things, uses sensors and actuators to connect industrial equipment to the Internet, monitor and track them, share their status data, and communicate with other devices. All of this data can then be collected and analyzed to improve the efficiency of business processes.
[0003] The patent with publication number CN114493561A discloses a method, device, equipment and storage medium for replacing an information interaction mode, the method comprising: receiving an information interaction failure notification message sent by a second server; determining whether the first cause identifier belongs to an identifier corresponding to the preset reason for switching the information interaction mode according to the information interaction failure notification message; when the first cause identifier belongs to an identifier corresponding to the preset reason for switching the information interaction mode, determining to replace the first information interaction mode with the second information interaction mode. In the present disclosure, when the first cause identifier belongs to an identifier corresponding to the preset reason for switching the information interaction mode, it indicates that the information interaction process of the target information interaction object can be completed by the process of replacing the information interaction mode. It can assist users in completing relevant information interaction services, improve information interaction efficiency, and enhance users' information interaction experience.
[0004] The patent with the authorization announcement number CN104346723B discloses a security information interaction system, device and method, the method comprising: the security information interaction terminal constructs a security information interaction request based on a user instruction and determines an access number associated with the security information interaction request according to the security information interaction request, and then dials the determined access number to transmit the security information interaction request to a data processing server in the form of a data message; the data processing server generates an alarm message when it is determined that the actual access number used to transmit the security information interaction request is different from the access number associated with the security information interaction request determined by the security information interaction terminal. The security information interaction system, device and method disclosed in the present invention have high security.
[0005] However, in the existing methods, different IIoT devices still have different interface files, and the interfaces cannot call each other, which brings trouble to the information exchange between IIoT devices. Summary of the invention
[0006] In order to overcome the shortcomings and deficiencies of the prior art, the present invention provides a method for information interaction between IIoT devices.
[0007] The technical solution adopted by the present invention is that the method comprises the steps of:
[0008] Step S1: using an interface control algorithm to obtain interface control files of several different types of interfaces in an interface database;
[0009] Step S2: extracting the interface protocols in each interface control file using a parsing algorithm;
[0010] Step S3: Process each interface protocol using a compatible algorithm to generate a compatible protocol file;
[0011] Step S4: When any two interfaces with different interface control files call each other, interface conversion is performed, including the following steps:
[0012] Step A1: receiving and parsing one of the interface call requests;
[0013] Step A2: determining another interface identifier included in the call request;
[0014] Step A3: Convert the call request based on the compatible protocol file.
[0015] Step S5: Determine another interface according to an interface identifier, and send the call request converted in step S4 to the other interface, and use the call function to initiate a call from one interface to another interface.
[0016] Furthermore, the interface control algorithm is expressed as:
[0017]
[0018] Among them, A d Represents a collection of interface control files, b e Indicates the allocation ratio of interface control files in the database, y indicates the value of the interface control file, f indicates the total number of interface control files, and u y Indicates the speed of obtaining the interface control file, q nm Indicates the number of available interface control files remaining in the database, j nm Indicates the number of interface control files obtained.
[0019] Furthermore, the analytical algorithm is expressed as:
[0020]
[0021] Among them, E represents the collection of interface protocols, g represents the number of features of the extracted interface protocols, G represents the total number of features of the interface protocols, z represents the number of parsed files, Z represents the total number of files that need to be parsed, and h represents the number of files that need to be parsed. vIndicates the extraction speed of the interface protocol, u y Indicates the speed of obtaining the interface control file, q nm Indicates the number of available interface control files remaining in the database, j nm Indicates the number of interface control files that have been obtained.
[0022] Furthermore, the processing is performed using a compatible algorithm, and the expression is:
[0023] L (s) (w) = ∑D (s) (w)+Y(w)∫∑P (s) (w)dw
[0024] Among them, L (s) (w) indicates the generated compatible protocol file, D (s) (w) represents the interface protocol compatibility error, Y(w) represents the compatibility factor, P (s) (w) represents the interface protocol characteristic quantity that needs to be compatible, and dw represents the integral operation.
[0025] Furthermore, the receiving and parsing of one of the interface call requests is expressed as:
[0026]
[0027] Among them, N(a x ) represents the interface resolution function, λ represents the resolution weight matrix of different interfaces, q represents one of the interfaces, L represents the total number of interfaces, M u (q) represents the call request function of a single interface;
[0028] The expression for determining another interface identifier included in the call request is:
[0029]
[0030] Among them, V t,f represents the interface identification function, σ t,f represents the completeness of the interface, W represents the number of features of the interface identifier, F represents the recognition rate of the interface identifier, G t,f (h) represents the regular function called by the interface, and dh represents the integral operation;
[0031] The call request is converted based on the compatible protocol file, and the expression is:
[0032]
[0033] Among them, S represents the conversion rate of call requests, T represents the conversion time, and A q represents the number of transitions of all terms of the agreement, Kl Indicates the number of errors in the conversion of agreement terms.
[0034] Furthermore, the calling function is expressed as:
[0035]
[0036] Among them, F(p) represents the interface call function, G v represents the interface call speed, d represents the number of interfaces called in real time, h represents the total number of interfaces that can be called, β represents the interface response time, p represents the success rate of interface call, and η j Indicates the non-human error in interface call, f 0 (p) represents the protocol matching degree when a single interface is called, and s(p) represents the human factor error of the interface call.
[0037] Beneficial effects:
[0038] The present invention proposes a method for information interaction between IIoT devices. The method matches interface control files, processes the compatibility of interface protocols, and identifies interface identifiers through multiple models and algorithms, ultimately enabling mutual calls between interfaces. This is an effective solution to the information interaction between IIoT devices. The proposed method is simple to operate, and the algorithm part is based on the existing theoretical model and is easy to understand, thereby ensuring information interaction between IIoT devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a general step flow chart of the present invention;
[0040] Figure 2 This is the interface conversion flow chart of the present invention. DETAILED DESCRIPTION
[0041] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other. The present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0042] like Figure 1 As shown, a method for information interaction between IIoT devices,
[0043] The method comprises the steps of:
[0044] Step S1: using an interface control algorithm to obtain interface control files of several different types of interfaces in an interface database;
[0045] The interface control algorithm is related to the collection of interface control files, the distribution ratio of interface control files in the database, the value of interface control files, the total number of interface control files, the acquisition speed of interface control files, the number of interface control files remaining in the database, and the number of interface control files that have been acquired.
[0046] Step S2: extracting the interface protocols in each interface control file using a parsing algorithm;
[0047] The parsing algorithm is related to the collection of interface protocols, the number of features of the extracted interface protocols, the total number of features of the interface protocols, the number of parsed files, the total number of files that need to be parsed, the speed of extracting interface protocols, the speed of acquiring interface control files, the number of interface control files remaining in the database, and the number of interface control files that have been acquired.
[0048] Step S3: Process each interface protocol using a compatible algorithm to generate a compatible protocol file;
[0049] The processing using the compatible algorithm is related to the generated compatible protocol file, the interface protocol compatible error, the compatibility factor, and the interface protocol feature quantity that needs to be compatible.
[0050] like Figure 2 As shown, step S4: when any two interfaces with different interface control files call each other, interface conversion is performed, including the following steps:
[0051] Step A1: receiving and parsing one of the interface call requests;
[0052] Receiving and parsing one of the interface call requests is related to the interface parsing function, the parsing weight matrix of different interfaces, one of the interfaces, the total number of interfaces, and the call request function of a single interface.
[0053] Step A2: determining another interface identifier included in the call request;
[0054] Determining another interface identifier included in the call request is related to the interface identifier identification function, the completeness of the interface, the number of features of the interface identifier, the recognition rate of the interface identifier, and the regularity function of the interface call.
[0055] Step A3: Convert the call request based on the compatible protocol file.
[0056] Converting the call request based on the compatible protocol file is related to the conversion rate of the call request, the conversion time, the number of conversions of all clauses of the protocol, and the number of errors in the conversion of the protocol clauses.
[0057] Step S5: Determine another interface according to an interface identifier, and send the call request converted in step S4 to the other interface, and use the call function to initiate a call from one interface to another interface.
[0058] The calling function is related to the interface calling function, interface calling speed, the number of interfaces called in real time, the total number of interfaces that can be called, the interface response time, the success rate of interface calling, the interface calling non-human factor error, the protocol matching degree during a single interface call, and the interface calling human factor error.
[0059] Interface control algorithm, the expression is:
[0060]
[0061] Among them, A d Represents a collection of interface control files, b e Indicates the allocation ratio of interface control files in the database, y indicates the value of the interface control file, f indicates the total number of interface control files, and u y Indicates the speed of obtaining the interface control file, q nm Indicates the number of available interface control files remaining in the database, j nm Indicates the number of interface control files obtained.
[0062] The analytical algorithm is expressed as:
[0063]
[0064] Among them, E represents the collection of interface protocols, g represents the number of features of the extracted interface protocols, G represents the total number of features of the interface protocols, z represents the number of parsed files, Z represents the total number of files that need to be parsed, and h represents the number of files that need to be parsed. v Indicates the extraction speed of the interface protocol, u y Indicates the speed of obtaining the interface control file, q nm Indicates the number of available interface control files remaining in the database, j nm Indicates the number of interface control files obtained.
[0065] Using compatible algorithm for processing, the expression is:
[0066] L (s) (w) = ∑D (s) (w)+Y(w)∫∑P (s) (w)dw
[0067] Among them, L (s) (w) indicates the generated compatible protocol file, D (s) (w) represents the interface protocol compatibility error, Y(w) represents the compatibility factor, P (s)(w) represents the interface protocol characteristic quantity that needs to be compatible, and dw represents the integral operation.
[0068] Receive and parse one of the interface call requests, the expression is:
[0069]
[0070] Among them, N(a x ) represents the interface resolution function, λ represents the resolution weight matrix of different interfaces, q represents one of the interfaces, L represents the total number of interfaces, M u (q) represents the call request function of a single interface;
[0071] The expression for determining another interface identifier included in the call request is:
[0072]
[0073] Among them, V t,f represents the interface identification function, σ t,f represents the completeness of the interface, W represents the number of features of the interface identifier, F represents the recognition rate of the interface identifier, G t,f (h) represents the regular function called by the interface, and dh represents the integral operation;
[0074] The call request is converted based on the compatible protocol file, and the expression is:
[0075]
[0076] Among them, S represents the conversion rate of call requests, T represents the conversion time, and A q represents the number of transitions of all terms of the agreement, K l Indicates the number of errors in the conversion of agreement terms.
[0077] Call the function, the expression is:
[0078]
[0079] Among them, F(p) represents the interface call function, G v represents the interface call speed, d represents the number of interfaces called in real time, h represents the total number of interfaces that can be called, β represents the interface response time, p represents the success rate of interface call, and η j Indicates the non-human error in interface call, f 0 (p) represents the protocol matching degree when a single interface is called, and s(p) represents the human factor error of the interface call.
[0080] The present invention proposes a method for information interaction between IIoT devices. The method matches interface control files, processes the compatibility of interface protocols, and identifies interface identifiers through multiple models and algorithms, ultimately enabling mutual calls between interfaces. This is an effective solution to the information interaction between IIoT devices. The proposed method is simple to operate, and the algorithm part is based on the existing theoretical model and is easy to understand, thereby ensuring information interaction between IIoT devices.
[0081] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", "connect", and "fix" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood by specific circumstances.
[0082] Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various equivalent changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for information interaction between IIoT devices, characterized in that , the method comprises the steps of: Step S1: using an interface control algorithm to obtain interface control files of several different types of interfaces in an interface database; Step S2: extracting the interface protocols in each interface control file using a parsing algorithm; Step S3: Process each interface protocol using a compatible algorithm to generate a compatible protocol file; Step S4: When any two interfaces with different interface control files call each other, interface conversion is performed, including the following steps: Step A1: receiving and parsing one of the interface call requests; Step A2: determining another interface identifier included in the call request; Step A3: converting the call request based on the compatible protocol file; Step S5: Determine another interface according to an interface identifier, and send the call request converted in step S4 to the other interface, and use the call function to initiate a call from one interface to another interface; The receiving and parsing of one of the interface call requests is expressed as: Among them, N(a x ) represents the interface resolution function, λ represents the resolution weight matrix of different interfaces, q represents one of the interfaces, L represents the total number of interfaces, M u (q) represents the call request function of a single interface; The expression for determining another interface identifier included in the call request is: Among them, V t,f represents the interface identification function, σ t,f represents the completeness of the interface, W represents the number of features of the interface identifier, F represents the recognition rate of the interface identifier, G t,f (h) represents the regular function called by the interface, and dh represents the integral operation; The call request is converted based on the compatible protocol file, and the expression is: Among them, S represents the conversion rate of call requests, T represents the conversion time, and A q represents the number of transitions of all terms of the agreement, K l Indicates the number of errors in the conversion of agreement terms.
2. A method for information interaction between IIoT devices as claimed in claim 1, characterized in that: The interface control algorithm is expressed as: Among them, A d Represents a collection of interface control files, b e Indicates the allocation ratio of interface control files in the database, y indicates the value of the interface control file, f indicates the total number of interface control files, and u y Indicates the speed of obtaining the interface control file, q nm Indicates the number of available interface control files remaining in the database, j nm Indicates the number of interface control files that have been obtained.
3. A method for information interaction between IIoT devices as claimed in claim 1, characterized in that: The analytical algorithm is expressed as: Among them, E represents the collection of interface protocols, g represents the number of features of the extracted interface protocols, G represents the total number of features of the interface protocols, z represents the number of parsed files, Z represents the total number of files that need to be parsed, and h represents the number of files that need to be parsed. v Indicates the extraction speed of the interface protocol, u y Indicates the speed of obtaining the interface control file, q nm Indicates the number of available interface control files remaining in the database, j nm Indicates the number of interface control files obtained.
4. A method for information interaction between IIoT devices as claimed in claim 1, characterized in that: The processing is performed using a compatible algorithm, and the expression is: Among them, L (s) (w) indicates the generated compatible protocol file, D (s) (w) represents the interface protocol compatibility error, Y(w) represents the compatibility factor, P (s) (w) represents the interface protocol characteristic quantity that needs to be compatible, and dw represents the integral operation.
5. A method for information interaction between IIoT devices as claimed in claim 1, characterized in that: The calling function expression is: Among them, F(p) represents the interface call function, G v represents the interface call speed, d represents the number of interfaces called in real time, h represents the total number of interfaces that can be called, β represents the interface response time, p represents the success rate of interface call, and η j Indicates the non-human error in interface call, f 0 (p) represents the protocol matching degree when a single interface is called, and s(p) represents the human factor error of the interface call.
Citation Information
Patent Citations
Security information exchange system, device and method
CN104346723B
Information interaction mode replacement method and device, equipment and storage medium
CN114493561A
Information interaction method and device between industrial internet devices and storage medium
CN114500676A
Intelligent messaging system and method for providing and updating a message using a communication device, such as a large character display
US6034970A