CN109087413A - Intelligent processing method, smart lock, system, equipment and medium based on block chain - Google Patents

Intelligent processing method, smart lock, system, equipment and medium based on block chain Download PDF

Info

Publication number
CN109087413A
CN109087413A CN201810593421.8A CN201810593421A CN109087413A CN 109087413 A CN109087413 A CN 109087413A CN 201810593421 A CN201810593421 A CN 201810593421A CN 109087413 A CN109087413 A CN 109087413A
Authority
CN
China
Prior art keywords
article
block chain
user
characterization value
stored
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
CN201810593421.8A
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.)
Beijing Traceability Chain Technology Co Ltd
Original Assignee
Beijing Traceability Chain 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 Beijing Traceability Chain Technology Co Ltd filed Critical Beijing Traceability Chain Technology Co Ltd
Priority to CN201810593421.8A priority Critical patent/CN109087413A/en
Publication of CN109087413A publication Critical patent/CN109087413A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • G07C2009/00412Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal being encrypted

Abstract

The embodiment of the invention discloses a kind of intelligent processing method based on block chain, smart lock, system, equipment and media.This method comprises: obtaining the article code and pre-stored fidelity verifying code key of article;Code key is verified according to article code and pre-stored fidelity, determines article characterization value;By being pre-stored current state information checking article characterization value on block chain, according to verification result, corresponding operation is executed, wherein pre-stored current state information includes: article code, article characterization value, article current state, the title of active user, the property rights value of active user.The scheme provided according to embodiments of the present invention, since the fidelity verifying code key in smart lock is when article builds account locking, so that appropriator is unable to get the verifying code key of the fidelity built in smart lock, therefore durings inquiring and authenticating, transfer unlocking etc., the article characterization value of calculating will be unable to match with the article characterization value on chain, improve the safety of article.

Description

Intelligent processing method, smart lock, system, equipment and medium based on block chain
Technical field
The present invention relates to block chain field more particularly to a kind of intelligent processing method based on block chain, smart lock, it is System, equipment and medium.
Background technique
Since there is valuables very strong value preserving appreciation space, such as famous brand of wine, calligraphy and painting, craftwork, showpiece etc. to develop ratio Relatively rapidly, it is often necessary to which these valuables are shifted.
But transfer method includes: to transfer face-to-face, be placed on transfer in safety box, increase smart lock etc. at present, these turns Shifting method not can be well solved the problem of original authenticity.And it transfers and usually requires that third party connoisseur is asked to come when signing for Carry out verification, it is also difficult to prevent dispute problem caused by genuine piece is exchanged by malice.
Currently, transport transfer is a kind of main mode after article verification locks, existing intelligence lock technology is in certain journey It is also ensured that the talent for only grasping key can unlock on degree, but it cannot be guaranteed that the non-property rights owner equally possesses key, It unlocks and exchanges article, can not determine article genuine-fake so as to cause the recipient of article.In addition, intelligent lock tubes most of at present Reason system, to the property rights state of article, is easy under attack or malice and distorts, article is transferred by centralized system management user Both sides are difficult to find that the third party trusted jointly.Therefore, very big problem is still had to the authenticity verification of valuables at present.
Summary of the invention
The embodiment of the present invention provides intelligent processing method, smart lock, system, equipment and medium based on block chain, can be with Improve the safety of article.
Current aspect according to an embodiment of the present invention provides a kind of intelligent processing method based on block chain, the intelligence Processing method includes:
The article code and pre-stored fidelity for obtaining article verify code key;
Code key is verified according to the article code and the pre-stored fidelity, determines article characterization value;
The article characterization value is verified by being pre-stored current state information on block chain, according to verification result, executes phase The operation answered, wherein the pre-stored current state information include: article code, article characterization value, article current state, when The title of preceding user, the property rights value of active user, for article described in links and accesses creation information block chain index address Code key is verified with the pre-stored fidelity.
According to a second aspect of the embodiments of the present invention, a kind of smart lock is provided, the smart lock includes:
Communication module, control module and memory module;
The memory module, for being pre-stored fidelity verifying code key;
The communication module, for receiving the article code of article;
The control module is determined for verifying code key according to the article code and the pre-stored fidelity of the article Article characterization value;
It is also used to verify the article characterization value by being pre-stored current state information on block chain, according to the block chain Feedback be verified information control lock open, wherein the pre-stored current state information include: the article code, The article characterization value, the title of active user, the property rights value of active user, is used for described in links and accesses article current state The block chain index address of the creation information of article and the pre-stored fidelity verify code key.
According to a third aspect of the embodiments of the present invention, a kind of intelligent processing system based on block chain, the intelligence are provided Processing system includes: that smart lock, electron key application module, the article as described in second aspect sell management module and block Chain;
The electron key application module determines described current for the account according to article characterization value and active user The property rights value of user;
The article sells management module, is pre-stored current shape for generating pre-stored current state information, and by described State information is sent to the block chain;
The block chain, for storing the pre-stored current state information.
According to a fourth aspect of the embodiments of the present invention, a kind of terminal device is provided, comprising:
Memory, processor, communication interface and bus;
The memory, the processor are connected by the bus with the communication interface and complete mutual lead to Letter;
The memory is for storing program code;
The processor is run by reading the executable program code stored in the memory can be performed with described The corresponding program of program code, for executing intelligent processing method as described in relation to the first aspect.
According to a fifth aspect of the embodiments of the present invention, a kind of computer storage medium, including instruction are provided, described instruction is worked as When running on computers, make the intelligent processing method of the computer execution as described in relation to the first aspect.
Intelligent processing method, smart lock, system, equipment and medium according to embodiments of the present invention, due to using block chain, It can not be distorted by the inherent characteristic guarantee of block chain, improve the safety of Item Information.In addition, due to built-in in smart lock Fidelity verifying code key be article build account locking when, be randomly generated and be written smart lock, and article characterization value is compiled by article Code and fidelity verifying code key calculate jointly and generate and be stored on block chain.Make to be unable to get smart lock due to appropriator in this way Built-in fidelity verifies code key, therefore durings inquiring and authenticating, transfer unlocking etc., the article characterization value of calculating will be unable to and chain On article characterization value matching, thus find article fake, improve the safety of article.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, for those of ordinary skill in the art, without creative efforts, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is the configuration diagram for showing intelligent processing system of the embodiment of the present invention;
Fig. 2 is the flow chart for showing intelligent processing method of the embodiment of the present invention;
Fig. 3 is the flow chart for showing the transfer of article of the embodiment of the present invention;
Fig. 4 is the flow chart for showing the embodiment of the present invention and signing for process;
Fig. 5 is to show the flow chart that unlocking is matched in the embodiment of the present invention;
Fig. 6 is the structural schematic diagram for showing smart lock of the embodiment of the present invention;
Fig. 7 be show can be realized intelligent processing method according to embodiments of the present invention, smart lock, system calculating equipment The structure chart of exemplary hardware architecture.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below, in order to make mesh of the invention , technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the present invention is further retouched in detail It states.It should be understood that specific embodiment described herein is only configured to explain the present invention, it is not configured as limiting the present invention. To those skilled in the art, the present invention can be real in the case where not needing some details in these details It applies.Below the description of embodiment is used for the purpose of better understanding the present invention to provide by showing example of the invention.
It should be noted that, in this document, such as current and second or the like relational terms are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
Fig. 1 is the configuration diagram for showing intelligent processing system of the embodiment of the present invention.
As shown in Figure 1, the intelligent processing system 100 includes: that smart lock 110, article of the lock on article sell management mould Block 120, electron key application module 130 and block chain 140.
In this system 100, smart lock 110 is bound by lock and article, and 110 paste outsides of smart lock/printing can not The two dimensional code containing Item Number of duplication.Smart lock 110 interacts letter with electron key application module 130 using secure communication mode Breath, such as: article characterization value is transmitted to electron key application module 130, so that electron key application module 130 calculates user's Property rights value etc..
Article sells management module 120, generates Item Number G_ID, and fidelity verifies code key key_G, article active user Pm Information, the current informations such as creation information (including founder, creation time, related verification information) of article, current information is sent out Block chain 140 is given, so that block chain 140 generates and stores current state information.
Wherein current state information includes: article code, article current state, the title of active user, active user Property rights value, the block chain index for prestoring storing articles characterization value, fidelity verifying code key and the creation information for links and accesses article Address.
It is understood that article, which sells management module 120, to be used for article active user, sold for the first time for article When, fidelity is generated for article and verifies code key and the property rights value of active user etc., and fidelity is verified to the object of code key and active user Weight etc. is stored in block chain 140.
The generating process of current state information is as follows:
1, article active user Pm sells management module 120 using the account Pm_ID listing of oneself.
2, Item Number G_ID is created for article G and fidelity verifies code key key_G;Item Number G_ID is generated into anti-copying Two dimensional code is pasted/is imprinted on smart lock 110, and fidelity verifying code key key_G is stored in smart lock 110, smart lock 110 is added in article On, lock article.
3, Pm sells " locking " operation that article G is confirmed in management module 120 in article, which sells management module 120 automatically generate current information, and current information is transmitted in block chain 140.The current information includes: Item Number G_ID, protects True verifying code key key_G, article active user's Pm information, the creation information of article (including test by founder, creation time, correlation True information) etc..
4, the current information that block chain 140 can also sell the generation of management module 120 according to article accordingly automatically generates one Current state information of the item about the article, and the initial state information is saved in the block chain 140.The current state information It include: Item Number G_ID, article characterization value TokenG=Fun (G_ID+key_G), the name of active user Pm, active user The property rights value Token_Pm=Fun (TokenG+Pm_ID) of Pm, fidelity verify code key key_G, the wound for links and accesses article Build the block chain index address of information, current state is " locking ", Fun refer to one unidirectionally can not inverse function.
Electron key application module 130, according to the property rights value of the article indicative value determination user sent by smart lock 110.
Specifically, it is link intelligence that electron key application module 130, which can be distributed electronic key application Dapp, the Dapp, The bridge of 110 and block chain 140 can be locked.The electron key application module 130 includes to scan the two-dimensional code device, is used for items scanning On article two dimensional code, obtain article code, article code is sent to smart lock 110.
Pass through above-mentioned intelligent processing system 100, it is ensured that Item Information it is accurate, avoid Item Information from being modified, To improve the safety of article.
In order to better understand the present invention, it below in conjunction with attached drawing, is described in detail at intelligence according to an embodiment of the present invention Reason method, it should be noted that these embodiments are not for limiting the scope of the present disclosure.
Fig. 2 is the flow chart for showing intelligent processing method of the embodiment of the present invention.As shown in Fig. 2, the intelligence in the present embodiment Processing method 200 the following steps are included:
Step S210 obtains the article code and pre-stored fidelity verifying code key of article.
In this step, user C logs in electron key application module 130 using the account C_ID of oneself, opens smart lock 110 power switches scan article two dimensional code, obtain article code G_ID ', while electron key application module 130 is automatically and intelligence 110 communications can be locked.
Step S220 verifies code key according to article code and pre-stored fidelity, determines article characterization value.
In this step, smart lock 110 calculates article characterization value TokenG '=Fun (G_ID '+key_G ') of article, and The article characterization value TokenG ' of calculating is sent to electron key application module 130.
Step S230 is held by being pre-stored current state information checking article characterization value on block chain according to verification result Row corresponding operation, wherein pre-stored current state information is exactly the current state information saved after above-mentioned verification.
In this step, Item Number G_ID ' and TokenG ' are sent to block chain by electron key application module 130 140, block chain 140 inquires article current state information according to Item Number G_ID ', and verifies.
If the TokenG saved on TokenG ' and chain is identical, shows that article G ' is genuine piece G, then return to the article End-state information.The end-state information of the article includes the creation of ultimate possessor's name, article end-state and article Information;Otherwise, notice electron key application module 130 " article is not genuine piece " is returned.
The article characterization value TokenG saved on chain can also be stored in electron key application module 130 by user C, i.e., So that article at one's side, the state of article G can also not be inquired by the TokenG saved in electron key application module 130.
Above-mentioned method through the invention can not be usurped using block chain 140 by the inherent characteristic guarantee of block chain 140 Change, improves the safety of Item Information.In addition, since fidelity verifying code key key_G built-in in smart lock 110 is in article When building account locking, it is randomly generated and is written smart lock 110, article characterization value TokenG verifies code key by article ID and fidelity Key_G is calculated jointly to be generated and is stored on block chain.Make to be unable to get due to appropriator in smart lock 110 so built-in Key_G, therefore durings inquiring and authenticating, transfer unlocking etc., the Token_G ' that electron key application module 130 calculates will be unable to It is matched with the Token_G on chain, to find that article is faked, improves the safety of article.
Fig. 3 is the flow chart for showing the transfer of article of the embodiment of the present invention.
In one embodiment, as shown in figure 3, following steps can also be performed after step S230:
Step S240 determines the property rights value of second user according to article characterization value and second user account.
Step S250 works as on block chain according to the property rights value and article that are pre-stored current state information verifying second user Preceding state.
Step S260, when second user property rights value and active user property rights value it is identical, and article current state be lock Determine state, then block chain generates the second status information of article, the second status information is replaced into pre-stored current state information, and Feedback transfers successful information.
It is understood that mainly carrying out the transfer of article G in the embodiment, it is assumed that the property rights person of current item G is User C, user C intend to transfer article G to user B, need to transfer in operation property rights on the net, are by article delivery under isochrone The specific hand-over of user B is as follows:
Step 1, user C logs in electron key application module 130 using the account C_ID of oneself, opens 110 electricity of smart lock Source switch scans article two dimensional code, obtains article code G_ID, at the same electron key application module 130 automatically with smart lock 110 Communication, smart lock 110 calculate the article characterization value TokenG=Fun (G_ID+key_G) of article G, and send article characterization value TokenG electron key application module 130.
Step 2, electron key application module 130 calculates user C to the property rights value TokenC=Fun (TokenG+ of article G C_ID)。
Step 3, user B_ID is inputted in electron key application module 130.
Step 4, electron key application module 130 is by article code G_ID, article characterization value TokenG, property rights value TokenC, handover user B_ID send in block chain 140 and are verified.
Step 5, if the TokenC being calculated is equal to the property rights value tokenC of article G_ID on chain, and article current state For " locking " state, then block chain 140 automatically generates second status information about the article, and by the second status information Replacement prestores current state information, so that the second status information becomes final current state information.The second status information packet Include: Item Number G_ID, article characterization value tokenG, user's C name, property rights value TokenC transfer recipient B_ID, current shape State is " transfer ".Notice electron key application module 130 is transferred successfully, and article is consigned to user by line under type by user C B.Otherwise notice electron key application module 130 transfers failure.
In this embodiment it is possible to the current property rights person for avoiding the occurrence of article is user C, and after article G is stolen by user D The phenomenon that takeing forcible possession of or resell to user B.If user D wants to take forcible possession of article, because not transferred by normal, on chain Recipient's information is not transferred, user D can not take forcible possession of article by signing for process.If user D, which wants to resell, gives user B, It is inconsistent with the property rights value TokenC that is saved on chain because user D can only obtain the TokenD of oneself in handoff procedure, it can not It transfers.So preventing user D's to steal and sell activity, the safety of user is improved.
Fig. 4 is the flow chart for showing the embodiment of the present invention and signing for process.
In one embodiment, as shown in figure 4, after executing the step S260, it can also be performed what following confirmation was signed for Step:
Step S270 determines the property rights value of user B according to article characterization value and third user's B account.
Step S280, checking article characterization value, user B account and article current state on block chain.
Step S290, when article characterization value is identical with storing articles characterization value is prestored, user B account and handover user account phase Together, when and article current state is " transfer " state, then user B reception is signed for, while block chain generates the third state of article Third state information is replaced the second status information by information.
In this embodiment, it after user B has received the article G ' of user C delivery, can first carry out in above-described embodiment The operation of Item Information inquiry and verification, confirms object authenticity, then carries out signing for operating.Sign for that detailed process is as follows:
A10, user B log in electron key application module 130 using the account B_ID of oneself, open 110 power supply of smart lock Switch scans article two dimensional code, obtains article code G_ID ', at the same electron key application module 130 automatically with smart lock 110 Communication sends G_ID ' to smart lock 110.
A20, smart lock 110 calculate article characterization value TokenG '=Fun (G_ID '+key_G '), and by calculating TokenG ' is sent to electron key application module 130.Electron key application module 130 calculates user B to the property rights value of article G ' TokenB=Fun (TokenG '+B_ID).
A30, electron key application module 130 by Item Number G_ID ', the name of article TokenG ', user B, B_ID and TokenB is sent to block chain 140, and block chain 140 is verified according to Item Number G_ID '.
A40, if the TokenG ' of article is equal to TokenG (showing that article G ' is genuine piece G), the user B_ID stored on chain It is equal to chain equal to the transfer side B_ID (showing that B is correct transfer recipient) and the property rights value TokenB of user B stored on chain The TokenB=Fun (TokenG '+B_ID) (showing that user B has taken article G really) of the upper calculating and article current state is " transfer " state, then can sign for.Block chain 140 automatically generates the third state information about the article simultaneously, by the Three condition information replaces the second status information, so that third state information becomes final current state information.Third state letter Breath includes: Item Number G_ID, article characterization value token, the block chain index of the creation information for links and accesses article Location, user's B name, the property rights value TokenB of user B, article current state are " locking " state.
A50, if the verifying of block chain 140 does not pass through, automatic refusal is signed for.Article characterization value token is inconsistent, expression thing Product may be forgery, or be replaced in logistics progress;Transfer recipient B_ID is inconsistent or article current state is not " transfer " shows that article is of unknown origin;Or smart lock 110 has been opened, article can not fidelity.
Fig. 5 is to show the flow chart that unlocking is matched in the embodiment of the present invention.
In one embodiment, as shown in figure 5, user B confirmation can be unlocked after signing for, unlocking, steps are as follows:
S300, matches the fidelity verifying code key in pre-stored Item Information and the pre-stored fidelity in smart lock 110 is verified Code key;
S310, works as successful match, and block chain 140 generates the 4th status information of article, by the 4th status information replacement the Three condition information.
In this embodiment, the 4th status information includes: Item Number G_ID, and article characterization value is used for links and accesses object Block chain index address, the title of user B and the property rights value of user B and article current state of the creation information of product are unlocking shape State.
It is understood that user B confirmation can be unlocked after signing for, unlocking, steps are as follows:
B10, user B log in electron key application module 130 using the account B_ID of oneself, open 110 power supply of smart lock Switch scans article two dimensional code, obtains article code G_ID ', while communicating automatically with smart lock 110, sends G_ID ' to intelligence Lock 110.
B20, smart lock 110 calculate article TokenG '=Fun (G_ID '+key_G '), and electron key application module 130 is counted User B is calculated to the property rights TokenB=Fun (TokenG '+B_ID) of article G.
Article TokenG ', property rights value TokenB are sent to block catenary system, area by B30, electron key application module 130 Block chain 140 is verified.
B40, if the TokenG ' of article is equal to TokenG (showing that the article is genuine piece) on chain, and property rights value in hand TokenB is equal to the TokenB (showing that property rights information is correct) of the property rights owner on chain, and current state is equal to " locking ", then returns The fidelity for returning the article verifies code key key_G.
Key_G is sent to smart lock 110, the key_G and electronics of smart lock 110 by B50, electron key application module 130 After the key_G successful match that key application module 130 is sent, lock is opened, and return to unlocking information.
B60 after electron key application module 130 receives unlocking information, sends messages to block chain 140, block chain 140 is certainly Raw one article of the 4th status information about the article of movable property, and the 4th status information is replaced into third state information, so that the 4th Status information is final current state information.4th status information includes: article characterization value token, is used for links and accesses object The block chain index address of the creation information of product, the name of user B, the property rights value TokenB of user B, article current state are " unlocking " state.
By changing article current state, can recycle article packaging to avoid other users in this way includes lockset, is filled again It comes into the market after dress.Due to using the mechanism of one yard of one code key of object in the present invention, and the article current state is changed to " open After lock ", it will not change again.Therefore, user can have found fake products by inquiring and authenticating.
In one embodiment, when article characterization value and to prestore storing articles characterization value not identical,
And/or
User B account and handover user account be not identical,
And/or
When article current state is not transfer state, then user B refusal is signed for.
It after user B obtains authentic item in embodiments of the present invention, does not sign for, is that can not obtain article G.Because with Family B is not signed for, then the property rights person recorded on chain is still user A, and user B cannot achieve unlocking operation.While smart lock Design ensure that illegal unlock can cause to damage to article, so as to avoid detinuing for user B.Property rights person user A is transferred Unlocking operation can not be executed after operation under transfer state.After user B obtains authentic item, do not sign for be cannot be by article It resells.Because user B is not signed for, current property rights person is not just user B, and user B can only obtain oneself in handoff procedure TokenB, it is inconsistent with the property rights value TokenA that is saved on chain, user F can not be transferred to;User F can also be found on chain The property rights value of article is that user A is not user B, to prevent a possibility that user B is profited from.
With reference to the accompanying drawing, device according to an embodiment of the present invention is discussed in detail.
Fig. 6 is the structural schematic diagram for showing smart lock of the embodiment of the present invention.As shown in fig. 6, the smart lock 110 includes:
Communication module 111, control module 112 and memory module 113.
Memory module 111, for being pre-stored fidelity verifying code key.
Communication module 112, for receiving the article code of article.
Control module 113 determines object for verifying code key according to the article code and the pre-stored fidelity of the article Product characterization value.
It is also used to by being pre-stored current state information checking article characterization value on block chain, according to testing for block chain feedback Card controls lock by information and opens.
Smart lock is bound by lock and article in this embodiment, and inside includes mechanical lock head, control module 112, deposits Store up module 113, communication module 111, the irreproducible two dimensional code containing Item Number of paste outside/printing.Control module 112 is logical Safe communication module 111 is crossed to communicate with electron key application module 130 (such as mobile phone app), complete to lockset (including binding Article) authentication verification, the unlocking operation and the current lockset of feedback that control mechanical lock head open and-shut mode.Pass through control module 112 control tapered ends are normally unlocked, so that lock is separated with article, guarantee the integrality of article, not will lead to article damage.
In one embodiment, the smart lock 110, further includes: power supply module 114;Belt switch can be used in power supply module Battery, user need to carry out verification unlocking etc. operation when, turn on the switch give smart lock power supply, to reduce energy consumption, extension makes Use the time.
The other details of intelligent processing system according to embodiments of the present invention combine that Fig. 2 to Fig. 6 describe with more than according to The method of inventive embodiments is similar, and details are not described herein.
The intelligent processing method according to embodiments of the present invention that describes in conjunction with Fig. 1 to Fig. 6, smart lock, system can be by removable It unloads ground or is fixedly mounted in and calculate equipment realization.Fig. 7 is to show to can be realized Intelligent treatment side according to embodiments of the present invention Method, smart lock, system calculating equipment exemplary hardware architecture structure chart.As shown in fig. 7, it includes defeated for calculating equipment 700 Enter equipment 701, input interface 702, central processing unit 703, memory 704, output interface 705 and output equipment 706.Its In, input interface 702, central processing unit 703, memory 704 and output interface 705 are connected with each other by bus 710, defeated Enter equipment 701 and output equipment 706 to connect by input interface 702 and output interface 705 with bus 710 respectively, so with meter Calculate the other assemblies connection of equipment 700.Specifically, input equipment 701 is received from external input information, and is connect by input Input information is transmitted to central processing unit 703 by mouth 702;Central processing unit 703 can based on the computer stored in memory 704 It executes instruction and input information is handled to generate output information, output information is temporarily or permanently stored in memory In 704, output information is then transmitted to by output equipment 706 by output interface 705;Output equipment 706 is defeated by output information The outside of calculating equipment 700 is arrived out for users to use.
That is, calculating equipment shown in Fig. 7 also may be implemented as including: to be stored with computer executable instructions Memory;And processor, the processor may be implemented when executing computer executable instructions that Fig. 1 to Fig. 6 to be combined to describe Intelligent processing method, smart lock and system.
It should be clear that the invention is not limited to specific configuration described above and shown in figure and processing. For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated The step of body, is as example.But method process of the invention is not limited to described and illustrated specific steps, this field Technical staff can be variously modified, modification and addition after understanding spirit of the invention, or suitable between changing the step Sequence.
Functional block shown in structures described above block diagram can be implemented as hardware, software, firmware or their group It closes.When realizing in hardware, it may, for example, be electronic circuit, specific integrated circuit (ASIC), firmware appropriate, insert Part, function card etc..When being realized with software mode, element of the invention is used to execute program or the generation of required task Code section.Perhaps code segment can store in machine readable media program or the data-signal by carrying in carrier wave is passing Defeated medium or communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information. The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline The computer network of net etc. is downloaded.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or device State certain methods or system.But the present invention is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above description is merely a specific embodiment, it is apparent to those skilled in the art that, For convenience of description and succinctly, the system, module of foregoing description and the specific work process of unit can refer to preceding method Corresponding process in embodiment, details are not described herein.It should be understood that scope of protection of the present invention is not limited thereto, it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions, These modifications or substitutions should be covered by the protection scope of the present invention.

Claims (13)

1. a kind of intelligent processing method based on block chain, which is characterized in that the intelligent processing method includes:
The article code and pre-stored fidelity for obtaining article verify code key;
Code key is verified according to the article code and the pre-stored fidelity, determines article characterization value;
The article characterization value is verified by being pre-stored current state information on block chain, according to verification result, is executed corresponding Operation, wherein the pre-stored current state information includes: the article code, the article characterization value, the current shape of article State, the title of active user, the property rights value of active user, for article described in links and accesses creation information block chain index Address and the pre-stored fidelity verify code key.
2. intelligent processing method according to claim 1, which is characterized in that described by being pre-stored current shape on block chain Article characterization value described in state Information Authentication executes corresponding operation according to verification result, comprising:
By the article code search on the block chain described in prestore storing articles characterization value;
When the article characterization value with it is described prestore storing articles characterization value it is identical when, then feed back article end-state information;
Alternatively,
When the article characterization value with it is described prestore storing articles characterization value difference when, then feed back the article be false pain product letter Breath.
3. intelligent processing method according to claim 1, which is characterized in that described by being pre-stored current shape on block chain Article characterization value described in state Information Authentication executes corresponding operation according to verification result, comprising:
According to the article characterization value and second user account, the property rights value of second user is determined;
On the block chain according to the pre-stored current state information verify the second user property rights value and the object Product current state;
When the second user property rights value and the active user property rights value it is identical, and the article current state be locking State, then the block chain generates the second status information of the article, and second status information replacement is described pre-stored Current state information, and feed back and transfer successful information.
4. intelligent processing method according to claim 3, which is characterized in that second status information, comprising: the object Product coding, the article characterization value, the article current state, the title of the second user, the property rights of the second user Value, for article described in links and accesses creation information block chain index address and pre-stored fidelity verifying code key.
5. intelligent processing method according to claim 3, which is characterized in that after the feedback transfers successful information, Further include:
According to the article characterization value and third user account, the property rights value of third user is determined;
The article characterization value, the third user account and the article current state are verified on the block chain;
When the article characterization value is identical with the storing articles characterization value that prestores, the third user account and the handover user Account is identical, and when the article current state is transfer state, then the third user receives and signs for, while the block chain The third state information is replaced second status information by the third state information for generating the article.
6. intelligent processing method according to claim 5, which is characterized in that the third state information, comprising: the object Product coding, the article characterization value, the article current state, the title of the third user, the property rights of the third user Value, for article described in links and accesses creation information block chain index address and pre-stored fidelity verifying code key.
7. intelligent processing method according to claim 5, which is characterized in that described when the article characterization value and described pre- When storage article characterization value is identical, then feeds back and is pre-stored after Item Information and the pre-stored current state information, further includes:
It matches the fidelity verifying code key in the pre-stored Item Information and the pre-stored fidelity in the smart lock is verified Code key;
Work as successful match, the block chain generates the 4th status information of the article, and the 4th status information is replaced institute State third state information.
8. intelligent processing method according to claim 7, which is characterized in that the 4th status information, comprising: the object Product coding, the article characterization value, the article current state, the title of the third user, the property rights of the third user Value, for article described in links and accesses creation information block chain index address and pre-stored fidelity verifying code key.
9. intelligent processing method according to claim 5, which is characterized in that described to verify the object on the block chain After product characterization value, the third user account and the article current state, further includes:
When the article characterization value and the storing articles characterization value that prestores be not identical,
And/or
The third user account and the handover user account be not identical,
And/or
When the article current state is not transfer state, then the third user refusal is signed for.
10. a kind of smart lock, which is characterized in that the smart lock includes:
Communication module, control module and memory module;
The memory module, for being pre-stored fidelity verifying code key;
The communication module, for receiving the article code of article;
The control module determines article for verifying code key according to the article code and the pre-stored fidelity of the article Characterization value;
It is also used to verify the article characterization value by being pre-stored current state information on block chain, be fed back according to the block chain The information control lock that is verified open, wherein the pre-stored current state information includes: the article code, described Article characterization value, the title of active user, the property rights value of active user, is used for article described in links and accesses at article current state Creation information block chain index address and the pre-stored fidelity verify code key.
11. a kind of intelligent processing system based on block chain, which is characterized in that the intelligent processing system includes: that right such as is wanted Smart lock described in asking 10, electron key application module, article sell management module and block chain;
The electron key application module determines the active user for the account according to article characterization value and active user Property rights value;
The article sells management module, believes for generating pre-stored current state information, and by the pre-stored current state Breath is sent to the block chain;
The block chain, for storing the pre-stored current state information.
12. a kind of terminal device characterized by comprising
Memory, processor, communication interface and bus;
The memory, the processor are connected by the bus with the communication interface and complete mutual communication;
The memory is for storing program code;
The processor is run and the executable program by reading the executable program code stored in the memory The corresponding program of code, for executing intelligent processing method as described in any one of claim 1 to 9.
13. a kind of computer storage medium, which is characterized in that including instruction, when described instruction is run on computers, make institute It states computer and executes intelligent processing method as described in any one of claim 1 to 9.
CN201810593421.8A 2018-06-11 2018-06-11 Intelligent processing method, smart lock, system, equipment and medium based on block chain Pending CN109087413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810593421.8A CN109087413A (en) 2018-06-11 2018-06-11 Intelligent processing method, smart lock, system, equipment and medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810593421.8A CN109087413A (en) 2018-06-11 2018-06-11 Intelligent processing method, smart lock, system, equipment and medium based on block chain

Publications (1)

Publication Number Publication Date
CN109087413A true CN109087413A (en) 2018-12-25

Family

ID=64839826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810593421.8A Pending CN109087413A (en) 2018-06-11 2018-06-11 Intelligent processing method, smart lock, system, equipment and medium based on block chain

Country Status (1)

Country Link
CN (1) CN109087413A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113963464A (en) * 2021-10-11 2022-01-21 安徽中科晶格技术有限公司 Bank safe deposit box unlocking system and method based on block chain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881787A (en) * 2015-05-13 2015-09-02 景视佳传媒科技(北京)有限公司 Method, system and device for two-dimension code authenticity
CN105046462A (en) * 2015-06-17 2015-11-11 清华大学 Article safety circulation, anti-counterfeit authentication, and tracking and tracing method and system
CN105260892A (en) * 2015-09-10 2016-01-20 上海乔马电子科技有限公司 Anti-counterfeiting verification and sales information obtaining method and anti-counterfeiting verification and sales information obtaining system
CN105976479A (en) * 2016-06-30 2016-09-28 成都我来啦网格信息技术有限公司 Storage box authority changing system and method
CN106570710A (en) * 2016-10-27 2017-04-19 纸飞机(北京)科技有限公司 Commodity anti-counterfeiting method and device
CN107292629A (en) * 2017-05-12 2017-10-24 深圳蜂链科技有限公司 Anti-counterfeit tracking verification method based on block chain and the device using this method
CN207068087U (en) * 2017-08-16 2018-03-02 台州市朔翔日用品有限公司 Valuables Anti-forging lock

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881787A (en) * 2015-05-13 2015-09-02 景视佳传媒科技(北京)有限公司 Method, system and device for two-dimension code authenticity
CN105046462A (en) * 2015-06-17 2015-11-11 清华大学 Article safety circulation, anti-counterfeit authentication, and tracking and tracing method and system
CN105260892A (en) * 2015-09-10 2016-01-20 上海乔马电子科技有限公司 Anti-counterfeiting verification and sales information obtaining method and anti-counterfeiting verification and sales information obtaining system
CN105976479A (en) * 2016-06-30 2016-09-28 成都我来啦网格信息技术有限公司 Storage box authority changing system and method
CN106570710A (en) * 2016-10-27 2017-04-19 纸飞机(北京)科技有限公司 Commodity anti-counterfeiting method and device
CN107292629A (en) * 2017-05-12 2017-10-24 深圳蜂链科技有限公司 Anti-counterfeit tracking verification method based on block chain and the device using this method
CN207068087U (en) * 2017-08-16 2018-03-02 台州市朔翔日用品有限公司 Valuables Anti-forging lock

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113963464A (en) * 2021-10-11 2022-01-21 安徽中科晶格技术有限公司 Bank safe deposit box unlocking system and method based on block chain

Similar Documents

Publication Publication Date Title
CN112287029B (en) Block chain multi-chain cross-chain system and implementation mechanism thereof
US20220021662A1 (en) Operating system for blockchain iot devices
TWI770022B (en) Computer implemented control method, system and control system
CN101038619B (en) Radio frequency recognition system privacy identification method
Forte et al. Beyond Bitcoin-Part I: A critical look at blockchain-based systems
CN104885404B (en) Method for mutual authentication between radio tag and reader
CN106875518A (en) The control method of smart lock, device and smart lock
CN106411505B (en) A kind of mutual authentication method and Mobile RFID system of Mobile RFID
EP3258660B1 (en) Protection device and dongle and method for using the same
CN110276574A (en) A kind of safe delivery system, method, cloud server and electronic equipment
CN103218633B (en) A kind of RFID safety authentication
CN113269565B (en) Anti-counterfeiting identification method and device for preventing identification code from being reused and electronic equipment
CN109087413A (en) Intelligent processing method, smart lock, system, equipment and medium based on block chain
JP2006252470A (en) Electronic value exchange system and method
Bilal Addressing security and privacy issues in low-cost RFID systems
CN103763007B (en) Identification method, anti-counterfeiting device and anti-counterfeiting system based on near-field communication technology
Zhao et al. A Comprehensive Overview of Security Vulnerability Penetration Methods in Blockchain Cross-Chain Bridges
CN103761655B (en) A kind of assignment method based on near-field communication technology, false proof device and Antiforge system
CN103745365B (en) A kind of register method based on near-field communication technology, false proof device and Antiforge system
Cai Security and Privacy in RFID-Enabled Supply Chains
CN116342265A (en) Block chain-based non-homogeneous digital asset data processing method and system
Ghazalah Mutual Authentication Protocols for RFID Special Schemes
CN114926181A (en) Processing method and device for canceling password remittance

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: 20181225