Information verification method and device based on block chain, electronic equipment and storage medium

By combining wearable virtual devices and blockchain networks, personal identification codes are generated and verified, solving the problems of server information leakage and tampering, and achieving safe and efficient information verification.

CN120705849APending Publication Date: 2025-09-26AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510818643.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-18
Publication Date
2025-09-26

Smart Images

  • Figure CN120705849A_ABST
    Figure CN120705849A_ABST
Patent Text Reader

Abstract

The invention discloses an information verification method and device based on a block chain, electronic equipment and a storage medium. The method comprises the following steps: acquiring biological characteristic information of a user through wearable virtual equipment, and generating a personal identification code based on the biological characteristic information; the virtual device obtains a random factor, and generates a private key based on the biological characteristic information and the random factor; performing encryption and digital signature on the personal identification code based on the private key to form an information packet, and uploading the information packet to a block chain network; the blockchain node performs signature verification and decryption on the information packet based on the received information packet and the public key to obtain a personal identification code; performing verification based on the personal identification code to obtain a node verification result of the block chain node, and sending feedback information to the virtual device based on the encrypted node verification result; and the virtual device successfully verifies when the feedback information of the plurality of block chain nodes satisfies the verification condition. Multi-node information verification is carried out through the plurality of block chain nodes, and the security of information verification is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a blockchain-based information verification method, device, electronic device, and storage medium. Background Art

[0002] Nowadays, the intuitive display of virtual reality makes it play an increasingly important role in more and more scenarios, such as banking transactions, government business processing, etc., which also makes it particularly important to verify the user's identity.

[0003] The traditional information verification method is to verify information through the server. However, once the server leaks information or the information is tampered with, it will cause huge losses to the user. Summary of the Invention

[0004] The present invention provides a blockchain-based information verification method, device, electronic device and storage medium to solve the problem of information leakage or tampering of the server when information verification is performed through the server.

[0005] According to one aspect of the present invention, a blockchain-based information verification method is provided, comprising:

[0006] Obtaining biometric information of a user through a wearable virtual device, and generating a personal identification code based on the biometric information;

[0007] The virtual device obtains a random factor and generates a private key based on the biometric information and the random factor;

[0008] The virtual device encrypts and digitally signs the personal identification code based on the private key to form an information package, and uploads the information package to a blockchain network; the blockchain network includes multiple blockchain nodes;

[0009] The blockchain node receives the information packet, performs signature verification and decryption on the information packet based on the public key to obtain a personal identification code; the public key is obtained by the virtual device using an elliptic cryptography algorithm to convert the private key;

[0010] The blockchain node performs verification based on the personal identification code to obtain a node verification result of the blockchain node, and sends feedback information to the virtual device based on the encrypted node verification result;

[0011] The virtual device receives the feedback information, and verification is successful if the feedback information of the multiple blockchain nodes meets the verification conditions.

[0012] According to another aspect of the present invention, there is provided a blockchain-based information verification apparatus, comprising: a wearable virtual device and a blockchain network, wherein the blockchain network comprises a plurality of blockchain nodes;

[0013] The virtual device is used to obtain biometric information of the user and generate a personal identification code based on the biometric information; obtain a random factor and generate a private key based on the biometric information and the random factor; encrypt and digitally sign the personal identification code based on the private key to form an information package, and upload the information package to the blockchain network;

[0014] The blockchain node is configured to receive the information packet, perform signature verification and decryption on the information packet based on the public key, and obtain a personal identification code; perform verification based on the personal identification code to obtain a node verification result of the blockchain node, and send feedback information to the virtual device based on the encrypted node verification result; the public key is obtained by the virtual device through conversion based on the private key using an elliptic cryptography algorithm;

[0015] The virtual device is used to receive the feedback information, and the verification is successful if the feedback information of the multiple blockchain nodes meets the verification conditions.

[0016] According to another aspect of the present invention, an electronic device is provided, comprising:

[0017] at least one processor; and

[0018] a memory communicatively connected to the at least one processor; wherein,

[0019] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the blockchain-based information verification method described in any embodiment of the present invention.

[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the blockchain-based information verification method described in any embodiment of the present invention when executed.

[0021] The technical solution of the embodiment of the present invention obtains the user's biometric information through a wearable virtual device and generates a personal identification code based on the biometric information; the virtual device obtains a random factor and generates a private key based on the biometric information and the random factor; the personal identification code is encrypted and digitally signed based on the private key to form an information package, and the information package is uploaded to the blockchain network; the blockchain node, based on the received information package, performs signature verification and decryption on the information package based on the public key to obtain the personal identification code; verification is performed based on the personal identification code to obtain the node verification result of the blockchain node, and feedback information is sent to the virtual device based on the encrypted node verification result; the virtual device successfully verifies if the feedback information of multiple blockchain nodes meets the verification conditions. Performing multi-node information verification through multiple blockchain nodes of the blockchain can solve the problem of information leakage or information tampering on the server when information verification is performed through the server, avoid losses to users caused by server attacks, and improve the security of information verification.

[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 This is a flowchart of a blockchain-based information verification method provided in Example 1 of the present invention;

[0025] Figure 2 This is an interaction diagram of the user registration phase provided by the second embodiment of the present invention;

[0026] Figure 3 This is a flowchart of the user registration phase provided by the second embodiment of the present invention;

[0027] Figure 4 This is an interaction diagram of the user login stage provided by the second embodiment of the present invention;

[0028] Figure 5 This is a flowchart of the user login phase provided by the second embodiment of the present invention;

[0029] Figure 6 This is a schematic diagram of the structure of a blockchain-based information verification device provided in Example 3 of the present invention;

[0030] Figure 7 This is a structural diagram of an electronic device provided in Example 4 of the present invention. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0032] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0033] Example 1

[0034] Figure 1 This is a flowchart of a blockchain-based information verification method provided by the first embodiment of the present invention. This embodiment is applicable to situations where information is verified through blockchain. The method can be executed by a blockchain-based information verification device. The blockchain-based information verification device can be implemented in the form of hardware and / or software. The blockchain-based information verification device can be configured in electronic devices such as computers and servers. Figure 1 As shown, the method includes:

[0035] S110: Obtain biometric information of the user through a wearable virtual device, and generate a personal identification code based on the biometric information.

[0036] A virtual device refers to hardware devices such as a virtual reality headset, controllers, and sensors, which are used to simulate a user's sensory experience, placing the user in a computer-generated three-dimensional virtual environment and enabling immersive interaction with the virtual environment. In an embodiment of the present invention, after a user puts on the virtual device, the virtual device extracts the user's biometric information and converts it into a personal identification code. Biometric information includes, but is not limited to, the user's fingerprint information, pupil information, and facial image; the personal identification code is a unique, irreversible hash string that uniquely identifies the user.

[0037] Based on the above embodiment, optionally, generating a personal identification code based on the biometric information includes: performing mathematical operations on the biometric information to generate a mathematical representation of the biometric; and the virtual device uses a hash algorithm to convert the mathematical representation of the biometric to generate a personal identification code.

[0038] In an embodiment of the present invention, the virtual device can perform feature extraction on biometric information to obtain a mathematical representation of the biometric features. Specifically, for fingerprint information: the coordinates and direction angles of detail points (such as endpoints, bifurcation points, etc.) in the fingerprint information can be extracted and converted into feature vectors. For facial images: the facial images can be mapped into feature vectors through a deep convolutional network. For pupil information: the inner and outer boundary circles of the iris can be detected through Hough transform to obtain a normalized iris texture image in polar coordinates; or a 2D Log-Gabor filter can be used to extract phase information to obtain a 2048-bit iris code. Furthermore, the virtual device uses a hash algorithm to convert the mathematical representation of the user's biometric features into a hash string, and uses the hash string as the user's personal identification code.

[0039] For example, the process of generating the mathematical representation of biometrics is as follows:

[0040] A:biometric A →mathematical A ;

[0041] The process of generating a personal identification code is as follows:

[0042]

[0043] Among them, biometric A Represents user A’s biometric information, mathematical A A mathematical representation of user A's biometrics, PIN A Indicates user A's personal identification code.

[0044] It's important to note that mathematical operations are used to convert biometric information into a mathematical representation, ensuring its uniqueness and security. Furthermore, after generating the personal identification code, the virtual device deletes the user's biometric information to ensure that the user's biometric information is processed locally and not uploaded to the network, thus protecting user privacy.

[0045] S120: The virtual device obtains a random factor, and generates a private key based on the biometric information and the random factor.

[0046] The random factor refers to a random number generated by a random number generator. In the embodiment of the present invention, the biometric information and the random factor are combined to generate a private key.

[0047] It should be noted that the random factor is stored locally or in a user-specified location and is difficult to crack without being disclosed by the user. Compared to longer private keys, the random factor is easier to remember and requires a large number of attempts to crack, which is also limited by the daily trial and error limit.

[0048] Based on the above embodiment, optionally, obtaining the random factor includes: in the registration stage, the virtual device generates a random factor through a random number generator; or, in the login stage, the virtual device receives the random factor input by the user; wherein, the random factor of the same user in the registration stage and the login stage is the same.

[0049] In an embodiment of the present invention, during the registration stage, the random factor is generated by the virtual device through a random number generator and the random factor is stored locally; during the login stage, the user inputs the locally stored random factor into the virtual device, and the virtual device receives the random factor input by the user, thereby generating a private key based on the combination of the random factor and the user's biometric information.

[0050] Based on the above embodiment, optionally, generating a private key based on the biometric information and the random factor includes: the virtual device concatenating the mathematical representation of the biometric with the random factor to generate a private key.

[0051] In an embodiment of the present invention, the virtual device combines the mathematical representation of the biometrics with a random factor to generate a private key. For example, as shown in the following formula:

[0052] A:{mathematical A ,random A}→SK A ;

[0053] Among them, mathematical A Represents the mathematical representation of user A's biometrics, randomA represents the random factor, SK A Represents a private key.

[0054] S130. The virtual device encrypts and digitally signs the personal identification code based on the private key to form an information package, and uploads the information package to the blockchain network; the blockchain network includes multiple blockchain nodes.

[0055] In an embodiment of the present invention, the virtual device uses a private key to encrypt and digitally sign a personal identification code to form an information package, and uploads the information package to the blockchain network. Multiple blockchain nodes in the blockchain network receive the information package respectively, and multiple blockchain nodes verify the information in the information package at the same time.

[0056] Based on the above embodiment, optionally, the virtual device encrypts and digitally signs the personal identification code based on the private key to form an information package, including: the virtual device encrypts the personal identification code based on the private key to obtain an encrypted personal identification code; the virtual device digitally signs the encrypted personal identification code based on the private key to obtain an information package.

[0057] Specifically, the virtual device uses the user's private key to encrypt the personal identification code to form an encrypted personal identification code. The encrypted personal identification code is formed as follows:

[0058]

[0059] in, Indicates the encrypted personal identification number.

[0060] It is understandable that the purpose of encrypting personal identification codes is to prevent hackers from stealing and tampering with the user's identification code during information transmission, thereby ensuring the security of data during transmission.

[0061] Furthermore, the virtual device uses the private key to digitally sign the encrypted personal identification code to form an information packet. The formation process of the information packet is as follows:

[0062]

[0063] in, Indicates an information packet.

[0064] It is understandable that digitally signing the encrypted personal identification code can prevent user impersonation. The private key is known only to the user and cannot be forged by others. The receiver can authenticate the sender's identity.

[0065] S140. The blockchain node receives the information package, performs signature verification and decryption on the information package based on the public key to obtain a personal identification code; the public key is obtained by the virtual device using an elliptic cryptography algorithm based on a private key conversion.

[0066] In an embodiment of the present invention, multiple blockchain nodes in a blockchain network respectively receive information packets, and simultaneously perform signature verification and decryption on the information packets based on the public key to obtain a personal identification code; wherein the public key is obtained by converting the private key based on the private key using the elliptic cryptography algorithm of the virtual device. Specifically, the public key is generated by scalar multiplication of the private key and the generating base point on the elliptic curve.

[0067] Based on the above embodiment, optionally, the signature verification and decryption of the information package based on the public key to obtain a personal identification code includes: the blockchain node verifies the signature of the information package based on the public key, if the verification is successful, an encrypted personal identification code is obtained, and the encrypted personal identification code is decoded to obtain a personal identification code.

[0068] Specifically, after receiving a packet, the blockchain node uses the corresponding public key to verify its digital signature to verify whether the packet comes from the corresponding virtual device node. If the verification fails, the packet is discarded; if the verification succeeds, the encrypted personal identification code is obtained. The digital signature verification process is as follows:

[0069]

[0070] Among them, PK A Represents a public key.

[0071] It should be noted that regardless of whether the verification is successful or not, the verification result is recorded in the block.

[0072] Furthermore, the nodes in the blockchain use the corresponding public key to decrypt the encrypted personal identification code to obtain the personal identification code. The decryption process is as follows:

[0073]

[0074] S150. The blockchain node performs verification based on the personal identification code to obtain a node verification result of the blockchain node, and sends feedback information to the virtual device based on the encrypted node verification result.

[0075] In the embodiment of the present invention, feedback information at different stages includes positive feedback information and negative feedback information. During the user registration stage, the personal identification code is registered and verified, and positive feedback information indicates successful registration, while negative feedback information indicates failed registration. During the user login stage, the personal identification code is authenticated, and positive feedback information indicates successful authentication, while negative feedback information indicates failed authentication.

[0076] Based on the above embodiment, the blockchain node optionally performs verification based on the personal identification code to obtain a node verification result of the blockchain node, including: in the registration stage, the blockchain node performs registration verification based on the personal identification code to obtain a registration verification result of the blockchain node; the registration verification result includes registered and unregistered; or, in the login stage, the blockchain node performs identity authentication based on the personal identification code to obtain an identity authentication result of the blockchain node; the identity authentication result includes successful authentication and failed authentication.

[0077] In this embodiment of the present invention, during the user registration phase, the PIN is searched for in the block's records and verified. If the PIN is registered, a registration confirmation message is sent to the virtual device. If the PIN is not registered, the PIN is stored in the block and a registration confirmation message is sent to the virtual device. Furthermore, the feedback message is encrypted using the user's public key and then sent to the virtual device.

[0078] It should be noted that when a user's personal identification code is successfully uploaded to the chain, each node in the blockchain will save a copy of the personal identification code, making it difficult to tamper with the personal identification code.

[0079] In this embodiment of the present invention, during the user login phase, a personal identification code is authenticated. The decrypted personal identification code is compared with the personal identification code stored in the block. If they are different, a feedback message indicating that the authentication failed is sent to the virtual device. If they are the same, a feedback message indicating that the authentication succeeded is sent to the virtual device. Furthermore, the feedback message is encrypted using the user's public key and then sent to the virtual device.

[0080] It should be noted that regardless of whether the result is successful or not, the result is recorded in the block to ensure the integrity of the information.

[0081] S160. The virtual device receives the feedback information. If the feedback information of the multiple blockchain nodes meets the verification conditions, the verification is successful.

[0082] The verification condition may be that the number of blockchain nodes returning positive feedback information among multiple blockchain nodes is greater than a preset threshold. In this embodiment of the present invention, after receiving the encrypted feedback information, the virtual device decrypts the feedback information using a private key. If the number of blockchain nodes returning successful registration information among the multiple blockchain nodes is greater than a preset threshold, registration is successful; otherwise, registration fails. During the user login phase, after receiving the encrypted feedback information, the virtual device decrypts the feedback information using a private key. If the number of blockchain nodes returning successful authentication information among the multiple blockchain nodes is greater than a preset threshold, authentication is successful; otherwise, authentication fails.

[0083] The technical solution of this embodiment obtains the user's biometric information through a wearable virtual device and generates a personal identification code based on the biometric information; the virtual device obtains a random factor and generates a private key based on the biometric information and the random factor; the personal identification code is encrypted and digitally signed based on the private key to form an information package, and the information package is uploaded to the blockchain network; the blockchain node, based on the received information package, verifies and decrypts the information package based on the public key to obtain the personal identification code; verification is performed based on the personal identification code to obtain the node verification result of the blockchain node, and feedback information is sent to the virtual device based on the encrypted node verification result; the virtual device successfully verifies if the feedback information of multiple blockchain nodes meets the verification conditions. Multi-node information verification through multiple blockchain nodes of the blockchain can solve the problem of information leakage or information tampering on the server when information verification is performed through the server, avoid the loss to users caused by server attacks, and improve the security of information verification.

[0084] Example 2

[0085] This embodiment provides a preferred embodiment based on the above embodiments.

[0086] Figure 2 This is an interaction diagram of the user registration phase provided by the second embodiment of the present invention. Figure 3 This is a flow chart of the user registration phase provided by the second embodiment of the present invention. Figure 2 and 3 As shown, during the user registration phase, the information verification process is as follows:

[0087] Step 1: After user A puts on the virtual reality device, the virtual device detects the user's biometric information. A Extraction of biometric information includes but is not limited to user A's fingerprint, pupil and other biometric features.

[0088] Step 2: The virtual device performs mathematical operations on user A’s biometrics to generate a mathematical representation of his biometrics. A , as shown below:

[0089] A:biometric A →mathematical A .

[0090] It's important to note that this process uses mathematical operations to ensure the uniqueness and security of the mathematical representation of User A's biometrics. After this step, the virtual device deletes User A's biometrics. The user's biometrics are processed locally and not uploaded to the network, protecting user privacy.

[0091] Step 3: The virtual device generates a random factor random through the random number generator A , and concatenate it with the mathematical representation of the user's biometrics to generate the private key SK A , as shown below.

[0092] A:{mathematical A ,random A}→SK A ;

[0093] It should be noted that the random factor is stored locally or elsewhere specified by User A. It is difficult to crack without being disclosed by the user. Compared to longer private keys, random factors are easier to remember, and cracking them requires a large number of attempts, limited by the daily number of trial and error.

[0094] Step 4: The virtual device uses the elliptic cryptography algorithm (ECC algorithm) to convert the private key into the corresponding public key, as shown in the following formula.

[0095]

[0096] It should be noted that since user A's biometrics are unique, the public key generated by the algorithm is also unique. The private key is held by the user and used for subsequent information encryption operations, while the public key is broadcast to the blockchain network for information decryption and identity verification.

[0097] Step 5: The virtual device uses a hash algorithm to convert the mathematical representation of user A’s biometrics into a unique, irreversible hash string, which is user A’s personal identification number (PIN). A , as shown below

[0098]

[0099] This processing method ensures that even if the information is stolen by hackers during the information transmission process, hackers cannot reversely deduce the user's original biometric data.

[0100] Step 6: The virtual device uses user A's private key to encrypt its personal identification code to form an encrypted user identification code As shown in the following formula.

[0101]

[0102] The purpose of encrypting the identity identification code is to prevent hackers from stealing and tampering with the user's identification code during information transmission, thereby ensuring the security of data during transmission.

[0103] Step 7: The virtual device uses the private key to digitally sign the encrypted user identification code to form an information package As shown below, the information package is then uploaded to the blockchain network.

[0104]

[0105] Digitally signing data can prevent users from impersonating others. The private key is known only to the user and cannot be forged by others. The recipient can also verify the sender's identity.

[0106] Step 8: After receiving the information packet, the blockchain node in the blockchain network uses the corresponding public key to verify the digital signature of the information packet to verify whether the information packet comes from the corresponding virtual device node. If the verification fails, the information packet is discarded; if the verification succeeds, the encrypted personal identification code is obtained. As shown in the following formula.

[0107]

[0108] In this step, whether the verification is successful or not, the verification result is recorded in the block.

[0109] Step 9: Blockchain nodes in the blockchain network use the corresponding public key PK A Decrypt the encrypted personal identification code to obtain the personal identification code PIN A , as shown below. The user's PIN is then checked in the block record to see if it has been registered. If so, a notification is sent to the virtual device confirming the registration. If not, the user's PIN is stored in the block and a notification is sent to the virtual device confirming successful registration. Once the PIN is successfully uploaded to the blockchain, every node in the blockchain stores a copy of the PIN, making it difficult to tamper with it.

[0110]

[0111] All feedback is sent to the virtual device using the user's public key PK A The registration result will be recorded in the block regardless of whether it is successful or not.

[0112] Step 10: After receiving the encrypted feedback information, the virtual device uses the private key SK A The encrypted feedback information is decrypted. If the number of blockchain nodes reporting successful registration exceeds a preset threshold, registration is successful. Otherwise, registration fails. This process demonstrates the decentralized and multi-node verification characteristics of information verification through blockchain.

[0113] Figure 4This is an interaction diagram of the user login stage provided by the second embodiment of the present invention. Figure 5 This is a flow chart of the user login phase provided by the second embodiment of the present invention. Figure 4 and 5 As shown, during the user registration phase, the authentication process is as follows:

[0114] Step 1: After user A wears the virtual device, the virtual device automatically detects user A's biometric information. A Extract biometric features including but not limited to user A's fingerprints, pupils, etc.

[0115] Step 2: The virtual device processes the biometric information of user A and generates a mathematical representation of the corresponding biometric information. A After this step is completed, the virtual device deletes user A’s biometrics to ensure the secure handling of sensitive information.

[0116] Step 3: The user enters the random factor generated by the virtual device during registration A .

[0117] Step 4: The virtual device concatenates the mathematical representation of user A’s biometric information with the random factor to generate the private key SK A .

[0118] Step 5: The virtual device uses a hashing algorithm to convert the mathematical representation of the user’s biometrics into a personal identification number (PIN) for User A. A .

[0119] Step 6: The virtual device uses the user's private key SK A Personal identification number PIN for user A A Encrypted personal identification number

[0120] Step 7: The virtual device uses the user's private key SK A Digitally sign the encrypted personal identification code to form an information package The information package is then uploaded to the blockchain network.

[0121] Step 8: After receiving the information packet, the node in the blockchain uses the corresponding public key PK A Verify the signature of the information packet to ensure that the information packet comes from the corresponding node. If the verification fails, the information packet is discarded; if the verification succeeds, the encrypted personal identification code is obtained. The verification results will be recorded in the block for easy traceability.

[0122] Step 9: The blockchain node in the blockchain network uses the corresponding user public key PK ADecrypt the encrypted personal identification code to obtain the personal identification code PIN A The decrypted personal identification code is compared with the personal identification code stored in the block. If they are different, a feedback message indicating that the authentication failed is sent to the virtual device; if they are the same, a feedback message indicating that the authentication succeeded is sent to the virtual device. All feedback uses the user's public key PK A After encryption, it is sent to the virtual device. Regardless of whether it is successful or not, the registration result is recorded in the block to ensure the integrity of the information.

[0123] Step 10: After receiving the encrypted feedback, the virtual device uses the private key SK A Decrypt it. If the number of blockchain nodes that return a successful authentication result exceeds a preset threshold, authentication succeeds. Otherwise, authentication fails. Decentralized, multi-node verification.

[0124] Step 11: When the user actively exits the virtual world or removes the VR device, the user exits the virtual world, ensuring that operations in the virtual world are only performed by the user. The VR device will send the user's exit information to the blockchain for record.

[0125] Example 3

[0126] Figure 6 This is a schematic diagram of the structure of a blockchain-based information verification device provided by the third embodiment of the present invention. Figure 6 As shown, the apparatus includes: a wearable virtual device 210 and a blockchain network 220, wherein the blockchain network includes a plurality of blockchain nodes 211;

[0127] The virtual device 210 is configured to obtain biometric information of the user and generate a personal identification code based on the biometric information; obtain a random factor and generate a private key based on the biometric information and the random factor; encrypt and digitally sign the personal identification code based on the private key to form an information package, and upload the information package to the blockchain network;

[0128] The blockchain node 221 is configured to receive the information packet, perform signature verification and decryption on the information packet based on the public key to obtain a personal identification code; perform verification based on the personal identification code to obtain a node verification result of the blockchain node, and send feedback information to the virtual device based on the encrypted node verification result; the public key is obtained by the virtual device through conversion based on the private key using an elliptic cryptography algorithm;

[0129] The virtual device 210 is used to receive the feedback information, and the verification is successful if the feedback information of the multiple blockchain nodes meets the verification conditions.

[0130] The technical solution of this embodiment obtains the user's biometric information through a wearable virtual device and generates a personal identification code based on the biometric information; the virtual device obtains a random factor and generates a private key based on the biometric information and the random factor; the personal identification code is encrypted and digitally signed based on the private key to form an information package, and the information package is uploaded to the blockchain network; the blockchain node, based on the received information package, verifies and decrypts the information package based on the public key to obtain the personal identification code; verification is performed based on the personal identification code to obtain the node verification result of the blockchain node, and feedback information is sent to the virtual device based on the encrypted node verification result; the virtual device successfully verifies if the feedback information of multiple blockchain nodes meets the verification conditions. Multi-node information verification through multiple blockchain nodes of the blockchain can solve the problem of information leakage or information tampering on the server when information verification is performed through the server, avoid the loss to users caused by server attacks, and improve the security of information verification.

[0131] Based on the above embodiment, optionally, the virtual device 210 is used to perform mathematical operations on the biometric information to generate a mathematical representation of the biometric; and use a hash algorithm to convert the mathematical representation of the biometric into a personal identification code.

[0132] Based on the above embodiment, optionally, the virtual device 210 is used to:

[0133] During the registration phase, a random factor is generated through a random number generator;

[0134] Alternatively, during the login phase, a random factor input by the user is received;

[0135] Among them, the random factors of the same user in the registration stage and the login stage are the same.

[0136] Based on the above embodiment, optionally, the virtual device 210 is used to concatenate the mathematical representation of the biometric feature with the random factor to generate a private key.

[0137] Based on the above embodiment, optionally, the virtual device 210 is configured to encrypt the personal identification code based on the private key to obtain an encrypted personal identification code; and digitally sign the encrypted personal identification code based on the private key to obtain an information package.

[0138] Based on the above embodiment, optionally, the blockchain node 221 is used to perform signature verification on the information package based on the public key. If the verification is successful, an encrypted personal identification code is obtained, and the encrypted personal identification code is decoded to obtain a personal identification code.

[0139] Based on the above embodiment, optionally, the blockchain node 221 is used to:

[0140] During the registration phase, registration verification is performed based on the personal identification code to obtain a registration verification result of the blockchain node; the registration verification result includes registered and unregistered;

[0141] Alternatively, during the login phase, identity authentication is performed based on the personal identification code to obtain an identity authentication result of the blockchain node; the identity authentication result includes identity authentication success and identity authentication failure.

[0142] The blockchain-based information verification device provided by the embodiment of the present invention can execute the blockchain-based information verification method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0143] Example 4

[0144] Figure 7 1 is a structural diagram of an electronic device provided in Embodiment 4 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0145] like Figure 7 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0146] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0147] Processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. Processor 11 executes the various methods and processes described above, such as the blockchain-based information verification method.

[0148] In some embodiments, the blockchain-based information verification method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the blockchain-based information verification method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the blockchain-based information verification method by any other appropriate means (for example, by means of firmware).

[0149] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0150] The computer programs for implementing the blockchain-based information verification method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a standalone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0151] Example 5

[0152] Embodiment 5 of the present invention further provides a computer-readable storage medium storing computer instructions, which are used to cause a processor to execute a blockchain-based information verification method, the method comprising:

[0153] Obtaining biometric information of a user through a wearable virtual device, and generating a personal identification code based on the biometric information;

[0154] The virtual device obtains a random factor and generates a private key based on the biometric information and the random factor;

[0155] The virtual device encrypts and digitally signs the personal identification code based on the private key to form an information package, and uploads the information package to a blockchain network; the blockchain network includes multiple blockchain nodes;

[0156] The blockchain node receives the information packet, performs signature verification and decryption on the information packet based on the public key to obtain a personal identification code; the public key is obtained by the virtual device using an elliptic cryptography algorithm to convert the private key;

[0157] The blockchain node performs verification based on the personal identification code to obtain a node verification result of the blockchain node, and sends feedback information to the virtual device based on the encrypted node verification result;

[0158] The virtual device receives the feedback information, and verification is successful if the feedback information of the multiple blockchain nodes meets the verification conditions.

[0159] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0160] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0161] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0162] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0163] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.

[0164] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A blockchain-based information verification method, characterized in that: include: Obtaining biometric information of a user through a wearable virtual device, and generating a personal identification code based on the biometric information; The virtual device obtains a random factor and generates a private key based on the biometric information and the random factor; The virtual device encrypts and digitally signs the personal identification code based on the private key to form an information package, and uploads the information package to a blockchain network; the blockchain network includes multiple blockchain nodes; The blockchain node receives the information packet, performs signature verification and decryption on the information packet based on the public key to obtain a personal identification code; the public key is obtained by the virtual device using an elliptic cryptography algorithm to convert the private key; The blockchain node performs verification based on the personal identification code to obtain a node verification result of the blockchain node, and sends feedback information to the virtual device based on the encrypted node verification result; The virtual device receives the feedback information, and verification is successful if the feedback information of the multiple blockchain nodes meets the verification conditions.

2. The method according to claim 1, characterized in that The generating of a personal identification code based on the biometric information includes: Performing mathematical operations on the biometric information to generate a mathematical representation of the biometric; The virtual device converts the mathematical representation of the biometric feature into a personal identification code using a hash algorithm.

3. The method according to claim 2, characterized in that The obtaining of the random factor includes: During the registration phase, the virtual device generates a random factor through a random number generator; Alternatively, during the login phase, the virtual device receives a random factor input by the user; Among them, the random factors of the same user in the registration stage and the login stage are the same.

4. The method according to claim 2, characterized in that The generating of a private key based on the biometric information and the random factor includes: The virtual device concatenates the mathematical representation of the biometric feature with the random factor to generate a private key.

5. The method according to claim 1, wherein The virtual device encrypts and digitally signs the personal identification code based on the private key to form an information package, including: The virtual device encrypts the personal identification code based on the private key to obtain an encrypted personal identification code; The virtual device digitally signs the encrypted personal identification code based on the private key to obtain an information package.

6. The method according to claim 1, wherein The step of performing signature verification and decryption on the information packet based on the public key to obtain a personal identification code includes: The blockchain node performs signature verification on the information package based on the public key. If the verification is successful, an encrypted personal identification code is obtained, and the encrypted personal identification code is decoded to obtain a personal identification code.

7. The method according to claim 3, characterized in that The blockchain node performs verification based on the personal identification code to obtain a node verification result of the blockchain node, including: During the registration phase, the blockchain node performs registration verification based on the personal identification code to obtain a registration verification result of the blockchain node; the registration verification result includes registered and unregistered; Alternatively, during the login phase, the blockchain node performs identity authentication based on the personal identification code to obtain an identity authentication result of the blockchain node; the identity authentication result includes identity authentication success and identity authentication failure.

8. An information verification device based on blockchain, characterized in that: include: A wearable virtual device and a blockchain network, wherein the blockchain network includes a plurality of blockchain nodes; The virtual device is used to obtain biometric information of the user and generate a personal identification code based on the biometric information; obtain a random factor and generate a private key based on the biometric information and the random factor; encrypt and digitally sign the personal identification code based on the private key to form an information package, and upload the information package to the blockchain network; The blockchain node is configured to receive the information packet, perform signature verification and decryption on the information packet based on the public key, and obtain a personal identification code; perform verification based on the personal identification code to obtain a node verification result of the blockchain node, and send feedback information to the virtual device based on the encrypted node verification result; The public key is obtained by converting the virtual device based on the private key using an elliptic cryptography algorithm; The virtual device is used to receive the feedback information, and the verification is successful if the feedback information of the multiple blockchain nodes meets the verification conditions.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the blockchain-based information verification method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the blockchain-based information verification method according to any one of claims 1 to 7 when executed.