CN108769057A - Personal identification method based on block chain and device - Google Patents
Personal identification method based on block chain and device Download PDFInfo
- Publication number
- CN108769057A CN108769057A CN201810620560.5A CN201810620560A CN108769057A CN 108769057 A CN108769057 A CN 108769057A CN 201810620560 A CN201810620560 A CN 201810620560A CN 108769057 A CN108769057 A CN 108769057A
- Authority
- CN
- China
- Prior art keywords
- information
- user
- identity information
- subscriber identity
- associated data
- 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
-
- 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
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- 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/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of personal identification method based on block chain and device, computing devices.Wherein, this method includes:Receive the subscriber identity information that terminal user sends;Rule is handled according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information;The user account of the corresponding cipher-text information of subscriber identity information and terminal user is bound into an associated data record;It will be in associated data record storage to corresponding block chain node;Wherein, associated data record is identified for the identity to terminal user.According to this method; the corresponding identity information of user account can be prevented from being seen by other users; to protect the privacy of user corresponding to each account and fair and just sweepstake can be carried out; and the account information that matching user can be obtained according to the identity information of user, whether the user so as to the redemption that judges to come in sweepstake is user corresponding to prize-winning account.
Description
Technical field
The present invention relates to block chain technical fields, and in particular to a kind of personal identification method and device based on block chain.
Background technology
Block chain technology is to verify and store data using block linked data structure, utilize distributed node common recognition algorithm
Come generate and update the data, ensure data transmission and access in the way of cryptography safety, using by automatized script generation
The intelligent contract of code composition programs a kind of completely new distributed basis framework and calculation with operation data.Block chain skill
Art solves the trust problem in traditional intervening mechanism with the characteristics of its decentralization.
Can carry out various sweepstakes based on block chain technology, confidence level is higher, and into draw a lottery on line when
It waits, the data on block chain are all visible, therefore are drawn a lottery relatively justice based on block chain.But inventor is in reality
It is found during the existing present invention, since account all in block chain is all anonymous, after some account is got the winning number in a bond,
It can not know that whom the ownership person of this account is, so centainly trouble can be caused when receiving the award or acted as fraudulent substitute for a person
The phenomenon that occur.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly
State the personal identification method and device, computing device based on block chain of problem.
According to an aspect of the invention, there is provided a kind of personal identification method based on block chain comprising:
Receive the subscriber identity information that terminal user sends;
Rule is handled according to preset ciphertext, generates cipher-text information corresponding with the subscriber identity information;
The user account of the corresponding cipher-text information of the subscriber identity information and the terminal user are bound one
Associated data records;
It will be in the associated data record storage to corresponding block chain node;Wherein, the associated data record is used for
The identity of terminal user is identified.
According to another aspect of the present invention, a kind of identity recognition device based on block chain is provided comprising:
Receiving module is suitable for receiving the subscriber identity information that terminal user sends;
Generation module is suitable for handling rule according to preset ciphertext, generate corresponding with the subscriber identity information close
Literary information;
Binding module is suitable for user's account of the corresponding cipher-text information of the subscriber identity information and the terminal user
Number bind an associated data record;
Logging modle, being suitable for will be in the associated data record storage to corresponding block chain node;Wherein, the association
Data record is for being identified the identity of terminal user.
According to another aspect of the invention, a kind of computing device is provided, including:Processor, memory, communication interface and
Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is above-mentioned that the executable instruction makes the processor execute
The corresponding operation of personal identification method based on block chain.
In accordance with a further aspect of the present invention, provide a kind of computer storage media, be stored in the storage medium to
A few executable instruction, the executable instruction make processor execute as the above-mentioned personal identification method based on block chain is corresponding
Operation.
According to personal identification method and device provided by the invention based on block chain, by receiving terminal user's transmission
Subscriber identity information handles rule according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information, thus will
The user account of the corresponding cipher-text information of subscriber identity information and terminal user bind an associated data record, and will close
Join in data record storage to corresponding block chain node;Wherein, associated data record is for the identity progress to terminal user
Identification.According to this method, the corresponding identity information of user account can be made not seen by other users, to protect each account
The privacy of user corresponding to number and fair and just sweepstake can be carried out, and can according to the identity information of user come
The account information for obtaining matching user, so as to be believed according to the identity of the redemption user of acquisition in sweepstake
Whether the user of breath, the redemption that judges to come is user corresponding to prize-winning account.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention,
And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field
Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the personal identification method according to an embodiment of the invention based on block chain;
Fig. 2 shows the flow charts of the personal identification method in accordance with another embodiment of the present invention based on block chain;
Fig. 3 shows the functional block diagram of the identity recognition device according to an embodiment of the invention based on block chain;
Fig. 4 shows a kind of structural schematic diagram of computing device according to an embodiment of the invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 shows the flow chart of the personal identification method according to an embodiment of the invention based on block chain.Such as Fig. 1
Shown, the personal identification method based on block chain specifically comprises the following steps:
Step S110 receives the subscriber identity information that terminal user sends.
Wherein, the identity information of user can be the information of the various certificates that may indicate that user identity, for example can be
ID card No., residence booklet information, pass-port credentials number etc..User can send to system and may indicate that certainly when drawing a lottery
The identity information of own identity, system is to receive the subscriber identity information of terminal user's transmission.System can both be sent in user
Subscriber identity information received the identity information later, can also automatically extract the user identity letter that user inputs in register account number
Breath.
Step S120 handles rule according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information.
It, in this step can be according to preset ciphertext in order to realize that the identity information of user cannot be seen by other users
Processing rule handles identity information, to generate cipher-text information corresponding with subscriber identity information.It specifically, can be with
Cleartext information corresponding with identity information is obtained, operation is then encrypted to above-mentioned cleartext information by Encryption Algorithm, is obtained
To cipher-text information corresponding with identity information.Wherein, above-mentioned Encryption Algorithm includes but not limited at least one of the following:It breathes out
Uncommon operation, des encryption algorithm, AES encryption algorithm etc..It is corresponding with subscriber identity information in addition to being generated according to aforesaid way
Outside cipher-text information, cipher-text information corresponding with subscriber identity information can also be generated according to other modes.
The user account of the corresponding cipher-text information of subscriber identity information and terminal user is bound one by step S130
Associated data records.
In order to identify the identity information corresponding to each account, can by the corresponding cipher-text information of subscriber identity information with
The user account of terminal user binds an associated data record, to realize that user account is opposite with the subscriber identity information
The one-to-one relationship of cipher-text information answered.
Step S140, will be in associated data record storage to corresponding block chain node;Wherein, associated data record is used for
The identity of terminal user is identified.
Specifically, the corresponding cipher-text information of subscriber identity information in being recorded by identification associated data, and according to
The identity of terminal user is identified in the identity information of user.By by associated data record storage to corresponding block chain link
On point, so as to enable the associated data on block chain to be seen by all users, but otherwise cannot be according to above-mentioned
Associated data obtains the identity information of user, so as to accomplish it is more fair, safely carry out various activities, and if
It can judge whether the user is user corresponding to prize-winning account according to the identity information of user when prize.
According to the personal identification method provided by the embodiment based on block chain, by the user's body for receiving terminal user's transmission
Part information handles rule according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information, thus by user's body
The user account of the corresponding cipher-text information of part information and terminal user are bound an associated data and are recorded, and by associated data
In record storage to corresponding block chain node;Wherein, associated data record is identified for the identity to terminal user.Root
According to this method, the corresponding identity information of user account can be prevented from being seen by other users, to protect each account institute
It corresponds to the privacy of user and fair and just sweepstake can be carried out, and can be obtained according to the identity information of user
The account information of matching user, so as to, according to the identity information of the redemption user of acquisition, sentence in sweepstake
Whether the come user of redemption of breaking is user corresponding to prize-winning account.
Fig. 2 shows the flow charts of the personal identification method according to an embodiment of the invention based on block chain.Such as Fig. 2
Shown, the personal identification method based on block chain specifically comprises the following steps:
Step S210 receives the subscriber identity information that terminal user sends.
Specific steps may refer to the content in above-mentioned steps S110.
Step S220 handles rule according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information.
Specifically, it is first determined cleartext information corresponding with above-mentioned identity information.Specifically, it may be determined that with above-mentioned end
Then the corresponding key information of user account of end subscriber determines corresponding with subscriber identity information according to the key information
Cleartext information.Wherein, above-mentioned key information can be public key information.Specifically, in order to realize the faith mechanism of decentralization, area
Each network node in block chain has corresponding private key or public key, and wherein public key is disclosed, and private key is then secrecy.
Then operation is encrypted to above-mentioned cleartext information by Encryption Algorithm, obtained corresponding with subscriber identity information
Cipher-text information.Wherein, above-mentioned preset Encryption Algorithm can be:Hash operation.Hash operation may include:MD4 algorithms, MD5
Algorithm, Secure Hash Algorithm (SHA-1) etc..The binary value of random length can be mapped as shorter fixed length by Hash operation
The binary value of degree, this small binary value are known as cryptographic Hash.Cryptographic Hash is the unique and extremely compact numerical value of one piece of data
Representation.If hashing one section of plaintext, and even only changing a letter of the paragraph, subsequent Hash will all generate not
Same value.Hash operation has irreversibility and Lothrus apterus, wherein irreversibility refers to when the cryptographic Hash for knowing x, but nothing
Method calculates x according to the cryptographic Hash;Lothrus apterus refers to working as to know x, but can not find out a y value to make the Hash of x and y
It is worth identical.According to the irreversibility of Hash operation it is found that when obtaining the cipher-text information on block chain, but can not be according to the ciphertext
Information come the anti-identity information for pushing away user, to can either by block chain disclosed in information come ensure transaction fairness and can
By property, and the leakage of individual subscriber privacy can be prevented.
The user account of the corresponding cipher-text information of subscriber identity information and terminal user is bound one by step S230
Associated data records.
Specifically, cipher-text information and the user account table of comparisons of terminal user can be pre-set, whenever generation user's body
After part corresponding cipher-text information of information, by the user account of the subscriber identity information corresponding cipher-text information and terminal user
Correspondence is stored in the above-mentioned table of comparisons, thus by user's account of the corresponding cipher-text information of subscriber identity information and the terminal user
Number bind an associated data record.It, can also be by another way by user identity in addition to according to other than aforesaid way
The user account of the corresponding cipher-text information of information and terminal user bind an associated data record.By implementing the step
Suddenly, to realize the user account one-to-one relationship of cipher-text information corresponding with the subscriber identity information.
Step S240, will be in associated data record storage to corresponding block chain node;Wherein, associated data record is used for
The identity of terminal user is identified.
By identifying the corresponding cipher-text information of subscriber identity information in associated data, and according to the redemption user's of acquisition
Identity information is identified so as to the identity to terminal user to judge whether the user of redemption is the user to get the winning number in a bond.Its
In, redemption refers mainly to redemption resource, which includes all kinds of actual resources such as prize, red packet or virtual resource.By that will be associated with
In data record storage to corresponding block chain node, so as to enable the associated data on block chain by all users
It sees, but the identity information of user cannot be obtained according to above-mentioned associated data, so as to accomplish more fair, safety
Ground carries out various sweepstakes, and when redemption can according to the identity information of user come judge the user whether be
Encourage the user corresponding to account.
Step S250 receives the resource allocation request that terminal user sends, according to the resource allocation request, according to default
Resource Configuration Algorithm determine whether that the user account for including in being recorded for associated data configures corresponding resource;If so, will close
Connection data record is determined as source configuration data record.
Specifically, it after all kinds of resource allocation requests such as the prize drawing request for receiving terminal user's transmission, obtains resource and matches
The user account for including in request is set, determines whether to configure resource for the user account according to preset Resource Configuration Algorithm, if
It is to determine that the associated data comprising the user account records, determines that the user account for including in associated data record is got the winning number in a bond.Its
In, resource allocation request refers mainly to prize drawing request, can also include that lot is asked, red packet request is asked, and/or robbed to the number of shaking.
Step S260, if so, associated data record is determined as source configuration data record.
If it is determined that the user account for including in associated data record is got the winning number in a bond, then the associated record is determined as resource distribution number
According to record.
Step S270 obtains the redemption identity information of redemption user.
Specifically, the scanning result that the identity provided for redemption user is scanned can be obtained, according to scanning
As a result the redemption identity information of redemption user is determined.Wherein, identity can be that identity card or others may indicate that and convert
The certificate of the identity at family is taken, identity card can be scanned, and identify scanning result, to be determined according to scanning result
The redemption identity information of redemption user.It, can be with other than being scanned the identity information to obtain redemption user to identity card
It is manually entered the passport NO. of the identity card of redemption user by staff, or takes pictures to identity document, to basis
Identification card number in photo automatic identification picture etc. is to determine the redemption identity information of redemption user.
Step S280 handles rule according to preset ciphertext, generates cipher-text information corresponding with redemption identity information.
Wherein, which can be identical with the processing rule of the preset ciphertext in step S220, from
And when redemption identity information is consistent with the identity information corresponding to prize-winning account, it can be according to step generation and resource distribution
The cipher-text information that cipher-text information in data record matches.
Step S290 judges during the corresponding cipher-text information of redemption identity information is recorded with source configuration data the use for including
Whether identity information corresponding cipher-text information in family matches.
Step S2010 is identified the identity of redemption user according to judging result.
If judging to wrap during the corresponding cipher-text information of redemption identity information is recorded with source configuration data in step S290
The corresponding cipher-text information of subscriber identity information contained matches, then may determine that the identity information and resource of redemption user
The corresponding subscriber identity information of cipher-text information is consistent in configuration data record, to judge that redemption user is to get the winning number in a bond to use
Family, conversely, redemption user is not prize winner.
According to the personal identification method provided in this embodiment based on block chain, by the user for receiving terminal user's transmission
Identity information handles rule according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information, thus by user
The user account of the corresponding cipher-text information of identity information and terminal user bind associated data record, and by incidence number
According in record storage to corresponding block chain node;Wherein, associated data record is identified for the identity to terminal user,
After obtaining the redemption identity information of redemption user, by judging that the corresponding cipher-text information of redemption identity information is matched with resource
Set whether the corresponding cipher-text information of the subscriber identity information for including in data record matches, to be converted to this according to judging result
The identity for taking family is identified.According to this method, can by block chain disclosed in information come ensure movable fairness with
Reliability, and the leakage of individual subscriber privacy can be prevented, and can judge the user according to the identity information of redemption user
Whether it is user corresponding to prize-winning account, it is ensured that the accuracy of redemption has ensured the equity of redemption user.
Fig. 3 shows the functional block diagram of the identity recognition device according to an embodiment of the invention based on block chain.Such as
Shown in Fig. 3, device includes:
Receiving module 31 is suitable for receiving the subscriber identity information that terminal user sends;
Generation module 32 is suitable for handling rule according to preset ciphertext, generates ciphertext corresponding with subscriber identity information
Information;
Binding module 33 is suitable for binding the user account of the corresponding cipher-text information of subscriber identity information and terminal user
It is recorded for an associated data;
Logging modle 34, being suitable for will be in associated data record storage to corresponding block chain node;Wherein, associated data is remembered
It employs and is identified in the identity to terminal user.
Optionally, wherein generation module 32 is particularly adapted to:
Determine cleartext information corresponding with subscriber identity information;
Operation is encrypted to cleartext information by predetermined encryption algorithm, obtains ciphertext corresponding with subscriber identity information
Information.
Optionally, wherein predetermined encryption algorithm includes:Hash algorithm.
Optionally, wherein generation module 32 is particularly adapted to:
It determines key information corresponding with the user account of terminal user, is determined according to key information and believed with user identity
The corresponding cleartext information of manner of breathing.
Optionally, wherein key information is public key information.
Optionally, wherein device further comprises:
First determining module 35 is suitable for receiving the resource allocation request that terminal user sends, is asked according to the resource distribution
It asks, determines whether that the user account for including in being recorded for associated data configures corresponding money according to preset Resource Configuration Algorithm
Source;If so, associated data record is determined as source configuration data record;
Second determining module 36, suitable for if so, associated data record is determined as source configuration data record.
Optionally, wherein device further comprises:
Acquisition module 37 is suitable for obtaining the redemption identity information of redemption user;
Second generation module 38 is suitable for handling rule according to preset ciphertext, generate corresponding with redemption identity information
Cipher-text information;
Judgment module 39 is wrapped suitable for judging during the corresponding cipher-text information of redemption identity information is recorded with source configuration data
Whether the corresponding cipher-text information of subscriber identity information contained matches;
Identification module 310, suitable for the identity of redemption user is identified according to judging result.
Optionally, wherein acquisition module 37 is particularly adapted to:
The scanning result that the identity provided for redemption user is scanned is obtained, redemption is determined according to scanning result
The redemption identity information of user.
Fig. 4 shows that a kind of structural schematic diagram of computing device according to an embodiment of the invention, the present invention are specifically real
Example is applied not limit the specific implementation of computing device.
As shown in figure 4, the computing device may include:Processor (processor) 402, communication interface
(Communications Interface) 404, memory (memory) 406 and communication bus 408.
Wherein:
Processor 402, communication interface 404 and memory 406 complete mutual communication by communication bus 408.
Communication interface 404, for being communicated with the network element of miscellaneous equipment such as client or other servers etc..
It is real can specifically to execute the above-mentioned personal identification method based on block chain for executing program 410 for processor 402
Apply the correlation step in example.
Specifically, program 410 may include program code, which includes computer-managed instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that computing device includes can be same type of processor, such as one or more CPU;Also may be used
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 406, for storing program 410.Memory 406 may include high-speed RAM memory, it is also possible to further include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 410 specifically can be used for so that processor 402 executes following operation:
Receive the subscriber identity information that terminal user sends;
Rule is handled according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information;
The user account of the corresponding cipher-text information of subscriber identity information and terminal user is bound into an associated data
Record;
It will be in associated data record storage to corresponding block chain node;Wherein, associated data record is for using terminal
The identity at family is identified.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 executes following behaviour
Make:
Determine cleartext information corresponding with subscriber identity information;
Operation is encrypted to cleartext information by predetermined encryption algorithm, obtains ciphertext corresponding with subscriber identity information
Information.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 executes following behaviour
Make:
Wherein, predetermined encryption algorithm includes:Hash algorithm.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 executes following behaviour
Make:
It determines key information corresponding with the user account of terminal user, is determined according to key information and believed with user identity
The corresponding cleartext information of manner of breathing.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 executes following behaviour
Make:
Wherein, key information is public key information.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 executes following behaviour
Make:
The resource allocation request that terminal user sends is received according to the resource allocation request to be matched according to preset resource
It sets algorithm and determines whether that the user account for including in being recorded for associated data configures corresponding resource;If so, associated data is remembered
Record is determined as source configuration data record;
If so, associated data record is determined as source configuration data record.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 executes following behaviour
Make:
Obtain the redemption identity information of redemption user;
Rule is handled according to preset ciphertext, generates cipher-text information corresponding with redemption identity information;
Judge that the corresponding cipher-text information of redemption identity information is believed with the user identity for including in source configuration data record
Whether the corresponding cipher-text information of manner of breathing matches;
The identity of redemption user is identified according to judging result.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 executes following behaviour
Make:
The scanning result that the identity provided for redemption user is scanned is obtained, redemption is determined according to scanning result
The redemption identity information of user.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments
Including certain features rather than other feature, but the combination of the feature of different embodiment means to be in the scope of the present invention
Within and form different embodiments.For example, in the following claims, embodiment claimed it is arbitrary it
One mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors
Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) realize device that video data according to the ... of the embodiment of the present invention is handled in real time
In some or all components some or all functions.The present invention is also implemented as described herein for executing
Some or all equipment or program of device (for example, computer program and computer program product) of method.In this way
Realization the present invention program can may be stored on the computer-readable medium, or can with one or more signal shape
Formula.Such signal can be downloaded from internet website and be obtained, and either be provided on carrier signal or with any other shape
Formula provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch
To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame
Claim.
The invention also discloses:A1. a kind of personal identification method based on block chain, including:
Receive the subscriber identity information that terminal user sends;
Rule is handled according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information;
The user account of the corresponding cipher-text information of subscriber identity information and terminal user is bound into an associated data
Record;
It will be in associated data record storage to corresponding block chain node;Wherein, associated data record is for using terminal
The identity at family is identified.
A2. according to the method for A1, wherein handle rule according to preset ciphertext, generate corresponding with subscriber identity information
Cipher-text information the step of specifically include:
Determine cleartext information corresponding with subscriber identity information;
Operation is encrypted to cleartext information by predetermined encryption algorithm, obtains ciphertext corresponding with subscriber identity information
Information.
A3. according to the method for A2, wherein predetermined encryption algorithm includes:Hash algorithm.
A4. according to the method for A2 or A3, wherein the step of determining cleartext information corresponding with subscriber identity information is specific
Including:
It determines key information corresponding with the user account of terminal user, is determined according to key information and believed with user identity
The corresponding cleartext information of manner of breathing.
A5. according to the method for A4, wherein key information is public key information.
A6. according to method any A1-A5, wherein will be in associated data record storage to corresponding block chain node
Before or after step, further comprise:
The resource allocation request that terminal user sends is received according to the resource allocation request to be matched according to preset resource
It sets algorithm and determines whether that the user account for including in being recorded for associated data configures corresponding resource;If so, associated data is remembered
Record is determined as source configuration data record;
Wherein, the resource allocation request includes:Red packet request is asked, and/or robbed to prize drawing request, request of drawing lots, the number of shaking.
A7. according to the method for A6, wherein after the step of associated data record is determined as source configuration data record,
Further comprise:
Obtain the redemption identity information of redemption user;
Rule is handled according to preset ciphertext, generates cipher-text information corresponding with redemption identity information;
Judge that the corresponding cipher-text information of redemption identity information is believed with the user identity for including in source configuration data record
Whether the corresponding cipher-text information of manner of breathing matches;
The identity of redemption user is identified according to judging result.
A8. according to the method for A7, wherein obtain redemption user redemption identity information the step of specifically include:
The scanning result that the identity provided for redemption user is scanned is obtained, redemption is determined according to scanning result
The redemption identity information of user.
B9. a kind of identity recognition device based on block chain, including:
Receiving module is suitable for receiving the subscriber identity information that terminal user sends;
Generation module is suitable for handling rule according to preset ciphertext, generates ciphertext letter corresponding with subscriber identity information
Breath;
Binding module, suitable for binding the user account of the corresponding cipher-text information of subscriber identity information and terminal user
One associated data record;
Logging modle, being suitable for will be in associated data record storage to corresponding block chain node;Wherein, associated data records
It is identified for the identity to terminal user.
B10. according to the device of B9, wherein generation module is particularly adapted to:
Determine cleartext information corresponding with subscriber identity information;
Operation is encrypted to cleartext information by predetermined encryption algorithm, obtains ciphertext corresponding with subscriber identity information
Information.
B11. according to the device of B10, wherein predetermined encryption algorithm includes:Hash algorithm.
B12. according to the device of B10 or B11, wherein generation module is particularly adapted to:
It determines key information corresponding with the user account of terminal user, is determined according to key information and believed with user identity
The corresponding cleartext information of manner of breathing.
B13. according to the device of B12, wherein key information is public key information.
B14. according to device any B9-B14, wherein device further comprises:
First determining module is suitable for receiving the resource allocation request that terminal user sends, according to the resource allocation request,
Determine whether that the user account for including in being recorded for associated data configures corresponding resource according to preset Resource Configuration Algorithm;The
Two determining modules, suitable for if so, associated data record is determined as source configuration data record.
B15. according to the device of B14, wherein device further comprises:
Acquisition module is suitable for obtaining the redemption identity information of redemption user;
Second generation module is suitable for handling rule according to preset ciphertext, generate corresponding with redemption identity information close
Literary information;
Judgment module includes during the corresponding cipher-text information of redemption identity information and source configuration data record suitable for judging
The corresponding cipher-text information of subscriber identity information whether match;
Identification module, suitable for the identity of redemption user is identified according to judging result.
B16. according to the device of B15, wherein acquisition module is particularly adapted to:
The scanning result that the identity provided for redemption user is scanned is obtained, redemption is determined according to scanning result
The redemption identity information of user.
C17. a kind of electronic equipment, including:Processor, memory, communication interface and communication bus, the processor, institute
It states memory and the communication interface completes mutual communication by the communication bus;
The memory makes the processor execute such as storing an at least executable instruction, the executable instruction
The corresponding operation of the personal identification method based on block chain described in any one of A1-A8.
D18. a kind of computer storage media is stored with an at least executable instruction in the storage medium, described to hold
Row instruction makes processor execute the corresponding operation of the personal identification method based on block chain as described in any one of A1-A8.
Claims (10)
1. a kind of personal identification method based on block chain, including:
Receive the subscriber identity information that terminal user sends;
Rule is handled according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information;
The user account of the corresponding cipher-text information of subscriber identity information and terminal user is bound into an associated data record;
It will be in associated data record storage to corresponding block chain node;Wherein, associated data record is for terminal user's
Identity is identified.
2. the method according to claim 1, wherein handle rule according to preset ciphertext, generate opposite with subscriber identity information
The step of cipher-text information answered, specifically includes:
Determine cleartext information corresponding with subscriber identity information;
Operation is encrypted to cleartext information by predetermined encryption algorithm, obtains ciphertext letter corresponding with subscriber identity information
Breath.
3. method according to claim 2, wherein predetermined encryption algorithm includes:Hash algorithm.
4. according to the method for Claims 2 or 3, wherein the step of determining cleartext information corresponding with subscriber identity information has
Body includes:
It determines key information corresponding with the user account of terminal user, is determined and subscriber identity information phase according to key information
Corresponding cleartext information.
5. method according to claim 4, wherein key information is public key information.
6. according to any methods of claim 1-5, wherein will be in associated data record storage to corresponding block chain node
Before or after step, further comprise:
The resource allocation request that terminal user sends is received, according to the resource allocation request, is calculated according to preset resource distribution
Method determines whether that the user account for including in being recorded for associated data configures corresponding resource;If so, associated data is recorded true
It is set to source configuration data record;
Wherein, the resource allocation request includes:Red packet request is asked, and/or robbed to prize drawing request, request of drawing lots, the number of shaking.
7. method according to claim 6, wherein by associated data record be determined as source configuration data record the step of it
Afterwards, further comprise:
Obtain the redemption identity information of redemption user;
Rule is handled according to preset ciphertext, generates cipher-text information corresponding with redemption identity information;
The subscriber identity information phase for including is judged during the corresponding cipher-text information of redemption identity information is recorded with source configuration data
Whether corresponding cipher-text information matches;
The identity of redemption user is identified according to judging result.
8. a kind of identity recognition device based on block chain, including:
Receiving module is suitable for receiving the subscriber identity information that terminal user sends;
Generation module is suitable for handling rule according to preset ciphertext, generates cipher-text information corresponding with subscriber identity information;
Binding module, suitable for the user account of the corresponding cipher-text information of subscriber identity information and terminal user is bound one
Associated data records;
Logging modle, being suitable for will be in associated data record storage to corresponding block chain node;Wherein, associated data record is used for
The identity of terminal user is identified.
9. a kind of electronic equipment, including:Processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute as right is wanted for storing an at least executable instruction, the executable instruction
Ask the corresponding operation of the personal identification method based on block chain described in any one of 1-7.
10. a kind of computer storage media, an at least executable instruction, the executable instruction are stored in the storage medium
Processor is set to execute the corresponding operation of the personal identification method based on block chain as described in any one of claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810620560.5A CN108769057B (en) | 2018-06-15 | 2018-06-15 | Identity recognition method and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810620560.5A CN108769057B (en) | 2018-06-15 | 2018-06-15 | Identity recognition method and device based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108769057A true CN108769057A (en) | 2018-11-06 |
CN108769057B CN108769057B (en) | 2021-11-02 |
Family
ID=63978192
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810620560.5A Active CN108769057B (en) | 2018-06-15 | 2018-06-15 | Identity recognition method and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108769057B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109493058A (en) * | 2018-12-14 | 2019-03-19 | 深圳壹账通智能科技有限公司 | A kind of personal identification method and relevant device based on block chain |
CN109951295A (en) * | 2019-02-27 | 2019-06-28 | 百度在线网络技术(北京)有限公司 | Key handling and application method, device, equipment and medium |
CN110557403A (en) * | 2019-09-26 | 2019-12-10 | 腾讯科技(深圳)有限公司 | Resource allocation method and device based on block chain, storage medium and node equipment |
WO2020107223A1 (en) * | 2018-11-27 | 2020-06-04 | 深圳链报科技有限公司 | Multi-chain information management method and apparatus, storage medium, and blockchain identity parser |
WO2020191928A1 (en) * | 2019-03-27 | 2020-10-01 | 深圳市网心科技有限公司 | Digital identity authentication method, device, apparatus and system, and storage medium |
CN111815845A (en) * | 2020-07-08 | 2020-10-23 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | Shaking method, device, system, equipment and medium based on heterogeneous block chain |
WO2020220412A1 (en) * | 2019-04-29 | 2020-11-05 | 山东工商学院 | Zero knowledge proof-based citizen privacy protection method and system, and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105913174A (en) * | 2016-04-07 | 2016-08-31 | 彭军红 | Lottery issuing method based on block chains |
CN106453259A (en) * | 2016-09-13 | 2017-02-22 | 广州善融信息科技有限公司 | Internet finance safety link realization method based on block chaining encryption technology |
CN107079036A (en) * | 2016-12-23 | 2017-08-18 | 深圳前海达闼云端智能科技有限公司 | Registration and authorization method, apparatus and system |
CN107103097A (en) * | 2017-05-22 | 2017-08-29 | 中链科技有限公司 | Drawing method and terminal device based on block chain technology |
CN107181765A (en) * | 2017-07-25 | 2017-09-19 | 光载无限(北京)科技有限公司 | Network digital identity identifying method based on block chain technology |
CN107257336A (en) * | 2017-06-15 | 2017-10-17 | 北京汇通金财信息科技有限公司 | A kind of user authen method and system |
CN107563798A (en) * | 2017-08-22 | 2018-01-09 | 北京潘达互娱科技有限公司 | Prize-winning data processing method and device |
CN107579817A (en) * | 2017-09-12 | 2018-01-12 | 广州广电运通金融电子股份有限公司 | User ID authentication method, apparatus and system based on block chain |
CN107786547A (en) * | 2017-09-30 | 2018-03-09 | 厦门快商通信息技术有限公司 | A kind of auth method based on block chain, device and computer-readable recording medium |
CN107968953A (en) * | 2017-11-28 | 2018-04-27 | 北京潘达互娱科技有限公司 | Anti- cheating user method and device |
US9967334B2 (en) * | 2015-03-02 | 2018-05-08 | Dell Products Lp | Computing device configuration and management using a secure decentralized transaction ledger |
-
2018
- 2018-06-15 CN CN201810620560.5A patent/CN108769057B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9967334B2 (en) * | 2015-03-02 | 2018-05-08 | Dell Products Lp | Computing device configuration and management using a secure decentralized transaction ledger |
CN105913174A (en) * | 2016-04-07 | 2016-08-31 | 彭军红 | Lottery issuing method based on block chains |
CN106453259A (en) * | 2016-09-13 | 2017-02-22 | 广州善融信息科技有限公司 | Internet finance safety link realization method based on block chaining encryption technology |
CN107079036A (en) * | 2016-12-23 | 2017-08-18 | 深圳前海达闼云端智能科技有限公司 | Registration and authorization method, apparatus and system |
CN107103097A (en) * | 2017-05-22 | 2017-08-29 | 中链科技有限公司 | Drawing method and terminal device based on block chain technology |
CN107257336A (en) * | 2017-06-15 | 2017-10-17 | 北京汇通金财信息科技有限公司 | A kind of user authen method and system |
CN107181765A (en) * | 2017-07-25 | 2017-09-19 | 光载无限(北京)科技有限公司 | Network digital identity identifying method based on block chain technology |
CN107563798A (en) * | 2017-08-22 | 2018-01-09 | 北京潘达互娱科技有限公司 | Prize-winning data processing method and device |
CN107579817A (en) * | 2017-09-12 | 2018-01-12 | 广州广电运通金融电子股份有限公司 | User ID authentication method, apparatus and system based on block chain |
CN107786547A (en) * | 2017-09-30 | 2018-03-09 | 厦门快商通信息技术有限公司 | A kind of auth method based on block chain, device and computer-readable recording medium |
CN107968953A (en) * | 2017-11-28 | 2018-04-27 | 北京潘达互娱科技有限公司 | Anti- cheating user method and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020107223A1 (en) * | 2018-11-27 | 2020-06-04 | 深圳链报科技有限公司 | Multi-chain information management method and apparatus, storage medium, and blockchain identity parser |
CN109493058A (en) * | 2018-12-14 | 2019-03-19 | 深圳壹账通智能科技有限公司 | A kind of personal identification method and relevant device based on block chain |
CN109951295A (en) * | 2019-02-27 | 2019-06-28 | 百度在线网络技术(北京)有限公司 | Key handling and application method, device, equipment and medium |
CN109951295B (en) * | 2019-02-27 | 2021-12-24 | 百度在线网络技术(北京)有限公司 | Key processing and using method, device, equipment and medium |
WO2020191928A1 (en) * | 2019-03-27 | 2020-10-01 | 深圳市网心科技有限公司 | Digital identity authentication method, device, apparatus and system, and storage medium |
WO2020220412A1 (en) * | 2019-04-29 | 2020-11-05 | 山东工商学院 | Zero knowledge proof-based citizen privacy protection method and system, and storage medium |
CN110557403A (en) * | 2019-09-26 | 2019-12-10 | 腾讯科技(深圳)有限公司 | Resource allocation method and device based on block chain, storage medium and node equipment |
CN110557403B (en) * | 2019-09-26 | 2022-05-31 | 腾讯科技(深圳)有限公司 | Resource allocation method and device based on block chain, storage medium and node equipment |
CN111815845A (en) * | 2020-07-08 | 2020-10-23 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | Shaking method, device, system, equipment and medium based on heterogeneous block chain |
CN111815845B (en) * | 2020-07-08 | 2022-03-15 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | Shaking method, device, system, equipment and medium based on heterogeneous block chain |
Also Published As
Publication number | Publication date |
---|---|
CN108769057B (en) | 2021-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108769057A (en) | Personal identification method based on block chain and device | |
CN110473105B (en) | Block chain transaction settlement method, system and related equipment | |
EP3726412B1 (en) | Selectively verifying personal data | |
CN105516104B (en) | A kind of auth method and system of the dynamic password based on TEE | |
CN105357191B (en) | The encryption method and device of user data | |
CN108898389A (en) | Based on the content verification method and device of block chain, electronic equipment | |
JP6574168B2 (en) | Terminal identification method, and method, system, and apparatus for registering machine identification code | |
CN108960825A (en) | Electric endorsement method and device, electronic equipment based on block chain | |
US20210203667A1 (en) | Secure online access control to prevent identification information misuse | |
CN107967416A (en) | The methods, devices and systems of copyright right-safeguarding detection | |
KR20200083929A (en) | System and method for information protection | |
CN106161350B (en) | Method and device for managing application identifier | |
CN112313648A (en) | Authentication system, authentication method, application providing device, authentication device, and authentication program | |
CN110383752A (en) | Compact recording agreement | |
CN109583215A (en) | It is a kind of to handle the method and device of collage-credit data, block chain data-sharing systems | |
CN110020526A (en) | The measures and procedures for the examination and approval, device and storage medium based on block chain authentication | |
CN103139761B (en) | The method and communication terminal of a kind of information real-time show | |
CN109672693A (en) | Lottery rewarding method and device based on block chain | |
CN110071806A (en) | The method and system of data processing based on interface check | |
CN110493207A (en) | A kind of data processing method, device, electronic equipment and storage medium | |
CN109905379A (en) | Lottery rewarding method and device based on block chain | |
CN110209691B (en) | Data processing method and device | |
CN110599342A (en) | Block chain-based identity information authorization method and device | |
CN110149323A (en) | A kind of processing unit with millions TPS contract processing capacity | |
CN109067746A (en) | Communication means and device between client and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |