CN110493335A - A kind of sharing method of biological attribute data, share system and computer equipment - Google Patents
A kind of sharing method of biological attribute data, share system and computer equipment Download PDFInfo
- Publication number
- CN110493335A CN110493335A CN201910754745.XA CN201910754745A CN110493335A CN 110493335 A CN110493335 A CN 110493335A CN 201910754745 A CN201910754745 A CN 201910754745A CN 110493335 A CN110493335 A CN 110493335A
- Authority
- CN
- China
- Prior art keywords
- contract
- intelligent contract
- biological attribute
- attribute data
- intelligent
- 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
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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0407—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- 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/10—Protocols in which an application is distributed across nodes in the network
-
- 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/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
-
- 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/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0866—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
-
- 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/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of sharing method based on biological attribute data, share system and computer equipments, the sharing method includes: biometric data acquisition end acquisition biological attribute data and generates data packet, and the first intelligent contract is generated after encrypting by first password and is published to block chain network;Biological attribute data collecting terminal is based on the first intelligent contract and generates the second intelligent contract and be published to block chain network, and the second intelligent contract includes the multiple first intelligent contracts and corresponding contract information;Biological attribute data purchase end triggers the second intelligent contract and simultaneously pays contract expense, so that first password is transmitted to biological attribute data purchase end for second self execution of intelligent contract and the decryption confirmation for buying end based on biological attribute data distributes the contract expense according to contract information.Embodiment provided by the invention is based on block chain technology, privacy of user can be guaranteed by nested intelligent contract and realize to the user directly, reasonably pay expense.
Description
Technical field
The present invention relates to block chain technical fields, are more particularly to a kind of sharing method of biological attribute data, sharing
System and computer equipment.
Background technique
With the development of various wearable devices, the measurement of the preclinical medicines data such as blood pressure, heart rate, blood glucose, body temperature
It is more and more simpler with obtaining, such as the offer heart rate etc. that the smartwatch such as apple watch, samsung gear can continue is raw
Object characteristic, however how to realize the focus utilization of the medical data of these magnanimity in practice and manque solution party
Case.
For the medical research institute for needing these data, payment is not problem, but how to be obtained from multiple
The data of provider and how to encourage that the producer of data continues, the output of active these biological attribute datas are to be difficult to handle
's.For a user, due to having spent money on these intelligent wearable devices, if not having gainful stimulation, no motivation will be certainly
The biological attribute data of body is shared with research institution.For the manufacturer for producing and selling these intelligent wearable devices,
Such as three magnitudes do not have the scientific research demand of be yet not required to seek medical advice and health, so if the not stimulation of economic interests, does not have
There is motivation to go to collect the data that these users measure generation, because the cost that maintenance and the such cloud service of operation need is very
It is huge.
In addition, the sharing of biological attribute data be it is very sensitive, need meet defend planning commission formulation relevant criterion, it is necessary to
It just can be carried out sharing and utilization under the premise of keeping anonymous, safe, controllable.
Summary of the invention
At least one to solve the above-mentioned problems, first aspect present invention provides a kind of biological attribute data sharing method,
Applied to biometric data acquisition end, comprising:
Acquisition biological attribute data simultaneously generates data packet, and the first intelligent contract is generated after encryption and is published to block link network
Network, so that biological attribute data collecting terminal is based on the described first intelligent contract and generates the second intelligent contract and be published to block link network
Network, the described second intelligent contract include the multiple described first intelligent contracts and the corresponding contract information of each first intelligence contract;
Receive the expense of the described first intelligent contract, the expense is from biological attribute data purchase end triggering described the
Two intelligent contracts simultaneously obtain after the data packet of the corresponding first intelligent contract according to contract information distribution.
Further, in the acquisition biological attribute data and before generating data packet, the sharing method further include:
Cloud Server is registered to become the node in block chain network according to user information, and obtains device keys.
Further, the acquisition biological attribute data and data packet is generated, it is concurrent that the first intelligent contract is generated after encryption
Cloth further includes: to block chain network
Biological attribute data is acquired according to the preset time interval and generates data packet;
First password is generated according to the user information and device keys;
The intelligent contract of the data packet generation first is encrypted using the first password and is published to block chain network.
Further, the time interval is more than or equal to the node verification time of the block chain network.
Second aspect of the present invention provides a kind of biological attribute data sharing method, is applied to biological attribute data collecting terminal,
Include:
The second intelligent contract is generated based on the first intelligent contract and is published to block chain network, the described second intelligent contract packet
The multiple described first intelligent contracts and the corresponding contract information of each first intelligence contract are included, the multiple first intelligent contract comes from
It is wrapped according to the collected data in each biometric data acquisition end and carries out encryption generation;
Receive the expense of the described second intelligent contract, the expense is from biological attribute data purchase end triggering described the
Two intelligent contracts simultaneously obtain after the data packet of each first intelligent contract according to contract information distribution.
Further, it generates the second intelligent contract in the first intelligent contract that is based on and is published to block chain network, institute
Stating the second intelligent contract includes the multiple described first intelligent contracts and the corresponding contract information of each first intelligent contract, the multiple
First intelligent contract is wrapped from each biometric data acquisition end according to the collected data before carrying out encryption generation, described
Sharing method further include: be registered to Cloud Server to become the node in block chain network.
Third aspect present invention provides a kind of biological attribute data sharing method, comprising:
Biometric data acquisition end acquisition biological attribute data simultaneously generates data packet, generates after being encrypted by first password
First intelligent contract is simultaneously published to block chain network;
Biological attribute data collecting terminal is based on the described first intelligent contract and generates the second intelligent contract and be published to block chain
Network, the described second intelligent contract include the multiple described first intelligent contracts and the corresponding contract information of each first intelligence contract;
The intelligent contract of biological attribute data purchase end triggering described second simultaneously pays the corresponding conjunction of the second intelligence contract
About expense;
Described second intelligent contract generates the first password of the multiple first intelligent contract according to each contract information,
The multiple first password of public key encryption at end is bought according to the biological attribute data and is sent to the biological attribute data
Buy end;
Biological attribute data purchase end is decrypted by its private key and obtains the multiple first password, according to institute
It states multiple first passwords and obtains the data packet of the corresponding first intelligent contract, and send decryption confirmation message to second intelligence
Contract;
Described second intelligent contract is based on the decryption confirmation message, distributes the contract according to the contract information and takes
With.
Further, biological attribute data is acquired at the biometric data acquisition end and generate data packet, after encryption
It generates the first intelligent contract and is published to before block chain network, the sharing method further include:
The biological attribute data collecting terminal and biological attribute data purchase end are registered to Cloud Server as block respectively
Node in chain network;
The biometric data acquisition end is registered to Cloud Server as the section in block chain network according to user information
Point, and obtain device keys.
Further, the biometric data acquisition end acquires biological attribute data and generates data packet, raw after encryption
At the first intelligent contract and it is published to block chain network and specifically includes:
The biometric data acquisition end acquires biological attribute data according to the preset time interval and generates data packet;
The biometric data acquisition end generates first password according to the user information and device keys;
The biometric data acquisition end encrypts the data packet using the first password and generates the first intelligent contract
And it is published to block chain network.
Further, the contract information includes the user information and cost information of the first intelligent contract;
Described second intelligent contract generates the first password of the multiple first intelligent contract according to each contract information
It specifically includes:
Described second intelligent contract to the Cloud Server sending device key request and transmits its each first intelligence for including
It can the corresponding user information of contract;
Corresponding device keys are transmitted to the described second intelligent contract according to each user information by the Cloud Server;
Described second intelligent contract generates each described first according to each user information and corresponding device keys respectively
The first password of intelligent contract.
Further, the cost information includes the acquisition expense and collection expense of the described first intelligent contract;
Described second intelligent contract is based on the decryption confirmation message, distributes the contract expense according to the contract information
It specifically includes:
Described second intelligent contract receives the decryption confirmation message;
Described second intelligent contract distributes the contract expense according to the cost information of the contract information, by each first
The acquisition reimbursement of expense of intelligent contract to corresponding biometric data acquisition end, by the collection expense of each first intelligent contract
It pays to the biological attribute data collecting terminal.
Further, registion time or built-in random number of the Cloud Server according to the biometric data acquisition end
The random number that generator generates based on the primary key generating device key and is sent to the biology spy as primary key
Levy data collection terminal;
And/or
The biometric data acquisition end generates random number by built-in random number generator, according to the random number and
User information generating device key is simultaneously sent to the Cloud Server.
Fourth aspect present invention provides a kind of share system of biological attribute data, including biometric data acquisition dress
It sets, biological attribute data collection device and biological attribute data purchase device, wherein
Biometric data acquisition device is configured to acquisition biological attribute data and generates data packet, passes through first password
The first intelligent contract is generated after encryption and is published to block chain network;
Biological attribute data collection device is configured to the described first intelligent contract and generates the second intelligent contract and issue
To block chain network, the described second intelligent contract includes the multiple described first intelligent contracts and the corresponding conjunction of each first intelligence contract
About information;
Biological attribute data buys device, is configured that
It triggers the described second intelligent contract and pays contract expense, so that the described second intelligent contract is according to each contract
Information generates the first password of the multiple first intelligent contract, buys the public key encryption institute at end according to the biological attribute data
It states multiple first passwords and is sent to the biological attribute data purchase device;
The multiple first password is decrypted and obtained by its private key, correspondence is obtained according to the multiple first password
The first intelligent contract data packet, and send decryption confirmation message to the described second intelligent contract, so that second intelligence
Contract distributes the contract expense according to the contract information.
Further, further include Cloud Server, be configured to receive the biological attribute data collection device and biological characteristic
Data buy the registration of device, receive the biometric data acquisition device with the registration of user information, and it is close to obtain equipment
Key.
Further, the Cloud Server includes random number generator, is configured to generate random number as primary key, base
In the primary key generating device key and it is sent to the biometric data acquisition device;
And/or
The biometric data acquisition device includes random number generator, be configured to generate random number, according to it is described with
Machine number and hardware encoding carry out Hash encryption generating device key and are sent to the Cloud Server.
Fifth aspect present invention provides a kind of computer equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor,
The processor realizes method described in first aspect when executing described program;
Or
The processor realizes method described in second aspect when executing described program;
Or
The processor realizes method described in the third aspect when executing described program.
Beneficial effects of the present invention are as follows:
The present invention formulates the sharing method, share system and meter of a kind of biological attribute data for problem existing at present
Machine equipment is calculated, block chain technology is based on, the user using biometric data acquisition end ensure that by nested intelligent contract
Privacy and realize to the user directly, reasonably pay expense, to compensate for problem in the prior art, have extensive
Application prospect.
Detailed description of the invention
Specific embodiments of the present invention will be described in further detail with reference to the accompanying drawing.
Fig. 1 shows the flow chart of sharing method described in one embodiment of the present of invention;
Fig. 2 shows the swim-lane diagrams of sharing method described in one embodiment of the present of invention;
Fig. 3 shows the schematic diagram of generating device key described in one embodiment of the present of invention;
Fig. 4 shows the flow chart of sharing method described in another embodiment of the invention;
Fig. 5 shows the structural block diagram of biometric data acquisition device described in one embodiment of the present of invention;
Fig. 6 shows the flow chart of sharing method described in yet another embodiment of the present invention;
Fig. 7 shows the structural block diagram of biological attribute data collection device described in one embodiment of the present of invention;
Fig. 8 shows the structural block diagram of share system described in one embodiment of the present of invention;
Fig. 9 shows a kind of structural schematic diagram of computer equipment described in another embodiment of the invention.
Specific embodiment
In order to illustrate more clearly of the present invention, the present invention is done further below with reference to preferred embodiments and drawings
It is bright.Similar component is indicated in attached drawing with identical appended drawing reference.It will be appreciated by those skilled in the art that institute is specific below
The content of description is illustrative and be not restrictive, and should not be limited the scope of the invention with this.
With the development of internet technology, block chain technology is come into being, this is a kind of distributed data base technique, is had
Decentralization, open and clear feature.Specifically, the essence of block chain technology is decentralization and the number using distributed frame
According to the method for storage, transmission and proof, replace dependence of the current internet to central server with data block, so that all numbers
According to change or trading item be all recorded on a data link table.Data operation, management, maintenance effect is greatly improved
Rate, while the block chain for carrying asymmetric encryption techniques has high security, can effectively prevent leaking data or illegally distorts.On
The feature of stating makes block chain technology particularly suitable for the big data operation field with highly confidential requirement.
However, in practical applications, technical staff is based on block chain technological development block chain application, and there are larger difficulty, bases
It is proposed ether mill platform in the problem, ether mill platform is the platform for the open source block chain Floor layer Technology that can be shared.
In other words, ether mill is similar to the system platform for having developed completion, and increases income to all block chain development technique personnel, makes
Obtain subsequent technology personnel very can easily develop new block chain application on the Floor layer Technology of ether mill platform.Meanwhile
Ether mill platform also introduces intelligent contract, so-called intelligence contract, is a kind of to replace legal language to go to record with computer language
The contract of clause may be regarded as one section of program being deployed on block chain, has and self executes and self mandatory attribute.Self is executed
Referring to contract, automatic running comes into force after deployment;It self forces to refer to that participant can call contract that it is made to meet condition
Lower compulsory execution.Entire decision process does not need believable third party and participates in arbitration intervention.Data are guaranteed by block chain technology
Authentic and valid and intelligent contract can not tamper, and intelligent contract is responsible for enforcing specification, so that block chain technical characteristic
There is good binding site with the application demand that traffic congestion is shared, it can be to avoid centralization platform bring privacy leakage disadvantage
End, and driver can be encouraged to share congestion information by incentive measure.The appearance of intelligent contract allows block chain technology to be able to start
It is landed in some business applications.Many block chains realize basic block in business in by intelligent contract at present
Chain technology.
Based on block chain technology, to solve the problems, such as the acquisition of existing biological attribute data and collecting, as shown in Figure 1, this hair
Bright one embodiment provides a kind of biological attribute data sharing method, comprising: biometric data acquisition end acquisition biology
Characteristic simultaneously generates data packet, and the first intelligent contract is generated after encrypting by first password and is published to block chain network;It is raw
Object collecting characterization data end group generates the second intelligent contract in the described first intelligent contract and is published to block chain network, and described the
Two intelligent contracts include the multiple described first intelligent contracts and the corresponding contract information of each first intelligence contract;Biological attribute data
The intelligent contract of purchase end triggering described second simultaneously pays the corresponding contract expense of the second intelligence contract;Second intelligence is closed
The first password that the multiple first intelligent contract is about generated according to each contract information, is purchased according to the biological attribute data
The multiple first password of the public key encryption of buy-side is simultaneously sent to biological attribute data purchase end;The biological attribute data
Purchase end is decrypted by its private key and obtains the multiple first password, is obtained according to the multiple first password corresponding
The data packet of first intelligent contract, and decryption confirmation message is sent to the described second intelligent contract;Described second intelligent contract base
In the decryption confirmation message, the contract expense is distributed according to the contract information.
Biometric data acquisition end, biological attribute data collecting terminal and biological attribute data purchase end are on block chain
Node, it is equal.
Wherein, biometric data acquisition end is wearable monitoring device, for example, Intelligent bracelet, smartwatch etc., energy
The biological attribute datas such as heart rate, blood pressure and the body temperature of enough monitoring wearing users;In the present embodiment, the biological attribute data is adopted
Integrate end as Intelligent bracelet, Intelligent bracelet acquires the biological attribute data of user at predetermined intervals, and according to acquisition
Biological attribute data generates data packet, generates the first intelligent contract by first password encryption and is published in block chain network,
The first password can for according to it is certain rule generate password, such as can according to the information such as MAC ID of Intelligent bracelet
The password of generation.
In an alternative embodiment, when the time interval is more than or equal to the node verification of the block chain network
Between.The publication frequency of i.e. first intelligent contract should be less than the node verification efficiency of block chain, such as the node verification effect of block chain
Rate is x affairs per second, then the packing frequency of the first intelligent contract is less than x data packet per second.In view of biological attribute data
Stability with certain time, such as heart rate data are considered generally according to the data of measurement in one minute, in the present embodiment
In, the time interval is one minute.
Biological attribute data collecting terminal be biological attribute data collection terminal production firm or service facility monitoring device,
The first intelligent contract for monitoring the publication of biometric data acquisition end generates the second intelligent contract based on the first intelligent contract
And be published in block chain network, such as collect a certain number of first intelligent contracts and be packaged as the second intelligent contract, i.e.,
The multiple first intelligent contracts are encapsulated using the second intelligent contract, the second intelligent contract further includes the contract letter of the first intelligent contract
Breath, such as the user information and the cost information of characterization expense allocation of the intelligent contract of mark first.
It is the research and development institution or enterprise for needing a large amount of biological attribute datas that biological attribute data, which buys end, by paying contract
The intelligent contract of form triggering second of expense, the second intelligent contract executes treaty content, according to the include first intelligent contract
Contract information generates the first password of the intelligent contract of decryption first, then utilizes the asymmetric encryption techniques of block chain, by each the
One password is encrypted using the public key at biological attribute data purchase end and is transmitted to biological attribute data purchase end, so that biological
The each first intelligent contract is decrypted using private key and obtains the biological attribute data in the first intelligent contract in characteristic purchase end.Together
When, after the intelligent contract of biological attribute data purchase end decryption first obtains biological attribute data, the second intelligent contract is according to conjunction
Cost information about in information distributes contract expense, will belong to the expense direct payment of user to biometric data acquisition end,
Simultaneously by remaining reimbursement of expense to the biological attribute data collecting terminal for collecting the first intelligent contract, i.e. production firm or service factory
Quotient.
In the present embodiment, biological attribute data is provided by the decentralization of block chain, reliable safety protection
The safe transmission of privacy of user, biological attribute data, while meeting the requirement of relevant laws and regulations;Nested intelligence is utilized simultaneously
The characteristics of transparent transaction of energy contract and block chain, avoids expense direct payment by between production firm or service facility to user
The problem of switching through account.
In view of the transmission of biological attribute data needs faster transactions velocity, better secret protection and lower friendship
Easy cost, therefore biological characteristic number can be realized on privately owned chain by having the enterprise of write-in permission or mechanism to construct privately owned chain
According to it is shared.Privately owned chain is on the one hand stringent to limit the qualification for participating in node, on the other hand can be avoided by the risk of malicious attack,
Compared to centralization database, privately owned chain can single node active concealment or altered data in anti-locking mechanism, even if mistake occurs,
Also source can be found rapidly.Therefore there is actual application prospect.
In an alternative embodiment, biological attribute data is acquired at the biometric data acquisition end and generate number
The first intelligent contract is generated according to packet, after encryption and is published to before block chain network, the sharing method further include: the biology
Collecting characterization data end and biological attribute data purchase end are registered to Cloud Server as the node in block chain network respectively;Institute
It states biometric data acquisition end and Cloud Server is registered to as the node in block chain network according to user information, and obtain and set
Standby key.
In a specific example, as shown in Fig. 2, the sharing method is as follows:
S1. biological attribute data collecting terminal is registered to Cloud Server as the node in block chain network.
In the present embodiment, biological attribute data collecting terminal is by being registered as the node of privately owned chain in Cloud Server.
S2. biological attribute data purchase end is registered to Cloud Server as the node in block chain network.
Similarly, in the present embodiment, biological attribute data purchase end is by being registered as the section of privately owned chain in Cloud Server
Point.
S3. the biometric data acquisition end is registered to Cloud Server as in block chain network according to user information
Node, and obtain device keys.
In the present embodiment, the biometric data acquisition end is registered to Cloud Server, the use according to user information
Family information includes the hardware encoding at biometric data acquisition end and subscriber-coded, wherein the hardware encoding can be MAC ID
Or other hardware identifiers, it is described it is subscriber-coded can be the customized ID title of user, the user information be used in cloud service
It is registered on device and is displaced mark biometric data acquisition end.
In an alternative embodiment, the Cloud Server is according to the registion time at the biometric data acquisition end
Or the random number that built-in random number generator generates based on the primary key generating device key and is sent as primary key
To the biometric data acquisition end.
As shown in figure 3, the biometric data acquisition end is registered to Cloud Server, Cloud Server base according to user information
In the random number generator built in the arrival time or Cloud Server for receiving biometric data acquisition end transmitting subscriber identify
The random number of generation generates the device keys at biometric data acquisition end based on the primary key as primary key, such as
Device keys can be the result that primary key is connect with user information and carry out Hash calculation, as device keys=hash is (primary
Code key-user information), Cloud Server returns to the biometric data acquisition end of user after generating device code key.It is worth
What is illustrated is, it is contemplated that the reliability of whole process data transmission, the present embodiment are logical as transmission using https or dtls
Road.
In another alternative embodiment, the biometric data acquisition end is generated by built-in random number generator
Random number according to the random number and user information generating device key and is sent to the Cloud Server.
Specifically, device keys are voluntarily generated by biometric data acquisition end, such as at biometric data acquisition end
Built-in randomizer carries out Hash calculation generating device key using the randomizer and hardware encoding.It is worth saying
Bright, high-frequency cryptographic calculation has higher requirement, art technology to the charge capacity at biometric data acquisition end
Personnel should select the biometric data acquisition end appropriate according to practical application scene, to meet high-frequency encryption fortune
Calculating is design criteria, and details are not described herein.
S4. biometric data acquisition end acquires biological attribute data and generates data packet, after being encrypted by first password
It generates the first intelligent contract and is published to block chain network.
In the present embodiment, it specifically includes:
Firstly, the biometric data acquisition end acquires biological attribute data according to the preset time interval and generates number
According to packet.
In the present embodiment, the biometric data acquisition end acquires biological characteristic number according to one minute time interval
According to and generate data packet.
Secondly, the biometric data acquisition end generates first password according to the user information and device keys.
In the present embodiment, the biometric data acquisition end passes through example according to the user information and device keys
If Hash calculation generates first password, other algorithms also can be used and generate first password, the application is without limitation.
Finally, the biometric data acquisition end, which encrypts the data packet using the first password, generates the first intelligence
Contract is simultaneously published to block chain network.
In the present embodiment, the biometric data acquisition end encrypts the data packet by first password and generates first
Intelligent contract, the described first intelligent contract include that the data packet of encryption and the corresponding biological attribute data of the data packet are adopted
Collect the user information at end.
S5. biological attribute data collecting terminal is based on the described first intelligent contract of intelligent contract generation second and is published to block
Chain network, the described second intelligent contract include the multiple described first intelligent contracts and the corresponding contract letter of each first intelligence contract
Breath.
Biological attribute data collecting terminal is based on the first intelligent contract, and a certain number of first intelligent contracts are packaged generations the
Two intelligent contracts are simultaneously published to block chain network, such as the described second intelligent contract includes 100 first intelligent contracts, Mei Ge
The corresponding contract information of one intelligent contract, the contract information include user information and cost information, and wherein user information can be with
For the serial number of corresponding first contract, issuing time or generate the first intelligent contract biometric data acquisition end user
Information, the price or the accounting in the entire second intelligent contract that the cost information is the corresponding first intelligent contract.
S6. the intelligent contract of biological attribute data purchase end triggering described second and to pay the described second intelligent contract corresponding
Contract expense.
In the present embodiment, biological attribute data purchase end is triggered in a manner of paying the contract expense of the second intelligent contract
Described second intelligent contract, the described second intelligent contract are executed according to treaty content sequence.
S7. the described second intelligent contract according to each contract information generate the multiple first intelligent contract it is first close
Code, specifically includes:
Firstly, the second intelligent contract to the Cloud Server sending device key request and transmit that it includes each the
The corresponding user information of one intelligence contract.
In the present embodiment, the described second intelligent contract transmits the corresponding user information of each first intelligence contract for including
The equipment code key at the corresponding biometric data acquisition end of each user information is requested to the Cloud Server.
Secondly, corresponding device keys are transmitted to second intelligence according to each user information by the Cloud Server
Contract.
In the present embodiment, the Cloud Server searches corresponding biology spy according to the user information of each intelligent contract
The device keys obtained when sign data collection terminal registration, and each device keys are transmitted to the described second intelligent contract in order to rear
It is continuous to calculate first password.
Finally, the described second intelligent contract is each described according to each user information and the generation of corresponding device keys respectively
The first password of first intelligent contract.
In the present embodiment, similar with the generating process of aforementioned first password, the described second intelligent contract is according to each institute
It states user information and equipment code key carries out Hash calculation and obtains the first password of the corresponding first intelligent contract.
S8. the public key encryption the multiple first that the described second intelligent contract buys end according to the biological attribute data is close
Code is simultaneously sent to biological attribute data purchase end.
In the present embodiment, using the asymmetric encryption techniques of block chain, each first password is utilized into biological attribute data
The public key at purchase end is encrypted and is transmitted to biological attribute data purchase end.
S9. biological attribute data purchase end is decrypted by its private key and obtains the multiple first password, root
The data packet of the corresponding first intelligent contract is obtained according to the multiple first password.
S10. decryption confirmation message is sent to the described second intelligent contract.
In the present embodiment, using the asymmetric encryption techniques of block chain, biological attribute data buys end according to its private key
Multiple first passwords of encryption are decrypted, so that it is corresponding to obtain each first intelligent contract included by the second intelligent contract
First password.The data packet of the corresponding first intelligent contract is decrypted according to each first password to obtain biometric data acquisition
The biological attribute data of acquisition is held, while decryption confirmation message is sent to the second intelligent contract.
S11. the described second intelligent contract is based on the decryption confirmation message, distributes the contract according to the contract information
Expense.
In the present embodiment, after the second intelligent contract receiving and deciphering confirmation message, subsequent treaty content is continued to execute, according to
Contract information distributes contract expense.The cost information includes the acquisition expense and collection expense of the described first intelligent contract, tool
Body includes:
Described second intelligent contract distributes the contract expense according to the cost information of the contract information, by each first
The acquisition reimbursement of expense of intelligent contract to corresponding biometric data acquisition end, by the collection expense of each first intelligent contract
It pays to the biological attribute data collecting terminal.
Specifically, for the intelligent contract of excitation biometric data acquisition end publication first, to using biological attribute data to adopt
The user for collecting end pays acquisition expense, is similarly that excitation biological attribute data collecting terminal collects the first intelligent contract, to using life
Object collecting characterization data end pays collection expense.In the present embodiment, the collection expense and acquisition expense can be specific
Price, or the accounting of price, the application are without limitation.
It is worth noting that in the present embodiment, the Cloud Server also by the production firm or service facility operation,
The i.e. described Cloud Server and the biological attribute data collecting terminal are runed by same main body (such as same enterprise), then are set in hardware
It sets, the Cloud Server and biological attribute data collecting terminal can also be separated with concentrated setting on same hardware device
It is arranged in different hardware equipment, those skilled in the art should be configured according to practical application request, and details are not described herein.
Meanwhile Cloud Server and biological attribute data collecting terminal are runed by same main body and enable the production firm or service facility
On the basis of obtaining the profit-sharing of biological attribute data transaction, superior technique branch is provided for the sharing of biological attribute data
It holds, the protection of more effective privacy of user.
So far, the sharing that biological attribute data is completed based on block chain technology, by constructing privately owned chain, and nested
Intelligent contract realizes the transmission of biological attribute data, wherein the biological attribute data of each user generates first after encryption
Intelligent contract is published to block chain network, can be avoided risk of the biological attribute data by malicious attack of user, effective protection
The privacy of user;Biological attribute data purchase simultaneously transmits the first intelligent contract by the asymmetric encryption techniques of block chain
Key guarantees the safety of biological attribute data circulation process;It will be biological special additionally by self executing for the second intelligent contract
Sign data purchase end is isolated with biometric data acquisition end, effectively avoids biological attribute data purchase end in contact biology special
Levy data collection terminal, while preventing from carrying out the problem of bringing of transferring accounts because of biological attribute data collecting terminal, meet defend planning commission about with
The biological attribute data at family is shared to desensitized related request.
As shown in figure 4, one embodiment of the application also provides a kind of biology applied to biometric data acquisition end
Characteristic sharing method, comprising: acquisition biological attribute data simultaneously generates data packet, and it is concurrent that the first intelligent contract is generated after encryption
Cloth is to block chain network, so that biological attribute data collecting terminal is concurrent based on the described first intelligent contract of intelligent contract generation second
For cloth to block chain network, the described second intelligent contract includes that the multiple described first intelligent contracts and each first intelligent contract are corresponding
Contract information;The expense of the described first intelligent contract is received, the expense is from described in biological attribute data purchase end triggering
Second intelligent contract simultaneously obtains after the data packet of the corresponding first intelligent contract according to contract information distribution.
In an alternative embodiment, in the acquisition biological attribute data and before generating data packet, the sharing
Method further include: Cloud Server is registered to become the node in block chain network according to user information, and obtains device keys.
In another alternative embodiment, the acquisition biological attribute data and data packet is generated, is generated after encryption
One intelligent contract is simultaneously published to block chain network further and includes: according to the preset time interval that acquisition biological attribute data is simultaneously
Generate data packet;First password is generated according to the user information and device keys;The number is encrypted using the first password
The first intelligent contract is generated according to packet and is published to block chain network.Further, the time interval is more than or equal to the block
The node verification time of chain network.
It is corresponding with the above-mentioned biological attribute data sharing method at biometric data acquisition end that is applied to, such as Fig. 5 institute
Show, one embodiment of the application also provides a kind of biometric data acquisition device, including acquisition unit, the first contract generate
Unit and the first expense unit, wherein the acquisition unit, is configured to acquisition biological attribute data and generates data packet;Described
One contract generation unit is configured to encrypt the intelligent contract of the data packet generation first by first password and is published to block chain
Network, so that biological attribute data collection device is based on the described first intelligent contract and generates the second intelligent contract and be published to block
Chain network, the described second intelligent contract include the multiple described first intelligent contracts and the corresponding contract letter of each first intelligence contract
Breath;The first expense unit is configured to receive the expense of the described first intelligent contract, and the expense is from biological characteristic number
The described second intelligent contract is triggered according to purchase device and is obtained after the data packet of the corresponding first intelligent contract according to the contract
The contract expense of information distribution.
As shown in fig. 6, one embodiment of the application also provides a kind of biology applied to biological attribute data collecting terminal
Characteristic sharing method, comprising: the second intelligent contract is generated based on the first intelligent contract and is published to block chain network, it is described
Second intelligent contract includes the multiple described first intelligent contracts and the corresponding contract information of each first intelligent contract, and the multiple the
One intelligent contract wraps according to the collected data from each biometric data acquisition end carries out encryption generation;Receive described
The expense of two intelligent contracts, the expense is from the intelligent contract of biological attribute data purchase end triggering described second and obtains each
According to contract information distribution after the data packet of first intelligent contract.
In an alternative embodiment, it generates the second intelligent contract in the first intelligent contract that is based on and is published to area
Block chain network, the described second intelligent contract include the multiple described first intelligent contracts and the corresponding contract letter of each first intelligence contract
Breath, the multiple first intelligent contract wraps according to the collected data from each biometric data acquisition end carries out encryption generation
Before, the sharing method further include: be registered to Cloud Server to become the node in block chain network.
It is corresponding with the above-mentioned biological attribute data sharing method of biological attribute data collecting terminal that is applied to, such as Fig. 7 institute
Show, one embodiment of the application also provides a kind of biological attribute data collection device, including the second contract generation unit and
Two expense units, wherein the second contract generation unit, is configured to the first intelligent contract and generates the second intelligent contract simultaneously
It is published to block chain network, the described second intelligent contract includes that the multiple described first intelligent contracts and each first intelligent contract are corresponding
Contract information, the multiple first intelligent contract from each biometric data acquisition device wrap according to the collected data into
Row encryption generates;The second expense unit, is configured to receive the expense of the described second intelligent contract, the expense from
Biological attribute data purchase device triggers the described second intelligent contract and obtains after the data packet of each first intelligent contract according to institute
State the contract expense of contract information distribution.
Corresponding with biological attribute data sharing method provided by the above embodiment, one embodiment of the application also provides
A kind of biological attribute data share system, due to biological attribute data share system provided by the embodiments of the present application with it is above-mentioned several
Embodiment provide biological attribute data sharing method it is corresponding, therefore aforementioned embodiments be also applied for the present embodiment provides
Biological attribute data share system, be not described in detail in the present embodiment.
As shown in figure 8, one embodiment of the application also provides a kind of biological attribute data share system, including biology spy
It levies data acquisition device, biological attribute data collection device and biological attribute data and buys device, wherein biological attribute data is adopted
Acquisition means, are configured to acquisition biological attribute data and generate data packet, and the first intelligent contract is generated after encrypting by first password
And it is published to block chain network;Biological attribute data collection device is configured to the described first intelligent contract and generates the second intelligence
Energy contract is simultaneously published to block chain network, and the described second intelligent contract includes the multiple described first intelligent contracts and each first intelligence
The corresponding contract information of contract;Biological attribute data buys device, is configured that the intelligent contract of triggering described second and pays contract
Expense so that the second intelligent contract according to each contract information generate the multiple first intelligent contract it is first close
Code buys the multiple first password of public key encryption at end according to the biological attribute data and is sent to the biological characteristic number
According to purchase device;The multiple first password is decrypted and obtained by its private key, is obtained according to the multiple first password
The data packet of corresponding first intelligent contract, and decryption confirmation message is sent to the described second intelligent contract, so that described second
Intelligent contract distributes the contract expense according to the contract information.
In an alternative embodiment, the share system further includes Cloud Server, is configured to receive the biology spy
The registration for levying transacter and biological attribute data purchase device, receives the biometric data acquisition device with user
The registration of information, and obtain device keys.
In an alternative embodiment, the Cloud Server includes random number generator, is configured to generate random number work
For primary key, based on the primary key generating device key and it is sent to the biometric data acquisition device.
In another alternative embodiment, the biometric data acquisition device includes random number generator, configuration
To generate random number, Hash encryption generating device key is carried out according to the random number and hardware encoding and is sent to the cloud taking
Business device.
Another embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
Sequence, realization when which is executed by processor: biometric data acquisition end acquisition biological attribute data simultaneously generates data packet, leads to
The first intelligent contract is generated after crossing first password encryption and is published to block chain network;Biological attribute data collecting terminal is based on described
First intelligent contract generates the second intelligent contract and is simultaneously published to block chain network, and the described second intelligent contract includes multiple described the
One intelligent contract and the corresponding contract information of each first intelligence contract;Biological attribute data is bought end triggering second intelligence and is closed
About and pay the corresponding contract expense of the second intelligence contract;Described second intelligent contract is generated according to each contract information
The first password of the multiple first intelligent contract, the public key encryption that end is bought according to the biological attribute data the multiple the
One password is simultaneously sent to biological attribute data purchase end;Biological attribute data purchase end is decrypted by its private key
And the multiple first password is obtained, the data packet of the corresponding first intelligent contract is obtained according to the multiple first password, and
Decryption confirmation message is sent to the described second intelligent contract;Described second intelligent contract is based on the decryption confirmation message, according to
The contract information distributes the contract expense.
Another embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
Sequence, realization when which is executed by processor: acquisition biological attribute data simultaneously generates data packet, and the first intelligence is generated after encryption and is closed
About and it is published to block chain network, so that biological attribute data collecting terminal is based on the described first intelligent contract and generates the second intelligence conjunction
About and it is published to block chain network, the described second intelligent contract includes the multiple described first intelligent contracts and each first intelligent contract
Corresponding contract information;The expense of the described first intelligent contract is received, the expense is touched from biological attribute data purchase end
It sends out the second intelligent contract described and obtains after the data packet of the corresponding first intelligent contract according to contract information distribution.
Another embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
The realization when program is executed by processor: sequence generates the second intelligent contract based on the first intelligent contract and is published to block link network
Network, the described second intelligent contract include the multiple described first intelligent contracts and the corresponding contract information of each first intelligence contract, institute
It states the multiple first intelligent contracts and wrap according to the collected data from each biometric data acquisition end and carry out encrypting generation;It connects
The expense of the described second intelligent contract is received, the expense is from the intelligent contract of biological attribute data purchase end triggering described second
And it obtains after the data packet of each first intelligent contract according to contract information distribution.
In practical applications, the computer readable storage medium can be using one or more computer-readable media
Any combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It calculates
Machine readable storage medium storing program for executing can for example be but not limited to system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor
Part, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: to have
The electrical connection of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In the present embodiment, computer-readable to deposit
Storage media can be any tangible medium for including or store program, which can be commanded execution system, device or device
Part use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to without
Line, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.In
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
As shown in figure 9, another embodiment of the present invention provides a kind of computer equipment structural schematic diagram.Fig. 9 is aobvious
The computer equipment 12 shown is only an example, should not function to the embodiment of the present invention and use scope bring any limit
System.
As shown in figure 9, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not
Movably, non-volatile magnetic media (Fig. 9 do not show, commonly referred to as " hard disk drive ").It, can be with although being not shown in Fig. 9
The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") is provided, and non-volatile to moving
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual
Execute the function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make
The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As shown in figure 9, network adapter 20 is logical by other modules of bus 18 and computer equipment 12
Letter.It should be understood that other hardware and/or software module, packet can be used in conjunction with computer equipment 12 although being not shown in Fig. 9
It includes but is not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive
Device and data backup storage system etc..
Processor unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application with
And data processing, such as realize a kind of biological attribute data sharing method provided by the embodiment of the present invention, or answer for one kind
It is collected for the biological attribute data sharing method at biometric data acquisition end, or for a kind of biological attribute data that is applied to
The biological attribute data sharing method at end.
The present invention formulates the sharing method, share system and meter of a kind of biological attribute data for problem existing at present
Machine equipment is calculated, block chain technology is based on, the user using biometric data acquisition end ensure that by nested intelligent contract
Privacy and realize to the user directly, reasonably pay expense, to compensate for problem in the prior art, have extensive
Application prospect.
Obviously, the above embodiment of the present invention be only to clearly illustrate example of the present invention, and not be pair
The restriction of embodiments of the present invention may be used also on the basis of the above description for those of ordinary skill in the art
To make other variations or changes in different ways, all embodiments can not be exhaustive here, it is all to belong to this hair
The obvious changes or variations that bright technical solution is extended out are still in the scope of protection of the present invention.
Claims (16)
1. a kind of biological attribute data sharing method is applied to biometric data acquisition end characterized by comprising
Acquisition biological attribute data simultaneously generates data packet, and the first intelligent contract is generated after encryption and is published to block chain network, is made
It obtains biological attribute data collecting terminal to be based on the described first intelligent contract of intelligent contract generation second and be published to block chain network, institute
Stating the second intelligent contract includes the multiple described first intelligent contracts and the corresponding contract information of each first intelligence contract;
The expense of the described first intelligent contract is received, the expense triggers second intelligence from biological attribute data purchase end
It contract and can obtain after the data packet of corresponding first intelligent contract according to contract information distribution.
2. sharing method according to claim 1, which is characterized in that in the acquisition biological attribute data and generate data
Before packet, the sharing method further include:
Cloud Server is registered to become the node in block chain network according to user information, and obtains device keys.
3. sharing method according to claim 2, which is characterized in that the acquisition biological attribute data simultaneously generates data
Packet, generates the first intelligent contract and is published to block chain network and further include: after encryption
Biological attribute data is acquired according to the preset time interval and generates data packet;
First password is generated according to the user information and device keys;
The intelligent contract of the data packet generation first is encrypted using the first password and is published to block chain network.
4. sharing method according to claim 3, which is characterized in that the time interval is more than or equal to the block link network
The node verification time of network.
5. a kind of biological attribute data sharing method is applied to biological attribute data collecting terminal characterized by comprising
The second intelligent contract is generated based on the first intelligent contract and is published to block chain network, and the described second intelligent contract includes more
A described first intelligent contract and the corresponding contract information of each first intelligence contract, the multiple first intelligent contract is from each
Biometric data acquisition end is wrapped according to the collected data carries out encryption generation;
The expense of the described second intelligent contract is received, the expense triggers second intelligence from biological attribute data purchase end
It contract and can obtain after the data packet of each first intelligent contract according to contract information distribution.
6. sharing method according to claim 5, which is characterized in that generate the second intelligence in the first intelligent contract that is based on
Energy contract is simultaneously published to block chain network, and the described second intelligent contract includes the multiple described first intelligent contracts and each first intelligence
The corresponding contract information of contract, the multiple first intelligent contract is from each biometric data acquisition end according to the number of acquisition
Before carrying out encryption generation according to packet, the sharing method further include: be registered to Cloud Server to become in block chain network
Node.
7. a kind of biological attribute data sharing method characterized by comprising
Biometric data acquisition end acquisition biological attribute data simultaneously generates data packet, generates first after encrypting by first password
Intelligent contract is simultaneously published to block chain network;
Biological attribute data collecting terminal is based on the described first intelligent contract and generates the second intelligent contract and be published to block chain network,
Described second intelligent contract includes the multiple described first intelligent contracts and the corresponding contract information of each first intelligence contract;
The intelligent contract of biological attribute data purchase end triggering described second simultaneously pays the corresponding contract expense of the second intelligence contract
With;
Described second intelligent contract generates the first password of the multiple first intelligent contract according to each contract information, according to
The multiple first password of public key encryption at biological attribute data purchase end is simultaneously sent to the biological attribute data purchase
End;
Biological attribute data purchase end is decrypted by its private key and obtains the multiple first password, according to described more
A first password obtains the data packet of the corresponding first intelligent contract, and sends decryption confirmation message to second intelligence and close
About;
Described second intelligent contract is based on the decryption confirmation message, distributes the contract expense according to the contract information.
8. sharing method according to claim 7, which is characterized in that acquire biology at the biometric data acquisition end
Characteristic simultaneously generates data packet, and the first intelligent contract is generated after encryption and is published to before block chain network, the sharing side
Method further include:
The biological attribute data collecting terminal and biological attribute data purchase end are registered to Cloud Server as block link network respectively
Node in network;
The biometric data acquisition end is registered to Cloud Server as the node in block chain network according to user information, and
Obtain device keys.
9. sharing method according to claim 8, which is characterized in that
The biometric data acquisition end acquires biological attribute data and generates data packet, and the first intelligent contract is generated after encryption
And it is published to block chain network and specifically includes:
The biometric data acquisition end acquires biological attribute data according to the preset time interval and generates data packet;
The biometric data acquisition end generates first password according to the user information and device keys;
The biometric data acquisition end is concurrent using the intelligent contract of the first password encryption data packet generation first
Cloth is to block chain network.
10. sharing method according to claim 9, which is characterized in that
The contract information includes the user information and cost information of the first intelligent contract;
Described second intelligent contract is specific according to the first password that each contract information generates the multiple first intelligent contract
Include:
Described second intelligent contract is to the Cloud Server sending device key request and transmits its each first intelligence conjunction for including
About corresponding user information;
Corresponding device keys are transmitted to the described second intelligent contract according to each user information by the Cloud Server;
Described second intelligent contract generates each first intelligence according to each user information and corresponding device keys respectively
The first password of contract.
11. sharing method according to claim 10, which is characterized in that
The cost information includes the acquisition expense and collection expense of the described first intelligent contract;
Described second intelligent contract is based on the decryption confirmation message, and it is specific to distribute the contract expense according to the contract information
Include:
Described second intelligent contract receives the decryption confirmation message;
Described second intelligent contract distributes the contract expense according to the cost information of the contract information, by each first intelligence
The acquisition reimbursement of expense of contract to corresponding biometric data acquisition end, by the collection reimbursement of expense of each first intelligent contract
To the biological attribute data collecting terminal.
12. the sharing method according to any one of claim 8-11, which is characterized in that
The Cloud Server is generated according to the registion time at the biometric data acquisition end or built-in random number generator
Random number based on the primary key generating device key and is sent to the biometric data acquisition as primary key
End;
And/or
The biometric data acquisition end generates random number by built-in random number generator, according to the random number and user
Information generating device key is simultaneously sent to the Cloud Server.
13. a kind of share system of biological attribute data, which is characterized in that special including biometric data acquisition device, biology
It levies transacter and biological attribute data buys device, wherein
Biometric data acquisition device is configured to acquisition biological attribute data and generates data packet, encrypted by first password
The first intelligent contract is generated afterwards and is published to block chain network;
Biological attribute data collection device is configured to the described first intelligent contract and generates the second intelligent contract and be published to area
Block chain network, the described second intelligent contract include the multiple described first intelligent contracts and the corresponding contract letter of each first intelligence contract
Breath;
Biological attribute data buys device, is configured that
It triggers the described second intelligent contract and pays contract expense, so that the described second intelligent contract is according to each contract information
Generate the first password, more according to the public key encryption that the biological attribute data buys end of the multiple first intelligent contract
A first password is simultaneously sent to the biological attribute data purchase device;
The multiple first password is decrypted and obtained by its private key, obtains corresponding the according to the multiple first password
The data packet of one intelligent contract, and decryption confirmation message is sent to the described second intelligent contract, so that the described second intelligent contract
The contract expense is distributed according to the contract information.
14. share system according to claim 13, which is characterized in that further include Cloud Server, be configured to described in reception
The registration of biological attribute data collection device and biological attribute data purchase device, receives the biometric data acquisition device
With the registration of user information, and obtain device keys.
15. share system according to claim 13, which is characterized in that
The Cloud Server includes random number generator, is configured to generate random number as primary key, it is close to be based on the primary
Key generating device key is simultaneously sent to the biometric data acquisition device;
And/or
The biometric data acquisition device includes random number generator, is configured to generate random number, according to the random number
Hash encryption generating device key is carried out with hardware encoding and is sent to the Cloud Server.
16. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that
The processor realizes such as method of any of claims 1-4 when executing described program;Or
The processor realizes the method as described in any one of claim 5-6 when executing described program;Or
The processor realizes the method as described in any one of claim 7-12 when executing described program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910754745.XA CN110493335B (en) | 2019-08-15 | 2019-08-15 | Sharing method and system of biological characteristic data and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910754745.XA CN110493335B (en) | 2019-08-15 | 2019-08-15 | Sharing method and system of biological characteristic data and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110493335A true CN110493335A (en) | 2019-11-22 |
CN110493335B CN110493335B (en) | 2022-07-01 |
Family
ID=68551185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910754745.XA Active CN110493335B (en) | 2019-08-15 | 2019-08-15 | Sharing method and system of biological characteristic data and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110493335B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781510A (en) * | 2020-01-02 | 2020-02-11 | 广州欧赛斯信息科技有限公司 | Data fragment encryption method and device applied to credit bank system and server |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160117471A1 (en) * | 2014-10-22 | 2016-04-28 | Jan Belt | Medical event lifecycle management |
CN106682530A (en) * | 2017-01-10 | 2017-05-17 | 杭州电子科技大学 | Method and device for medical information sharing privacy protection based on blockchain technology |
CN106992990A (en) * | 2017-05-19 | 2017-07-28 | 北京牛链科技有限公司 | Data sharing method and system and block catenary system and computing device |
US20180060496A1 (en) * | 2016-08-23 | 2018-03-01 | BBM Health LLC | Blockchain-based mechanisms for secure health information resource exchange |
CN108416650A (en) * | 2018-02-09 | 2018-08-17 | 深圳市轱辘车联数据技术有限公司 | Vehicle sharing method, device, server and computer readable storage medium |
CN108520463A (en) * | 2018-04-16 | 2018-09-11 | 安徽中科智链信息科技有限公司 | A kind of data order transaction system and method based on block chain technology |
US20180268944A1 (en) * | 2017-03-20 | 2018-09-20 | Ramkrishna Prakash | System, apparatus and method for management of health and wellness information, and management of transactions using same |
WO2018170504A1 (en) * | 2017-03-17 | 2018-09-20 | Labyrinth Research Llc | Unified control of privacy-impacting devices |
CN108764695A (en) * | 2018-05-23 | 2018-11-06 | 江苏涞哲信息科技有限公司 | A kind of food security traceability system and method based on block chain technology |
CN108881160A (en) * | 2018-05-07 | 2018-11-23 | 北京信任度科技有限公司 | Medical treatment & health data managing method and system based on block chain intelligence contract |
US20180352033A1 (en) * | 2017-05-30 | 2018-12-06 | Verizon Patent And Licensing Inc. | Blockchain micro-services framework |
CN109450631A (en) * | 2018-12-27 | 2019-03-08 | 石更箭数据科技(上海)有限公司 | Key generation device and management system, data processing equipment, data transacting system |
CN109462588A (en) * | 2018-11-13 | 2019-03-12 | 上海物融智能科技有限公司 | A kind of decentralization data trade method and system based on block chain |
CN109726595A (en) * | 2019-01-17 | 2019-05-07 | 杭州趣链科技有限公司 | A kind of medical information sharing system based on block chain, electronic equipment and computer storage medium |
CN109754250A (en) * | 2018-12-27 | 2019-05-14 | 石更箭数据科技(上海)有限公司 | Data trade method and system, platform, storage medium |
-
2019
- 2019-08-15 CN CN201910754745.XA patent/CN110493335B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160117471A1 (en) * | 2014-10-22 | 2016-04-28 | Jan Belt | Medical event lifecycle management |
US20180060496A1 (en) * | 2016-08-23 | 2018-03-01 | BBM Health LLC | Blockchain-based mechanisms for secure health information resource exchange |
CN106682530A (en) * | 2017-01-10 | 2017-05-17 | 杭州电子科技大学 | Method and device for medical information sharing privacy protection based on blockchain technology |
WO2018170504A1 (en) * | 2017-03-17 | 2018-09-20 | Labyrinth Research Llc | Unified control of privacy-impacting devices |
US20180268944A1 (en) * | 2017-03-20 | 2018-09-20 | Ramkrishna Prakash | System, apparatus and method for management of health and wellness information, and management of transactions using same |
CN106992990A (en) * | 2017-05-19 | 2017-07-28 | 北京牛链科技有限公司 | Data sharing method and system and block catenary system and computing device |
US20180352033A1 (en) * | 2017-05-30 | 2018-12-06 | Verizon Patent And Licensing Inc. | Blockchain micro-services framework |
CN108416650A (en) * | 2018-02-09 | 2018-08-17 | 深圳市轱辘车联数据技术有限公司 | Vehicle sharing method, device, server and computer readable storage medium |
CN108520463A (en) * | 2018-04-16 | 2018-09-11 | 安徽中科智链信息科技有限公司 | A kind of data order transaction system and method based on block chain technology |
CN108881160A (en) * | 2018-05-07 | 2018-11-23 | 北京信任度科技有限公司 | Medical treatment & health data managing method and system based on block chain intelligence contract |
CN108764695A (en) * | 2018-05-23 | 2018-11-06 | 江苏涞哲信息科技有限公司 | A kind of food security traceability system and method based on block chain technology |
CN109462588A (en) * | 2018-11-13 | 2019-03-12 | 上海物融智能科技有限公司 | A kind of decentralization data trade method and system based on block chain |
CN109450631A (en) * | 2018-12-27 | 2019-03-08 | 石更箭数据科技(上海)有限公司 | Key generation device and management system, data processing equipment, data transacting system |
CN109754250A (en) * | 2018-12-27 | 2019-05-14 | 石更箭数据科技(上海)有限公司 | Data trade method and system, platform, storage medium |
CN109726595A (en) * | 2019-01-17 | 2019-05-07 | 杭州趣链科技有限公司 | A kind of medical information sharing system based on block chain, electronic equipment and computer storage medium |
Non-Patent Citations (2)
Title |
---|
XIAOCHEN ZHENG等: ""Blockchain-based Personal Health Data Sharing System Using Cloud Storage"", 《2018 IEEE 20TH INTERNATIONAL CONFERENCE ON E-HEALTH NETWORKING, APPLICATIONS AND SERVICES (HEALTHCOM)》 * |
于永桥: ""医疗信息系统智能合约的以太坊架构及实现"", 《产业与科技论坛》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781510A (en) * | 2020-01-02 | 2020-02-11 | 广州欧赛斯信息科技有限公司 | Data fragment encryption method and device applied to credit bank system and server |
CN110781510B (en) * | 2020-01-02 | 2020-04-21 | 广州欧赛斯信息科技有限公司 | Data fragment encryption method and device applied to credit bank system and server |
Also Published As
Publication number | Publication date |
---|---|
CN110493335B (en) | 2022-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI773912B (en) | Blockchain-based claims settlement method and device | |
CN111724153B (en) | Prepaid consumption supervision system and method based on block chain and storage medium | |
TW202026909A (en) | Blockchain certificate storage method and apparatus, and computer device | |
CN108171489A (en) | Data liquidation method, system and computer readable storage medium | |
CN108062671A (en) | Data trade method, block chain node server and data submit terminal | |
CN107533620A (en) | Enhancing certification based on secondary device interaction | |
Longley et al. | Data And Computer Security: A Dictionary Of Terms And Concepts | |
CN109937420A (en) | Go the distributed bridge joint network platform of identificationization | |
CN108595641A (en) | A kind of prescription information storage method, equipment, system and storage medium | |
CN109493047A (en) | A kind of commission settlement method, device and terminal device based on block chain | |
CN102104589A (en) | Private network series | |
CN108805730A (en) | A kind of digital social security card system based on block chain | |
KR20190118458A (en) | Method, system and non-transitory computer-readable recording medium for providing a medical information platform based on block chain | |
CN102129650A (en) | Network finance | |
CN109658075A (en) | Method for secret protection and product for block chain family micro-capacitance sensor electricity transaction | |
CN107392591A (en) | Online recharge method, system and the bluetooth read-write equipment of trading card | |
CN111367903A (en) | Credit report generation method based on block chain and related system | |
CN112259178A (en) | Block chain network-based diagnosis method and device and block chain network system | |
CN109559164A (en) | Favor information processing method, device, electronic equipment and computer-readable medium | |
CN107370601A (en) | A kind of intelligent terminal, system and method for integrating a variety of safety certifications | |
CN114357527A (en) | Huayunkang medicine for treating leukorrhagia | |
CN109146482A (en) | User's right providing method and device based on block chain | |
CN108416400A (en) | A kind of method of payment and payment system based on dynamic two-dimension code | |
CN110493335A (en) | A kind of sharing method of biological attribute data, share system and computer equipment | |
KR20190090699A (en) | Method And Apparatus for Providing Wallet for Enhancing Security And keeping Crypto-currency |
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 |