Decentralized information model invocation system and method

By using a decentralized information model invocation system and leveraging blockchain storage and knowledge base, the problems of high cost and low security in invoking information models from heterogeneous devices are solved, enabling efficient and secure invoking and sharing of information models, and enhancing the integrity and reliability of information models.

CN115185990BActive Publication Date: 2025-10-24CHONGQING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210746433.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2025-10-24
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

In complex manufacturing systems in open environments, the information representation of heterogeneous devices varies greatly, resulting in high costs, low security, and slow data transmission speeds for information model invocation. Furthermore, traditional database management leads to high centralization, which hinders the development of information models.

Method used

A decentralized information model calling system is adopted, which utilizes blockchain storage units and knowledge bases to achieve device interconnection through nodes, directly or create information models, and verify the integrity of the models through hash operations to prevent tampering, thereby enabling rapid matching and sharing of information models.

Benefits of technology

It enables unified information description of massive heterogeneous devices, improves the efficiency and security of information model invocation, reduces data reading overhead, enhances the integrity and reliability of information model, and provides convenience for enterprises.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115185990B_ABST
    Figure CN115185990B_ABST
Patent Text Reader

Abstract

The application discloses a kind of decentralized information model calling system and method, including node, blockchain storage unit and knowledge base;The node is used to realize device interconnection, creates information model or calls the information model corresponding to device from blockchain storage unit, and carries out information model instantiation, then provide the state data, historical data, alarm and event information of device to outside, and accept control command, complete the corresponding function of device;The blockchain storage unit is located on each node in calling system, and a plurality of information models are stored permanently using blocks;The knowledge base is used to realize the quick matching of device and information model in blockchain, compare with information model in knowledge base according to the request of node, if there is existing information model, then directly call;If not, information model is created.The application realizes the unified information description of heterogeneous device, guarantees the safe and reliable of information model, and provides convenience for enterprise use.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of industrial internet, in particular to a decentralized information model calling system and method. BACKGROUND

[0002] In an open environment complex manufacturing system, a large number of heterogeneous devices coexist, and the device information expression difference is huge, and the island is in pieces, which is difficult to support the efficient operation of the manufacturing system. The information model is a modeling description of the data, types and functions of devices, application programs and management systems, which is composed of entity objects, object properties and relationships between objects. By defining a unified framework and description form, a standardized information format, a standardized information modeling process and a unified information presentation form are provided. Based on the device state representation of the unified information model, it will be beneficial to realize the information interaction of heterogeneous devices, promote the integration of devices in the open environment complex manufacturing system, and then realize the interconnection, interoperation and interoperation of information.

[0003] The development of information model should focus on the formulation and unification of industrial internet information model basic standards, but at present, different information models exist technical and standard overlap and contradiction, at the same time, the traditional information model storage adopts database management, and the database is maintained by one or a group of administrators, which has the right to operate the data (CRUD four operations), which will make the calling of information model highly centralized, and the cost is high, the security is low, the data transmission speed is slow and other disadvantages in the calling process, which become important factors restricting the development of information model. SUMMARY

[0004] Therefore, the purpose of the present application is to overcome the defects in the prior art, provide a decentralized information model calling system and method, which can strengthen the generalization of vertical industry information model and the establishment of information model library, realize the unified information description of a large number of heterogeneous devices distributed in a wide area, prevent the information model from being tampered and decentralized information model sharing, ensure the safety and reliability of the information model, and provide convenience for enterprise use.

[0005] The decentralized information model calling system of the present application comprises a node, a blockchain storage unit and a knowledge base.

[0006] The node is used to realize device interconnection, create an information model or call the information model corresponding to the device from the blockchain storage unit, and perform information model instantiation, then provide the state data, historical data, alarm and event information of the device to the outside, and accept control commands to complete the corresponding functions of the device.

[0007] The blockchain storage unit is located on each node in the calling system, and a plurality of information models are permanently stored in the block, wherein the block comprises a block header and a block body.

[0008] The knowledge base is used to realize the rapid matching of the access device and the information model in the blockchain, and the information model in the knowledge base is compared according to the request of the node, if the existing information model exists, it is directly called, if it does not exist, the information model is matched and created according to the parsed data.

[0009] Further, the blockchain storage unit includes first storage data and second storage data; the first storage data includes complete blockchain data; and the second storage data includes complete blockchain header data and information model data of all instantiated devices under the current node.

[0010] Further, the parsed data includes a target device ID and information model data required by the target device; and the information model data includes an identification of the information model, a class of the information model, and an attribute of the information model.

[0011] A decentralized information model calling method, comprising the following steps:

[0012] S1. The current node parses the original data information sent by the target device to obtain target device model information;

[0013] S2. The current node matches the target device with the information model of the blockchain storage unit based on the knowledge base according to the target device model information, if the matching is successful, the information model of the target device is called according to the node type, and step S4 is entered; if the matching fails, the information model of the target device is created according to the node type, and step S3 is entered;

[0014] S3. The current node verifies whether the newly created information model is valid, if the verification is valid, the newly created information model is packaged as a block, and uploaded to the blockchain storage unit for permanent storage, and notifies other nodes to update their blockchain storage units; if the verification is invalid, repeat step S3 to create a new information model and verify again until the new information model is valid;

[0015] S4. The target device downloads and instantiates the information model.

[0016] Further, the information model of the target device is called according to the node type, specifically including:

[0017] Determine the node type to which the current node belongs, if the current node belongs to a full node, the information model of the target device is directly called from the blockchain storage unit; if the current node belongs to a light node, the block information of the target device is obtained by querying the block header, and a request is sent to the full node according to the block information, the full node receives the request and queries, returns the information model queried to the current node, and the current node calls the information model again.

[0018] Further, the information model of the target device is created according to the node type, specifically including:

[0019] The node type to which the current node belongs is judged, if the current node belongs to a full node, the knowledge base creates a new information model for the target device according to the request; if the current node belongs to a light node, the current node sends a request to the full node, and transmits the parsed data to the full node, the full node receives the parsed data, and then creates an information model according to the parsed data, after the creation of the information model is completed, the full node sends the created information model back to the current node.

[0020] Further, the current node verifies whether the newly created information model is valid, specifically including:

[0021] The current node instantiates the newly created information model, and constructs the newly created information model and the instantiated device address space into a preparation message for sending to other nodes;

[0022] The other nodes receive the preparation message, access the device for data interaction debugging according to the preparation message through the OPC UA server mechanism, view the real-time log of the device, and verify the function data;

[0023] After the verification is completed, each node broadcasts a response message, the current node de-instantiates the newly created information model and accepts the response message, if at least α / β nodes respond the same among all nodes receiving the broadcast information, the new information model is valid, otherwise, it is invalid.

[0024] Further, the queried information model is returned to the current node, and the information model is verified:

[0025] Hash operation is performed on the information model to obtain a hash result value;

[0026] The hash result value is compared with the hash value of the block body in the block header, if they are the same, the information of the information model is not modified; if they are not the same, the information of the information model is tampered, a request is sent to the remaining full nodes until the information model of the target device is obtained and the calculated hash value is consistent with the hash value of the block body in the block header.

[0027] Further, the knowledge base creates a new information model for the target device according to the request, specifically including:

[0028] The knowledge base obtains the parsed data and describes the target device from three dimensions according to the parsed data; the three dimensions include identification, attribute and class;

[0029] The knowledge base matches the parsed data with the information model in the block chain storage unit according to the matching rule of the information model stored by the knowledge base, and takes the matched information model as the newly created information model.

[0030] The application has the beneficial effects that the decentralized information model calling system and method disclosed by the application directly call the information model required by the target device from the block chain storage system through the node, avoids the traditional centralized calling mode of the database, and in the case of being unable to directly call, the required information model is simply obtained through interconnection access, so that various expenses of frequent data reading are reduced; the heterogeneous device information model self-construction mode based on the knowledge base accelerates the creation speed of the information model, improves the calling efficiency of the information model, enhances the integrity of the information model, and enriches the information model library. BRIEF DESCRIPTION OF DRAWINGS

[0031] The application will be further described below in combination with the drawings and embodiments:

[0032] Figure 1 It is an information model calling principle diagram of the application;

[0033] Figure 2 It is an information model calling flow diagram of the application;

[0034] Figure 3 It is a block chain information representation diagram of the application;

[0035] Figure 4 It is a contrast diagram of the information model and the physical model of the application. DETAILED DESCRIPTION

[0036] The application will be further described below in combination with the drawings and embodiments:

[0037] The decentralized information model calling system of the application comprises a node, a block chain storage unit and a knowledge base;

[0038] The node is used for realizing device interconnection, creating an information model or calling the information model corresponding to the device from the block chain storage unit, and instantiating the information model, and then providing the state data, historical data, alarm and event information of the device to the outside, and accepting the system control commands such as MES, and completing the corresponding functions of the device; wherein the state data, historical data, alarm and event information of the device are provided to the outside based on the subscription / publishing mechanism of OPC UA;

[0039] The block chain storage unit is located on each node in the calling system, and a plurality of information models are permanently stored by using blocks, wherein the blocks comprise block headers and block bodies;

[0040] The knowledge base is used to realize the rapid matching of the access device and the information model in the blockchain, and the information model in the knowledge base is compared according to the request of the node, if the existing information model exists, it is directly called, if it does not exist, the information model is matched and created according to the parsed data.

[0041] The node can be a device accessing the system or a smart gateway or host computer connecting the device into the network, including computers, devices and servers, etc.; the node includes full nodes and light nodes, the full node refers to a node having complete blockchain information model data, and the light node refers to a node having complete blockchain header information model data and all instantiated information models under the current node, realizing light storage; the knowledge base exists in each node, and the storage of the knowledge base is different according to the type of the node; the blockchain storage unit adopts an existing blockchain storage system, and the knowledge base can adopt an existing knowledge graph, which will not be described here.

[0042] Through the above structure, the industrial internet information model can be uniformly managed and called, the overlap and contradiction between different information models are reduced, the generalization of vertical industry information model and the establishment of model library are strengthened, the unified information description of wide-area distributed mass heterogeneous devices is realized, the security and reliability of the information model are ensured by preventing data tampering and decentralized data sharing, and convenience is provided for enterprise use.

[0043] In the embodiment, the blockchain storage unit includes first storage data and second storage data; the first storage data includes complete blockchain data; and the second storage data includes complete blockchain header data and information model data of all instantiated devices under the current node.

[0044] In the embodiment, the parsed data includes a target device ID and information model data required by the target device; and the information model data includes an identification of the information model, a class of the information model and an attribute of the information model.

[0045] A decentralized information model calling method using the information model calling system includes the following steps:

[0046] S1. The current node parses the original data information sent by the target device to obtain target device model information; wherein the current node and the target device are in communication connection, the current node obtains the basic information such as target device model by performing semantic analysis on the original data information to obtain parsed data, and obtains the basic information such as target device model from the parsed data;

[0047] S2. The current node matches the target device with the information model of the blockchain storage unit based on the knowledge base according to the target device model information. If the matching is successful, the information model of the target device is called according to the node type, and step S4 is entered. If the matching fails, the information model of the target device is created according to the node type, and step S3 is entered. As shown in the following table, the blockchain information table includes a plurality of blocks, and each block includes a block header and a block body. The blockchain information table is stored in a blockchain storage system, and the node is in communication connection with the blockchain storage system. Figure 3

[0048] S3. The current node verifies whether the newly created information model is valid. If the verification is valid, the newly created information model is packaged into a block and uploaded to the blockchain storage unit for permanent storage, and other nodes are notified to update their blockchain storage units. If the verification is invalid, step S3 is repeated to create a new information model and verify again until the new information model is valid.

[0049] S4. The target device downloads and instantiates the information model. The instantiation is to instantiate the abstract information model into an actual data interface for a specific device.

[0050] In this embodiment, in step S2, the information model of the target device is called according to the node type, which specifically includes:

[0051] The node type to which the current node belongs is determined. If the current node belongs to a full node, the information model of the target device is directly called from the blockchain storage unit. If the current node belongs to a light node, the block information of the target device is obtained by querying the block header, and a request is sent to the full node according to the block information. The full node returns the information model obtained by querying to the current node after receiving the request, and the information model is called by the current node again. The block header includes the hash value of the previous block header (Previous Block Hash), the hash value of the block body (Block Body Hash), and the equipment ID (Equipment ID). Each node can access each other in the communication system, and the block body is the information model of the device.

[0052] In this embodiment, in step S2, the information model of the target device is created according to the node type, which specifically includes:

[0053] ​The current node determines the type of the node to which the current node belongs. If the current node belongs to a full node, the knowledge base creates a new information model for the target device according to the request. If the current node belongs to a light node, the current node sends a request to the full node and transmits the parsed data to the full node. After receiving the parsed data, the full node creates an information model according to the parsed data. After the creation of the information model is completed, the full node sends the created information model back to the current node.

[0054] In this embodiment, in step S3, the current node verifies whether the newly created information model is valid, specifically including:

[0055] The current node instantiates the newly created information model, and constructs the newly created information model and the instantiated device address space into a preparation message for sending to other nodes.

[0056] The other nodes receive the preparation message, access the device for data interaction debugging according to the preparation message through the OPC UA server mechanism, view the real-time log of the device, and verify the function data.

[0057] After the verification is completed, each node broadcasts a response message. The current node de-instantiates the newly created information model and accepts the response message. If at least α / β nodes respond the same among all nodes receiving the broadcast information, the new information model is valid, otherwise, the new information model is invalid. The value of α / β is 2 / 3.

[0058] In this embodiment, before returning the queried information model to the current node, the information model is verified:

[0059] The information model is subjected to a hash operation to obtain a hash result value.

[0060] The hash result value is compared with the hash value of the block body in the block header. If they are the same, the information of the information model is not modified. If they are not the same, the information of the information model is tampered with. A request is sent to the remaining full nodes until the information model of the target device is obtained and the calculated hash value is consistent with the hash value of the block body in the block header.

[0061] By verifying the information model, the reliability state of the information model is confirmed, which is convenient for subsequent tracing.

[0062] In this embodiment, the knowledge base creates a new information model for the target device according to the request, specifically including:

[0063] The knowledge base acquires analysis data and describes the target device from three dimensions according to the analysis data; the three dimensions include identification, attribute and class; wherein, the analysis data includes target device ID and information model data required by the target device; the identification is used to describe the device identity and points to the device; the attribute is used to describe attribute information of various industrial internet objects, including data, interface, state, relationship and the like, and embodies professional description of object knowledge; the class is used to abstract information having common characteristics expressed or represented by the information model;

[0064] The knowledge base matches the analysis data with the information model in the block chain storage unit according to the matching rule of the information model stored by the knowledge base, and takes the matched information model as a newly created information model. Wherein, the knowledge base adopts an existing knowledge graph, and can obtain a plurality of information models by extracting the class and attribute of the knowledge graph.

[0065] Finally, it should be pointed out that the above embodiments are only used to illustrate the technical solutions of the present application but not limit the present application. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application can be modified or replaced equivalently without departing from the purpose and scope of the present application, and all of them should be covered in the scope of the claims of the present application.

Claims

1. A decentralized information model invocation system, characterized by: The system comprises nodes, a blockchain storage unit and a knowledge base. The nodes are used to realize device interconnection, create information models or call information models corresponding to devices from the blockchain storage unit, and perform information model instantiation, and then provide external state data, historical data, alarm and event information of the devices, and accept control commands to complete corresponding functions of the devices. The blockchain storage unit is located on each node in the calling system, and permanently stores several information models in blocks, wherein the blocks comprise block headers and block bodies. The knowledge base is used to realize quick matching of access devices and information models in the blockchain, and compare information models in the knowledge base according to the request of the nodes, and directly call the information models if the information models exist, or create information models according to the parsed data if the information models do not exist. The method for calling information models by using the information model calling system comprises the following steps: S1. A current node parses original data information sent by a target device to obtain target device model information. S2. The current node matches the target device with information models in the blockchain storage unit based on the knowledge base according to the target device model information, and if the matching is successful, calls the information models of the target device according to the node type, and proceeds to step S4; if the matching fails, creates the information models of the target device according to the node type, and proceeds to step S3. S3. The current node verifies whether the newly created information models are valid, and if the verification is valid, packs the newly created information models into a block, and uploads the block to the blockchain storage unit for permanent storage, and simultaneously notifies other nodes to update their blockchain storage units; if the verification is invalid, repeats step S3 to create new information models, and verifies again until the new information models are valid. The current node verifies whether the newly created information models are valid, and specifically comprises: The current node instantiates the newly created information models, and constructs the newly created information models and the address space of the instantiated devices into a preparation message and sends the preparation message to other nodes. Other nodes receive the preparation message, access the devices for data interaction debugging through an OPC UA server mechanism according to the preparation message, view real-time logs of the devices, and verify function data. After the verification is completed, each node broadcasts a response message, the current node de-instantiates the newly created information models and accepts the response message, and if at least α / β nodes respond the same among all nodes receiving the broadcast information, the new information models are valid, otherwise, the new information models are invalid. S4. The target device downloads and instantiates the information models.

2. The decentralized information model invocation system of claim 1, wherein: The blockchain storage unit comprises first storage data and second storage data; the first storage data comprises complete blockchain data; and the second storage data comprises complete block header data and information model data of all instantiated devices under the current node.

3. The decentralized information model invocation system of claim 1, wherein: The parsed data comprises a target device ID and information model data required by the target device; and the information model data comprises an identification of the information model, a class of the information model and attributes of the information model.

4. The decentralized information model invocation system of claim 1, wherein: The current node calls the information models of the target device according to the node type, and specifically comprises: The node type to which the current node belongs is judged. If the current node belongs to a full node, the information model of the target device is directly called from the blockchain storage unit. If the current node belongs to a light node, the block information of the target device is obtained by querying the block header, and a request is sent to the full node according to the block information. After the full node receives the request, the full node queries and returns the information model to the current node, and the current node calls the information model again.

5. The decentralized information model invocation system of claim 1, wherein: The information model of the target device is created according to the node type, and specifically includes: The node type to which the current node belongs is judged. If the current node belongs to a full node, the knowledge base creates a new information model for the target device according to the request. If the current node belongs to a light node, the current node sends a request to the full node and transmits the parsed data to the full node. After the full node receives the parsed data, the full node creates an information model according to the parsed data. After the creation of the information model is completed, the full node sends the created information model back to the current node.

6. The decentralized information model invocation system of claim 4, wherein: Before the information model obtained by the query is returned to the current node, the information model is verified: Hash operation is performed on the information model to obtain a hash result value. The hash result value is compared with the hash value of the block body in the block header. If they are the same, the information of the information model is not modified. If they are not the same, the information of the information model is tampered with, and a request is sent to the remaining full nodes until the information model of the target device is obtained and the calculated hash value is consistent with the hash value of the block body in the block header.

7. The decentralized information model invocation system of claim 5, wherein: The knowledge base creates a new information model for the target device according to the request, and specifically includes: The knowledge base obtains the parsed data and describes the target device from three dimensions according to the parsed data. The three dimensions include identification, attribute and class. The knowledge base matches the parsed data with the information model in the blockchain storage unit according to the matching rule of the information model stored by the knowledge base, and takes the matched information model as a newly created information model.