CN109978551A - A kind of account information confirmation and method for retrieving and device based on block chain - Google Patents
A kind of account information confirmation and method for retrieving and device based on block chain Download PDFInfo
- Publication number
- CN109978551A CN109978551A CN201910252318.1A CN201910252318A CN109978551A CN 109978551 A CN109978551 A CN 109978551A CN 201910252318 A CN201910252318 A CN 201910252318A CN 109978551 A CN109978551 A CN 109978551A
- Authority
- CN
- China
- Prior art keywords
- account information
- user
- information
- account
- block chain
- 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.)
- Withdrawn
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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
- G06Q20/4014—Identity check for transactions
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Computer Security & Cryptography (AREA)
- Finance (AREA)
- Strategic Management (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 account information confirmation and method for retrieving, device, electronic equipment and storage medium that the disclosure is directed to a kind of based on block chain.Wherein, this method comprises: parsing after the account information confirmation request for receiving user's transmission and obtaining the subscriber identity information in the account information confirmation request;The corresponding md5 value of the subscriber identity information is calculated by intelligent contract based on block chain, and is compared with the md5 value corresponding with the user identity searched in preset subscriber identity information and the corresponding table of md5 value in intelligent contract;If comparing result is consistent, account information checking request is then sent to user by the intelligent contract based on block chain, and receives the verification result of user's return, completes account information confirmation, further new address is bound by intelligent contract again, updates the contract related data completion account information and give for change.The disclosure based on block chain technology by making user account information level of security get a promotion.
Description
Technical field
This disclosure relates to field of computer technology, in particular to a kind of account information confirmation based on block chain and
Method for retrieving, device, electronic equipment and computer readable storage medium.
Background technique
With the continuous development of block chain technology, the scale and maturity of block chain field landing application have all obtained length
The development of foot.Decentralization is the known feature of block chain.The decentralization of block chain makes each member have the palm
The right of oneself assets (data, equity and fund etc.) is held, and private key is then the proof of identity, has grasped private key, is also just slapped
Assets all under the identity are held.Due to the decentralization of identity, also mean that once private key is lost, just again without the image of Buddha
Centralized system is such, by platform validation, gives the assets being directly pertaining under this identity for change.
As block chain technology is constantly applied to reality scene, the demand day of card user's critical data is deposited by block chain
Benefit increases.Information such as can not distort at the advantages in the data management of decentralization and chain, so that user possesses more personal data
Big control power, while the accuracy of critical data and safety are ensured.As the data accumulated on chain are more, because losing
It is higher that private key or private key are stolen bring loss of data cost.
Therefore, be badly in need of data equity method for retrieving on a kind of safe chain, come solve to lose because of private key, it is stolen or super
Active and passive bring data safety and the rights allocation problem of doing evil of node.From the above, it can be seen that, it is desirable to provide it is one or more extremely
It is able to solve the technical solution of the above problem less.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure be designed to provide it is a kind of based on block chain account information confirmation and method for retrieving, device, electronics
Equipment and computer readable storage medium, so overcome limitation and defect due to the relevant technologies at least to a certain extent and
One or more caused problem.
According to one aspect of the disclosure, provide it is a kind of based on block chain account information confirmation and method for retrieving, comprising:
Account information obtaining step is parsed and is obtained described after the account information confirmation request for receiving user's transmission
Subscriber identity information in account information confirmation request;
Account information compares step, and it is corresponding to calculate the subscriber identity information by the intelligent contract based on block chain
Md5 value, and it is being searched in corresponding table with md5 value with subscriber identity information preset in intelligent contract with the user identity pair
The md5 value answered compares;
Account information verification step is sent by the intelligent contract based on block chain to user if comparing result is consistent
Account information checking request, and the verification result of user's return is received, if unanimously, the account information completes confirmation;
Account information gives step for change, sends verification information to confirmation account is completed, receives and verify the verifying of user's return
Information, if comparing result is consistent, intelligent contract binds new address again, updates contract related data and completes the account information
It gives for change.
In a kind of exemplary embodiment of the disclosure, the account information obtaining step further include:
After receiving user account information confirmation request, the request for obtaining subscriber identity information, the user identity letter are sent
Breath includes but is not limited to cell-phone number, user account, registration mailbox, close guarantor's problem;
The subscriber identity information of user is received, and carries out authentication, if carrying out account information comparison step by verifying
Suddenly.
In a kind of exemplary embodiment of the disclosure, the account information compares step further include:
Intelligent contract based on block chain, according to the cell-phone number and the subscriber identity information in the subscriber identity information
The corresponding raw address information in block chain calculates the corresponding md5 value of the subscriber identity information.
In a kind of exemplary embodiment of the disclosure, the account information verification step further include:
Intelligent contract based on block chain calls the oraclize module of external api to send account information verifying to user and asks
It asks.
In a kind of exemplary embodiment of the disclosure, the method also includes:
If authentication does not pass through;And
Md5 value comparing result is inconsistent;And
Account information verifying does not pass through;Then
Account information can not confirm, terminate process.
In a kind of exemplary embodiment of the disclosure, the method also includes:
User generates id and carries out authentication after completing account registration;
After through authentication, it is locally generated private key and address;
By the super node based on block chain by md5 value, the identity of the id of user, address, cell-phone number and account address
The md5 value of information is write in intelligent contract.
In a kind of exemplary embodiment of the disclosure, the method also includes:
User passes through the accuracy for being viewed locally and verifying personal information in intelligent contract;And
User obtains the permission by data under the private key operation id.
In a kind of exemplary embodiment of the disclosure, the method also includes:
It receives user and modifies binding cell-phone number request, send alarm message to user;
State of the user account information in intelligent contract is set to the frozen state of preset time, if described default
User does not cancel frozen state in time, then binds new cell-phone number.
In a kind of exemplary embodiment of the disclosure, the method also includes:
If user initiates to cancel frozen state request within a preset time, the account information is confirmed;
If interrupting modification binding cell-phone number process by confirmation.
In one aspect of the present disclosure, provide it is a kind of based on block chain account information confirmation and device for retrieving, comprising:
Account information obtains module, for parsing and obtaining after the account information confirmation request for receiving user's transmission
Subscriber identity information in the account information confirmation request;
Account information contrast module, it is corresponding for calculating the subscriber identity information by the intelligent contract based on block chain
Md5 value, and it is being searched in corresponding table with md5 value with subscriber identity information preset in intelligent contract with the user identity
Corresponding md5 value compares;
Account information authentication module, if consistent for comparing result, by the intelligent contract based on block chain to user
Account information checking request is sent, and receives the verification result of user's return, if unanimously, the account information completes confirmation;
Account information recovery module, for receiving and verifying user's return to confirmation account transmission verification information is completed
Verification information, if comparing result is consistent, intelligent contract binds new address again, updates contract related data and completes the account
Information is given for change.
In one aspect of the present disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is by the processing
The method according to above-mentioned any one is realized when device executes.
In one aspect of the present disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with, institute
State realization method according to above-mentioned any one when computer program is executed by processor.
The account information based on block chain in the exemplary embodiment of the disclosure confirms and method for retrieving, is receiving use
After the account information confirmation request that family is sent, parses and obtain the subscriber identity information in the account information confirmation request;It is logical
Cross intelligent contract based on block chain and calculate the corresponding md5 value of the subscriber identity information, and with it is preset in intelligent contract
The md5 value corresponding with the user identity searched in subscriber identity information and the corresponding table of md5 value compares;If comparing result
Unanimously, then account information checking request is sent to user by the intelligent contract based on block chain, and receives testing for user's return
For card as a result, if consistent, the account information completes confirmation.On the one hand, it establishes the address md5 of user account information and passes through base
It is write in block chain network in the intelligent contract of block chain, improves the security level of account information;On the other hand, by being based on
Data equity method for retrieving on the chain of block chain, it is ensured that because private key is lost, the stolen or active and passive band of doing evil of super node
The account information data safety and rights allocation problem come.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
Its example embodiment is described in detail by referring to accompanying drawing, the above and other feature and advantage of the disclosure will become
It is more obvious.
Fig. 1 shows account information confirmation and method for retrieving according to one exemplary embodiment of the disclosure based on block chain
Flow chart;
Fig. 2 shows according to one exemplary embodiment of the disclosure based on block chain account information confirmation and device for retrieving
Schematic block diagram;
Fig. 3 diagrammatically illustrates the block diagram of the electronic equipment according to one exemplary embodiment of the disclosure;And
Fig. 4 diagrammatically illustrates the schematic diagram of the computer readable storage medium according to one exemplary embodiment of the disclosure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However,
It will be appreciated by persons skilled in the art that can be with technical solution of the disclosure without one in the specific detail or more
It is more, or can be using other methods, constituent element, material, device, step etc..In other cases, it is not shown in detail or describes
Known features, method, apparatus, realization, material or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or these are realized in the module of one or more softwares hardening
A part of functional entity or functional entity, or realized in heterogeneous networks and/or processor device and/or microcontroller device
These functional entitys.
In this exemplary embodiment, provide firstly it is a kind of based on block chain account information confirmation and method for retrieving;Ginseng
It examines shown in Fig. 1, should be confirmed based on the account information of block chain and method for retrieving may comprise steps of:
Account information obtaining step S110 is parsed and is obtained after the account information confirmation request for receiving user's transmission
Subscriber identity information in the account information confirmation request;
Account information compares step S120, and it is corresponding to calculate the subscriber identity information by the intelligent contract based on block chain
Md5 value, and it is being searched in corresponding table with md5 value with subscriber identity information preset in intelligent contract with the user identity
Corresponding md5 value compares;
Account information verification step S130, if comparing result is consistent, by the intelligent contract based on block chain to user
Account information checking request is sent, and receives the verification result of user's return, if unanimously, the account information completes confirmation;
Account information gives step S140 for change, sends verification information to confirmation account is completed, receives and verify user's return
Verification information, if comparing result is consistent, intelligent contract binds new address again, updates contract related data and completes the account
Information is given for change.
According in this example embodiment based on block chain account information confirmation and method for retrieving, on the one hand, establish and use
The address md5 of family account information is simultaneously write in block chain network by the intelligent contract based on block chain, and account information is improved
Security level;On the other hand, pass through data equity method for retrieving on the chain based on block chain, it is ensured that because private key is lost, quilt
Robber or active and passive bring account information data safety and the rights allocation problem of doing evil of super node.
In the following, will in this example embodiment based on block chain account information confirmation and method for retrieving carry out it is further
Explanation.
, can be after the account information confirmation request for receiving user's transmission in account information obtaining step S110, solution
It analyses and obtains the subscriber identity information in the account information confirmation request.
In this exemplary embodiment, the account information obtaining step further include:
After receiving user account information confirmation request, the request for obtaining subscriber identity information, the user identity letter are sent
Breath includes but is not limited to cell-phone number, user account, registration mailbox, close guarantor's problem;
The subscriber identity information of user is received, and carries out authentication, if carrying out account information comparison step by verifying
Suddenly.
In account information comparison step S120, the user identity can be calculated by the intelligent contract based on block chain
The corresponding md5 value of information, and searched in corresponding table with subscriber identity information preset in intelligent contract with md5 value with it is described
The corresponding md5 value of user identity compares.
In this exemplary embodiment, the account information compares step further include:
Intelligent contract based on block chain, according to the cell-phone number and the subscriber identity information in the subscriber identity information
The corresponding raw address information in block chain calculates the corresponding md5 value of the subscriber identity information.
In account information verification step S130, if can be consistent with comparing result, be closed by the intelligence based on block chain
Account information checking request about is sent to user, and receives the verification result of user's return, if unanimously, the account information is complete
At confirmation.
Account information is given for change in step S140, can send verification information to confirmation account is completed, receive and verify user
The verification information of return, if comparing result is consistent, intelligent contract binds new address again, updates contract related data and completes institute
Account information is stated to give for change.
In this exemplary embodiment, the account information verification step further include:
Intelligent contract based on block chain calls the oraclize module of external api to send account information verifying to user and asks
It asks.
In this exemplary embodiment, when user forgets private key or private key is stolen, initiates account and give request for change, first
Authentication is done, if authentication fails, gives account failure for change;If success, super node is sent to contract requests (id,
Cell-phone number, original address and new address), it calls and sends identifying code service intelligence contract calculating " cell-phone number+raw address "
Md5 value, and compared with the data stored on contract pair, if inconsistent (may be server-side data exception or super node examination
Figure is done evil), then account failure is given for change, if unanimously, intelligent contract, which calls, sends identifying code service, and records the verifying of sending
Code.Herein due to the particularity that block chain needs to build a consensus, contract calls external api to use oraclize module.User is defeated
Enter the identifying code received, super node submits information into intelligent contract.If identifying code is consistent, intelligent contract is bound again
New address updates contract related data (mainly cell-phone number+new address md5 value), otherwise, gives account failure for change.
In this exemplary embodiment, if authentication does not pass through;And
Md5 value comparing result is inconsistent;And
Account information verifying does not pass through;Then
Account information can not confirm, terminate process.
In this exemplary embodiment, the method also includes:
User generates id and carries out authentication after completing account registration;
After through authentication, it is locally generated private key and address;
By the super node based on block chain by md5 value, the identity of the id of user, address, cell-phone number and account address
The md5 value of information is write in intelligent contract.
In this exemplary embodiment, the method also includes:
User passes through the accuracy for being viewed locally and verifying personal information in intelligent contract;And
User obtains the permission by data under the private key operation id.
In this exemplary embodiment, user's register account number on platform generates id, and user carries out identity on platform and recognizes
Card;After user passes through authentication, it is locally generated one group of private key and address.Super node is responsible for the id of user, address,
Cell-phone number+md5 of the account address and md5 of identity information writes inside intelligent contract, and user can be viewed locally and verify intelligence
The accuracy of personal information in energy contract.User obtains the permission by data under the private key operation id.
In this exemplary embodiment, the method also includes:
It receives user and modifies binding cell-phone number request, send alarm message to user;
State of the user account information in intelligent contract is set to the frozen state of preset time, if described default
User does not cancel frozen state in time, then binds new cell-phone number.
In this exemplary embodiment, which is characterized in that the method also includes:
If user initiates to cancel frozen state request within a preset time, the account information is confirmed;
If interrupting modification binding cell-phone number process by confirmation.
In this exemplary embodiment, user initiates modification and binds cell-phone number operation, and user is proved certainly by input private key
Oneself identity.If input error, cell-phone number failure is modified, is terminated.Input is correct, then super node, which calls, sends short message clothes
Business provides alarm message to former mobile phone, prevents malicious modification cell-phone number.State of the account in intelligent contract, which is set to, freezes shape
State, three days by a definite date;In three days, user initiates " recalling modification cell-phone number " operation, verifies the identity of user, if do not passed through,
Modification cell-phone number can not be interrupted;If without " recall modification cell-phone number " operation in three days, intelligent contract user bound mobile phone again
Number, modification cell-phone number success terminates.If passed through, super node sends request (id, cell-phone number, address) to contract, calls hair
Send identifying code service.Intelligent contract calculates the md5 value of " cell-phone number+address ", and compared with the data stored on contract pair.If
It is inconsistent, then it can not interrupt modification cell-phone number;If (may be unanimously that server-side data exception or super node attempt to make
Dislike), intelligent contract, which calls, sends identifying code service, and records the identifying code of sending.User inputs the identifying code received, super section
Point submits information into intelligent contract.
It should be noted that although describing each step of method in the disclosure in the accompanying drawings with particular order,
This does not require that or implies must execute these steps in this particular order, or have to carry out step shown in whole
Just it is able to achieve desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and held by certain steps
Row, and/or a step is decomposed into execution of multiple steps etc..
In addition, in this exemplary embodiment, a kind of account information confirmation based on block chain and device for retrieving are additionally provided.
Referring to shown in Fig. 2, it should be confirmed based on the account information of block chain and device for retrieving 200 may include: that account information obtains module
210, account information contrast module 220, account information authentication module 230 and account information recovery module 240.Wherein:
Account information obtains module 210, for parsing and obtaining after the account information confirmation request for receiving user's transmission
Take the subscriber identity information in the account information confirmation request;
Account information contrast module 220, for calculating the subscriber identity information by the intelligent contract based on block chain
Corresponding md5 value, and it is being searched in corresponding table with md5 value with subscriber identity information preset in intelligent contract with the user
The corresponding md5 value of identity compares;
Account information authentication module 230, if for comparing result it is consistent, by the intelligent contract based on block chain to
Family sends account information checking request, and receives the verification result of user's return, if unanimously, the account information is completed true
Recognize;
Account information recovery module 240, for receiving and verifying user's return to confirmation account transmission verification information is completed
Verification information, if comparing result is consistent, intelligent contract binds new address again, updates contract related data and completes the account
Family information is given for change.
Respectively the account information based on block chain confirms among the above and the detail of device for retrieving module is corresponding
It is described in detail in audio paragraph recognition methods, therefore details are not described herein again.
It should be noted that although being referred to account information confirmation and the device for retrieving based on block chain in the above detailed description
200 several modules or unit, but this division is not enforceable.In fact, according to embodiment of the present disclosure, on
Two or more modules of text description or the feature and function of unit can embody in a module or unit.Instead
It, the feature and function of an above-described module or unit can be with further division by multiple modules or unit Lai
It embodies.
In addition, in an exemplary embodiment of the disclosure, additionally providing a kind of electronic equipment that can be realized the above method.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, completely
Software implementation (including firmware, microcode etc.) or hardware and software in terms of combine embodiment, may be collectively referred to as here
Circuit, " module " or " system ".
The electronic equipment 300 of this embodiment according to the present invention is described referring to Fig. 3.The electronics that Fig. 3 is shown is set
Standby 300 be only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 3, electronic equipment 300 is showed in the form of universal computing device.The component of electronic equipment 300 can wrap
It includes but is not limited to: at least one above-mentioned processing unit 310, at least one above-mentioned storage unit 320, the different system components of connection
The bus 330 of (including storage unit 320 and processing unit 310), display unit 340.
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 310
Row, so that various according to the present invention described in the execution of the processing unit 310 above-mentioned " illustrative methods " part of this specification
The step of exemplary embodiment.For example, the processing unit 310 can execute step S110 as shown in fig. 1 to step
S140。
Storage unit 320 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 3201 and/or cache memory unit 3202, it can further include read-only memory unit (ROM) 3203.
Storage unit 320 can also include program/utility with one group of (at least one) program module 3205
3204, such program module 3205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 330 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 300 can also be with one or more external equipments 370 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 300 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 300 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 350.Also, electronic equipment 300 can be with
By network adapter 360 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As shown, network adapter 360 is communicated by bus 330 with other modules of electronic equipment 300.
It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 300, including but not
Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
By the description of above embodiment, those skilled in the art is it can be readily appreciated that example embodiment described herein
It can also be realized in such a way that software is in conjunction with necessary hardware by software realization.Therefore, implemented according to the disclosure
The technical solution of example can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can
To be personal computer, server, terminal installation or network equipment etc.) it executes according to the method for the embodiment of the present disclosure.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention can be with
It is embodied as a kind of form of program product comprising program code, it is described when described program product is run on the terminal device
Program code is for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to the present invention
The step of various exemplary embodiments.
Refering to what is shown in Fig. 4, the program product 400 for realizing the above method of embodiment according to the present invention is described,
It can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, such as
It is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing, which can be, appoints
What include or the tangible medium of storage program that the program can be commanded execution system, device or device use or and its
It is used in combination.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, 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.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim
It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.
Claims (12)
1. a kind of account information confirmation and method for retrieving based on block chain, which is characterized in that the described method includes:
Account information obtaining step parses after the account information confirmation request for receiving user's transmission and obtains the account
Subscriber identity information in validation of information request;
Account information compares step, calculates the corresponding md5 value of the subscriber identity information by the intelligent contract based on block chain,
And it and is searched in preset subscriber identity information and the corresponding table of md5 value in intelligent contract corresponding with the user identity
Md5 value compares;
Account information verification step sends account to user by the intelligent contract based on block chain if comparing result is consistent
Information verification request, and the verification result of user's return is received, if unanimously, the account information completes confirmation;
Account information gives step for change, sends verification information to confirmation account is completed, receives and verify the verification information of user's return,
If comparing result is consistent, intelligent contract binds new address again, updates the contract related data completion account information and gives for change.
2. the method as described in claim 1, which is characterized in that the account information obtaining step further include:
After receiving user account information confirmation request, the request for obtaining subscriber identity information, the subscriber identity information packet are sent
Include but be not limited to cell-phone number, user account, registration mailbox, close guarantor's problem;
The subscriber identity information of user is received, and carries out authentication, if carrying out account information comparison step by verifying.
3. the method as described in claim 1, which is characterized in that the account information compares step further include:
Intelligent contract based on block chain, according in the subscriber identity information cell-phone number and the subscriber identity information in area
Corresponding raw address information in block chain calculates the corresponding md5 value of the subscriber identity information.
4. the method as described in claim 1, which is characterized in that the account information verification step further include:
Intelligent contract based on block chain calls the oraclize module of external api to send account information checking request to user.
5. the method as described in claim 1,2,3 and 4, which is characterized in that the method also includes:
If authentication does not pass through;And
Md5 value comparing result is inconsistent;And
Account information verifying does not pass through;Then
Account information can not confirm, terminate process.
6. the method as described in claim 1, which is characterized in that the method also includes:
User generates id and carries out authentication after completing account registration;
After through authentication, it is locally generated private key and address;
By the super node based on block chain by the id of user, address, cell-phone number and the md5 value of account address, identity information
Md5 value write in intelligent contract.
7. method as claimed in claim 6, which is characterized in that the method also includes:
User passes through the accuracy for being viewed locally and verifying personal information in intelligent contract;And
User obtains the permission by data under the private key operation id.
8. the method as described in claim 1, which is characterized in that the method also includes:
It receives user and modifies binding cell-phone number request, send alarm message to user;
State of the user account information in intelligent contract is set to the frozen state of preset time, if the preset time
Interior user does not cancel frozen state, then binds new cell-phone number.
9. method according to claim 8, which is characterized in that the method also includes:
If user initiates to cancel frozen state request within a preset time, the account information is confirmed;
If interrupting modification binding cell-phone number process by confirmation.
10. a kind of account information confirmation and device for retrieving based on block chain, which is characterized in that described device includes:
Account information obtains module, for after the account information confirmation request for receiving user's transmission, parsing and obtaining described
Subscriber identity information in account information confirmation request;
Account information contrast module, it is corresponding for calculating the subscriber identity information by the intelligent contract based on block chain
Md5 value, and it is being searched in corresponding table with md5 value with subscriber identity information preset in intelligent contract with the user identity pair
The md5 value answered compares;
Account information authentication module is sent by the intelligent contract based on block chain to user if consistent for comparing result
Account information checking request, and the verification result of user's return is received, if unanimously, the account information completes confirmation;
Account information recovery module, for receiving and verifying the verifying of user's return to confirmation account transmission verification information is completed
Information, if comparing result is consistent, intelligent contract binds new address again, updates contract related data and completes the account information
It gives for change.
11. a kind of electronic equipment, which is characterized in that including
Processor;And
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by the processor
Method according to any one of claim 1 to 9 is realized when row.
12. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor
Shi Shixian is according to claim 1 to any one of 9 the methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910252318.1A CN109978551A (en) | 2019-03-29 | 2019-03-29 | A kind of account information confirmation and method for retrieving and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910252318.1A CN109978551A (en) | 2019-03-29 | 2019-03-29 | A kind of account information confirmation and method for retrieving and device based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109978551A true CN109978551A (en) | 2019-07-05 |
Family
ID=67081860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910252318.1A Withdrawn CN109978551A (en) | 2019-03-29 | 2019-03-29 | A kind of account information confirmation and method for retrieving and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109978551A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110490597A (en) * | 2019-08-15 | 2019-11-22 | 腾讯科技(深圳)有限公司 | Management and control measures method of adjustment, device, medium and equipment based on block chain |
CN110851881A (en) * | 2019-10-31 | 2020-02-28 | 成都欧珀通信科技有限公司 | Security detection method and device for terminal equipment, electronic equipment and storage medium |
CN111666545A (en) * | 2020-07-23 | 2020-09-15 | 光载互联(杭州)科技有限公司 | Block chain-based digital identity information retrieving system and method |
CN111738734A (en) * | 2020-06-22 | 2020-10-02 | 朱俊达 | Method for transferring and merging account information in block chain |
CN111930753A (en) * | 2020-09-15 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Data retrieving method and device, electronic equipment and storage medium |
CN113094755A (en) * | 2021-05-10 | 2021-07-09 | 光载无限(北京)科技有限公司 | Processing method and processing device for account information in block chain |
CN113378240A (en) * | 2021-06-23 | 2021-09-10 | 浪潮云信息技术股份公司 | Synchronous calling user identity authentication method based on block chain |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453407A (en) * | 2016-11-23 | 2017-02-22 | 江苏通付盾科技有限公司 | Identity authentication method based on block chain, authentication server and user terminal |
US20170213221A1 (en) * | 2016-01-26 | 2017-07-27 | Bank Of America Corporation | System for tracking and validation of multiple instances of an entity in a process data network |
CN108282339A (en) * | 2018-01-25 | 2018-07-13 | 中国科学院合肥物质科学研究院 | A kind of digital identity method for retrieving based on intelligent contract and from social media |
CN108647966A (en) * | 2018-05-09 | 2018-10-12 | 深圳市融讯科技有限公司 | A kind of data interactive method and device based on block chain |
CN109327312A (en) * | 2018-10-26 | 2019-02-12 | 阿里巴巴集团控股有限公司 | Authentication method and device, electronic equipment |
-
2019
- 2019-03-29 CN CN201910252318.1A patent/CN109978551A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170213221A1 (en) * | 2016-01-26 | 2017-07-27 | Bank Of America Corporation | System for tracking and validation of multiple instances of an entity in a process data network |
CN106453407A (en) * | 2016-11-23 | 2017-02-22 | 江苏通付盾科技有限公司 | Identity authentication method based on block chain, authentication server and user terminal |
CN108282339A (en) * | 2018-01-25 | 2018-07-13 | 中国科学院合肥物质科学研究院 | A kind of digital identity method for retrieving based on intelligent contract and from social media |
CN108647966A (en) * | 2018-05-09 | 2018-10-12 | 深圳市融讯科技有限公司 | A kind of data interactive method and device based on block chain |
CN109327312A (en) * | 2018-10-26 | 2019-02-12 | 阿里巴巴集团控股有限公司 | Authentication method and device, electronic equipment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110490597A (en) * | 2019-08-15 | 2019-11-22 | 腾讯科技(深圳)有限公司 | Management and control measures method of adjustment, device, medium and equipment based on block chain |
CN110851881A (en) * | 2019-10-31 | 2020-02-28 | 成都欧珀通信科技有限公司 | Security detection method and device for terminal equipment, electronic equipment and storage medium |
CN111738734A (en) * | 2020-06-22 | 2020-10-02 | 朱俊达 | Method for transferring and merging account information in block chain |
CN111666545A (en) * | 2020-07-23 | 2020-09-15 | 光载互联(杭州)科技有限公司 | Block chain-based digital identity information retrieving system and method |
CN111930753A (en) * | 2020-09-15 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Data retrieving method and device, electronic equipment and storage medium |
CN113094755A (en) * | 2021-05-10 | 2021-07-09 | 光载无限(北京)科技有限公司 | Processing method and processing device for account information in block chain |
CN113378240A (en) * | 2021-06-23 | 2021-09-10 | 浪潮云信息技术股份公司 | Synchronous calling user identity authentication method based on block chain |
CN113378240B (en) * | 2021-06-23 | 2023-03-28 | 浪潮云信息技术股份公司 | Synchronous calling user identity authentication method based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109978551A (en) | A kind of account information confirmation and method for retrieving and device based on block chain | |
US11870775B2 (en) | Biometric identification and verification among IoT devices and applications | |
CN109194673A (en) | Authentication method, system, equipment and storage medium based on authorized user message | |
CN110826043B (en) | Digital identity application system and method, identity authentication system and method | |
CN106778291B (en) | The partition method and isolating device of application program | |
JP6979966B2 (en) | Account linking and service processing Providing methods and devices | |
CN108964925B (en) | File authentication equipment method, device, equipment and readable medium | |
CN104168304B (en) | Single-node login system and method under VDI environment | |
CN111612167B (en) | Combined training method, device, equipment and storage medium of machine learning model | |
US10389685B2 (en) | Systems and methods for securely transferring selective datasets between terminals | |
CN111833507B (en) | Visitor authentication method, device, equipment and computer readable storage medium | |
CN109543441A (en) | Database authorization method, device, computer equipment and storage medium | |
KR102008668B1 (en) | Security system and method for protecting personal information of file stored in external storage device | |
US10726141B2 (en) | Dynamically constructed capability for enforcing object access order | |
CN114338666A (en) | Method, device, equipment and medium for verifying Fabric block chain cross-chain transaction | |
CN115146815A (en) | Service processing method, device, computer and readable storage medium | |
US10931790B2 (en) | Systems and methods for securely transferring selective datasets between terminals with multi-applications support | |
CN104704502A (en) | Using trusted devices to augment location-based account protection | |
CN110148002A (en) | It is sold back to a grain-producing area method and device, the electronic equipment, storage medium of receipt | |
US10523668B2 (en) | Authentication method with enhanced security based on eye recognition and authentication system thereof | |
US11874752B1 (en) | Methods and systems for facilitating cyber inspection of connected and autonomous electrical vehicles using smart charging stations | |
CN108052842B (en) | Signature data storage and verification method and device | |
CN109254965A (en) | Model treatment method and system, storage medium and electronic equipment | |
CN112543194B (en) | Mobile terminal login method and device, computer equipment and storage medium | |
CN109471849B (en) | Model processing method and device, storage medium and electronic equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190705 |
|
WW01 | Invention patent application withdrawn after publication |