A system and method for automatically integrating an industrial device into the industrial Internet

CN116248510BActive Publication Date: 2025-06-24CLP JIUTIAN INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211682007.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-27
Publication Date
2025-06-24
Estimated Expiration
2042-12-27

AI Technical Summary

Technical Problem

During the interaction between industrial equipment data and the application side of the industrial Internet platform, due to problems such as unclear data semantics and inconsistent data formats, multiple heterogeneous conversions are required, which hinders the free flow of data, limits the mining and analysis of data value, and increases the cost of digital transformation in manufacturing.

Method used

It provides a system and method for automatically integrating industrial equipment into the industrial Internet, and realizes automatic docking between industrial equipment and the industrial Internet through the steps of automatic discovery and automatic configuration. Specific steps include docking with the service request of the industrial equipment, obtaining the docking token, automatically identifying and loading the data dictionary, and forming a channel for automatic integration of data.

Benefits of technology

This method simplifies the data acquisition work of the industrial Internet on industrial equipment, reduces operational complexity and cost, realizes rapid interconnection of industrial equipment, and promotes the free flow of data and the mining of value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116248510B_ABST
    Figure CN116248510B_ABST
Patent Text Reader

Abstract

The present invention discloses a system and method for automatically integrating industrial devices into the industrial Internet, belonging to the field of communication technology. The above method includes the following steps: Automatic discovery: Complete the service request docking between the automatic integration agent for industrial devices and the automatic integration server for industrial devices. After the request docking is successful, the automatic integration agent for industrial devices obtains the docking token issued by the automatic integration server for industrial devices; Automatic configuration: The automatic integration agent for industrial devices carries its own unique identification code, the unique data identifier of the industrial device data dictionary corresponding to the device, the docking token obtained in the automatic discovery step of industrial devices, and the link corresponding to the data dictionary, and allows the automatic integration server for industrial devices to perform automatic identification and automatically load the data dictionary. The present invention provides a method for automatically integrating industrial devices into the industrial Internet, which can conveniently integrate industrial devices into the industrial Internet, thereby accelerating the interconnection and interoperability of industrial devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technologies, and particularly relates to a system and method for automatically integrating industrial devices into the industrial Internet. Background Art

[0002] During the process of interaction between industrial device data at the device end and the application end of the industrial Internet platform, due to problems such as unclear data semantics and inconsistent data formats, multiple heterogeneous conversions of data need to be performed in the intermediate transmission link, which hinders the free flow of industrial device data, limits the exploration and analysis of the potential value of data, and increases the cost of digital transformation of the manufacturing industry.

[0003] The current implementation method for data collection of industrial devices on the industrial Internet is as follows: 1) Collect the basic information of industrial devices; 2) Find the corresponding data interfaces and communication protocols provided by device suppliers, and perform device transformation if necessary; 3) Obtain the data format and semantics of the corresponding devices through the technical specifications of device suppliers; 4) Implement data collection of the devices through software development. However, the above operation process is too cumbersome. Summary of the Invention

[0004] The present invention provides a system and method for automatically integrating industrial devices into the industrial Internet, which can conveniently integrate industrial devices into the industrial Internet automatically, thereby accelerating the interconnection and interoperability of industrial devices.

[0005] The present invention is achieved by the following technical solutions:

[0006] On the one hand, the present invention provides a method for automatically integrating industrial devices into the industrial Internet, including the following steps: Automatic discovery: Complete the service request docking between the industrial device automatic integration agent and the industrial device automatic integration server. After the request docking is successful, the industrial device automatic integration agent obtains the docking token issued by the industrial device automatic integration server; Automatic configuration: The industrial device automatic integration agent carries its own unique identification code, the unique data identifier of the industrial device data dictionary corresponding to the device, the docking token obtained in the industrial device automatic discovery step, and the link corresponding to the data dictionary, and allows the industrial device automatic integration server to perform automatic identification and automatically load the data dictionary; The industrial device is automatically integrated into the industrial Internet based on the channel formed by the industrial device automatic integration agent and the industrial device automatic integration server.

[0007] In some of these embodiments, the automatic discovery step specifically includes the following steps: The industrial equipment automatic integration server periodically broadcasts a message indicating that the service is ready externally; The industrial equipment automatic integration agent sends a service docking request to the industrial equipment automatic integration server, carrying its own unique identification code and the unique data identifier of the industrial equipment data dictionary corresponding to the device, to complete the service request docking between the industrial equipment automatic integration agent and the industrial equipment automatic integration server; After receiving this service docking request, if the industrial equipment automatic integration server accepts it, it sends a service docking acceptance message to the industrial equipment automatic integration agent, and the service docking acceptance message carries the docking token issued by the industrial equipment automatic integration server and the validity period.

[0008] In some of these embodiments, after the industrial equipment automatic integration agent sends a service docking request to the industrial equipment automatic integration server, carrying its own unique identification code and the unique data identifier of the industrial equipment data dictionary corresponding to the device, to complete the service request docking between the industrial equipment automatic integration agent and the industrial equipment automatic integration server, the following steps are further included: After receiving this service docking request, if the industrial equipment automatic integration server rejects it, it sends a service docking rejection response and the reason for rejection to the industrial equipment automatic integration agent.

[0009] In some of these embodiments, the periodic external broadcast service broadcasts to the local area network through the UDP protocol, and the message content is a json non-encrypted string.

[0010] In some of these embodiments, before the industrial equipment automatic integration agent carries its own unique identification code, the unique data identifier of the industrial equipment data dictionary corresponding to the device, the docking token obtained in the industrial equipment automatic discovery step, and the link corresponding to the data dictionary, and allows the industrial equipment automatic integration server to identify and load the data dictionary, the following steps are further included: Trigger the automatic configuration request of the industrial equipment automatic integration agent.

[0011] In some of these embodiments, during the process that the industrial equipment automatic integration agent carries its own unique identification code, the unique data identifier of the industrial equipment data dictionary corresponding to the device, the docking token obtained in the industrial equipment automatic discovery step, and the link corresponding to the data dictionary, and allows the industrial equipment automatic integration server to identify and load the data dictionary, the following steps are further included: Determine whether the industrial equipment automatic integration server supports the version of the industrial equipment automatic integration agent; If the industrial equipment automatic integration server does not support the version of the industrial equipment automatic integration agent, the industrial equipment automatic integration server downloads the industrial equipment data dictionary from the data dictionary link specified by the industrial equipment automatic integration agent.

[0012] In some of these embodiments, during the automatic configuration process, the type of the configuration request sent by the industrial device automatic integration agent to the industrial device automatic integration server is an encrypted request, and the message content of the request is a json string. After receiving the request, the industrial device automatic integration server further includes the following steps: verifying whether the public key of the request is in the running whitelist; if not, rejecting the request according to the key exchange protocol; if so, initiating the integration process.

[0013] In some of these embodiments, the integration process includes: obtaining device information, obtaining the device details required by the industrial Internet platform, where the device details include the name, classification, docking interface, protocol type, parameters corresponding to the protocol, and / or the summary details of the device; downloading the industrial device data dictionary; testing the system interface; and completing the integration of the industrial Internet platform.

[0014] In some of these embodiments, after the automatic configuration, the following steps are further included: refreshing the docking token: the industrial automatic integration agent sends a request to refresh the docking token to the industrial automatic integration server; if the industrial automatic integration server accepts, it returns a message indicating successful refresh to the industrial automatic integration agent; if the industrial automatic integration server rejects, it returns a message indicating failed refresh to the industrial automatic integration agent and simultaneously returns a reason code.

[0015] On the other hand, this embodiment provides a system for automatically integrating industrial devices into the industrial Internet, including an industrial device automatic integration agent module, an industrial device automatic integration server module, a processor, and a memory; a computer program is stored in the memory, and when the computer program is executed by the processor, it controls the industrial device automatic integration agent module and the industrial device automatic integration server module to implement the method for automatically integrating industrial devices into the industrial Internet in any one of the above embodiments.

[0016] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0017] The present invention provides a method for automatically integrating industrial devices into the industrial Internet, which can conveniently integrate industrial devices into the industrial Internet, thereby accelerating the interconnection and interoperability of industrial devices. Specifically, it can automate the following processes in the data collection work of current industrial devices on the industrial Internet: ① collecting the basic information of industrial devices; ② finding the corresponding data interfaces and communication protocols provided by the device suppliers and, if necessary, modifying the devices; ③ implementing data collection for the devices through software development. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.

[0019] Figure 1 It is a schematic diagram of the automatic discovery process in the method for automatically integrating industrial equipment into the industrial Internet provided by the embodiments of the present invention;

[0020] Figure 2 It is a schematic diagram of the automatic configuration process in the method for automatically integrating industrial equipment into the industrial Internet provided by different embodiments of the present invention;

[0021] Figure 3 It is a schematic diagram of the process for refreshing the docking token in the method for automatically integrating industrial equipment into the industrial Internet provided by different embodiments of the present invention. Detailed Embodiments

[0022] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention.

[0023] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship in which the product of the invention is usually placed during use. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present invention.

[0024] In addition, when terms such as "horizontal" and "vertical" appear in the description of the present invention, it does not mean that the components are required to be absolutely horizontal or hanging vertically, but can be slightly inclined. For example, "horizontal" only means that its direction is more horizontal relative to "vertical", and does not mean that the structure must be completely horizontal, but can be slightly inclined.

[0025] In the description of the present invention, it should also be noted that unless otherwise clearly specified and defined, if the terms "set", "installed", "connected", "linked" are used, they 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 directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0026] The terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally further includes steps or modules not listed, or optionally further includes other steps or modules inherent to these processes, methods, products or devices.

[0027] Unless otherwise specified, the order of different steps has no precedence.

[0028] For better understanding of the present application, some terms in the present application are now explained:

[0029] Industrial equipment integration: The implementation work carried out to complete the monitoring and control of the status of industrial equipment, specifically including one or more of equipment information collection, system interface docking, and equipment semantic recognition, and the work of integrating into the data acquisition platform.

[0030] Automatic integration: Standardize and automate the industrial equipment integration work through communication protocols.

[0031] Automatic integration gateway: A gateway device that supports the automatic integration protocol of industrial equipment.

[0032] Automatic integration protocol: A network interaction protocol that realizes the automatic discovery (AutoDiscovery) and automatic configuration (AutoConfigure) of the present invention.

[0033] Industrial intelligent gateway: Also known as industrial Internet of Things intelligent gateway, wireless data acquisition gateway, communication acquisition gateway, PLC wireless gateway, industrial communication gateway, belonging to wireless sensor network products. The industrial intelligent gateway is an intelligent embedded network device that can mine industrial equipment data and connect it to a self-developed cloud platform.

[0034] Industrial equipment metadata: Data that describes industrial equipment data. It is divided into static data metadata, dynamic data metadata, and configuration data metadata.

[0035] Industrial equipment data dictionary: The collection of all industrial equipment metadata.

[0036] Static data metadata: Static data is data that reflects the inherent attributes of a device and is relatively unchanged, such as device name, device serial number, manufacturer name, etc. Static data metadata is the basic structure for expressing static data, and the data element content and rules that make up the metadata can be extended according to the structure rules of industrial device metadata.

[0037] Dynamic data metadata: Dynamic data is data that reflects the time-varying and usually measurable data during the operation of a device, such as temperature, pressure, speed, current, etc. Dynamic data metadata is the basic structure for expressing dynamic data, and the data element content and rules that make up the metadata can be extended according to the structure rules of industrial device metadata.

[0038] Configuration data metadata: Configuration data is settings and parameters related to the operating conditions, environment of the device, and the process of device data collection and access, including device installation location, cumulative failure time, cumulative operation time, sampling frequency, sampling time, logged-in user name, password, etc. Configuration data metadata is the basic structure for expressing configuration data, and the data element content and rules that make up the metadata can be extended according to the structure rules of industrial device metadata.

[0039] On the one hand, the present application provides a method for automatically integrating industrial devices into the industrial Internet, including the following steps:

[0040] S10. Automatic discovery: Complete the service request docking between the industrial device automatic integration agent (AIA, Auto Integration Agent) and the industrial device automatic integration server (AIS, Auto Integration Server). After the request docking is successful, the industrial device automatic integration agent obtains the docking token issued by the industrial device automatic integration server. Through this step, the service request docking between the industrial device automatic integration agent and the industrial device automatic integration server can be completed, enabling the two to discover each other and prepare for subsequent automatic configuration.

[0041] In some of the embodiments, please refer to Figure 1 , the automatic discovery process may specifically include the following steps:

[0042] S101. The industrial device automatic integration server periodically broadcasts a service ready message (ServiceProvisionBroadcast) externally, and the network broadcasts the service ready message (ServiceProvision). Among them, the message content may include any one or more of the automatic integration protocol version, service content, and service connection point.

[0043] S102. The industrial equipment automatic integration agent sends a service docking request, ServiceProvisionRequest, to the industrial equipment automatic integration server, carrying its own unique identification code (SN) and the unique data identifier (OID) of the industrial equipment data dictionary corresponding to the equipment, to complete the service request docking between the industrial equipment automatic integration agent and the industrial equipment automatic integration server.

[0044] In some of these examples, after sending the service docking request to the industrial equipment automatic integration server, the industrial equipment automatic integration server may accept or reject this service docking request.

[0045] S103. When the industrial equipment automatic integration server accepts this service docking request, it sends a service docking acceptance message, ServiceProvisionAccepted, carrying the docking token issued by the industrial equipment automatic integration server and its validity period, indicating the successful automatic discovery between the industrial equipment automatic integration agent and the industrial equipment automatic integration server.

[0046] S104. When the industrial equipment automatic integration server rejects this service docking request, it sends a service docking rejection response, ServiceProvisionRejected, along with the reason for rejection.

[0047] Exemplarily, the automatic docking periodic broadcast (ServiceProvisionBroadcast) can be broadcast to this local area network through UDP protocol messages. The message content can be in the form of a json non-encrypted string. The message content can be in the following example:

[0048] {

[0049] "type":"ServiceProvisionBroadcast",

[0050] "version":"1.0",

[0051] "content":{

[0052] "services":["AutoDiscovery","AutoProvision"],

[0053] "endPoint":"udp: / / 192.168.0.1:9086"

[0054] }

[0055] }

[0056] Among them, services: the service content field. The currently automatically integrated protocol supports services including two types: AutoDiscovery and AutoConfigure. endPoint: the service connection point. The general message description is that type represents the message type; version represents the version of the automatic docking protocol.

[0057] Exemplarily, after receiving the automatic docking periodic broadcast message, the industrial device automatic integration agent can use the public key of the industrial device automatic integration server and its own private key of the industrial device automatic integration agent, and use the asymmetric encryption algorithm for encryption. The service docking request can be in the following example:

[0058] {

[0059] "type":"ServiceProvisionRequest",

[0060] "version":"1.0",

[0061] "content":{

[0062] "sn":"fac0b9551cbda3",

[0063] "oid":"1.1.1.1.2.3.4.*"

[0064] }

[0065] }

[0066] Among them, sn: the unique identification code of AIA. oid: the OID of the industrial device data dictionary corresponding to this device.

[0067] Exemplarily, if the industrial device automatic integration server queries and finds that the sn and the public key of the corresponding industrial device automatic integration agent are in the whitelist permitted by the industrial device automatic integration server, it must accept the service docking request and return a service docking acceptance message, otherwise it returns a service docking rejection message. The service docking acceptance response can be an encrypted message, and the message content is a json string as the following example:

[0068] {

[0069] "type":"ServiceProvisionAccepted",

[0070] "version":"1.0",

[0071] "content":{

[0072] "token": "fac0b9551cbda3ccafd1322d7ed75b3a",

[0073] "sn": "fac0b9551cbda3",

[0074] "timestamp": "2022-11-14 09:40:09",

[0075] "expire": 3600

[0076] }

[0077] }

[0078] Among them, token: The docking token issued by AIS. sn: The unique identification code of AIA. timestamp: The timestamp when the AIS service receives the message. expires: The validity period (in milliseconds) of the service docking token.

[0079] Exemplarily, if the industrial equipment automatic integration server rejects the docking request of the industrial equipment automatic integration agent, a service docking rejection response and the reason for rejection will be returned. This response can adopt an encrypted message, and the message content is a json string as shown in the following example:

[0080] {

[0081] "type": "ServiceProvisionRejected",

[0082] "version": "1.0",

[0083] "timestamp": "2022-11-14 09:40:09",

[0084] "sn": "fac0b9551cbda3",

[0085] "reason": "Blacklisted",

[0086] }

[0087] Among them, reason: The reason for rejection. sn: The unique identification code of AIA. timestamp: The timestamp when the AIS service rejects the message.

[0088] S20. Automatic Configuration: The industrial device automatic integration agent carries its own unique identification code, the unique data identifier of the industrial device data dictionary corresponding to the device, the docking token obtained in step S10 of the industrial device, and the link corresponding to the data dictionary, enabling the industrial device automatic integration server to automatically identify and automatically load the data dictionary. In S20, only after automatic discovery is completed and the industrial device automatic integration agent obtains the docking token issued by the industrial device automatic integration server can the industrial device automatic integration agent proceed with the automatic configuration process. Based on the channel formed by the industrial device automatic integration agent and the industrial device automatic integration server, the industrial device is automatically integrated into the industrial Internet.

[0089] In some embodiments, the automatic configuration process may specifically include the following steps:

[0090] Trigger the automatic configuration request of the industrial device automatic integration agent. The automatic configuration request of the industrial device automatic integration agent can be triggered manually or automatically. Exemplarily, when the industrial device automatic integration agent triggers the automatic configuration request, it needs to carry its own unique identification code sn, the docking token issued by the automatic discovery process, the unique data identifier (OID) of the industrial device data dictionary corresponding to its own device, and the link (dictUrl) corresponding to the data dictionary.

[0091] In some examples, if the industrial device automatic integration server does not support the version of the industrial device automatic integration agent, the industrial device automatic integration server can download the industrial device data dictionary from the link corresponding to the data dictionary specified by the industrial device automatic integration agent.

[0092] In S20, through this process, the industrial device automatic integration server can automatically identify and automatically load the data dictionary through the industrial device data dictionary, thus simplifying the operation.

[0093] In some embodiments, please refer to Figure 2 , S20 may specifically include the following steps:

[0094] S201. Automatic Configuration Request (ConfigureRequest). After receiving the automatic configuration request from the industrial device automatic integration agent, the industrial device automatic integration server starts the integration process. This request can be an encrypted request, and the message content is a json string as follows:

[0095] {

[0096] "type":"ConfigureRequest",

[0097] "version":"1.0",

[0098] "content":{

[0099] "token": "fac0b9551cbda3ccafd1322d7ed75b3a",

[0100] "sn": "fac0b9551cbda3",

[0101] "oid": "1.1.1.1.2.3.4.*",

[0102] "dictUrl": "http:\\localhost:8080\\dict.file",

[0103] "checksum": " fac0b9551cbda3ccafd1322d7ed75b",

[0104] }

[0105] }

[0106] Among them, token: the docking token issued by AIS. sn: the unique identification code of AIA. oid: the data dictionary oid corresponding to this device. dictUrl: the link corresponding to the data dictionary. checksum: the file checksum calculated by the md5 algorithm for the data dictionary file, used to verify the consistency of the file.

[0107] S202. Integration process: After the industrial device automatic integration server receives an automatic integration request, it first checks whether the public key of the request is in the running whitelist. If not, it rejects the request according to the key exchange protocol. If the public key is in the whitelist, the integration process is carried out. The integration process of the industrial device automatic integration server is the implementation work carried out to complete the status monitoring and control of industrial devices by the industrial Internet platform, which may specifically include device information acquisition, downloading the industrial device data dictionary, testing the system interface, and completing the configuration work related to the data acquisition platform.

[0108] Among them, device information acquisition: mainly can acquire the device details required by the industrial Internet platform, generally including: the name, classification, docking interface protocol type of the device (such as Modbus over TCP, OPC, OPC UA, etc.), the parameters corresponding to the protocol (such as IP address and port), and other summary details of the device.

[0109] Download the industrial device data dictionary: If the industrial device automatic integration server does not already support this version of the industrial device, use the link in the automatic configuration request to obtain the industrial data dictionary of the device, and use the md5 algorithm to verify the consistency of the downloaded data dictionary file.

[0110] Test system interface, and perform communication tests using the provided device information.

[0111] Complete the integration of the industrial Internet platform. Although different platforms are used, the purpose is the same. Just complete the relevant system configurations to achieve the monitoring and control of industrial equipment status.

[0112] S203. Auto-configuration completed (ConfigureCompleted): If the integration process in S202 is completed on the industrial device auto-integration server, an auto-configuration completed message will be returned. This response can use an encrypted request, and the message content can be in the form of a json string as shown in the following example:

[0113] {

[0114] "type":"ConfigureCompleted",

[0115] "version":"1.0",

[0116] "content":{

[0117] "token":"fac0b9551cbda3ccafd1322d7ed75b3a",

[0118] "sn":"fac0b9551cbda3",

[0119] "timestamp": "2022-11-14 09:40:09",

[0120] "expire": 360000

[0121] }

[0122] }

[0123] Among them, token: The token issued by AIS for the completed integration. sn: The unique identification code of AIA. timestamp: The timestamp of the completed docking. expires: The validity period (in milliseconds) of the completed docking.

[0124] It should be noted that if it times out, the industrial device auto-integration agent needs to refresh the docking token from the industrial device auto-integration server.

[0125] S204. Auto-configuration failed (ConfgureFailed): This response can use an encrypted request, and the message content can be in the form of a json string as shown in the following example:

[0126] {

[0127] "type":" ConfgureFailed",

[0128] "version":"1.0",

[0129] "sn":"fac0b9551cbda3",

[0130] "reason":"Unknown Reason",

[0131] }

[0132] Among them: reason: reason for failure. sn: unique identification code of AIA.

[0133] S30. Refresh the docking token. In S30, the device with successful automatic configuration needs to refresh after the docking token expires, and the refresh work is completed through the process of refreshing the docking token.

[0134] In some of these embodiments, refer to Figure 3 , refreshing the docking token may specifically include the following steps:

[0135] S301. The industrial device automatic integration agent sends a request to refresh the docking token to the industrial device automatic integration server;

[0136] S302. If the industrial automatic integration server accepts, it returns a message indicating successful refresh to the industrial automatic integration agent.

[0137] S303. If the industrial automatic integration server rejects, it returns a message indicating failed refresh to the industrial automatic integration agent and simultaneously returns a reason code.

[0138] Exemplarily, the docking token refresh request (RefreshToken) can adopt an encrypted request, and the message content can adopt a json string as shown in the following example:

[0139] {

[0140] "type":"RefreshToken",

[0141] "version":"1.0",

[0142] "content":{

[0143] "sn":"fac0b9551cbda3"

[0144] }

[0145] }

[0146] Refreshing the docking token requires carrying the unique identification code of the industrial device automatic integration agent.

[0147] Exemplarily, the response for successful refresh (TokenRefreshed) can use an encrypted request, and the message content can be in the form of a json string as shown in the following example:

[0148] {

[0149] "type":"TokenRefreshed",

[0150] "version":"1.0",

[0151] "content":{

[0152] "token":"fac0b9551cbda3ccafd1322d7ed75b3a",

[0153] "sn":"fac0b9551cbda3"

[0154] }

[0155] }

[0156] This is to carry the refreshed docking token again after successful refresh.

[0157] Exemplarily, the response for failed refresh (TokenRefreshFailed) can use an encrypted request, and the message content can be in the form of a json string as shown in the following example:

[0158] {

[0159] "type":"TokenRefreshFailed",

[0160] "version":"1.0",

[0161] "content":{

[0162] "sn":"fac0b9551cbda3",

[0163] "reason":"Unknown Reason",

[0164] }

[0165] }

[0166] Where: sn: The unique identification code of AIA. reason: The reason for rejection.

[0167] From the perspective of information security, automatic docking has very significant security risks because it uses network UDP Multicast group communication without encryption or authentication. To improve the security of the automatic integration process, the present invention requires mutual trust to be established in advance between the industrial equipment automatic integration agent and the industrial equipment automatic integration server. The specific method of establishing mutual trust uses the PKI (Public Key Infrastructure. Since PKI is a common information security infrastructure, it will not be elaborated in this protocol).

[0168] Specifically, the industrial equipment automatic integration server adds the public key of the industrial equipment automatic integration agent to the trusted whitelist. At the same time, the industrial equipment automatic integration agent also adds the industrial equipment automatic integration server to the trusted whitelist. In this way, using the Public Key Infrastructure PKI, the industrial equipment automatic integration agent and the industrial equipment automatic integration server can directly communicate through the asymmetric encryption algorithm.

[0169] When the industrial equipment automatic integration agent sends a message to the industrial equipment automatic integration server, the industrial equipment automatic integration agent uses its own private key and the public key of the industrial equipment automatic integration server to encrypt the sent message using the asymmetric encryption algorithm; when the industrial equipment automatic integration server receives the encrypted message, it uses its own private key and the public key of the industrial equipment automatic integration agent to decrypt it.

[0170] When the industrial equipment automatic integration server sends a message to the industrial equipment automatic integration agent, the industrial equipment automatic integration server uses its own private key and the public key of the industrial equipment automatic integration agent to encrypt the sent message using the asymmetric encryption algorithm; when the industrial equipment automatic integration agent receives the encrypted message, it uses its own private key and the public key of the industrial equipment automatic integration server to decrypt it.

[0171] On the other hand, the present application provides a system for automatically integrating industrial equipment into the industrial Internet, including an industrial equipment automatic integration agent module, an industrial equipment automatic integration server module, a processor, and a memory; a computer program is stored in the memory, and when the computer program is executed by the processor, it controls the industrial equipment automatic integration agent module and the industrial equipment automatic integration server module to implement the method for automatically integrating industrial equipment into the industrial Internet according to any one of the above embodiments.

[0172] The automatic integration method defines two logical entities: the industrial equipment automatic integration agent and the industrial equipment automatic integration server. Note: The industrial equipment automatic integration agent (AIA) can be implemented in an industrial intelligent gateway device. The present invention describes the automatic integration method through direct protocol interaction between the AIA and the AIS. The automatic integration process is divided into two parts: AutoDiscovery and AutoConfigure.

[0173] The present application also provides a computer storage medium, on which a computer program is stored. The computer program is loaded by a processor to execute the method for automatically integrating industrial equipment into the industrial Internet according to any one of the above embodiments.

[0174] As described above, the above are only the preferred embodiments of the present invention, and do not constitute any form of limitation to the present invention. Any simple modification or equivalent change made to the above embodiments according to the technical essence of the present invention falls within the protection scope of the present invention.

Claims

1. A method for automatically integrating an industrial device into the industrial Internet, characterized in that, It includes the following steps: Automatic discovery: Complete the service request docking between the industrial device automatic integration agent and the industrial device automatic integration server. After the request docking is successful, the industrial device automatic integration agent obtains the docking token issued by the industrial device automatic integration server; Automatic configuration: The industrial device automatic integration agent carries its own unique identification code, the unique data identifier of the industrial device data dictionary corresponding to the device, the docking token obtained in the automatic discovery step of the industrial device, and the link corresponding to the data dictionary, and allows the industrial device automatic integration server to perform automatic identification and automatically load the data dictionary; The industrial device is automatically integrated into the industrial Internet based on the channel formed by the industrial device automatic integration agent and the industrial device automatic integration server.

2. The method for automatically integrating an industrial device into the industrial Internet according to claim 1, wherein The automatic discovery step specifically includes the following steps: The industrial device automatic integration server regularly broadcasts a message indicating that the service is ready externally; The industrial device automatic integration agent carries its own unique identification code and the unique data identifier of the industrial device data dictionary corresponding to the device, and sends a service docking request to the industrial device automatic integration server to complete the service request docking between the industrial device automatic integration agent and the industrial device automatic integration server; After the industrial device automatic integration server receives this service docking request, if the industrial device automatic integration server accepts it, it sends a service docking acceptance message to the industrial device automatic integration agent, and the service docking acceptance message carries the docking token issued by the industrial device automatic integration server and its validity period.

3. The method for automatically integrating an industrial device into an industrial Internet according to claim 2, wherein After the industrial device automatic integration agent carries its own unique identification code and the unique data identifier of the industrial device data dictionary corresponding to the device and sends a service docking request to the industrial device automatic integration server to complete the service request docking between the industrial device automatic integration agent and the industrial device automatic integration server, the following steps are further included: After the industrial device automatic integration server receives this service docking request, if the industrial device automatic integration server rejects it, it sends a service docking rejection response and the reason for rejection to the industrial device automatic integration agent.

4. The method for automatically integrating an industrial device into the industrial Internet according to claim 2, wherein The regular external broadcast service broadcasts to the local area network through the UDP protocol, and the message content is a json non-encrypted string.

5. The method for automatically integrating an industrial device into the industrial Internet according to claim 1, wherein Before the industrial device automatic integration agent carries its own unique identification code, the unique data identifier of the industrial device data dictionary corresponding to the device, the docking token obtained in the automatic discovery step of the industrial device, and the link corresponding to the data dictionary, and allows the industrial device automatic integration server to identify and load the data dictionary, the following steps are further included: Trigger the automatic configuration request of the industrial device automatic integration agent.

6. The method for automatically integrating an industrial device into an industrial Internet according to claim 5, characterized in that, During the process that the industrial device automatic integration agent carries its own unique identification code, the unique data identifier of the industrial device data dictionary corresponding to the device, the docking token obtained in the automatic discovery step of the industrial device, and the link corresponding to the data dictionary, and allows the industrial device automatic integration server to identify and load the data dictionary, the following steps are further included: Determine whether the industrial equipment automatic integration server supports the version of the industrial equipment automatic integration agent; If the industrial equipment automatic integration server does not support the version of the industrial equipment automatic integration agent, the industrial equipment automatic integration server downloads the data dictionary of industrial equipment from the data dictionary link specified by the industrial equipment automatic integration agent.

7. The method for automatically integrating an industrial device into an industrial Internet according to claim 1, characterized in that, During the automatic configuration process, the type of the configuration request sent by the industrial equipment automatic integration agent to the industrial equipment automatic integration server is an encrypted request, and the message content of the request is a json string; after receiving the request, the industrial equipment automatic integration server further includes the following steps: Verify whether the public key of this request is in the running whitelist; If not, reject this request according to the key exchange protocol; If so, carry out the integration process.

8. The method for automatically integrating an industrial device into the industrial Internet according to claim 7, wherein The integration process includes: Device information acquisition, obtaining the device details required by the industrial Internet platform, where the device details include the name, classification, docking interface, protocol type, parameters corresponding to the protocol, and / or the summary details of the device; Download the data dictionary of industrial equipment; Test the system interface; Complete the integration of the industrial Internet platform.

9. The method for automatically integrating an industrial device into the industrial Internet according to claim 7, characterized in that After the automatic configuration, the following steps are further included: Refresh the docking token: The industrial equipment automatic integration agent sends a request to the industrial equipment automatic integration server to refresh the docking token; If the industrial equipment automatic integration server accepts, it returns a message indicating successful refresh to the industrial equipment automatic integration agent; If the industrial equipment automatic integration server rejects, it returns a message indicating failed refresh to the industrial equipment automatic integration agent and returns the reason code at the same time.

10. A system for automatically integrating an industrial device into the industrial Internet, characterized in that, It includes an industrial equipment automatic integration agent module, an industrial equipment automatic integration server module, a processor, and a memory; a computer program is stored in the memory, and when the computer program is executed by the processor, it controls the industrial equipment automatic integration agent module and the industrial equipment automatic integration server module to implement the method for integrating industrial equipment into the industrial Internet as described in any one of claims 1-9.

Citation Information

Patent Citations

  • Automated service discovery and dynamic connection management

    CN101785281A

  • Field gateway data adaptation method, device and system

    CN112311742A