CN111914230A - Block chain-based identity authentication method, system, terminal device and storage medium - Google Patents
Block chain-based identity authentication method, system, terminal device and storage medium Download PDFInfo
- Publication number
- CN111914230A CN111914230A CN202010692181.4A CN202010692181A CN111914230A CN 111914230 A CN111914230 A CN 111914230A CN 202010692181 A CN202010692181 A CN 202010692181A CN 111914230 A CN111914230 A CN 111914230A
- Authority
- CN
- China
- Prior art keywords
- account
- information
- request
- private key
- user
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0891—Revocation or update of secret information, e.g. encryption key update or rekeying
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Strategic Management (AREA)
- Data Mining & Analysis (AREA)
- Marketing (AREA)
- Economics (AREA)
- Probability & Statistics with Applications (AREA)
- Mathematical Physics (AREA)
- Fuzzy Systems (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The present disclosure provides an identity authentication method, system, terminal device and storage medium based on a block chain, wherein the method includes: after receiving an account inquiry request of a user, judging whether the account inquiry request is a preset account first information request; if the request is an account first information request, verifying whether an account public key, an account first private key and signature information in the account inquiry request are respectively consistent with an account public key, an account first private key and signature information corresponding to the account first information in a block chain; and if the account information is consistent with the account information, providing the first information of the account for the user. The method and the device for verifying the identity of the account have the advantages that the block chain technology is used, the transparentization and high efficiency of the identity verification, the query and the like of the account are achieved, and the problems that the current pension account is complex in query process, unpublished and transparent in query information and the like can be at least solved, so that the personal payment social security interest is effectively protected.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an identity authentication method based on a blockchain, an identity authentication system based on a blockchain, a terminal device, and a computer-readable storage medium.
Background
With the gradual formation of the aging society, the aged people are nourished and the aged people are the hot topics, and the personal account system becomes the essential system of basic aged people insurance in China. At present, the information query of the user personal pension account is complicated, and the user usually needs to carry the personal identification card to a local area professional introduction institute, a local area social security division center or a street (town) community affair center to apply for a password, and the query information is incomplete and the transaction information is opaque.
China is in the period of urbanization construction and economic transformation deepening at present, population and labor force are promoted to flow greatly in cities and villages, and in order to guarantee the safety management of pension accounts, the method for realizing high efficiency of pension account inquiry and transparence of identity verification is provided, so that the social security rights of personal payment are effectively protected, and the problem to be solved at present is urgent.
Disclosure of Invention
The invention provides an identity verification method, an identity verification system, terminal equipment and a storage medium based on a block chain, which are used for solving the transparentization of identity authentication, inquiry and the like of a pension account by using the block chain, so that the personal payment social security interest is effectively protected.
According to an aspect of the embodiments of the present disclosure, an identity authentication method based on a block chain is provided, including:
after receiving an account inquiry request of a user, judging whether the account inquiry request is a preset account first information request;
if the request is an account first information request, verifying whether an account public key, an account first private key and signature information in the account inquiry request are respectively consistent with an account public key, an account first private key and signature information corresponding to the account first information in a block chain;
and if the account information is consistent with the account information, providing the first information of the account for the user.
In one embodiment, after determining whether the account inquiry request is an account first information request, the method further includes:
if the account is not the first information request of the account, continuously judging whether the account inquiry request is a preset account second information request;
if the request is an account second information request, verifying whether an account public key, an account first private key, an account second private key and signature information in the account inquiry request are respectively consistent with an account public key, an account first private key, an account second private key and signature information which correspond to the account second information in a block chain;
and if the account information is consistent with the account information, providing the second information of the account for the user.
In one embodiment, the account is a pension account, the first information of the account includes basic user information and basic pension information of the pension account, and the second information of the account includes basic user information, basic pension information, account amount and account transaction information of the pension account.
In one embodiment, after providing the second information of the account to the user, the method further includes:
modifying the account second private key; and the number of the first and second groups,
broadcasting the modified account second private key in the blockchain.
According to another aspect of the embodiments of the present disclosure, there is provided an identity verification system based on a blockchain, including:
the system comprises a judging module, a first information processing module and a second information processing module, wherein the judging module is used for judging whether an account inquiry request is a preset account first information request or not after receiving the account inquiry request of a user;
the verification module is configured to verify whether an account public key, an account first private key and signature information in the account inquiry request are consistent with an account public key, an account first private key and signature information corresponding to the account first information in a block chain respectively when the judgment module judges that the account first information request is received;
and the information providing module is arranged for providing the first account information for the user when the verification module verifies that the public account key, the first account private key and the signature information are consistent.
In one embodiment, the determining module is further configured to, when it is determined that the account query request is not the account first information request, continuously determine whether the account query request is a preset account second information request;
the verification module is further configured to verify whether an account public key, an account first private key, an account second private key and signature information in the user account query request are consistent with an account public key, an account first private key, an account second private key and signature information corresponding to the account second information in the block chain respectively when the judgment module judges that the account second information request is the account second information request;
the information providing module is configured to provide the account second information to the user when the verification module verifies that the account public key, the account first private key, the account second private key and the signature information are all consistent.
In one embodiment, the account is a pension account, the first information of the account includes basic user information and basic pension information of the pension account, and the second information of the account includes basic user information, basic pension information, account amount and account transaction information of the pension account.
In one embodiment, the system further comprises:
a private key modification module arranged to modify the account second private key; and the number of the first and second groups,
a broadcast module configured to broadcast the modified account second private key in the blockchain.
According to another aspect of the embodiments of the present disclosure, there is provided a terminal device, including a memory and a processor, where the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the block chain based identity authentication method.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor executes the method for identity authentication based on a blockchain.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the identity authentication method based on the block chain provided by the embodiment of the disclosure judges whether an account inquiry request is a preset account first information request or not after receiving the account inquiry request of a user; and if the request is an account first information request, verifying whether an account public key, an account first private key and signature information in the account inquiry request are respectively consistent with an account public key, an account first private key and signature information corresponding to the account first information in the block chain, and if so, providing the account first information for the user. The method and the device for verifying the identity of the account have the advantages that the block chain technology is used, the transparentization and high efficiency of the identity verification, the query and the like of the account are achieved, and the problems that the current pension account is complex in query process, unpublished and transparent in query information and the like can be at least solved, so that the personal payment social security interest is effectively protected.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the disclosure. The objectives and other advantages of the disclosure may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the example serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a schematic flowchart of an identity authentication method based on a blockchain according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an identity authentication method based on a blockchain according to another embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an identity verification system based on a blockchain according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, specific embodiments of the present disclosure are described below in detail with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order; also, the embodiments and features of the embodiments in the present disclosure may be arbitrarily combined with each other without conflict.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of explanation of the present disclosure, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The block chain (Blockchain) is a distributed book (database) technology which connects data blocks in order and guarantees the data blocks to be not falsified and forged in a cryptographic way. In popular terms, the block chain technology can realize the public transparency, the non-falsification and the traceability of all data information in a system without the endorsement of a third party. As a bottom layer protocol or technical scheme, the block chain can effectively solve the trust problem, realizes the free transfer of value, and has wide prospects in the fields of transaction settlement of digital currency and financial assets, digital government affairs, certificate-storing anti-counterfeiting data service and the like.
In order to solve the problems that the existing pension account information is difficult to query and the identity authentication is not transparent, the pension account information is uploaded to the block chain, the identity authentication of a user is queried based on the block chain, and the corresponding pension account information is provided for the user after the verification is successful, so that the high efficiency of pension account query and the transparency of the identity authentication are realized, and the personal payment of social security rights and interests are effectively protected.
Referring to fig. 1, fig. 1 is a flowchart illustrating an identity authentication method based on a block chain according to an embodiment of the present disclosure, and specifically includes steps S101 to S103.
In step S101, after receiving an account inquiry request of a user, determining whether the account inquiry request is a preset account first information request, if so, executing step S102, otherwise, ending the process.
In the embodiment of the present disclosure, the pension account information may include first account information and second account information, and the user may query different information of the pension account according to the query authority, and it needs to be explained that a person skilled in the art may set different information of the pension account information according to an actual situation. In this embodiment, the first account information includes basic user information and basic pension information of a pension account, and further, the basic user information includes a mobile phone number, a name, a gender, a social security number, a working time, a simultaneous payment age, a first personal payment time, and the like of a user; the pension basic information comprises average wages of workers on the current ground in the year, the base number of wages paid by individuals in the current year, the number of months paid by individuals in the current year, the interest of accounts kept in the current year, the storage amount condition of individual accounts and the like. It should be noted that, in the embodiment of the present disclosure, the first information of the account is also basic information of the pension account, and the second information of the account is also advanced information of the pension account.
In this embodiment, before step S101, first, account information of the pension of the user needs to be uploaded to a block chain, where the pension account information carries an account public key, an account private key (which may include an account first private key and an account second private key), signature information, and the like for verifying the information, and then the account information of the pension of the user is verified through an intelligent contract platform of the block chain.
It can be understood that the account query request carries the pension account and the account public key, the account first private key and the signature information of the pension account, and when the account second information is requested, the account query request carries the pension account and the account public key, the account first private key, the account second private key and the signature information of the pension account.
In step S102, it is verified whether the account public key, the account first private key, and the signature information in the account query request are respectively consistent with the account public key, the account first private key, and the signature information corresponding to the account first information in the block chain, if so, step S103 is executed, and if there is an inconsistency in information verification, the process is ended and the information is fed back to the user for re-verification.
Specifically, the account public key, the first account private key and the signature information are compared with the account public key, the first account private key and the signature information in the user pension account information which is verified to pass through by the intelligent contract platform of the block chain, and the comparison result shows that the verification is passed.
In step S103, the account first information is provided to the user, and the process ends.
After the verification is completed, it is described that the user initiating the account query request has the authority to query the first account information, and the blockchain may provide the first account information to the user initiating the account query request.
Referring to fig. 2, fig. 2 is a schematic flow chart of an identity verification method based on a block chain according to another embodiment of the present disclosure, in this embodiment, a scheme for querying advanced information of an pension account (i.e., second information of the account) is further provided for a user on the basis of the previous embodiment, and by setting different querying permissions, the user can query different contents of the pension account information according to the permissions of the user, so as to further improve pension security verification management, specifically, after determining whether the account querying request is a first information request of the account (i.e., step S101), the method further includes steps S201 to S203.
In step S201, if the account is not the first request information, it is continuously determined whether the account inquiry request is the second account information, if the account inquiry request is the second account information, step S202 is executed, otherwise, the process is ended.
In step S202, it is verified whether the account public key, the account first private key, the account second private key, and the signature information in the user account query request are respectively consistent with the account public key, the account first private key, the account second private key, and the signature information corresponding to the account second information in the block chain, if so, step S203 is executed, otherwise, the process is ended and the user is fed back to perform re-verification.
The second account information comprises user basic information of the pension account, pension basic information, account amount and account transaction information. Further, the account second information includes all information related to the transaction of the account amount, monthly account details, and the like, in addition to all information included in the account first information.
In step S203, the account second information is provided to the user, and the process ends.
After the verification is completed, it is described that the user initiating the account query request has the authority to query the second information of the account, and the blockchain may provide the first information of the account to the user initiating the account query request.
Further, after providing the account second information to the user (i.e., step S202), the method further includes the following steps:
modifying the account second private key; and the number of the first and second groups,
broadcasting the modified account second private key in the blockchain.
In this embodiment, since the second account information relates to private information such as a monetary transaction, in order to improve the verification security of the second account information, the second account private key is changed in real time in this embodiment, after each query, the second private key is modified by the intelligent contract platform of the block chain and broadcast in the block chain, specifically, the second private key is modified based on the current timestamp and the current data block hash value, and it can be understood that the data block is a data block storing the pension account.
The method and the system have the advantages that the personal pension of the user is placed on the block chain, the account public key, the account first private key, the account second private key and the signature information are verified on the intelligent contract system, the basic information and the high-level information of the account are inquired according to different authorities, the account second private key is modified and broadcasted after the inquiry is successful, the safety of the account is guaranteed, and the transparence and the safety of identity authentication, transaction records and the like of the pension account are achieved.
Based on the same technical concept, the embodiment of the present disclosure also provides an identity verification system based on a block chain, as shown in fig. 3, specifically, comprising a determining module 31, a verifying module 32 and an information providing module 33, wherein,
the determining module 31 is configured to determine whether the account inquiry request is a preset account first information request after receiving an account inquiry request of a user;
the verification module 32 is configured to verify whether the account public key, the account first private key and the signature information in the account query request are consistent with the account public key, the account first private key and the signature information corresponding to the account first information in the block chain, respectively, when the judgment module judges that the account first information request is made;
and the information providing module 33 is configured to provide the first account information to the user when the verification module verifies that the public account key, the first account private key and the signature information are all consistent.
In one embodiment, the determining module 31 is further configured to, when determining that the account is not the first account information, continue determining whether the account inquiry request is a preset account second information request;
the verification module 32 is further configured to, when the determination module determines that the request is the second account information request, verify whether the account public key, the first account private key, the second account private key, and the signature information in the user account query request are consistent with the account public key, the first account private key, the second account private key, and the signature information corresponding to the second account information in the block chain, respectively;
the information providing module 33 is further configured to provide the account second information to the user when the verification module verifies that the account public key, the account first private key, the account second private key, and the signature information are all consistent.
In one embodiment, the first account information includes basic user information and basic pension information of a pension account, and the second account information includes basic user information, basic pension information, account amount and account transaction information of the pension account.
In one embodiment, the system further comprises:
a private key modification module arranged to modify the account second private key;
a broadcast module configured to broadcast the modified account second private key in the blockchain.
It should be noted that, each module of the identity verification system based on the block chain provided in this embodiment is respectively used for executing the method in the foregoing method embodiment, and the principle of the identity verification system is already described in detail in the foregoing method embodiment, and is not described here again.
Based on the same technical concept, the embodiment of the present disclosure correspondingly provides a terminal device, as shown in fig. 4, where the terminal device includes a memory and a processor, where the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the block chain-based identity authentication method.
Based on the same technical concept, embodiments of the present disclosure also provide a computer-readable storage medium having a computer program stored thereon, where when the computer program is executed by a processor, the processor executes the identity authentication method based on the blockchain.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
To sum up, the identity authentication method, system, terminal device and storage medium based on the block chain provided in the embodiments of the present disclosure judge whether an account query request is a preset account first information request after receiving the account query request from a user; and if the request is an account first information request, verifying whether an account public key, an account first private key and signature information in the user account inquiry request are respectively consistent with an account public key, an account first private key and signature information corresponding to the account first information in the block chain, and if so, providing the account first information for the user. The method and the system have the advantages that the block chain technology is used, the transparentization and high efficiency of account identity authentication, inquiry and the like are realized, and the problems that the current pension account is complex in inquiry process, unpublished and transparent in inquiry information and the like can be at least solved, so that the personal payment social security interest is effectively protected; furthermore, the embodiment can inquire the basic information and the high-level information of the account according to different authorities, and modify and broadcast the second private key of the account after the inquiry is successful, so that the safety of the account is ensured, and the transparence and the safety of identity authentication, transaction records and the like of the pension account are achieved.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present disclosure, and not for limiting the same; while the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present disclosure.
Claims (10)
1. An identity authentication method based on a block chain is characterized by comprising the following steps:
after receiving an account inquiry request of a user, judging whether the account inquiry request is a preset account first information request;
if the request is an account first information request, verifying whether an account public key, an account first private key and signature information in the account inquiry request are respectively consistent with an account public key, an account first private key and signature information corresponding to the account first information in a block chain;
and if the account information is consistent with the account information, providing the first information of the account for the user.
2. The method of claim 1, after determining whether the account query request is an account first information request, further comprising:
if the account is not the first information request of the account, continuously judging whether the account inquiry request is a preset account second information request;
if the request is an account second information request, verifying whether an account public key, an account first private key, an account second private key and signature information in the account inquiry request are respectively consistent with an account public key, an account first private key, an account second private key and signature information which correspond to the account second information in a block chain;
and if the account information is consistent with the account information, providing the second information of the account for the user.
3. The method of claim 2, wherein the account is a pension account, the first information of the account includes basic user information and basic pension information of the pension account, and the second information of the account includes basic user information, basic pension information, account amount and account transaction information of the pension account.
4. The method of claim 2, further comprising, after providing the account second information to the user:
modifying the account second private key; and the number of the first and second groups,
broadcasting the modified account second private key in the blockchain.
5. An identity verification system based on a blockchain, comprising:
the system comprises a judging module, a first information processing module and a second information processing module, wherein the judging module is used for judging whether an account inquiry request is a preset account first information request or not after receiving the account inquiry request of a user;
the verification module is configured to verify whether an account public key, an account first private key and signature information in the account inquiry request are consistent with an account public key, an account first private key and signature information which are generated in a block chain and correspond to the account first information when the judgment module judges that the account first information request is the account first information request;
and the information providing module is arranged for providing the first account information for the user when the verification module verifies that the public account key, the first account private key and the signature information are consistent.
6. The system of claim 5, wherein the determining module is further configured to, when determining that the account query request is not the account first information request, continue determining whether the account query request is a preset account second information request;
the verification module is further configured to verify whether an account public key, an account first private key, an account second private key and signature information in the account query request are consistent with an account public key, an account first private key, an account second private key and signature information corresponding to the account second information in the block chain respectively when the judgment module judges that the account second information request is the account second information request;
the information providing module is configured to provide the account second information to the user when the verification module verifies that the account public key, the account first private key, the account second private key and the signature information are all consistent.
7. The system of claim 6, wherein the account is a pension account, the first information of the account includes basic user information and basic pension information of the pension account, and the second information of the account includes basic user information, basic pension information, account amount and account transaction information of the pension account.
8. The system of claim 6, further comprising:
a private key modification module arranged to modify the account second private key; and the number of the first and second groups,
a broadcast module configured to broadcast the modified account second private key in the blockchain.
9. A terminal device comprising a memory and a processor, the memory having a computer program stored therein, the processor executing the blockchain-based authentication method according to any one of claims 1 to 4 when the processor executes the computer program stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the blockchain-based authentication method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010692181.4A CN111914230B (en) | 2020-07-17 | 2020-07-17 | Identity verification method, system, terminal equipment and storage medium based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010692181.4A CN111914230B (en) | 2020-07-17 | 2020-07-17 | Identity verification method, system, terminal equipment and storage medium based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111914230A true CN111914230A (en) | 2020-11-10 |
CN111914230B CN111914230B (en) | 2023-06-23 |
Family
ID=73280416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010692181.4A Active CN111914230B (en) | 2020-07-17 | 2020-07-17 | Identity verification method, system, terminal equipment and storage medium based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111914230B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112381634A (en) * | 2020-11-20 | 2021-02-19 | 湖南智慧政务区块链科技有限公司 | Tax statistics and settlement method, device, equipment and storage medium |
CN113315749A (en) * | 2021-04-12 | 2021-08-27 | 张日和 | User data uplink, user data using method, anonymous system and storage medium |
TWI773025B (en) * | 2020-12-16 | 2022-08-01 | 智弘軟體科技股份有限公司 | Processes and method for safe of use, monitoring and management of device accounts in terminal manner |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030200184A1 (en) * | 2002-04-17 | 2003-10-23 | Visa International Service Association | Mobile account authentication service |
CN107545031A (en) * | 2017-07-17 | 2018-01-05 | 招商银行股份有限公司 | Account comprehensive inquiry service, system and computer-readable recording medium |
CN108702622A (en) * | 2017-11-30 | 2018-10-23 | 深圳前海达闼云端智能科技有限公司 | Mobile network's access authentication method, device, storage medium and block chain node |
WO2019052281A1 (en) * | 2017-09-12 | 2019-03-21 | 京信通信系统(中国)有限公司 | Block chain-based mobile terminal authentication management method and apparatus, and corresponding mobile terminal |
WO2019120325A2 (en) * | 2019-03-29 | 2019-06-27 | Alibaba Group Holding Limited | Retrieving access data for blockchain networks using highly available trusted execution environments |
CN109983466A (en) * | 2018-09-27 | 2019-07-05 | 区链通网络有限公司 | A kind of account management system and management method, storage medium based on block chain |
CN110349641A (en) * | 2019-07-05 | 2019-10-18 | 中国人民解放军总医院 | A kind of health and fitness information inquiry unit convenient for operation |
CN111008228A (en) * | 2020-03-09 | 2020-04-14 | 支付宝(杭州)信息技术有限公司 | Method and device for inquiring account privacy information in block chain |
CN111027035A (en) * | 2019-11-06 | 2020-04-17 | 香农数据有限公司 | Multi-identity authentication method and system based on block chain |
CN111145850A (en) * | 2019-12-23 | 2020-05-12 | 支付宝(杭州)信息技术有限公司 | Medical data query method and device based on block chain |
CN111159681A (en) * | 2019-12-31 | 2020-05-15 | 马上游科技股份有限公司 | Block chain-based digital identity implementation method and system |
CN111191218A (en) * | 2019-12-30 | 2020-05-22 | 江苏恒宝智能系统技术有限公司 | Authorization authentication method and device |
CN111353176A (en) * | 2020-05-22 | 2020-06-30 | 支付宝(杭州)信息技术有限公司 | Method and system for inquiring block chain data |
-
2020
- 2020-07-17 CN CN202010692181.4A patent/CN111914230B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030200184A1 (en) * | 2002-04-17 | 2003-10-23 | Visa International Service Association | Mobile account authentication service |
CN107545031A (en) * | 2017-07-17 | 2018-01-05 | 招商银行股份有限公司 | Account comprehensive inquiry service, system and computer-readable recording medium |
WO2019052281A1 (en) * | 2017-09-12 | 2019-03-21 | 京信通信系统(中国)有限公司 | Block chain-based mobile terminal authentication management method and apparatus, and corresponding mobile terminal |
CN108702622A (en) * | 2017-11-30 | 2018-10-23 | 深圳前海达闼云端智能科技有限公司 | Mobile network's access authentication method, device, storage medium and block chain node |
CN109983466A (en) * | 2018-09-27 | 2019-07-05 | 区链通网络有限公司 | A kind of account management system and management method, storage medium based on block chain |
WO2019120325A2 (en) * | 2019-03-29 | 2019-06-27 | Alibaba Group Holding Limited | Retrieving access data for blockchain networks using highly available trusted execution environments |
CN110349641A (en) * | 2019-07-05 | 2019-10-18 | 中国人民解放军总医院 | A kind of health and fitness information inquiry unit convenient for operation |
CN111027035A (en) * | 2019-11-06 | 2020-04-17 | 香农数据有限公司 | Multi-identity authentication method and system based on block chain |
CN111145850A (en) * | 2019-12-23 | 2020-05-12 | 支付宝(杭州)信息技术有限公司 | Medical data query method and device based on block chain |
CN111191218A (en) * | 2019-12-30 | 2020-05-22 | 江苏恒宝智能系统技术有限公司 | Authorization authentication method and device |
CN111159681A (en) * | 2019-12-31 | 2020-05-15 | 马上游科技股份有限公司 | Block chain-based digital identity implementation method and system |
CN111008228A (en) * | 2020-03-09 | 2020-04-14 | 支付宝(杭州)信息技术有限公司 | Method and device for inquiring account privacy information in block chain |
CN111353176A (en) * | 2020-05-22 | 2020-06-30 | 支付宝(杭州)信息技术有限公司 | Method and system for inquiring block chain data |
Non-Patent Citations (1)
Title |
---|
CONNER FROMKNECHT 等: "A Decentralized Public Key Infrastructure with Identity Retention", 《CRYPTOLOGY EPRINT ARCHIVE》, pages 1 - 16 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112381634A (en) * | 2020-11-20 | 2021-02-19 | 湖南智慧政务区块链科技有限公司 | Tax statistics and settlement method, device, equipment and storage medium |
TWI773025B (en) * | 2020-12-16 | 2022-08-01 | 智弘軟體科技股份有限公司 | Processes and method for safe of use, monitoring and management of device accounts in terminal manner |
CN113315749A (en) * | 2021-04-12 | 2021-08-27 | 张日和 | User data uplink, user data using method, anonymous system and storage medium |
CN113315749B (en) * | 2021-04-12 | 2022-11-22 | 张日和 | User data uplink, user data using method, anonymous system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111914230B (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111914230B (en) | Identity verification method, system, terminal equipment and storage medium based on block chain | |
CN110009435A (en) | Based on the invoice method of charging out and device of block chain, electronic equipment | |
CN110633963B (en) | Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device | |
CN109241778A (en) | A kind of public transport data processing method and device based on block chain | |
CN109636569B (en) | Credit investigation data management method and system based on block chain | |
CN109756341A (en) | Electronic signature method and device | |
CN109669955B (en) | Digital asset query system and method based on block chain | |
CN111292174A (en) | Tax payment information processing method and device and computer readable storage medium | |
CN111553767A (en) | Shared house leasing system, method and storage medium based on block chain | |
CN109388957B (en) | Block chain-based information transfer method, device, medium and electronic equipment | |
CN112700250B (en) | Identity authentication method, device and system in financial scene | |
CN111914231A (en) | Block chain-based identity authentication method, system, equipment and storage medium | |
US20150310433A1 (en) | Internet currency and a system and method for online internet currency transactions | |
CN110969531A (en) | Borrowing deposit verification and online checking method and system | |
CN112529660B (en) | Electronic ticketing method and system based on block chain, electronic equipment and storage medium | |
CN111552739A (en) | Personal foreign exchange information management method and device based on block chain | |
CN115456773A (en) | Payment control method, device, equipment and medium based on block chain | |
CN112053081A (en) | Credit integral adjusting method and device based on block chain and storage medium thereof | |
CN112862589A (en) | Identity verification method, device and system in financial scene | |
CN113065960A (en) | Transaction system based on block chain | |
CN108875407A (en) | For the sensitive information processing method and processing device of financial business, client, data framework | |
CN111476640A (en) | Authentication method, system, storage medium and big data authentication platform | |
CN110910099A (en) | Method for realizing labor contract and related equipment | |
CN111311252A (en) | Virtual resource management method and block chain node equipment | |
CN105359192A (en) | Method and apparatus for mobile ticketing |
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 |