CN115150178A - Cross-platform unified login authentication method and device based on block chain - Google Patents
Cross-platform unified login authentication method and device based on block chain Download PDFInfo
- Publication number
- CN115150178A CN115150178A CN202210809366.8A CN202210809366A CN115150178A CN 115150178 A CN115150178 A CN 115150178A CN 202210809366 A CN202210809366 A CN 202210809366A CN 115150178 A CN115150178 A CN 115150178A
- Authority
- CN
- China
- Prior art keywords
- platform
- user
- chain
- block chain
- unique identity
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 238000004590 computer program Methods 0.000 claims description 29
- 230000007246 mechanism Effects 0.000 claims description 16
- 238000012795 verification Methods 0.000 claims description 11
- 238000012797 qualification Methods 0.000 claims description 9
- 230000001105 regulatory effect Effects 0.000 claims description 5
- 238000012423 maintenance Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 18
- 238000012545 processing Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 239000010410 layer Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000002355 dual-layer Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- 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/3236—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 using cryptographic hash functions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention provides a cross-platform unified login authentication method and a cross-platform unified login authentication device based on a block chain, which belong to the block chain and comprise the following steps: building a block chain platform, developing an intelligent contract, and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms; forming a public chain by the administrator nodes and the participating nodes, and forming a alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain; uploading the unique identity mark registered by the user to a block chain platform, and associating the unique identity mark with an online shopping platform; when a user logs in any online shopping platform, the unique identity of the user is verified through an intelligent contract, and the user logs in the online shopping platform after the unique identity is verified successfully. The invention develops a block chain platform based on the block chain technology, and provides a safe and convenient cross-platform unified login authentication method for users of a vast network shopping platform.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain-based cross-platform unified login authentication method and device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
At present, mobile phone merchants and online shopping platforms in the market are various, and users need to register and manage accounts if the users want to use multiple online shopping platforms, so that a cross-platform unified login authentication method is lacked. The disadvantages of the method are as follows:
1) In the aspect of user experience: each user has a plurality of platform accounts, password management is troublesome, and user experience is poor;
2) And (4) safety aspects: most of network shopping platform users have low security awareness, multiple accounts usually use the same login password, and once a database of a certain platform is attacked, identity and shopping information in other applications of the user are revealed and illegally used. Meanwhile, the login authentication mode of each existing online shopping platform is simple, and the mode of a mobile phone number + a static password or a short message verification code is adopted for identity verification, so that the safety problems of identity spoofing, short message interception and the like are easy to occur.
Therefore, how to provide a new solution, which can solve the above technical problems, is a technical problem to be solved in the art.
Disclosure of Invention
The embodiment of the invention provides a block chain-based cross-platform unified login authentication method, which develops a block chain platform based on a block chain technology and provides a safe and convenient cross-platform unified login authentication method for users of a vast network shopping platform, and comprises the following steps:
building a block chain platform, developing an intelligent contract, and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms;
forming a public chain by the administrator nodes and the participating nodes, and forming a alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain;
uploading the unique identity mark registered by the user to a block chain platform, and associating the unique identity mark with an online shopping platform;
when a user logs in any online shopping platform, the unique identity of the user is verified through the intelligent contract, and the user logs in the online shopping platform after the unique identity is verified successfully.
The embodiment of the present invention further provides a block chain-based cross-platform unified login authentication apparatus, including:
the block chain platform building module is used for building a block chain platform, developing an intelligent contract and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms;
the public chain and alliance chain building module is used for building a public chain by the administrator nodes and the participation nodes and building an alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain;
the unique identity uploading module is used for uploading the unique identity registered by the user to the block chain platform and associating the unique identity with the online shopping platform;
and the verification login module is used for verifying the unique identity of the user through the intelligent contract when the user logs in any one online shopping platform, and logging in the online shopping platform after the verification is successful.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the cross-platform unified login authentication method based on the block chain when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for cross-platform unified login authentication based on a blockchain is implemented.
An embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the method for cross-platform unified login authentication based on a blockchain is implemented.
The embodiment of the invention provides a cross-platform unified login authentication method and device based on a block chain, which comprises the following steps: building a block chain platform, developing an intelligent contract, and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms; forming a public chain by the administrator nodes and the participating nodes, and forming a alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain; uploading the unique identity mark registered by the user to a block chain platform, and associating the unique identity mark with an online shopping platform; when a user logs in any online shopping platform, the unique identity of the user is verified through an intelligent contract, and the user logs in the online shopping platform after the unique identity is verified successfully. The method develops a block chain platform based on the block chain technology, and provides a safe and convenient cross-platform unified login authentication method for users of vast online shopping platforms. According to the method and the device, a trust basis can be provided for each node by using a consensus mechanism of the block chain, and the normal operation of the platform is ensured. Meanwhile, the blockchain platform is regarded as a public and transparent distributed ledger, data information in the ledger is difficult to forge and tamper, and can be verified and traced. Any node in the public chain can send the transaction, the transaction can obtain the effective authentication of the block chain, and any node can freely join or leave the public chain; the use of federation chains with access control rights is cooperatively maintained by administrator nodes. Based on the independent computing and safe storage trusted execution environment of the mobile intelligent terminal, a relatively convenient and fast reliable storage and operation environment can be provided for a user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a block chain-based cross-platform unified login authentication method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of an embodiment of a cross-platform unified login authentication method based on a blockchain according to an embodiment of the present invention.
Fig. 3 is a diagram illustrating an embodiment of a block chain-based cross-platform unified login authentication method according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a computer device for executing a block chain-based cross-platform unified login authentication method implemented in the present invention.
Fig. 5 is a schematic diagram of a cross-platform unified login authentication apparatus based on a block chain according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Fig. 1 is a schematic diagram of a block chain-based cross-platform unified login authentication method in an embodiment of the present invention, and as shown in fig. 1, the embodiment of the present invention provides a block chain-based cross-platform unified login authentication method, a block chain platform is developed based on a block chain technology, and a safe and convenient cross-platform unified login authentication method is provided for users of a vast network shopping platform, and the method includes:
step 101: building a block chain platform, developing an intelligent contract, and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms;
step 102: forming a public chain by the administrator nodes and the participating nodes, and forming an alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain;
step 103: uploading the unique identity mark registered by the user to a block chain platform, and associating the unique identity mark with an online shopping platform;
step 104: when a user logs in any online shopping platform, the unique identity of the user is verified through an intelligent contract, and the user logs in the online shopping platform after the unique identity is verified successfully.
The embodiment of the invention provides a cross-platform unified login authentication method based on a block chain, which comprises the following steps: building a block chain platform, developing an intelligent contract, and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms; forming a public chain by the administrator nodes and the participating nodes, and forming an alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain; uploading the unique identity mark registered by the user to a block chain platform, and associating the unique identity mark with an online shopping platform; when a user logs in any online shopping platform, the unique identity of the user is verified through the intelligent contract, and the user logs in the online shopping platform after the unique identity is verified successfully. The method develops a block chain platform based on the block chain technology, and provides a safe and convenient cross-platform unified login authentication method for users of vast online shopping platforms. The method and the device can provide trust foundation for each node by utilizing the consensus mechanism of the block chain, and ensure the normal operation of the platform. Meanwhile, the blockchain platform is regarded as a public and transparent distributed ledger, data information in the ledger is difficult to forge and tamper, and can be verified and traced. Any node in the public chain can send the transaction, the transaction can obtain the effective authentication of the block chain, and any node can freely join or leave the public chain; the use of federation chains with access control privileges is cooperatively maintained by administrator nodes. The trusted execution environment based on independent computing and safe storage of the mobile intelligent terminal can provide a relatively convenient and fast reliable storage and operation environment for users.
Based on increasingly strong online shopping needs, various online shopping platforms on the market are diversified, accounts of the same user among the online shopping platforms are mutually independent, and the user needs to register information and log in account management respectively. This lack of login authentication for cross-platform applications presents a significant challenge to both user experience and user data security.
According to the method, a distributed management platform is built based on technologies such as block chains, and mobile electronic commerce departments, banks and supervision departments serve as block chain network nodes. The platform comprises two roles of an administrator node and a participant node, different administrator nodes and participant nodes jointly form a public chain, and different administrator nodes also form a alliance chain for maintaining a public mechanism in a public chain network. After an identity which can uniquely identify the legal identity of a new user in the network is generated, the identity is uploaded to a public chain account book for storage, and the user can log in any mobile phone e-commerce app in the public chain network by using the identity, so that the purpose of unified identity management is achieved.
In this application, public block chain (Public block chain) means that any individual or group can send a transaction, and the transaction can obtain valid authentication of the block chain, and anyone can freely join or leave the Public chain. Federation chain (Consortium Blockchain) refers to a chain of blocks cooperatively maintained by several organizations, the use of which is access control with rights.
When the method for cross-platform unified login authentication based on a block chain provided by the embodiment of the present invention is implemented specifically, in an embodiment, the method includes:
building a block chain platform, developing an intelligent contract, and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms;
forming a public chain by the administrator nodes and the participating nodes, and forming a alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain;
uploading the unique identity mark registered by the user to a block chain platform and associating the unique identity mark with an online shopping platform;
when a user logs in any online shopping platform, the unique identity of the user is verified through an intelligent contract, and the user logs in the online shopping platform after the unique identity is verified successfully.
The consensus mechanism of the block chain can provide a trust basis for each node in the distributed block chain platform, and the normal operation of the platform is ensured. Meanwhile, the blockchain platform can be regarded as a publicly transparent distributed ledger, data information in the ledger is difficult to forge and tamper, and can be verified and traced. Any node in the public chain can send the transaction, the transaction can obtain the effective authentication of the block chain, and any node can freely join or leave the public chain; the use of federation chains with access control rights is cooperatively maintained by several organizations. Most of the existing mobile intelligent terminals have a trusted execution environment which can realize independent computation and safe storage, and can provide a relatively convenient and fast reliable storage and operation environment for users.
In a specific implementation of the method for cross-platform unified login authentication based on a blockchain according to an embodiment of the present invention, in an embodiment, the administrator node includes: payment and regulatory agencies;
federation chain management maintains a public chain, including: when a new participating node joins the public chain, auditing admission qualification information of the new participating node by using an intelligent contract through a payment mechanism and a supervision mechanism; and if the admission qualification information of the new participant node meets the management and maintenance standard of the union chain, the new participant node is approved to be added into the public chain.
In an embodiment, an administrator node, comprises: payment and regulatory agencies; the payment mechanism can comprise a bank and an online payment platform; the supervision authorities can comprise an industrial and commercial supervision department and a financial supervision department.
Forming a public chain by the administrator nodes and the participating nodes, and forming a alliance chain by the administrator nodes; the federation chain is used to manage and maintain a public chain. By designing a dual-layer blockchain network, the bottom layer is a public chain, and the upper layer is a alliance chain. The alliance chain can supervise and manage certain public behaviors in the public chain, and can carry out most basic auditing and control on identity information of the participating nodes of the public chain. Nodes which do not pass the public standard set by the alliance chain cannot freely join and leave the public chain.
Specifically, the alliance chain can be formed by banks, industrial and commercial supervision departments and e-commerce platforms with more perfect credit systems, the responsibility of the alliance chain is to maintain the public mechanism information in the public chain, and the alliance chain comprises design of intelligent contracts and other rules for maintaining normal operation of public chain networks.
And (3) building a public chain, wherein the nodes of the public chain can be different mobile phone merchants, banks and the like. Different from a common public chain, when each party joins the public chain, information such as legal qualification certification and the like needs to be provided, so that the alliance chain can check and supervise each node in the public chain, and the legal rights and interests of consumers are guaranteed. The auditing of the alliance chain to the public chain joiner is automatically realized through an intelligent contract, and any mobile phone e-commerce verified by the alliance chain public mechanism can freely join and leave the public chain network.
The developed intelligent contract can respectively realize the related service functions of public chain participation node identity verification, mobile user identity management, mobile user identity search ratio and the like.
Fig. 2 is a schematic diagram of an embodiment of a block chain-based cross-platform unified login authentication method according to an embodiment of the present invention, and as shown in fig. 2, when the block chain-based cross-platform unified login authentication method according to the embodiment of the present invention is implemented specifically, in an embodiment, a unique identity registered by a user is uploaded to a block chain platform and associated with an online shopping platform, which includes:
step 201: generating user identification information in the mobile intelligent equipment according to the user identity information and the equipment information;
step 202: encrypting the user identification by using a Hash algorithm to determine the unique identity identification registered by the user;
step 203: calling an intelligent contract of the blockchain platform, and uploading the unique identity identifier registered by the user to a blockchain account book of the blockchain platform for storage;
step 204: associating the unique identity in the block chain account book with an online shopping platform, and determining associated login information; and the associated login information is used for logging in the online shopping platform by using the unique identity.
In the embodiment, the mobile intelligent device can perform trusted application development and is used for generating and encrypting the unique identity of the user; when uploading the unique identity registered by the user to the blockchain platform, the uploading may include:
if the user does not register any network shopping platform in the blockchain network, the user is a new user, and the registration process is carried out:
after a user submits a registration application on the mobile intelligent device, a mobile device background generates a unique identifier which is difficult to forge, tamper and verify for the user, the identifier can comprise user biological information, device information and other contents, and the identifier is encrypted by a hash algorithm. And calling related intelligent contracts on the block chain, and uploading the encrypted unique identifier to a block chain account book for storage, so as to achieve the purpose of unified management of terminal identities. When the account logs in at other equipment, the identity information of the user needs to be verified again. Further, the unique identity in the block chain account book is associated with the online shopping platform, and associated login information is determined; and the associated login information is used for logging in the online shopping platform by using the unique identity.
Fig. 3 is a schematic diagram of an embodiment of a block chain-based cross-platform unified login authentication method according to an embodiment of the present invention, and as shown in fig. 3, when the block chain-based cross-platform unified login authentication method according to the embodiment of the present invention is specifically implemented, in an embodiment, when a user logs in any online shopping platform, a unique identity of the user is verified through an intelligent contract, and the user logs in the online shopping platform after the verification is successful, the method includes:
step 301: when a user logs in any online shopping platform, generating user login identity identification information by using user identity information collected in mobile intelligent equipment and combining equipment information of the mobile intelligent equipment;
step 302: encrypting the user login identity identification information by using a Hash algorithm to determine a user login request identification;
step 303: and calling the unique identity in the intelligent contract matching block chain account book according to the login request identifier of the user, and if the matching is successful, acquiring corresponding associated login information and logging in the online shopping platform.
In an embodiment, when a user logs in any online shopping platform, a unique identity of the user is verified through an intelligent contract, and after the unique identity is successfully verified, the user logs in the online shopping platform, which comprises the following steps: firstly, when a user logs in any online shopping platform, user login identity identification information is generated by utilizing user identity information collected in mobile intelligent equipment and combining equipment information of the mobile intelligent equipment; then, the hash algorithm is used for carrying out encryption processing on the user login identity identification information to determine a user login request identification; and finally, calling the unique identity in the intelligent contract matching block chain account book according to the login request identifier of the user, and if the matching is successful, acquiring corresponding associated login information and logging in the online shopping platform.
Specifically, if the user has registered with a certain merchant in the blockchain network, the user is an old user, and a unified login authentication process can be directly performed at the client: and the mobile terminal collects information at the mobile terminal according to the same method during registration and generates the mobile terminal identity through hash algorithm encryption. And calling an intelligent contract, and checking whether the block chain database has a corresponding mobile terminal identity. If the login is successful, otherwise, the login fails.
Fig. 4 is a schematic diagram of a computer device for executing a block chain-based cross-platform unified login authentication method implemented by the present invention, and as shown in fig. 4, an embodiment of the present invention further provides a computer device 400, which includes a memory 410, a processor 420, and a computer program 430 stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the block chain-based cross-platform unified login authentication method.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for cross-platform unified login authentication based on a blockchain is implemented.
An embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the method for cross-platform unified login authentication based on a blockchain is implemented.
The embodiment of the invention also provides a cross-platform unified login authentication device based on the block chain, which is described in the following embodiment. Because the principle of the device for solving the problems is similar to that of a block chain-based cross-platform unified login authentication method, the implementation of the device can refer to the implementation of the block chain-based cross-platform unified login authentication method, and repeated parts are not described again.
Fig. 5 is a schematic diagram of a block chain-based cross-platform unified login authentication device according to an embodiment of the present invention, and as shown in fig. 5, an embodiment of the present invention further provides a block chain-based cross-platform unified login authentication device.
In a specific embodiment, when implementing the cross-platform unified login authentication device based on the blockchain provided by the embodiment of the present invention, the cross-platform unified login authentication device includes:
the block chain platform building module 501 is used for building a block chain platform, developing an intelligent contract and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms;
a public chain and alliance chain establishing module 502, configured to form a public chain from the administrator nodes and the participating nodes, and form an alliance chain from the administrator nodes; the alliance chain is used for managing and maintaining a public chain;
the unique identity uploading module 503 is configured to upload the unique identity registered by the user to the blockchain platform and associate the unique identity with the online shopping platform;
and the verification login module 504 is used for verifying the unique identity of the user through the intelligent contract when the user logs in any online shopping platform, and logging in the online shopping platform after the user successfully verifies the unique identity.
In an embodiment of the present invention, when implementing the block chain-based cross-platform unified login authentication apparatus, the administrator node includes: payment and regulatory agencies;
public chain and alliance chain group build the module, specifically are used for: when a new participating node joins the public chain, auditing admission qualification information of the new participating node by using an intelligent contract through a payment mechanism and a supervision mechanism; and if the admission qualification information of the new participating node meets the management and maintenance standard of the alliance chain, the new participating node is approved to be added into the public chain.
In specific implementation of the cross-platform unified login authentication device based on the blockchain provided in the embodiments of the present invention, in one embodiment, the unique identity uploading module is specifically configured to:
generating user identification information in the mobile intelligent equipment according to the user identity information and the equipment information;
encrypting the user identification by utilizing a Hash algorithm to determine the unique identity identification registered by the user;
calling an intelligent contract of the blockchain platform, and uploading the unique identity identifier registered by the user to a blockchain account book of the blockchain platform for storage;
associating the unique identity in the block chain account book with an online shopping platform, and determining associated login information; and the associated login information is used for logging in the online shopping platform by using the unique identity.
In particular, when the cross-platform unified login authentication device based on the block chain according to the embodiment of the present invention is implemented, in an embodiment, the verification login module is specifically configured to:
when a user logs in any online shopping platform, generating user login identity identification information by using user identity information collected in mobile intelligent equipment and combining equipment information of the mobile intelligent equipment;
encrypting the user login identity identification information by utilizing a Hash algorithm to determine a user login request identification;
and calling the unique identity in the intelligent contract matching block chain account book according to the login request identifier of the user, and if the matching is successful, acquiring corresponding associated login information and logging in the online shopping platform.
To sum up, the method and apparatus for cross-platform unified login authentication based on a block chain provided in the embodiments of the present invention include: building a block chain platform, developing an intelligent contract, and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms; forming a public chain by the administrator nodes and the participating nodes, and forming a alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain; uploading the unique identity mark registered by the user to a block chain platform, and associating the unique identity mark with an online shopping platform; when a user logs in any online shopping platform, the unique identity of the user is verified through an intelligent contract, and the user logs in the online shopping platform after the unique identity is verified successfully. The method develops a block chain platform based on the block chain technology, and provides a safe and convenient cross-platform unified login authentication method for users of vast online shopping platforms. The method and the device can provide trust foundation for each node by utilizing the consensus mechanism of the block chain, and ensure the normal operation of the platform. Meanwhile, the blockchain platform is regarded as a public and transparent distributed ledger, data information in the ledger is difficult to forge and tamper, and can be verified and traced. Any node in the public chain can send the transaction, the transaction can obtain the effective authentication of the block chain, and any node can freely join or leave the public chain; the use of federation chains with access control privileges is cooperatively maintained by administrator nodes. The trusted execution environment based on independent computing and safe storage of the mobile intelligent terminal can provide a relatively convenient and fast reliable storage and operation environment for users.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations, and various types of data such as personal identity data, operation data, behavior data and the like related to individuals, clients, crowds and the like are authorized.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and should not be used to limit the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (11)
1. A cross-platform unified login authentication method based on a block chain is characterized by comprising the following steps:
building a block chain platform, developing an intelligent contract, and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms;
forming a public chain by the administrator nodes and the participating nodes, and forming an alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain;
uploading the unique identity mark registered by the user to a block chain platform, and associating the unique identity mark with an online shopping platform;
when a user logs in any online shopping platform, the unique identity of the user is verified through an intelligent contract, and the user logs in the online shopping platform after the unique identity is verified successfully.
2. The method of claim 1, wherein the administrator node comprises: payment and regulatory agencies;
federation chain management maintains a public chain, comprising: when a new participating node joins the public chain, auditing admission qualification information of the new participating node by using an intelligent contract through a payment mechanism and a supervision mechanism; and if the admission qualification information of the new participating node meets the management and maintenance standard of the alliance chain, the new participating node is approved to be added into the public chain.
3. The method of claim 1, wherein uploading the unique identity of the user registration to a blockchain platform in association with an online shopping platform comprises:
generating user identification information in the mobile intelligent equipment according to the user identity information and the equipment information;
encrypting the user identification by using a Hash algorithm to determine the unique identity identification registered by the user;
calling an intelligent contract of the blockchain platform, and uploading the unique identity identifier registered by the user to a blockchain account book of the blockchain platform for storage;
associating the unique identity in the block chain account book with an online shopping platform, and determining associated login information; and the associated login information is used for logging in the online shopping platform by using the unique identity.
4. The method of claim 3, wherein when the user logs in any online shopping platform, the unique identity of the user is verified through the intelligent contract, and after the verification is successful, the user logs in the online shopping platform, the method comprises the following steps:
when a user logs in any online shopping platform, generating user login identity identification information by using user identity information collected in mobile intelligent equipment and combining equipment information of the mobile intelligent equipment;
encrypting the user login identity identification information by using a Hash algorithm to determine a user login request identification;
and calling the unique identity in the intelligent contract matching block chain account book according to the login request identifier of the user, and if the matching is successful, acquiring corresponding associated login information and logging in the online shopping platform.
5. A block chain-based cross-platform unified login authentication device is characterized by comprising:
the block chain platform building module is used for building a block chain platform, developing an intelligent contract and adding an administrator node and a participation node into the block chain platform; the participating node comprises a plurality of networked shopping platforms across platforms;
the public chain and alliance chain building module is used for forming a public chain by the administrator nodes and the participation nodes and forming an alliance chain by the administrator nodes; the alliance chain is used for managing and maintaining a public chain;
the unique identity uploading module is used for uploading the unique identity registered by the user to the block chain platform and associating the unique identity with the online shopping platform;
and the verification login module is used for verifying the unique identity of the user through the intelligent contract when the user logs in any one online shopping platform, and logging in the online shopping platform after the verification is successful.
6. The apparatus of claim 5, wherein the administrator node comprises: payment and regulatory agencies;
public chain and alliance chain group build the module, specifically are used for: when a new participating node joins the public chain, auditing admission qualification information of the new participating node by using an intelligent contract through a payment mechanism and a supervision mechanism; and if the admission qualification information of the new participant node meets the management and maintenance standard of the union chain, the new participant node is approved to be added into the public chain.
7. The apparatus of claim 5, wherein the unique identifier upload module is specifically configured to:
generating user identification information in the mobile intelligent equipment according to the user identity information and the equipment information;
encrypting the user identification by utilizing a Hash algorithm to determine the unique identity identification registered by the user;
calling an intelligent contract of the blockchain platform, and uploading the unique identity identifier registered by the user to a blockchain account book of the blockchain platform for storage;
associating the unique identity in the block chain account book with an online shopping platform, and determining associated login information; and the associated login information is used for logging in the online shopping platform by using the unique identity.
8. The apparatus of claim 7, wherein the authentication login module is specifically configured to:
when a user logs in any online shopping platform, generating user login identity identification information by using user identity information collected in mobile intelligent equipment and combining equipment information of the mobile intelligent equipment;
encrypting the user login identity identification information by utilizing a Hash algorithm to determine a user login request identification;
and calling the unique identity in the intelligent contract matching block chain account book according to the login request identifier of the user, and if the matching is successful, acquiring corresponding associated login information and logging in the online shopping platform.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any of claims 1 to 4.
11. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210809366.8A CN115150178A (en) | 2022-07-11 | 2022-07-11 | Cross-platform unified login authentication method and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210809366.8A CN115150178A (en) | 2022-07-11 | 2022-07-11 | Cross-platform unified login authentication method and device based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115150178A true CN115150178A (en) | 2022-10-04 |
Family
ID=83411643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210809366.8A Pending CN115150178A (en) | 2022-07-11 | 2022-07-11 | Cross-platform unified login authentication method and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115150178A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117294447A (en) * | 2023-10-18 | 2023-12-26 | 河北省科学院应用数学研究所 | Trusted authentication method and device based on blockchain, terminal equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737418A (en) * | 2018-05-22 | 2018-11-02 | 飞天诚信科技股份有限公司 | A kind of identity identifying method and system based on block chain |
CN109088866A (en) * | 2018-08-02 | 2018-12-25 | 北京百悟科技有限公司 | Cloudy platform unified identity authentication method and device based on alliance's chain |
WO2021232590A1 (en) * | 2020-05-22 | 2021-11-25 | 平安国际智慧城市科技股份有限公司 | User verification method and apparatus based on private chain, and computer device and storage medium |
CN113765674A (en) * | 2021-09-02 | 2021-12-07 | 杭州溪塔科技有限公司 | Cross-platform registration method and device based on block chain |
-
2022
- 2022-07-11 CN CN202210809366.8A patent/CN115150178A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737418A (en) * | 2018-05-22 | 2018-11-02 | 飞天诚信科技股份有限公司 | A kind of identity identifying method and system based on block chain |
CN109088866A (en) * | 2018-08-02 | 2018-12-25 | 北京百悟科技有限公司 | Cloudy platform unified identity authentication method and device based on alliance's chain |
WO2021232590A1 (en) * | 2020-05-22 | 2021-11-25 | 平安国际智慧城市科技股份有限公司 | User verification method and apparatus based on private chain, and computer device and storage medium |
CN113765674A (en) * | 2021-09-02 | 2021-12-07 | 杭州溪塔科技有限公司 | Cross-platform registration method and device based on block chain |
Non-Patent Citations (1)
Title |
---|
月光下的对立统一: "(联盟链(Fabric)的身份与角色", pages 1 - 7, Retrieved from the Internet <URL:https://zhuanlan.zhihu.com/p/417329707> * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117294447A (en) * | 2023-10-18 | 2023-12-26 | 河北省科学院应用数学研究所 | Trusted authentication method and device based on blockchain, terminal equipment and storage medium |
CN117294447B (en) * | 2023-10-18 | 2024-03-19 | 河北省科学院应用数学研究所 | Trusted authentication method and device based on blockchain, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220277307A1 (en) | Systems and methods for personal identification and verification | |
Leng et al. | Blockchain security: A survey of techniques and research directions | |
Bhutta et al. | A survey on blockchain technology: Evolution, architecture and security | |
Zheng et al. | Blockchain challenges and opportunities: A survey | |
US11212081B2 (en) | Method for signing a new block in a decentralized blockchain consensus network | |
CN111191283B (en) | Beidou positioning information security encryption method and device based on alliance block chain | |
CN112437938A (en) | System and method for block chain address and owner verification | |
Zhong et al. | Distributed blockchain‐based authentication and authorization protocol for smart grid | |
Ali et al. | Blockchain and the future of the internet: A comprehensive review | |
CN109726887A (en) | The acquisition of mobile crowdsourcing Data Data and processing system and method based on block chain | |
Dahiya et al. | A comprehensive analysis of blockchain and its applications in intelligent systems based on IoT, cloud and social media | |
Zhu et al. | Hybrid blockchain design for privacy preserving crowdsourcing platform | |
ul Hassan et al. | Blockchain and the future of the internet: a comprehensive review | |
Li et al. | A decentralized and secure blockchain platform for open fair data trading | |
Deebak et al. | A robust and distributed architecture for 5G-enabled networks in the smart blockchain era | |
CN112291062B (en) | Voting method and device based on block chain | |
Li et al. | Privacy‐aware PKI model with strong forward security | |
CN112232828A (en) | Power grid data transaction method and system | |
Quamara et al. | An in-depth security and performance investigation in hyperledger fabric-configured distributed computing systems | |
CN115150178A (en) | Cross-platform unified login authentication method and device based on block chain | |
Huang et al. | zkChain: A privacy‐preserving model based on zk‐SNARKs and hash chain for efficient transfer of assets | |
CN117972717A (en) | Trusted security multiparty computing method and device based on blockchain | |
Singh et al. | Blockchain applications, opportunities, challenges and risks: a survey | |
CN117376000A (en) | Block chain-based data processing method, device, equipment and storage medium | |
Zhao et al. | A comprehensive overview of security vulnerability penetration methods in blockchain cross-chain bridges |
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 |