CN111209550A - Block chain wallet user identity authentication method and system - Google Patents

Block chain wallet user identity authentication method and system Download PDF

Info

Publication number
CN111209550A
CN111209550A CN202010032662.2A CN202010032662A CN111209550A CN 111209550 A CN111209550 A CN 111209550A CN 202010032662 A CN202010032662 A CN 202010032662A CN 111209550 A CN111209550 A CN 111209550A
Authority
CN
China
Prior art keywords
wallet
user
list
login
ids
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
Application number
CN202010032662.2A
Other languages
Chinese (zh)
Other versions
CN111209550B (en
Inventor
王蒙
刘毅
马龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Pelac Information Technology Co Ltd
Original Assignee
Shanghai Pelac Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Pelac Information Technology Co Ltd filed Critical Shanghai Pelac Information Technology Co Ltd
Priority to CN202010032662.2A priority Critical patent/CN111209550B/en
Publication of CN111209550A publication Critical patent/CN111209550A/en
Application granted granted Critical
Publication of CN111209550B publication Critical patent/CN111209550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Abstract

The invention provides a method and a system for authenticating the identity of a block chain wallet user, comprising the following steps: acquiring a device ID for creating or importing a wallet, and a wallet ID list generated by creating or importing the wallet, allocating user IDs for identifying the device ID and the wallet ID list, and establishing a first mapping relation among each wallet ID, the device ID and the user ID in the wallet ID list; acquiring the equipment ID of the login wallet, a wallet ID list of the login wallet and the mobile phone number of the login wallet, and establishing a second mapping relation between each wallet ID, the equipment ID of the login wallet, the mobile phone number of the login wallet in the wallet ID list of the login wallet and the corresponding user ID; and authenticating the uniqueness of the user identities of the plurality of different wallet IDs through the cross matching of the first mapping relation and the second mapping relation. The identity uniqueness of a user creating a plurality of wallets is authenticated by forming a many-to-many mapping relation among the wallet ID, the equipment ID, the mobile phone number and the user ID, and the user identity of the blockchain wallet is effectively managed.

Description

Block chain wallet user identity authentication method and system
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a block chain identity authentication technology, in particular to a block chain wallet user identity authentication method and a block chain wallet user identity authentication system.
Background
At present, a user may use a wallet APP on multiple devices, may log in the wallet APP with multiple mobile phone numbers, and may create multiple wallets.
Generally, a mobile phone number is registered with a wallet APP, one wallet APP may include multiple wallets, however, when a user uses different mobile phone numbers to register different wallet APPs, the two different wallet APPs are generally considered to belong to different users, and similarly, multiple different wallets registered by a user are also considered to belong to different users, in order to facilitate management of a block chain user identity, the uniqueness of the wallet user identity must be authenticated, and how to authenticate is a problem that needs to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to overcome the defects of the prior art, provides a method and a system for authenticating the user identity of a block chain wallet, and solves the problem that the user identity uniqueness of one user in the existing block chain cannot be authenticated when the user creates a plurality of wallets.
The technical scheme provided by the invention is as follows:
the invention provides a method for authenticating the identity of a block chain wallet user, which comprises the following steps:
acquiring a device ID for creating or importing a wallet, and a wallet ID list generated by creating or importing the wallet, allocating user IDs for identifying the device ID and the wallet ID list, and establishing a first mapping relation among each wallet ID, device ID and user ID in the wallet ID list;
acquiring the equipment ID of the login wallet, a wallet ID list of the login wallet and the mobile phone number of the login wallet, and establishing a second mapping relation between each wallet ID, the equipment ID of the login wallet, the mobile phone number of the login wallet in the wallet ID list of the login wallet and the corresponding user ID;
and authenticating the uniqueness of the user identities of a plurality of different wallet IDs through the cross matching of the first mapping relation and the second mapping relation.
Further preferably, the authenticating the uniqueness of the user identities of the plurality of different wallet IDs through the cross matching of the first mapping relationship and the second mapping relationship specifically includes the steps of:
traversing each wallet ID in a wallet ID list of the currently logged-in wallet;
inquiring the corresponding user ID of each traversed wallet ID according to the first mapping relation and the second mapping relation in a cross matching manner;
and authenticating a plurality of different user IDs corresponding to a plurality of different wallet IDs existing in a wallet ID list of the currently logged-in wallet as the same user.
Further preferably, the method further comprises the step of merging and mapping the wallet ID, the device ID and the mobile phone number which are respectively associated and mapped with a plurality of different user IDs authenticated as the same user with one of the plurality of different user IDs.
Further preferably, the method further includes storing the first mapping relationship and the second mapping relationship in a relationship list respectively by using the user ID as a keyword.
Further preferably, the wallet ID generation process includes:
restoring the mnemonic words into seeds according to a predetermined bitcoin improvement protocol;
generating a master private key according to the seed;
generating a master public key according to the master private key;
the wallet ID is generated from the master public key.
The invention also provides a system for authenticating the user identity of the block chain wallet, which comprises the following steps:
the first mapping relation establishing module is used for acquiring a device ID for creating or importing the wallet, a wallet ID list generated by creating or importing the wallet, allocating user IDs for identifying the device ID and the wallet ID list, and establishing a first mapping relation among the wallet IDs, the device ID and the user ID in the wallet ID list;
the second mapping relation establishing module is used for acquiring the equipment ID of the login wallet, the wallet ID list in the login wallet and the mobile phone number of the login wallet, and establishing a second mapping relation between each wallet ID in the wallet ID list of the login wallet, the equipment ID of the login wallet, the mobile phone number of the login wallet and the corresponding user ID;
and the user identity authentication module is used for authenticating the uniqueness of the user identities of a plurality of different wallet IDs through the cross matching of the first mapping relation and the second mapping relation.
Further preferably, the user identity authentication module includes:
the traversal module is used for traversing each wallet ID in the wallet ID list of the currently logged-in wallet;
the query module is used for querying the corresponding user ID of each traversed wallet ID according to the first mapping relation and the second mapping relation in a cross matching manner;
and the authentication module is used for authenticating a plurality of different user IDs corresponding to a plurality of different wallet IDs existing in the wallet ID list of the current login wallet as the same user.
Further preferably, the mobile phone further comprises a merging and mapping module, configured to merge and map the wallet ID, the device ID, and the mobile phone number, which are respectively associated and mapped with a plurality of different user IDs authenticated as the same user, with one of the plurality of different user IDs.
Further preferably, the system further comprises a storage module, and the storage module is configured to store the first mapping relationship and the second mapping relationship in a relationship list respectively by using the user ID as a keyword.
Further preferably, the wallet ID generation module is further included, and the wallet ID generation module generates a wallet ID by performing the steps of:
restoring the mnemonic words into seeds according to a predetermined bitcoin improvement protocol;
generating a master private key according to the seed;
generating a master public key according to the master private key;
the wallet ID is generated from the master public key.
The block chain wallet user identity authentication method and system provided by the invention can bring at least one of the following beneficial effects:
the wallet ID, the equipment ID, the mobile phone number and the user ID form a many-to-many mapping relation, and the uniqueness of the user identities of a plurality of different wallets is authenticated according to the cross matching of the mapping relations, so that the identity uniqueness of a plurality of wallets created by one user can be authenticated, and the user identities of the block chain wallets can be effectively managed.
Drawings
The foregoing features, technical features, advantages and embodiments are further described in the following detailed description of the preferred embodiments, which is to be read in connection with the accompanying drawings.
FIG. 1 is a flowchart of a method for authenticating a user of a blockchain wallet;
fig. 2 is a schematic diagram of a wallet ID generation process;
fig. 3 is a schematic diagram of a user identity authentication system for a blockchain wallet provided in the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
The invention provides a user identity authentication method for a block chain wallet, which can authenticate the uniqueness of the user identity when one user creates different wallets through different mobile phone numbers or adopts different equipment to log in the wallets.
The flow chart of the user identity authentication method for the blockchain wallet provided by the invention is shown in fig. 1, and specifically includes the following steps.
S100: the method comprises the steps of acquiring a device ID for creating or importing the wallet, a wallet ID list generated by creating or importing the wallet, allocating user IDs for identifying the device ID and the wallet ID list, and establishing a first mapping relation among the wallet IDs, the device ID and the user ID in the wallet ID list.
For example, when the user a creates or imports a wallet by using the device a, the wallet APP binds a wallet ID list generated by creating or importing the wallet with the device ID of the device a and sends the binding to the cloud server, the cloud server assigns a user ID to the binding, and establishes a first mapping relationship among each wallet ID in the wallet ID list, the device ID of the device a and the user ID.
For another example, when the user B creates or imports a wallet using the device B, the wallet APP binds a wallet ID list generated by creating or importing the wallet with the device ID of the device B and sends the binding to the cloud server, the cloud server assigns a user ID to the binding, and establishes a first mapping relationship among each wallet ID in the wallet ID list, the device ID of the device B, and the user ID.
By analogy, the cloud server establishes a first mapping relation between the device ID of the wallet created or imported by the user, each wallet ID in the wallet ID list generated by the wallet created or imported and the corresponding user ID.
Through the first mapping relationship, it can be known that a plurality of different wallet IDs in the wallet ID list correspond to the same user ID, and therefore, a plurality of different wallet IDs corresponding to the same user ID are created by the same user.
S200: acquiring the equipment ID of the login wallet, the wallet ID list of the login wallet and the mobile phone number of the login wallet, and establishing a second mapping relation between each wallet ID, the equipment ID of the login wallet, the mobile phone number of the login wallet in the wallet ID list of the login wallet and the corresponding user ID.
For example, the user a may log in a wallet on the device a, or may log in a wallet on the device B, how to authenticate the user identities of different wallets logged in different login devices, and in this step, a second mapping relationship is established between each wallet ID in the wallet ID list of the login wallet, the device ID of the login wallet, the mobile phone number of the login wallet, and the corresponding user ID.
Specifically, the user A creates a wallet through the device A, when the user A logs in the wallet through the device B, the wallet APP sends the device ID of the device B, a wallet ID list of the login wallet and the mobile phone number of the login wallet to the cloud server, and the cloud server establishes a second mapping relation between each wallet ID in the wallet ID list of the login wallet, the device ID of the device B, the mobile phone number of the login wallet and the corresponding user ID.
S300: and authenticating the uniqueness of the user identities of the plurality of different wallet IDs through the cross matching of the first mapping relation and the second mapping relation.
Specifically, traversing each wallet ID in a wallet ID list of the currently logged-in wallet;
inquiring the corresponding user ID of each traversed wallet ID according to the first mapping relation and the second mapping relation in a cross matching manner;
and authenticating a plurality of different user IDs corresponding to a plurality of different wallet IDs existing in a wallet ID list of the currently logged-in wallet as the same user.
For example, user a created wallet a on device a, included wallet ID1 and wallet ID2 in the list of wallets in wallet a, and user a created wallet B on device B, also included wallet ID3 and wallet ID4 in the list of wallets in wallet B.
According to the first mapping relationship, the cloud server allocates a user IDA to the device a, the wallet ID1 and the wallet ID2, and stores the device IDA of the device a, the wallet ID1, the wallet ID2 and the user IDA in a mapping relationship list, for example, by using the user IDA as a key.
Similarly, the cloud server assigns a user IDB to device B, wallet ID3, wallet ID4, and stores the device IDB, wallet ID3, wallet ID4, and user IDB of device B in a mapping list, for example, using the user IDB as a key.
When the user a logs in the wallet a on the device B, and at the same time, the device B still has the logged-in wallet B, the wallet APP running in the device B sends all wallet lists (including the wallet list of wallet a and the wallet list of wallet B) currently logged in the wallet in the device B, the device IDB of device B, and the phone number of the logged-in wallet to the cloud server, after the cloud server obtains the wallet ID1, the wallet ID2, the wallet ID3, and the wallet ID4, the cloud server determines that the wallet IDs 1, the wallet ID2, the wallet ID3, and the wallet ID4 all exist by traversing the stored wallet ID lists, queries the corresponding user IDA and user IDB, and according to the second mapping relationship, the cloud server maps the device ID of device B, the wallet ID1, the wallet ID2, the phone number of the logged-in wallet, and the user IDA, and performing association mapping on the device IDB, the wallet ID3, the wallet ID4, the mobile phone number of the login wallet and the user IDB of the device B, and storing the association mapping into a mapping relation list.
According to the first mapping relationship and the second mapping relationship, the device IDB is associated with the mapped wallet ID1, the wallet ID2, the wallet ID3 and the wallet ID4, the wallet ID1 and the wallet ID2 are associated with the mapped user IDA, and the wallet ID3 and the wallet ID4 are associated with the mapped user IDB, so that the cloud server can authenticate the user IDA and the user IDB corresponding to the wallet ID1, the wallet ID2, the wallet ID3 and the wallet ID4 stored in the device IDB as the same user, that is, the same user creates the wallet ID1, the wallet ID2, the wallet ID3 and the wallet ID4 by using different user IDs.
Accordingly, it can be further determined that the user has logged in to the same wallet using different devices according to the mapping relationship between the device ID and the user ID and the wallet ID, for example, the mapping relationship between the device IDA and the wallet ID1 and between the device IDA and the wallet ID1 and between the device IDB and the user IDA, and it can be known that the user has logged in to the wallet ID1 through the device IDA and the device IDB, respectively.
It should be noted that the above-mentioned user identity uniqueness authentication for different wallet IDs is based on the principle that the private assets of the blockchain wallet are not shareable, i.e. one wallet ID can only belong to one user.
Further, after the plurality of different user IDs corresponding to the plurality of different wallet IDs are authenticated as the same user through the cross matching of the first mapping relationship and the second mapping relationship, the method further includes merging and mapping the wallet ID, the device ID, and the mobile phone number, which are respectively associated and mapped with the plurality of different user IDs authenticated as the same user, with one of the plurality of different user IDs.
For example, wallet ID1 corresponds to association mapping user ID1, wallet ID2 corresponds to association mapping user ID2, and wallet ID3 corresponds to association mapping user ID3, and wallet ID1, wallet ID2, user ID1, user ID2, and user ID3 corresponding to wallet ID3 are obtained by many-to-many association mapping cross matching, so that wallet ID1, wallet ID2, wallet ID3, corresponding device ID, and mobile phone number respectively associated with user ID1, user ID2, and user ID3 can be merged and mapped with user ID1, that is, data respectively associated and mapped with user ID1, user ID2, and user ID3 are merged and mapped into a data group using user ID1 as a key.
It should be further noted that the device ID refers to an identifier capable of uniquely identifying a device, for example, a smart phone, each smart phone has a unique serial number, the serial number is the device ID, the user ID is generated by matching the wallet ID with the cloud server, and is unique, for example, when the cloud server obtains the wallet ID, it is determined whether the wallet ID exists in the stored wallet ID list, if so, the allocated user ID is associated and mapped with the wallet ID, and if not, the wallet ID is a new user, and then an unique user ID is allocated to the wallet ID.
The wallet ID in the invention is generated based on mnemonic words through a certain rule, so that even if the wallet ID is leaked, the security of the private property of the user wallet can be ensured. The wallet ID generation process of the present invention includes the following steps.
Restoring the mnemonic words into seeds according to a predetermined bitcoin improvement protocol;
generating a master private key according to the seed;
generating a master public key according to the master private key;
the wallet ID is generated from the master public key.
First, it should be noted that the process of generating the mnemonic word is as follows: a random seed is generated by a cryptographically secure pseudo-random number generator, and a mnemonic is generated from the seed.
Here, the predetermined Bitcoin Improvement Protocol (BIP) includes, but is not limited to, BIP32, BIP39, BIP44, etc., and hereinafter, taking the example of restoring the mnemonic word into the seed according to the BIP39 rule, a specific generation process of a wallet ID is as shown in fig. 2, specifically, 1) restoring the mnemonic word into the seed according to the BIP39 rule, and then obtaining a main private key and a main chain code from the restored seed according to HMAC-SHA512 algorithm (one-way hash operation); 2) the main private key generates a main public key through an elliptic curve (the elliptic curves of different main chains are inconsistent), wherein the main public key can be deduced, and the main private key cannot be deduced; 3) and (4) carrying out SHA256 operation twice on the master public key to obtain the wallet ID.
The invention provides a user identity authentication method for a blockchain wallet, which is based on the principle that private properties of the blockchain wallet can not be shared, and is characterized in that a wallet ID and an equipment ID which are created or led in by a user are subjected to first association mapping with an allocated user ID, when the user logs in the wallet, the equipment ID of the login equipment, all wallet IDs of the login wallet, a mobile phone number and the corresponding user ID are subjected to second association mapping, the identities of different user IDs corresponding to a plurality of different wallet IDs are authenticated through cross matching of a plurality of association mapping relations, when one user uses a plurality of mobile phone numbers to create different wallets on different equipment, the identity of the user can be uniquely determined, and further, the user identity of the blockchain can be effectively managed.
Based on the above method for authenticating the user identity of the blockchain wallet, the invention further provides a system for authenticating the user identity of the blockchain wallet, the schematic diagram of which is shown in fig. 3 and comprises a first mapping relation establishing module 1, a second mapping relation establishing module 2 and a user identity authenticating module 3.
The first mapping relation establishing module 1 is configured to obtain a device ID for creating or importing a wallet, a wallet ID list generated by creating or importing a wallet, allocate a user ID for identifying the device ID and the wallet ID list, and establish a first mapping relation among wallet IDs, the device ID, and the user ID in the wallet ID list; the second mapping relation establishing module 2 is used for acquiring the equipment ID of the login wallet, the wallet ID list in the login wallet and the mobile phone number of the login wallet, and establishing a second mapping relation between each wallet ID in the wallet ID list of the login wallet, the equipment ID of the login wallet, the mobile phone number of the login wallet and the corresponding user ID; the user identity authentication module 3 is configured to authenticate uniqueness of user identities of a plurality of different wallet IDs through cross matching of the first mapping relationship and the second mapping relationship.
The step S100 is referred to for the first mapping relationship establishing module 1 according to a specific process of establishing or importing a wallet to establish a first mapping relationship, and the step S200 is referred to for the second mapping relationship establishing module 2 according to a specific process of establishing a second mapping relationship for a login wallet, which is not described herein again.
The user identity authentication module 3 comprises a traversal module 31, a query module 32 and an authentication module 33, wherein the traversal module 31 is used for traversing each wallet ID in a wallet ID list of a currently logged-in wallet;
the query module 32 is configured to query the corresponding user ID of each wallet ID traversed by the first mapping relationship and the second mapping relationship cross-matching pair;
the authentication module 33 is configured to authenticate a plurality of different user IDs corresponding to a plurality of different wallet IDs existing in the wallet ID list of the currently logged-in wallet as the same user.
For example, user a created wallet a on device a, included wallet ID1 and wallet ID2 in the list of wallets in wallet a, and user a created wallet B on device B, also included wallet ID3 and wallet ID4 in the list of wallets in wallet B.
The first mapping relationship establishing module 1 allocates a user IDA to the device a, the wallet ID1 and the wallet ID2 according to the first mapping relationship, and stores the device IDA, the wallet ID1, the wallet ID2 and the user IDA of the device a in a mapping relationship list, for example, by using the user IDA as a keyword.
Similarly, the first mapping relationship establishing module 1 allocates a user IDB to the device B, the wallet ID3 and the wallet ID4, and stores the device IDB, the wallet ID3, the wallet ID4 and the user IDB of the device B in a mapping relationship list, for example, by using the user IDB as a key word.
When the user a logs in the wallet a on the device B, and at this time, the device B also has a registered wallet B, the wallet APP running in the device B sends all wallet lists (including the wallet list of wallet a and the wallet list of wallet B) currently logged in the wallet in the device B, the device IDB of the device B, and the phone number of the registered wallet to the second mapping relation establishing module 2, after the second mapping relation establishing module 2 obtains the wallet ID1, the wallet ID2, the wallet ID3, and the wallet ID4, the second mapping relation establishing module 2 determines that the wallet ID1, the wallet ID2, the wallet ID3, and the wallet ID4 all exist by traversing the stored wallet ID lists, queries the corresponding user IDA and user IDB by the second mapping relation establishing module 2, and according to the second mapping relation, the second mapping relation establishing module 2 determines the device IDB of the device B, the wallet ID B, and the wallet ID4 to be in the second mapping relation, And performing association mapping on the wallet ID1, the wallet ID2, the mobile phone number of the login wallet and the user IDA, performing association mapping on the device IDB, the wallet ID3 and the wallet ID4 of the device B, the mobile phone number of the login wallet and the user IDB, and storing the association mapping into a mapping relation list.
The traversal module 31 traverses each wallet ID in the wallet ID list of the currently logged-in wallet to obtain a wallet ID1, a wallet ID2, a wallet ID3 and a wallet ID4, the query module 32 cross-matches the first mapping relationship and the second mapping relationship, the query device IDB corresponds to the association mapping wallet ID1, a wallet ID2, a wallet ID3 and a wallet ID4, the query device IDB corresponds to the association mapping user IDA and the query device ID1 and the wallet ID2 correspond to the association mapping user IDA, and the query device ID3 and the wallet ID4 correspond to the association mapping user IDB, so that the authentication module 33 authenticates the user IDA and the user IDB corresponding to the wallet ID1, the wallet ID2, the wallet ID3 and the wallet ID4 stored in the device IDB as the same user, that is, the same user creates a wallet ID1, a wallet ID2, a wallet ID3 and a wallet ID4 by using different user IDs.
Accordingly, it can be further determined that the user has logged in to the same wallet using different devices according to the mapping relationship between the device ID and the user ID and the wallet ID, for example, the mapping relationship between the device IDA and the wallet ID1 and between the device IDA and the wallet ID1 and between the device IDB and the user IDA, and it can be known that the user has logged in to the wallet ID1 through the device IDA and the device IDB, respectively.
It should be noted that the above-mentioned user identity uniqueness authentication for different wallet IDs is based on the principle that the private assets of the blockchain wallet are not shareable, i.e. one wallet ID can only belong to one user.
Further, the system for authenticating the user identity of the blockchain wallet further comprises a merging and mapping module 4, wherein after the multiple different user IDs corresponding to the multiple different wallet IDs are authenticated as the same user through the cross matching of the first mapping relation and the second mapping relation, the merging and mapping module 4 is used for merging and mapping the wallet ID, the device ID and the mobile phone number which are respectively associated and mapped with the multiple different user IDs authenticated as the same user with one of the multiple different user IDs.
For example, wallet ID1 corresponds to association mapping user ID1, wallet ID2 corresponds to association mapping user ID2, wallet ID3 corresponds to association mapping user ID3, and wallet ID1, wallet ID2, user ID1, user ID2, and user ID3 corresponding to wallet ID3 are obtained by cross-matching many-to-many association mappings, and then the merge mapping module 4 merges and maps wallet ID1, wallet ID2, wallet ID3, corresponding device ID, and mobile phone number, which are respectively associated with user ID1, user ID2, and user ID3, with user ID1, that is, the merge mapping module 4 merges and maps data respectively associated and mapped with user ID1, user ID2, and user ID3 into a data set with user ID1 as a key.
It should be further noted that the device ID refers to an identifier capable of uniquely identifying a device, for example, a smart phone is taken as an example, each smart phone has a unique serial number, the serial number is the device ID, and the user ID is generated by matching a wallet ID and is unique, for example, when the first mapping relationship establishing module 1 and the second mapping relationship establishing module 2 establish a mapping relationship, it is first determined whether the acquired wallet ID exists in a stored wallet ID list, if so, the allocated user ID is associated with the wallet ID for mapping, and if not, the wallet ID is a new user, and then an unique user ID is allocated to the wallet ID.
The system for authenticating the user identity of the blockchain wallet further comprises a storage module 5, wherein the storage module 5 is configured to store the first mapping relationship and the second mapping relationship in relationship lists respectively by using a user ID as a keyword, for example, the storage module 5 stores a plurality of relationship lists, and stores the formed first mapping relationship and the formed second mapping relationship in corresponding relationship lists respectively.
The wallet ID in the invention is generated based on mnemonic words through a certain rule, so that even if the wallet ID is leaked, the security of the private property of the user wallet can be ensured. Further, the system for authenticating a user of a blockchain wallet provided by the present invention further includes a wallet ID generation module, the wallet ID generation module is run in the wallet APP, and when a wallet is created or imported in the wallet APP, the wallet ID generation module generates a wallet ID by performing the following steps:
restoring the mnemonic words into seeds according to a predetermined bitcoin improvement protocol;
generating a master private key according to the seed;
generating a master public key according to the master private key;
the wallet ID is generated from the master public key.
Please refer to fig. 2 for a specific generation process of the wallet ID, which is not described herein.
The invention provides a user identity authentication system of a blockchain wallet, which is based on the principle that private properties of the blockchain wallet can not be shared, and is used for carrying out first-time association mapping on wallet IDs and equipment IDs created or led by a user and distributed user IDs, carrying out second-time association mapping on the equipment IDs of login equipment, all wallet IDs of login wallets and mobile phone numbers and corresponding user IDs when the user logs in the wallet, authenticating the identities of different user IDs corresponding to a plurality of different wallet IDs through cross matching of a plurality of association mapping relations, and when one user uses a plurality of mobile phone numbers to create different wallets on different devices, carrying out unique right determination on the identity of the user, and further effectively managing the user identity of the blockchain.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
The software program of the present invention can be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functionality of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various functions or steps.
In addition, some of the present invention can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can invoke or provide the method and/or technical solution according to the present invention through the operation of the computer. Program instructions which invoke the methods of the present invention may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the invention herein comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or solution according to embodiments of the invention as described above.

Claims (10)

1. A method for authenticating a user of a blockchain wallet is characterized by comprising the following steps:
acquiring a device ID for creating or importing a wallet, and a wallet ID list generated by creating or importing the wallet, allocating user IDs for identifying the device ID and the wallet ID list, and establishing a first mapping relation among each wallet ID, device ID and user ID in the wallet ID list;
acquiring the equipment ID of the login wallet, a wallet ID list of the login wallet and the mobile phone number of the login wallet, and establishing a second mapping relation between each wallet ID, the equipment ID of the login wallet, the mobile phone number of the login wallet in the wallet ID list of the login wallet and the corresponding user ID;
and authenticating the uniqueness of the user identities of a plurality of different wallet IDs through the cross matching of the first mapping relation and the second mapping relation.
2. The method for authenticating users of blockchain wallets of claim 1, wherein the step of authenticating the uniqueness of the user identities of a plurality of different wallet IDs by cross-matching the first mapping relationship with the second mapping relationship comprises the steps of:
traversing each wallet ID in a wallet ID list of the currently logged-in wallet;
inquiring the corresponding user ID of each traversed wallet ID according to the first mapping relation and the second mapping relation in a cross matching manner;
and authenticating a plurality of different user IDs corresponding to a plurality of different wallet IDs existing in the wallet ID list of the current login wallet as the same user.
3. The blockchain wallet user identity authentication method of claim 2, further comprising merging and mapping wallet IDs, device IDs and phone numbers mapped in association with each of a plurality of different user IDs authenticated as a same user with one of the plurality of different user IDs.
4. The method of claim 1, further comprising storing the first mapping relationship and the second mapping relationship in a relationship list using the user ID as a key.
5. The blockchain wallet user identity authentication method of any one of claims 1 to 4, wherein the wallet ID generation process comprises:
restoring the mnemonic words into seeds according to a predetermined bitcoin improvement protocol;
generating a master private key according to the seed;
generating a master public key according to the master private key;
generating the wallet ID according to the master public key.
6. A system for authenticating a user of a blockchain wallet, comprising:
the first mapping relation establishing module is used for acquiring a device ID for creating or importing the wallet, a wallet ID list generated by creating or importing the wallet, allocating user IDs for identifying the device ID and the wallet ID list, and establishing a first mapping relation among the wallet IDs, the device ID and the user ID in the wallet ID list;
the second mapping relation establishing module is used for acquiring the equipment ID of the login wallet, the wallet ID list in the login wallet and the mobile phone number of the login wallet, and establishing a second mapping relation between each wallet ID in the wallet ID list of the login wallet, the equipment ID of the login wallet, the mobile phone number of the login wallet and the corresponding user ID;
and the user identity authentication module is used for authenticating the uniqueness of the user identities of a plurality of different wallet IDs through the cross matching of the first mapping relation and the second mapping relation.
7. The blockchain wallet user identity authentication system of claim 6, wherein the user identity authentication module comprises:
the traversal module is used for traversing each wallet ID in the wallet ID list of the currently logged-in wallet;
the query module is used for querying the corresponding user ID of each traversed wallet ID according to the first mapping relation and the second mapping relation in a cross matching manner;
and the authentication module is used for authenticating a plurality of different user IDs corresponding to a plurality of different wallet IDs in the wallet ID list of the current login wallet as the same user.
8. The system of claim 7, further comprising a merge mapping module configured to merge map a wallet ID, a device ID, and a phone number associated with each of a plurality of different user IDs authenticated as a same user with one of the plurality of different user IDs.
9. The system of claim 6, further comprising a storage module configured to store the first mapping relationship and the second mapping relationship in a relationship list using the user ID as a key.
10. The blockchain wallet user identity authentication system of any one of claims 6 to 9, further comprising a wallet ID generation module that generates a wallet ID by performing the steps of:
restoring the mnemonic words into seeds according to a predetermined bitcoin improvement protocol;
generating a master private key according to the seed;
generating a master public key according to the master private key;
and generating a wallet ID according to the master public key.
CN202010032662.2A 2020-01-13 2020-01-13 Block chain wallet user identity authentication method and system Active CN111209550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010032662.2A CN111209550B (en) 2020-01-13 2020-01-13 Block chain wallet user identity authentication method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010032662.2A CN111209550B (en) 2020-01-13 2020-01-13 Block chain wallet user identity authentication method and system

Publications (2)

Publication Number Publication Date
CN111209550A true CN111209550A (en) 2020-05-29
CN111209550B CN111209550B (en) 2022-05-06

Family

ID=70784277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010032662.2A Active CN111209550B (en) 2020-01-13 2020-01-13 Block chain wallet user identity authentication method and system

Country Status (1)

Country Link
CN (1) CN111209550B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163845A (en) * 2020-09-29 2021-01-01 深圳前海微众银行股份有限公司 Cross-block-chain transaction identity confirmation method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150074774A1 (en) * 2013-09-09 2015-03-12 Dhana Systems Corp. System, apparatus, and method for a unified identity wallet
CN110490589A (en) * 2019-08-30 2019-11-22 新明华区块链技术(深圳)有限公司 Hardware wallet creation method, device and hardware wallet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150074774A1 (en) * 2013-09-09 2015-03-12 Dhana Systems Corp. System, apparatus, and method for a unified identity wallet
CN110490589A (en) * 2019-08-30 2019-11-22 新明华区块链技术(深圳)有限公司 Hardware wallet creation method, device and hardware wallet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163845A (en) * 2020-09-29 2021-01-01 深圳前海微众银行股份有限公司 Cross-block-chain transaction identity confirmation method and device
CN112163845B (en) * 2020-09-29 2024-03-22 深圳前海微众银行股份有限公司 Transaction identity confirmation method and device for cross-region block chain

Also Published As

Publication number Publication date
CN111209550B (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN110912707B (en) Block chain-based digital certificate processing method, device, equipment and storage medium
US10659236B2 (en) Method for superseding log-in of user through PKI-based authentication by using blockchain database of UTXO-based protocol, and server employing same
US9219722B2 (en) Unclonable ID based chip-to-chip communication
CN108259422B (en) Multi-tenant access control method and device
CN103491084B (en) The authentication method of a kind of client and device
Chen et al. BIdM: A blockchain-enabled cross-domain identity management system
CN112671720B (en) Token construction method, device and equipment for cloud platform resource access control
CN110059055B (en) File storage and reading method and device based on distributed private cloud
CN103259663A (en) User unified authentication method in cloud computing environment
CN103475666A (en) Internet of things resource digital signature authentication method
CN110740038B (en) Blockchain and communication method, gateway, communication system and storage medium thereof
CN105721153A (en) System and method for key exchange based on authentication information
CN111209550B (en) Block chain wallet user identity authentication method and system
US20030093681A1 (en) Digital identity creation and coalescence for service authorization
CN106487505B (en) Key management, acquisition methods and relevant apparatus and system
CN110910110A (en) Data processing method and device and computer storage medium
CN111327561B (en) Authentication method, system, authentication server, and computer-readable storage medium
CN111031074A (en) Authentication method, server and client
CN109981637B (en) Multi-source cross composite authentication method for Internet of things based on block chain
TWI672037B (en) A method of generating multiple identifications with multi-level security for network-connected devices
CN114172639B (en) Quantum encryption communication method based on block chain
CN114329433A (en) Block chain-based virtual and real account management method, device and system and storage medium
WO2018164673A1 (en) Data message authentication based on a random number
CN111817860A (en) Communication authentication method, device, equipment and storage medium
CN116996234B (en) Method for accessing terminal to authentication gateway, terminal and authentication gateway

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