CN108830768A - A kind of collection based on block chain and Internet of Things borrows exhibition tracking and system - Google Patents
A kind of collection based on block chain and Internet of Things borrows exhibition tracking and system Download PDFInfo
- Publication number
- CN108830768A CN108830768A CN201810609884.9A CN201810609884A CN108830768A CN 108830768 A CN108830768 A CN 108830768A CN 201810609884 A CN201810609884 A CN 201810609884A CN 108830768 A CN108830768 A CN 108830768A
- Authority
- CN
- China
- Prior art keywords
- handler
- collection
- account
- authorization
- exhibition
- 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.)
- Granted
Links
- 238000013475 authorization Methods 0.000 claims abstract description 102
- 230000007246 mechanism Effects 0.000 claims abstract description 63
- 230000006399 behavior Effects 0.000 claims abstract description 58
- 238000000034 method Methods 0.000 claims abstract description 34
- 230000008569 process Effects 0.000 claims abstract description 20
- 238000004891 communication Methods 0.000 claims description 17
- 230000001133 acceleration Effects 0.000 claims description 4
- 238000005286 illumination Methods 0.000 claims description 4
- 230000005855 radiation Effects 0.000 claims description 3
- 230000007613 environmental effect Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000008676 import Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000013480 data collection Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000032258 transport Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000153 supplemental effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3263—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Medical Informatics (AREA)
- Educational Administration (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a kind of collection based on block chain and Internet of Things and borrows exhibition tracking and system, the method includes:The Account Registration contract for borrowing exhibition each side's authority signature transaction to call block chain by being related to collection, respectively specific handler and tracking device establish account;It is sequentially called through mechanism of each side, handler and authorizes contract of amortizing, handler, tracking device are carried out authorizing to amortize to become credible account, act on behalf of corresponding mechanism execution part or whole behaviors;It submits signature to trade to block chain from each credible account during collection borrows exhibition and issues its act of authorization approved, so that block chained record collection borrows the act of authorization of mechanism of exhibition process each side.The present invention enables to entire collection to borrow the data recorded in exhibition tracking credible and is approved in many ways, thus to provide specific responsibility judgment foundation by means of collection damage caused during exhibition.
Description
Technical field
The present invention relates to block chain technical fields more particularly to a kind of collection based on block chain and Internet of Things to borrow exhibition tracking
Method and system.
Background technique
Exhibition is borrowed due to usually carrying out shop border collection between museum, is related to collection lending side, debtor, logistics by means of exhibition process
Company participates in many ways, has harsh limitation for the temperature and humidity of collection local environment, illumination, vibration in the process by means of exhibition and wants
It asks, each side bears collection protection duty in the different phase by means of exhibition.
Meanwhile traditional technology of Internet of things utilizes sensor and communication network, the object-object information that can be realized physical world is handed over
It changes and interacts;But above- mentioned information exchange is generally deficient of tight anti-fraud, anti-tamper design, data produced can not track
Its authorization source.
Summary of the invention
Collection provided by the invention based on block chain and Internet of Things borrows exhibition tracking and system, enough so that entire collection
It is credible by means of the data that record in exhibition tracking and approved in many ways, thus to be provided explicitly by means of collection damage caused by during exhibition
Responsibility judgment foundation.
In a first aspect, the present invention, which provides a kind of collection based on block chain and Internet of Things, borrows exhibition tracking, including:
The Account Registration contract for borrowing exhibition each side's authority signature transaction to call block chain by being related to collection, is respectively specifically handled
People and tracking device establish account;
It is sequentially called through mechanism of each side, handler and authorizes contract of amortizing, handler, tracking device are carried out authorizing to amortize making
It becomes credible account, acts on behalf of corresponding mechanism execution part or whole behaviors;
Credible account submits signature to trade and issues its act of authorization approved to block chain during collection borrows exhibition, with
Block chained record collection is set to borrow the act of authorization of mechanism of exhibition process each side.
Optionally, described sequentially to call authorization to amortize contract through mechanism of each side, handler, to handler, tracking device into
Row authorization, which is amortized, becomes credible account, acts on behalf of corresponding mechanism execution part or whole behaviors include:
It is sequentially called by mechanism of each side, handler and authorizes contract of amortizing, authorization is carried out to handler, tracking device respectively and is allowed
It crosses and becomes credible account;
Behavior is amortized after block chain node common recognition is effective in the authorization of mechanism of each side, handler, by mechanism of each side, warp
The authorization behavior of amortizing for doing people is packaged into block, and to the whole network node as it can be seen that so that corresponding credible account is acted on behalf of corresponding mechanism and held
The part or all of behavior of row.
Optionally, described sequentially called by mechanism of each side, handler authorizes contract of amortizing, and fills respectively to handler, tracking
It sets and carries out authorization and amortize becoming credible account and including:
It is called by lending side by signature transaction and authorizes contract of amortizing, all or part of behavior permission of lending side is amortized
Give the lending credible account of handler, wherein the lending side is collection ownership side;
It is called by debtor by signature transaction and authorizes contract of amortizing, all or part of behavior permission of debtor is amortized
Give the borrowing credible account of handler, wherein the debtor is the responsible party for borrowing and putting on display collection;
It is called by logistics side by signature transaction and authorizes contract of amortizing, all or part of behavior permission of logistics side is amortized
Give logistics handler credible account, wherein logistics side is to be responsible for collection being sent to debtor from lending side during collection borrows exhibition,
Or the responsible party of lending side is sent to from debtor;
Call authorization to amortize contract by signature transaction by tracking device manufacturer, by the whole of tracking device manufacturer or
Part behavior permission is amortized to tracking device.
Optionally, the account credible during collection borrows exhibition submits signature to trade and issues what it was approved to block chain
The act of authorization, so that block chained record collection includes by means of the act of authorization of mechanism of exhibition process each side:
Exhibition process is borrowed to be divided at least two links collection, in first link by the lending credible account of handler to hiding
Product and tracking device are bound;
Witness binding behavior is executed, by upper link handler by the credible account of next link handler between two links
Credible account executes witness binding and verifies, to realize the handover of each credible account of link handler;
In each link, tracking data is reported by tracking device authorization and is submitted the tracking data obtained by tracking device
To block chain;
Collection is released by the credible account of lending handler in the last one link and tracking device is bound.
Optionally, described the tracking data obtained by tracking device is committed to block chain to include:
Judge whether communication network interrupts;
If communication network does not interrupt, directly the tracking data obtained in real time is uploaded to through internet by tracking device
Block chain;
If communication network interrupts, the tracking data obtained in real time is stored into the memory module of tracking device.
Optionally, the tracking data includes in temperature, acceleration, geographical location, intensity of illumination, humidity and radiation intensity
A kind of or any combination;
Wherein, the tracking data is that real-time tracking record obtains during collection borrows exhibition by tracking device.
Second aspect, the present invention provide a kind of collection based on block chain and Internet of Things and borrow exhibition tracking system, including:
Account establishes module, for borrowing exhibition each side's authority signature transaction that the Account Registration of block chain is called to close by being related to collection
About, respectively specific handler and tracking device establish account;
Module of amortizing is authorized, authorizes contract of amortizing for sequentially calling through mechanism of each side, handler, to handler, tracking
Device carries out authorizing to amortize becoming credible account, acts on behalf of corresponding mechanism execution part or whole behaviors;
Account trading module submits signature to trade and issues it for account credible during collection borrows exhibition to block chain
The act of authorization of approval, so that block chained record collection borrows the act of authorization of mechanism of exhibition process each side.
Optionally, the authorization module of amortizing includes:
Authorization is amortized submodule, authorizes contract of amortizing for sequentially being called by mechanism of each side, handler, respectively to handling
People, tracking device carry out authorizing to amortize becoming credible account;
It is packaged into block submodule, for amortizing behavior by block chain node common recognition in the authorization of mechanism of each side, handler
After effectively, the authorization behavior of amortizing of mechanism of each side, handler are packaged into block, and to the whole network node as it can be seen that so that correspondence can
Believe that account acts on behalf of corresponding mechanism execution part or whole behaviors.
Optionally, the authorization submodule of amortizing includes:
First authorization unit authorizes contract of amortizing for being called by lending side by signature transaction, by the whole of lending side
Or part behavior permission amortizes and gives the lending credible account of handler, wherein the lending side is collection ownership side;
Second authorization unit authorizes contract of amortizing for being called by debtor by signature transaction, by the whole of debtor
Or part behavior permission amortizes and gives the borrowing credible account of handler, wherein the debtor is the responsibility for borrowing and putting on display collection
Main body;
Third authorization unit authorizes contract of amortizing for being called by logistics side by signature transaction, by the whole of logistics side
Or part behavior permission amortizes and gives logistics handler credible account, wherein logistics side is to be responsible for during collection borrows exhibition by collection
It is sent to debtor from lending side, or is sent to the responsible party of lending side from debtor;
4th authorization unit authorizes contract of amortizing for being called by tracking device manufacturer by signature transaction, will track
All or part of behavior permission of device manufacturer is amortized to tracking device.
Optionally, the account trading module includes:
First binding submodule, for borrowing exhibition process to be divided at least two links collection, in first link by borrowing
The credible account of handler binds collection and tracking device out;
Second binding submodule, for executing witness binding row by the credible account of next link handler between two links
For, witness binding executed by the credible account of upper link handler verify, to realize the friendship of each credible account of link handler
It connects;
Data report submodule, for being reported tracking data by tracking device authorization and will be filled by tracking in each link
The tracking data for setting acquisition is committed to block chain;
Submodule is unbinded, for being tied up in the last one link by the credible account releasing collection of lending handler and tracking device
It is fixed.
Collection provided in an embodiment of the present invention based on block chain and Internet of Things borrows exhibition tracking and system, the method
Block chain technology is mainly introduced into Internet of Things, by borrowing the mechanism of each side in exhibition to carry out tight authority checking to entire collection,
So that all data that block chain is recorded are all the act of authorization of the credible account of each handler, the credible account of each handler is contained
Family states the digital signature of the act of authorization, the entity (i.e. mechanism of each side) of real world by disclosing the digital certificate of oneself
Its account bound, so that the responsible party of the act of authorization is mapped to live entities.Such as to collection borrow exhibition each participant,
Internet of things device for tracking collection environmental parameter carries out strict authority checking, and behavior is mentioned by way of signature transaction
It is sent to block chain and is verified and recorded by block chain.The data generated to Internet of things device are known together in many ways, and are each ginseng
It is accepted and believed with side, as the foundation that collection protection duty during the exhibition of borrowing defines, so that entire collection borrows information in exhibition tracking
Tight anti-fraud, the anti-tamper design of exchange, and can accurately track collection and come by means of data grant produced during exhibition
Source improves collection and borrows the reliability of exhibition tracking, safety.
Detailed description of the invention
Fig. 1 is the flow chart that one embodiment of the invention borrows exhibition tracking based on the collection of block chain and Internet of Things;
Fig. 2 is that another embodiment of the present invention authorization is amortized flow chart;
Fig. 3 is the structural schematic diagram that one embodiment of the invention borrows exhibition tracking system based on the collection of block chain and Internet of Things;
Fig. 4 is the structural representation that another embodiment of the present invention borrows exhibition tracking system based on the collection of block chain and Internet of Things
Figure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of collection based on block chain and Internet of Things and borrows exhibition tracking, as shown in Figure 1, institute
The method of stating includes:
S11, the Account Registration contract for borrowing exhibition each side's authority signature transaction to call block chain by being related to collection, respectively specifically
Handler and tracking device establish account;
S12, it sequentially calls authorization to amortize contract through mechanism of each side, handler, authorization is carried out to handler, tracking device and is allowed
It crosses and becomes credible account, act on behalf of corresponding mechanism execution part or whole behaviors;
S13, credible account submits signature to trade and issues its authorization row approved to block chain during collection borrows exhibition
For so that block chained record collection borrows the act of authorization of mechanism of exhibition process each side.
Collection provided in an embodiment of the present invention based on block chain and Internet of Things borrows exhibition tracking mainly by block chain
Technology introduces Internet of Things, by borrowing the mechanism of each side in exhibition to carry out tight authority checking to entire collection, so that block chain is remembered
All data of record are all the act of authorization of the credible account of each handler, contain the credible account of each handler to the act of authorization
Digital signature, the entity (i.e. mechanism of each side) of real world state the account of its binding by disclosing the digital certificate of oneself,
To which the responsible party of the act of authorization is mapped to live entities.Such as each participant of exhibition is borrowed to collection, for tracking collection
The Internet of things device of environmental parameter carries out strict authority checking, and behavior is submitted to block chain simultaneously by way of signature transaction
It is verified and is recorded by block chain.The data generated to Internet of things device are known together in many ways, and are accepted and believed for each participant, as
By means of the foundation that collection protection duty defines during exhibition, so that entire collection borrows the tight of information exchange in exhibition tracking to prevent taking advantage of
It deceives, anti-tamper design, and can accurately track collection by means of data grant source produced during exhibition, improve collection and borrow exhibition
The reliability of tracking, safety.
Optionally, as shown in Fig. 2, described sequentially call authorization to amortize contract through mechanism of each side, handler, to handler,
Tracking device carries out authorizing to amortize becoming credible account, acts on behalf of corresponding mechanism execution part or whole behaviors include:
It is sequentially called by mechanism of each side, handler and authorizes contract of amortizing, authorization is carried out to handler, tracking device respectively and is allowed
It crosses and becomes credible account;
Behavior is amortized after block chain node common recognition is effective in the authorization of mechanism of each side, handler, by mechanism of each side, warp
The authorization behavior of amortizing for doing people is packaged into block, and to the whole network node as it can be seen that so that corresponding credible account is acted on behalf of corresponding mechanism and held
The part or all of behavior of row.
Optionally, described sequentially called by mechanism of each side, handler authorizes contract of amortizing, and fills respectively to handler, tracking
It sets and carries out authorization and amortize becoming credible account and including:
It is called by lending side by signature transaction and authorizes contract of amortizing, all or part of behavior permission of lending side is amortized
Give the lending credible account of handler, wherein the lending side is collection ownership side;
It is called by debtor by signature transaction and authorizes contract of amortizing, all or part of behavior permission of debtor is amortized
Give the borrowing credible account of handler, wherein the debtor is the responsible party for borrowing and putting on display collection;
It is called by logistics side by signature transaction and authorizes contract of amortizing, all or part of behavior permission of logistics side is amortized
Give logistics handler credible account, wherein logistics side is to be responsible for collection being sent to debtor from lending side during collection borrows exhibition,
Or the responsible party of lending side is sent to from debtor;
Call authorization to amortize contract by signature transaction by tracking device manufacturer, by the whole of tracking device manufacturer or
Part behavior permission is amortized to tracking device.
Optionally, the account credible during collection borrows exhibition submits signature to trade and issues what it was approved to block chain
The act of authorization, so that block chained record collection includes by means of the act of authorization of mechanism of exhibition process each side:
Exhibition process is borrowed to be divided at least two links collection, in first link by the lending credible account of handler to hiding
Product and tracking device are bound;
Optionally, it in collection outbound link, lends the credible account of handler and authorizes and execute binding collection and tracking device
Permission;
Witness binding behavior is executed, by upper link handler by the credible account of next link handler between two links
Credible account, which executes, verifies binding, to realize the handover of each credible account of link handler;
In each link, tracking data is reported by tracking device authorization and is submitted the tracking data obtained by tracking device
To block chain;
For example, lending vanning link in collection, account that logistics handler is credible authorizes the binding of execution witness, tracking device opens
Dynamic permission;
It transports in the first collection in way link, account that logistics handler is credible authorizes execution tracking device authorization and reports tracking
Data, tracking data are submitted to block chain permission;
Link of unpacking is arrived in the first collection, account that logistics handler is credible authorizes execution witness binding and verifies permission;It borrows
Enter the credible account of handler and authorizes execution verification binding permission;
Collection put on display link, borrowing the credible account of handler authorize execute tracking device authorization report tracking data, with
Track data are submitted to block chain permission;
Vanning link is returned in collection, the borrowing credible account of handler authorizes execution binding collection and tracking device permission;
Account that logistics handler is credible authorizes execution witness binding permission;
It transports in the second collection in way link, account that logistics handler is credible authorizes execution tracking device authorization and reports tracking
Data, tracking data are submitted to block chain permission;
Link of unpacking is arrived in the second collection, the lending credible account of handler authorizes execution and verifies binding permission;Logistics warp
It does the credible account of people and authorizes execution witness binding verification permission;
Collection is released by the credible account of lending handler in the last one link and tracking device is bound;
Optionally, it is put in storage link in collection, account that lending side handler is credible authorizes execution unbundlings collection and tracking device
Permission.
In addition, the tracking device passes through the management of software support key pair and certificate:Life including key pair and certificate
At, import and export;The tracking data of environment acquires:To the environmental parameter uninterrupted sampling of various kinds of sensors perception, environment is obtained
Supplemental characteristic;The tracking data of environment reports:It is signed, is pressed to real-time collected environmental data with the private key of apparatus bound
Block chain network is reported to by block chain api interface according to the signature transaction format of block chain service defined.
Optionally, described the tracking data obtained by tracking device is committed to block chain to include:
Judge whether communication network interrupts;
If communication network does not interrupt, directly the tracking data obtained in real time is uploaded to through internet by tracking device
Block chain;
If communication network interrupts, the tracking data obtained in real time is stored into the memory module of tracking device.
Specifically, the present embodiment the method is by the communication module (i.e. NB-IoT communication module) that is arranged in tracking device
To internet and data are uploaded by the network connection of mobile communication carrier;
Secondly, the memory module (micro-SD storage) being also set in tracking device, in the feelings that telecommunication network interrupts
Under condition, the storage to tracking device real-time data collection is provided, leads to shortage of data to avoid due to communication network interruption;Guarantee
Tracking device have a try tracking, the tracking data for recording and reporting collection local environment reliability.
Optionally, the tracking data includes in temperature, acceleration, geographical location, intensity of illumination, humidity and radiation intensity
A kind of or any combination;
Wherein, the tracking data is that real-time tracking record obtains during collection borrows exhibition by tracking device.
Specifically, mainly by the sensor that is set in tracking device, for example, Temperature Humidity Sensor, optical sensor,
Acceleration transducer obtains the real time environment parameter to collection protection concern;And the GPS module by being set in tracking device
Geographical location information is known in real time.
The embodiment of the present invention also provides a kind of collection based on block chain and Internet of Things and borrows exhibition tracking system, as shown in figure 3,
The system comprises:
Account establishes module 11, the Account Registration for borrowing exhibition each side's authority signature transaction to call block chain by being related to collection
Contract, respectively specific handler and tracking device establish account;
Authorization is amortized module 12, authorizes contract of amortizing for sequentially calling through mechanism of each side, handler, to handler, with
Track device carries out authorizing to amortize becoming credible account, acts on behalf of corresponding mechanism execution part or whole behaviors;
Account trading module 13 is submitted signature to trade and is issued for account credible during collection borrows exhibition to block chain
Its act of authorization approved, so that block chained record collection borrows the act of authorization of mechanism of exhibition process each side.
Collection provided in an embodiment of the present invention based on block chain and Internet of Things borrows exhibition tracking system mainly by block chain
Technology introduces Internet of Things, by borrowing the mechanism of each side in exhibition to carry out tight authority checking to entire collection, so that block chain is remembered
All data of record are all the act of authorization of the credible account of each handler, contain the credible account of each handler to the act of authorization
Digital signature, the entity (i.e. mechanism of each side) of real world state the account of its binding by disclosing the digital certificate of oneself,
To which the responsible party of the act of authorization is mapped to live entities.Such as each participant of exhibition is borrowed to collection, for tracking collection
The Internet of things device of environmental parameter carries out strict authority checking, and behavior is submitted to block chain simultaneously by way of signature transaction
It is verified and is recorded by block chain.The data generated to Internet of things device are known together in many ways, and are accepted and believed for each participant, as
By means of the foundation that collection protection duty defines during exhibition, so that entire collection borrows the tight of information exchange in exhibition tracking to prevent taking advantage of
It deceives, anti-tamper design, and can accurately track collection by means of data grant source produced during exhibition, improve collection and borrow exhibition
The reliability of tracking system, safety.
Optionally, the authorization module of amortizing includes:
Authorization is amortized submodule, authorizes contract of amortizing for sequentially being called by mechanism of each side, handler, respectively to handling
People, tracking device carry out authorizing to amortize becoming credible account;
It is packaged into block submodule, for amortizing behavior by block chain node common recognition in the authorization of mechanism of each side, handler
After effectively, the authorization behavior of amortizing of mechanism of each side, handler are packaged into block, and to the whole network node as it can be seen that so that correspondence can
Believe that account acts on behalf of corresponding mechanism execution part or whole behaviors.
Optionally, the authorization submodule of amortizing includes:
First authorization unit authorizes contract of amortizing for being called by lending side by signature transaction, by the whole of lending side
Or part behavior permission amortizes and gives the lending credible account of handler, wherein the lending side is collection ownership side;
Second authorization unit authorizes contract of amortizing for being called by debtor by signature transaction, by the whole of debtor
Or part behavior permission amortizes and gives the borrowing credible account of handler, wherein the debtor is the responsibility for borrowing and putting on display collection
Main body;
Third authorization unit authorizes contract of amortizing for being called by logistics side by signature transaction, by the whole of logistics side
Or part behavior permission amortizes and gives logistics handler credible account, wherein logistics side is to be responsible for during collection borrows exhibition by collection
It is sent to debtor from lending side, or is sent to the responsible party of lending side from debtor;
4th authorization unit authorizes contract of amortizing for being called by tracking device manufacturer by signature transaction, will track
All or part of behavior permission of device manufacturer is amortized to tracking device.
Optionally, the account trading module includes:
First binding submodule, for borrowing exhibition process to be divided at least two links collection, in first link by borrowing
The credible account of handler binds collection and tracking device out;
Second binding submodule, for executing witness binding row by the credible account of next link handler between two links
For, witness binding executed by the credible account of upper link handler verify, to realize the friendship of each credible account of link handler
It connects;
Data report submodule, for being reported tracking data by tracking device authorization and will be filled by tracking in each link
The tracking data for setting acquisition is committed to block chain;
Submodule is unbinded, for being tied up in the last one link by the credible account releasing collection of lending handler and tracking device
It is fixed.
In conclusion as shown in figure 4, system described in the present embodiment is mainly by block chain network, tracking device and application
Program composition, block chain network;Wherein, block chain network carries out networking using the Gossip agreement of equity by block chain node,
Each node includes consisting of:
Accumulation layer:Data are provided to store and be responsible for the data for reporting account data, authorization data and tracking device progress
Storage;Communication layers:P2P message exchange between responsible node, message must can recognize the message of source identity with ensure can
The networking of trust;Contract layer includes Account Registration contract, amortize contract, tracking data is authorized to report contract;Common recognition layer:It is responsible for testing
Whether signed certificate name transaction request can recognize source identity, if meet with associated authorization permission;Application service interface (API)
Layer:To the interface that external system provides, including the interface to application system and the interface provided tracking device.Wherein, it applies
Service interface includes:Data synchronization interface, Account Registration and authorization are amortized interface;The interface of tracking device is for tracking data
It reports.
Tracking device is during the exhibition of borrowing always with collection, and real-time tracking records and report collection local environment
Internet of things equipment.Wherein, the hardware composition of tracking device mainly includes:Sensor:Temperature Humidity Sensor, adds optical sensor
Velocity sensor obtains the real time environment parameter to collection protection concern;GPS module:It is responsible for knowing geographical location information in real time;
Communication module:NB-IoT communication module to internet and can upload data by the network connection of mobile communication carrier;It deposits
Store up module:Micro-SD storage, telecommunication network interrupt in the case where, the storage to real-time data collection is provided, to avoid by
Lead to shortage of data in communication network interruption;CPU:Using the stm32 series of STMicw Electronics's ARM framework, Low-voltage Low-power
CPU.PCB:(Printed Circuit Board), Chinese is printed circuit board, also known as printed wiring board, is important
Electronic component, be the supporter of electronic component, be electronic component electrical connection carrier.Meanwhile tracking device is soft
Part is responsible for the management of key pair and certificate:Generation including key pair and certificate imports and exports;Environmental data collecting:To all kinds of
The environmental parameter uninterrupted sampling of sensor perception, obtains ambient parameter data;Tracking data reports:With the private key of apparatus bound
Tracking data is corresponded to real-time collected environment to sign, and according to the signature transaction format of block chain service defined, is led to
Block chain api interface is crossed, block chain network is reported to.
Application service is responsible for providing human-computer interaction interface (UI), including:User account management:Life including user key pair
At with import and export, the generation of certificate and import and export, user account registration;User's authorisation and authentication:It is provided to end user
Interface carries out authorization and amortizes, and Client-initiated authorization is amortized request, according to the signature transaction lattice of block chain service defined
Formula is reported to block chain network by block chain api interface.Other users can inquire the user by block chain api interface
Authorization amortize behavior, to carry out authority checking.Handler user amortizes by organization user's authorization and obtains credible account, from
And it is allowed to carry out collection and tracking equipment binding or unbinding authorization.Device authorization and verifying:It is produced to tracking device
Quotient provides man-machine interface, authorizes to the tracking device that it is produced.Device obtains credible account by authorization, to allow it
It carries out data to report, and can identify the main body reported.Browsing data and retrieval:Local clothes are synchronized to using by block chain data
Business provides browsing data and retrieval service to end user based on these data.
The system of the present embodiment can be used for executing the technical solution of above method embodiment, realization principle and technology
Effect is similar, and details are not described herein again.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of collection based on block chain and Internet of Things borrows exhibition tracking, which is characterized in that including:
By be related to collection borrow exhibition each side's authority signature transaction call block chain Account Registration contract, respectively specific handler and
Tracking device establishes account;
Sequentially call authorization to amortize contract through mechanism of each side, handler, to handler, tracking device carry out authorization amortize make its at
For credible account, corresponding mechanism execution part or whole behaviors are acted on behalf of;
Credible account submits signature to trade and issues its act of authorization approved to block chain during collection borrows exhibition, so that area
Block chained record collection borrows the act of authorization of mechanism of exhibition process each side.
2. the method according to claim 1, wherein described sequentially call authorization to allow through mechanism of each side, handler
Contract is crossed, handler, tracking device are carried out authorizing to amortize to become credible account, act on behalf of corresponding mechanism execution part or complete
Portion's behavior includes:
It is sequentially called by mechanism of each side, handler and authorizes contract of amortizing, respectively handler, tracking device are carried out authorizing to amortize making
It becomes credible account;
Behavior is amortized after block chain node common recognition is effective in the authorization of mechanism of each side, handler, by mechanism of each side, handler
The authorization behavior of amortizing be packaged into block, and to the whole network node as it can be seen that so that corresponding credible account acts on behalf of corresponding mechanism enforcement division
Point or whole behavior.
3. according to the method described in claim 2, it is characterized in that, described sequentially call authorization to allow by mechanism of each side, handler
Contract is crossed, carries out authorization to handler, tracking device respectively and amortize becoming credible account and including:
It calls authorization to amortize contract by signature transaction by lending side, all or part of behavior permission of lending side is amortized to borrowing
The credible account of handler out, wherein the lending side is collection ownership side;
It calls authorization to amortize contract by signature transaction by debtor, all or part of behavior permission of debtor is amortized to borrowing
Enter the credible account of handler, wherein the debtor is the responsible party for borrowing and putting on display collection;
It is called by logistics side by signature transaction and authorizes contract of amortizing, all or part of behavior permission of logistics side is amortized to object
Flow the credible account of handler, wherein logistics side is responsible for collection being sent to debtor from lending side during borrowing exhibition for collection, or
The responsible party of lending side is sent to from debtor;
It is called by tracking device manufacturer by signature transaction and authorizes contract of amortizing, by all or part of tracking device manufacturer
Behavior permission is amortized to tracking device.
4. method according to claim 1 or 3, which is characterized in that credible account during collection borrows exhibition is to area
Block chain submits signature to trade and issues the act of authorization of its approval, so that block chained record collection borrows awarding for exhibition process mechanism of each side
Power behavior includes:
Borrow exhibition process to be divided at least two links collection, in first link by the lending credible account of handler to collection and
Tracking device is bound;
Witness binding behavior, credible by upper link handler is executed by the credible account of next link handler between two links
Account executes witness binding and verifies, to realize the handover of each credible account of link handler;
In each link, tracking data is reported by tracking device authorization and the tracking data obtained by tracking device is committed to area
Block chain;
Collection is released by the credible account of lending handler in the last one link and tracking device is bound.
5. according to the method described in claim 4, it is characterized in that, described be committed to the tracking data obtained by tracking device
Block chain includes:
Judge whether communication network interrupts;
If communication network does not interrupt, the tracking data obtained in real time is directly uploaded to through internet by block by tracking device
Chain;
If communication network interrupts, the tracking data obtained in real time is stored into the memory module of tracking device.
6. according to the method described in claim 4, it is characterized in that, the tracking data includes temperature, acceleration, geographical position
It sets, a kind of or any combination in intensity of illumination, humidity and radiation intensity;
Wherein, the tracking data is that real-time tracking record obtains during collection borrows exhibition by tracking device.
7. a kind of collection based on block chain and Internet of Things borrows exhibition tracking system, which is characterized in that including:
Account establishes module, the Account Registration contract for borrowing exhibition each side's authority signature transaction to call block chain by being related to collection,
Respectively specific handler and tracking device establish account;
Module of amortizing is authorized, contract of amortizing is authorized for sequentially calling through mechanism of each side, handler, to handler, tracking device
It carries out authorizing to amortize becoming credible account, acts on behalf of corresponding mechanism execution part or whole behaviors;
Account trading module submits signature to trade and issues its approval for account credible during collection borrows exhibition to block chain
The act of authorization so that block chained record collection borrow mechanism of exhibition process each side the act of authorization.
8. system according to claim 7, which is characterized in that the authorization module of amortizing includes:
Authorization is amortized submodule, authorizes contract of amortizing for sequentially being called by mechanism of each side, handler, respectively to handler, with
Track device carries out authorizing to amortize becoming credible account;
It is packaged into block submodule, for effective by block chain node common recognition in the authorization of mechanism of each side, handler behavior of amortizing
Afterwards, the authorization behavior of amortizing of mechanism of each side, handler are packaged into block, and to the whole network node as it can be seen that so that corresponding credible account
Act on behalf of corresponding mechanism execution part or whole behaviors in family.
9. system according to claim 8, which is characterized in that the authorization submodule of amortizing includes:
First authorization unit authorizes contract of amortizing for being called by lending side by signature transaction, by the whole of lending side or portion
Branch amortizes for permission and gives the lending credible account of handler, wherein the lending side is collection ownership side;
Second authorization unit authorizes contract of amortizing for being called by debtor by signature transaction, by the whole of debtor or portion
Branch amortizes for permission and gives the borrowing credible account of handler, wherein the debtor is the responsible party for borrowing and putting on display collection;
Third authorization unit authorizes contract of amortizing for being called by logistics side by signature transaction, by the whole of logistics side or portion
Branch is that permission amortizes and gives logistics handler credible account, wherein logistics side is that collection is borrowed and is responsible for collection during exhibition from borrowing
Side is sent to debtor out, or the responsible party of lending side is sent to from debtor;
4th authorization unit authorizes contract of amortizing for being called by tracking device manufacturer by signature transaction, by tracking device
All or part of behavior permission of manufacturer is amortized to tracking device.
10. according to any system of claim 7-9, which is characterized in that the account trading module includes:
First binding submodule is passed through in first link by lending for borrowing exhibition process to be divided at least two links collection
The credible account of people is done to bind collection and tracking device;
Second binding submodule, between two links by the credible account of next link handler execute witness binding behavior,
It executes witness binding by the credible account of upper link handler to verify, to realize the handover of each credible account of link handler;
Data report submodule, for being reported tracking data by tracking device authorization and will be obtained by tracking device in each link
The tracking data taken is committed to block chain;
Submodule is unbinded, for releasing collection and tracking device binding by the credible account of lending handler in the last one link.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810609884.9A CN108830768B (en) | 2018-06-13 | 2018-06-13 | Tibetan borrowing and exhibition tracking method and system based on block chain and Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810609884.9A CN108830768B (en) | 2018-06-13 | 2018-06-13 | Tibetan borrowing and exhibition tracking method and system based on block chain and Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108830768A true CN108830768A (en) | 2018-11-16 |
CN108830768B CN108830768B (en) | 2020-01-24 |
Family
ID=64141517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810609884.9A Active CN108830768B (en) | 2018-06-13 | 2018-06-13 | Tibetan borrowing and exhibition tracking method and system based on block chain and Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108830768B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113516557A (en) * | 2021-07-14 | 2021-10-19 | 桂林电子科技大学 | Block chain with directed acyclic graph structure and implementation method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107944892A (en) * | 2017-12-28 | 2018-04-20 | 上海唯链信息科技有限公司 | A kind of milk supply traceability system based on block chain technology |
CN108122118A (en) * | 2017-12-29 | 2018-06-05 | 中国印钞造币总公司 | Dynamic password providing method and device, article anti-counterfeit methods, devices and systems |
EP3435310A1 (en) * | 2017-07-26 | 2019-01-30 | Financial Transactions Control Systems Sweden AB (publ) | System and method of a decentralized payment network |
-
2018
- 2018-06-13 CN CN201810609884.9A patent/CN108830768B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3435310A1 (en) * | 2017-07-26 | 2019-01-30 | Financial Transactions Control Systems Sweden AB (publ) | System and method of a decentralized payment network |
CN107944892A (en) * | 2017-12-28 | 2018-04-20 | 上海唯链信息科技有限公司 | A kind of milk supply traceability system based on block chain technology |
CN108122118A (en) * | 2017-12-29 | 2018-06-05 | 中国印钞造币总公司 | Dynamic password providing method and device, article anti-counterfeit methods, devices and systems |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113516557A (en) * | 2021-07-14 | 2021-10-19 | 桂林电子科技大学 | Block chain with directed acyclic graph structure and implementation method thereof |
CN113516557B (en) * | 2021-07-14 | 2022-09-23 | 桂林电子科技大学 | Block chain with directed acyclic graph structure and implementation method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN108830768B (en) | 2020-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109690599B (en) | Resource transaction method, node, device and storage medium | |
CN108418795B (en) | Data access method, device, system and the computer-readable medium of transregional piece of chain | |
Chen et al. | Blockchain for Internet of things applications: A review and open issues | |
CN111080275B (en) | Cross-region resource transfer method, device, equipment and storage medium | |
CN109189962A (en) | A kind of license service realization system based on block chain | |
CN106022873B (en) | Self-service ordering system based on augmented reality | |
CN109067541A (en) | Data verification method and device, electronic equipment based on block chain | |
CN110602089A (en) | Block chain-based medical data storage method, device, equipment and storage medium | |
CN111062807A (en) | Internet of things data service credit assessment method based on block chain | |
Liu et al. | Capability-based IoT access control using blockchain | |
CN109040316A (en) | HTTP service treating method and apparatus | |
CN109565505A (en) | Tenant's Self-Service troubleshooting for multi-tenant identity and data safety management cloud service | |
CN109447811A (en) | Method, accounting nodes and the medium of Transaction Information are inquired in block chain network | |
CN109691016A (en) | Distributing real time system and Verification System | |
CN109064334A (en) | A kind of intelligence contract bookkeeping methods, computer installation and readable storage medium storing program for executing | |
CN106550033A (en) | Based on the system and method that cloud computing system realizes simulation the whole network ability open platform | |
CN109670968A (en) | Processing method, device, equipment and the computer storage medium of insurance data | |
CN109101787A (en) | A kind of method and device carrying out credit appraisal to copyright user based on block chain | |
CN110084698A (en) | Interactive system, exchange method and device based on block chain | |
CN110247758A (en) | The method, apparatus and code management device of Password Management | |
CN109828924A (en) | Test method, device and calculating equipment and medium | |
CN111355732A (en) | Link detection method and device, electronic equipment and storage medium | |
CN107483461A (en) | Terminal admittance control method and device under a kind of NAT environment | |
CN110071809A (en) | Virtual and true identity and its associate management system and method, device and medium | |
CN110069911A (en) | Access control method, device, system, electronic equipment and readable storage medium storing program for executing |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |