CN111489817A - Block chain communication module for realizing equipment data acquisition - Google Patents

Block chain communication module for realizing equipment data acquisition Download PDF

Info

Publication number
CN111489817A
CN111489817A CN201911399980.6A CN201911399980A CN111489817A CN 111489817 A CN111489817 A CN 111489817A CN 201911399980 A CN201911399980 A CN 201911399980A CN 111489817 A CN111489817 A CN 111489817A
Authority
CN
China
Prior art keywords
block chain
layer
internet
communication module
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911399980.6A
Other languages
Chinese (zh)
Inventor
宋学武
林炀平
柯叶翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Gandao Intelligent Technology Co ltd
Original Assignee
Hangzhou Gandao Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Gandao Intelligent Technology Co ltd filed Critical Hangzhou Gandao Intelligent Technology Co ltd
Priority to CN201911399980.6A priority Critical patent/CN111489817A/en
Publication of CN111489817A publication Critical patent/CN111489817A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/67ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for remote operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention discloses a block chain communication module for realizing equipment data acquisition, which comprises a system layer, an interface layer and a network layer, wherein the system layer integrates an RTOS (remote terminal operating system) system and a block chain SDK (software development kit) and executes an intelligent contract; the interface layer provides a uniform interface for the Internet of things equipment, and the Internet of things equipment interacts with the intelligent contract in the system layer through the interface layer; and the network layer is used for establishing uniform data connection between the system layer and the block link points. The substantial effects of the invention include: the design realizes a general block chain communication module, integrates a block chain system, and provides a related system interface for external hardware equipment or application, thereby realizing the collection chaining and tracing operation of equipment data.

Description

Block chain communication module for realizing equipment data acquisition
Technical Field
The invention relates to the technical field of information sharing based on a block chain, in particular to a block chain communication module for realizing equipment data acquisition.
Background
Unlike traditional distributed storage, the uniqueness of distributed storage of blockchains is mainly reflected in two aspects: firstly, each node of the block chain stores complete data according to a block chain structure, and the traditional distributed storage generally divides the data into a plurality of parts according to a certain rule for storage. Secondly, the storage of each node of the block chain is independent and equal in status, the consistency of the storage is ensured by means of a consensus mechanism, and the traditional distributed storage generally synchronizes data to other backup nodes through a central node. No one node can record ledger data alone, thereby avoiding the possibility of a single bookkeeper being controlled or being bribered to account falsely.
Although the application of the blockchain is wide, the technology of the blockchain combining with the internet of things is still in the exploration stage at present, for example, the invention of an authorization notice number CN107105041B discloses a system and a method for managing medical big data based on the blockchain, which belong to the technical field of intelligent contracts and comprise the overall structure of the system, a registration contract part, a summary contract part and a relationship contract part between a user and a medical record data provider. For another example, the invention disclosure of the authorization notice number CN108833178B discloses a method for controlling an internet of things device by combining a blockchain and a central server.
At present, the implementation mode of the data processing technology of the block link and internet of things equipment is complex, no corresponding mechanism carries out relevant standardization, and the implementation mode of the relevant technology is single in general, which is not beneficial to enterprise management and leads to the common poor compatibility of the prior art.
Disclosure of Invention
Aiming at the problem of poor compatibility in the prior art, the invention provides a block chain communication module for realizing equipment data acquisition, which provides a relevant system interface for external hardware equipment or application through an integrated block chain system so as to realize the uplink and source tracing operation of equipment data acquisition.
The technical scheme of the invention is as follows.
A block chain communication module for realizing equipment data acquisition comprises a system layer, an interface layer and a network layer, wherein the system layer integrates an RTOS system and a block chain SDK and executes an intelligent contract; the interface layer provides a uniform interface for the Internet of things equipment, and the Internet of things equipment interacts with the intelligent contract in the system layer through the interface layer; and the network layer is used for establishing uniform data connection between the system layer and the block link points.
The scheme is based on a communication module, integrates the RTOS system and the block chain SDK, deploys different intelligent contracts by combining the block chain SDK, and processes service logic. And maintaining various functions api through a daemon process to monitor the requests from the equipment of the Internet of things in real time.
Wherein the block chain SDK refers to a block chain development kit. An RTOS system is intended to mean a real-time operating system, which can receive and process external events or data at a sufficiently fast speed, and the processing result can control the production process or respond to the processing system quickly within a specified time, schedule all available resources to complete real-time tasks, and control all real-time tasks to run in coordination. Providing timely response and high reliability are main features.
Preferably, the block chain comprises a federation chain, and the federation link points comprise a number of block chain nodes specified according to the service type. According to different services, a plurality of block chain service nodes are deployed to establish a federation chain. In this way, the operation form of the federation chain can increase the management efficiency of the enterprise and reduce the risk caused by the problem of the node per se, which is different from the common block chain.
Preferably, the interface layer establishes connection with the internet of things device through a serial communication protocol.
Preferably, the interface layer includes: and the data evidence storage API is used for transmitting the service data of the equipment of the internet of things to the intelligent contract of the system layer. And the IOT equipment calls the data evidence storage API to transmit the service data to the communication module, the communication module transmits the service data to the block chain nodes, the service data are stored on the block chain and distributed storage is realized, and all the nodes share the data.
Preferably, the interface layer further includes: and the data query API is used for sending a service data query request to the system layer by the Internet of things equipment and returning the service data query request. And the Internet of things equipment calls a data query API (application program interface), transmits the service data to be queried to the communication module, the communication module queries the service data from the block chain according to the requested parameter information, and returns the service data to the external Internet of things equipment after acquiring corresponding data to complete data query.
Preferably, the basic information of the network layer chain configuration is stored in the internet of things device, and the basic information includes the link point server ip and a private key of the internet of things device.
According to the scheme, the module-based RTOS system is embedded into a block chain SDK to realize system application, provide a functional interface to the outside and build a block chain system; burning the block chain system into the communication module, opening a data serial port to the outside, and providing a corresponding system API; building a block chain communication module; the internet of things equipment initializes the relevant basic configuration of block link point information and the like by calling a system initialization interface and then realizes the credible evidence storage and source tracing operation of the equipment data by interfaces such as data evidence storage, data query and the like. If combine to deploy different intelligent contracts, can customize and realize the block chain communication module for specific scene, like intelligent storage, supply chain finance, clothing networking etc..
The substantial effects of the invention include: the design realizes a general block chain communication module, integrates a block chain system, and provides a related system interface for external hardware equipment or application, thereby realizing the collection chaining and tracing operation of equipment data.
Detailed Description
The following description will be made in conjunction with embodiments of the present application. In addition, numerous specific details are set forth below in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present invention.
Example (b):
a block chain communication module for realizing equipment data acquisition comprises a system layer, an interface layer and a network layer, wherein the system layer integrates an RTOS system and a block chain SDK and executes an intelligent contract; the interface layer provides a uniform interface for the Internet of things equipment, and the Internet of things equipment interacts with the intelligent contract in the system layer through the interface layer; and the network layer is used for establishing uniform data connection between the system layer and the block link points.
The scheme is based on a communication module, integrates the RTOS system and the block chain SDK, deploys different intelligent contracts by combining the block chain SDK, and processes service logic. And maintaining various functions api through a daemon process to monitor the requests from the equipment of the Internet of things in real time.
Wherein the block chain SDK refers to a block chain development kit. An RTOS system is intended to mean a real-time operating system, which can receive and process external events or data at a sufficiently fast speed, and the processing result can control the production process or respond to the processing system quickly within a specified time, schedule all available resources to complete real-time tasks, and control all real-time tasks to run in coordination. Providing timely response and high reliability are main features.
The blockchain of the embodiment operates in a form of a federation chain, and the federation chain nodes include a number of blockchain nodes specified according to the service type. According to different services, a plurality of block chain service nodes are deployed to establish a federation chain. In this way, the operation form of the federation chain can increase the management efficiency of the enterprise and reduce the risk caused by the problem of the node per se, which is different from the common block chain.
The interface layer is connected with the Internet of things equipment through a serial port communication protocol. The interface layer includes:
and the data evidence storage API is used for transmitting the service data of the equipment of the internet of things to the intelligent contract of the system layer. And the IOT equipment calls the data evidence storage API to transmit the service data to the communication module, the communication module transmits the service data to the block chain nodes, the service data are stored on the block chain and distributed storage is realized, and all the nodes share the data.
And the data query API is used for sending a service data query request to the system layer by the Internet of things equipment and returning the service data query request. And the Internet of things equipment calls a data query API (application program interface), transmits the service data to be queried to the communication module, the communication module queries the service data from the block chain according to the requested parameter information, and returns the service data to the external Internet of things equipment after acquiring corresponding data to complete data query.
And the basic information of the chain configuration of the network layer is stored in the equipment of the Internet of things, and the basic information comprises a link point server ip and a private key of the equipment of the Internet of things.
According to the scheme, the module-based RTOS system is embedded into a block chain SDK to realize system application, provide a functional interface to the outside and build a block chain system; burning the block chain system into the communication module, opening a data serial port to the outside, and providing a corresponding system API; building a block chain communication module; the internet of things equipment initializes the relevant basic configuration of block link point information and the like by calling a system initialization interface and then realizes the credible evidence storage and source tracing operation of the equipment data by interfaces such as data evidence storage, data query and the like. If combine to deploy different intelligent contracts, can customize and realize the block chain communication module for specific scene, like intelligent storage, supply chain finance, clothing networking etc..
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules or layers is illustrated, and in practical applications, the above function distribution may be performed by different functional modules or layers according to needs, that is, the internal structure of a specific device is divided into different functional modules or layers to perform all or part of the above described functions.
In addition, the connections shown or discussed above may be indirect couplings or communication connections via interfaces, structures or elements, and may be electrical, mechanical or other.
The units or layers described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated units or layers, if implemented as software functional units and sold or used as separate products, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (6)

1. A block chain communication module for realizing equipment data acquisition comprises a system layer, an interface layer and a network layer,
the system layer integrates the RTOS system and the block chain SDK and executes an intelligent contract;
the interface layer provides a uniform interface for the Internet of things equipment, and the Internet of things equipment interacts with the intelligent contract in the system layer through the interface layer;
and the network layer is used for establishing uniform data connection between the system layer and the block link points.
2. The block chain communication module according to claim 1, wherein the block chain comprises a federation chain, and the federation link points comprise a number of block chain nodes specified according to a service type.
3. The blockchain communication module according to claim 1 or 2, wherein the interface layer establishes a connection with an internet of things device through a serial communication protocol.
4. The blockchain communication module as claimed in claim 3, wherein the interface layer comprises: and the data evidence storage API is used for transmitting the service data of the equipment of the internet of things to the intelligent contract of the system layer.
5. The block chain communication module according to claim 4, wherein the interface layer further comprises: and the data query API is used for sending a service data query request to the system layer by the Internet of things equipment and returning the service data query request.
6. The blockchain communication module according to claim 1, 2, 4 or 5, wherein basic information of the network layer chain configuration is stored in the equipment of the internet of things, and the basic information includes a link point server ip and a private key of the equipment of the internet of things.
CN201911399980.6A 2019-12-30 2019-12-30 Block chain communication module for realizing equipment data acquisition Pending CN111489817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911399980.6A CN111489817A (en) 2019-12-30 2019-12-30 Block chain communication module for realizing equipment data acquisition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911399980.6A CN111489817A (en) 2019-12-30 2019-12-30 Block chain communication module for realizing equipment data acquisition

Publications (1)

Publication Number Publication Date
CN111489817A true CN111489817A (en) 2020-08-04

Family

ID=71798592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911399980.6A Pending CN111489817A (en) 2019-12-30 2019-12-30 Block chain communication module for realizing equipment data acquisition

Country Status (1)

Country Link
CN (1) CN111489817A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037881A (en) * 2020-09-02 2020-12-04 杭州甘道智能科技有限公司 Data sharing system and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597902A (en) * 2019-11-14 2019-12-20 明码(上海)生物科技有限公司 Block chain-based alliance type health data retrieval system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597902A (en) * 2019-11-14 2019-12-20 明码(上海)生物科技有限公司 Block chain-based alliance type health data retrieval system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037881A (en) * 2020-09-02 2020-12-04 杭州甘道智能科技有限公司 Data sharing system and method
CN112037881B (en) * 2020-09-02 2023-11-24 杭州甘道智能科技有限公司 Data sharing system and method

Similar Documents

Publication Publication Date Title
CN104168333B (en) The working method of PROXZONE service platforms
CN102385582B (en) Production test data processing method, server and system
CN108134764B (en) Distributed data sharing and exchanging method and system
CN107079060A (en) The system and method optimized for carrier-class NAT
CN104011701A (en) Content delivery network
CN109343829A (en) Frame is administered in a kind of service of declining of java language distribution
CN102880475A (en) Real-time event handling system and method based on cloud computing in computer software system
WO2020186807A1 (en) System and method for power data linking based on blockchain technology
CN110138876B (en) Task deployment method, device, equipment and platform
CN109889401B (en) Flow statistical method, device, computer equipment and storage medium
CN109040337A (en) A kind of information query method, Edge Server and information query system
CN101986614B (en) Logistics application-oriented universal industry service bus system and implement method thereof
WO2023040502A1 (en) User service registration
CN110933173A (en) Block chain technology-based networking method and device
CN110462600A (en) System, method and apparatus for networked media distribution
CN110908812A (en) Business data processing method and device, readable storage medium and computer equipment
CN111489817A (en) Block chain communication module for realizing equipment data acquisition
CN109947844B (en) Medical data management system based on medical block chain
CN103645959A (en) Telecom real-time system multi-process SMP (shared memory pool) interaction assembly and method
US10110670B2 (en) Allocation of service endpoints to servers
CN111339130A (en) Data query method, related equipment and readable storage medium
US11637737B2 (en) Network data management framework
CN113259462B (en) Block chain message distribution method and device
CN112910796A (en) Traffic management method, apparatus, device, storage medium, and program product
KR20210002266A (en) Smart factory cpps system utilizing centric opc-ua server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200804