Identity recognition method, two-dimensional code verification method and related equipment

By introducing NFT values ​​and real-name authentication information stored in the blockchain in the QR code, generating the target QR code and querying and verification, the problem of difficulty in anti-counterfeiting and authenticity identification of QR codes is solved, and the scanning speed and anti-counterfeiting are improved. Effects, enhance safety.

CN119227703AActive Publication Date: 2024-12-31HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310809980.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

The existing QR code technology is difficult to effectively prevent and identify authenticity, resulting in serious counterfeiting problems and affecting normal order and security.

Method used

The target QR code is generated using the address information of the NFT value and the QR code identity information center, and the real-name authentication information and original QR code information are stored through the blockchain, and the NFT value is used for query verification to ensure the authenticity of the QR code.

Benefits of technology

It improves the scanning speed and anti-counterfeiting effect of QR codes, ensures that users can accurately judge the authenticity of QR codes, and enhances user experience and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119227703A_ABST
    Figure CN119227703A_ABST
Patent Text Reader

Abstract

The invention provides an identity recognition method, a two-dimensional code verification method and related equipment, and relates to the field of information security, and the identity recognition method comprises the steps: receiving target two-dimensional code information which comprises an NFT value and address information of a two-dimensional code identity information center, the NFT value is generated according to real-name authentication information of a publisher and original two-dimensional code information needing to be displayed by the publisher, and the two-dimensional code information identity center is used for storing the real-name authentication information and the original two-dimensional code information; generating a target two-dimensional code according to the target two-dimensional code information; in response to an identification operation of a user on the target two-dimensional code, an NFT query request is sent to a two-dimensional code identity information center according to the address information, and the NFT query request carries an NFT value; and under the condition that the two-dimensional code identity information center queries that the NFT value is matched with the real-name authentication information and the original two-dimensional code information, displaying the real-name authentication information and the original two-dimensional code information to the user. According to the invention, the code scanning speed and the anti-counterfeiting effect of the two-dimensional code can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security, and in particular to an identity recognition method, a QR code verification method and related equipment. Background Art

[0002] QR code is also called two-dimensional barcode. The most common QR code is QR Code. QR stands for Quick Response, which is a coding method. It can store more information and represent more data types than traditional barcodes. QR code is a typical image code, which can be analyzed by scanning tools to obtain corresponding information. With the widespread use of QR codes in life, various counterfeit QR codes are hard to guard against, causing serious interference to the normal order of life and even leading to illegal crimes such as fraud. Summary of the invention

[0003] In view of this, the present application provides an identity recognition method that can improve the scanning speed and anti-counterfeiting effect of a QR code.

[0004] The first aspect of the present application provides an identity recognition method, which is applied to a client, and the method includes: receiving target QR code information, wherein the target QR code information includes an NFT value and address information of a QR code identity information center, the NFT value is generated based on the real-name authentication information of the publisher and the original QR code information that the publisher needs to display, and the QR code information identity center is used to store the real-name authentication information and the original QR code information; generating a target QR code based on the target QR code information; in response to a user's recognition operation of the target QR code, sending an NFT query request to the QR code identity information center based on the address information, wherein the NFT query request carries the NFT value; and when the NFT value queried in the QR code identity information center matches the real-name authentication information and the original QR code information, displaying the real-name authentication information and the original QR code information to the user.

[0005] The embodiments of the present application have at least the following advantages: the target QR code information includes the NFT value and the address information of the QR code identity information center, so that the target QR code generated according to the target QR code information carries less information, which improves the scanning speed, and the NFT value and address information have no actual meaning and are not easy to be identified and forged, thereby improving the anti-counterfeiting effect; in addition, since the NFT value is generated according to the real-name authentication information of the publisher and the original QR code information that the publisher needs to display, and the NFT value is unique, the authenticity of the QR code can be accurately judged by querying whether the identified NFT value matches the real-name authentication information and the original QR code information, thereby further improving the anti-counterfeiting effect of the QR code.

[0006] In some possible implementations, displaying the real-name authentication information and the original QR code information to the user includes: sending a first display page to the user's terminal device, the first display page being used to display the real-name authentication information; in response to the user's operation on the first display page, jumping the first display page to a second display page, the second display page being used to display the original QR code information.

[0007] By adopting this technical solution, a method of displaying real-name authentication information and original QR code information is provided, which enables users to accurately know the authenticity of the QR code and improves the user experience.

[0008] In some possible implementations, before sending an NFT query request to the QR code identity information center based on the address information, it also includes: parsing the target QR code to obtain the target QR code information; identifying the target QR code information to obtain the address information and the NFT value.

[0009] By adopting this technical solution, the address information and NFT value can be traced based on the target QR code.

[0010] In some possible implementations, before receiving the target QR code information, it also includes: responding to the registration request of the publisher, sending the registration request to the publisher management center, and the publisher management center is used to process the registration request; after receiving the registration success information sent by the publisher management center, receiving the real-name authentication information, and sending the real-name authentication information to the publisher management center, and the publisher management center is also used to verify the real-name authentication information; receiving the target QR code information includes: receiving the target QR code information when the authentication pass information sent by the publisher management center is received.

[0011] By adopting this technical solution, a method for obtaining real-name authentication information is realized, and the accuracy of the real-name authentication information can be ensured.

[0012] In some possible implementations, the method further includes: receiving the original QR code information; sending the original QR code information to the publisher management center, so that the publisher management center sends the original QR code information and the real-name authentication information to the QR code identity information center.

[0013] By adopting this technical solution, a method for obtaining original two-dimensional code information is realized.

[0014] The second aspect of the present application discloses a QR code verification method, which is applied to a QR code identity information center, and the method includes: receiving the real-name authentication information of the publisher and the original QR code information that the publisher needs to display; generating an NFT value based on the real-name authentication information and the original QR code information; generating target QR code information based on the NFT value and the address information of the QR code identity information center; sending the target QR code information to the client, so that the client generates a target QR code based on the target QR code information; in response to the NFT query request sent by the client, querying whether the NFT value matches the real-name authentication information and the original QR code information; and when it is found that the NFT value matches the real-name authentication information and the original QR code information, sending the real-name authentication information and the original QR code information to the client.

[0015] In some possible implementations, the client generates a login account for the publisher, and the login account is matched with a specific key of the blockchain to generate an NFT value based on the real-name authentication information and the original QR code information, including: splicing the real-name authentication information and the original QR code information; performing feature operations on the spliced ​​real-name authentication information and the original QR code information according to the specific key to obtain the NFT value.

[0016] In some possible implementations, the querying whether the NFT value matches the real-name authentication information and the original QR code information includes: querying the real-name authentication information to be verified and the original QR code information to be verified that match the NFT value; generating the NFT value to be verified based on the specific key, the real-name authentication information to be verified and the original QR code information to be verified; detecting whether the NFT value and the NFT value to be verified are the same; when the NFT value and the NFT value to be verified are the same, the NFT value matches the real-name authentication information and the original QR code information.

[0017] The third aspect of the present application discloses an identity recognition system, including: a client and a QR code identity information center; the QR code identity information center receives the real-name authentication information of the publisher and the original QR code information that the publisher needs to display, and generates an NFT value based on the real-name authentication information and the original QR code information; the QR code identity information center is also used to generate target QR code information based on the NFT value and the address information of the QR code identity information center, and send the target QR code information to the client; the client generates a target QR code based on the target QR code information; the client is also used to respond to the user's response to the target QR code identification operation, sending an NFT query request to the QR code identity information center according to the address information, the NFT query request carrying the NFT value; the QR code identity information center is also used to respond to the NFT query request sent by the client, query whether the NFT value matches the real-name authentication information and the original QR code information; and in the case that it is found that the NFT value matches the real-name authentication information and the original QR code information, the real-name authentication information and the original QR code information are sent to the client; the client is also used to display the real-name authentication information and the original QR code information to the user.

[0018] In some possible implementations, the system also includes a publisher management center; the client sends the registration request to the publisher management center in response to the publisher's registration request; the publisher management center receives the registration request, processes the registration request, and sends registration success information to the client after the processing is completed; the client is also used to receive the real-name authentication information and send the real-name authentication information to the publisher management center; the publisher management center performs real-name authentication on the publisher based on the real-name authentication information, and after the real-name authentication is successful, sends authentication success information to the client.

[0019] The fourth aspect of the present application discloses an electronic device, which includes a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory so that the electronic device executes the above-mentioned identity recognition method or QR code verification method.

[0020] The fifth aspect of the present application discloses a computer-readable storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned identity recognition method or QR code verification method.

[0021] It can be understood that the identity recognition system of the third aspect, the electronic device of the fourth aspect, and the computer-readable storage medium of the third aspect provided above all correspond to the method of the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A schematic diagram of the functional modules of an identity recognition system provided in one embodiment of the present application;

[0023] Figure 2 A schematic diagram of a process for an enterprise publisher to register on a client provided in an embodiment of the present application;

[0024] Figure 3 A schematic diagram of a process for a personal publisher to register on a client provided in an embodiment of the present application;

[0025] Figure 4 A schematic diagram of a process for generating a two-dimensional code according to an embodiment of the present application;

[0026] Figure 5 A schematic diagram of a flow chart of a two-dimensional code verification method provided in one embodiment of the present application;

[0027] Figure 6 An application scenario diagram of successful QR code verification provided by an embodiment of the present application;

[0028] Figure 7 An application scenario diagram of a failed QR code verification provided in an embodiment of the present application;

[0029] Figure 8 A flowchart of an identity verification method provided in one embodiment of the present application;

[0030] Fig. 9 A schematic diagram of a flow chart of a two-dimensional code verification method provided in one embodiment of the present application;

[0031] Fig.10 A schematic diagram of a process for generating a two-dimensional code according to an embodiment of the present application;

[0032] Fig.11 A schematic diagram of a flow chart of a two-dimensional code verification method provided in one embodiment of the present application;

[0033] Fig.12 An application scenario diagram of successful QR code verification provided by an embodiment of the present application;

[0034] Fig.13 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the implementation methods of the present application and the features in the implementation methods can be combined with each other without conflict.

[0036] In the following description, many specific details are set forth to facilitate a full understanding of the present application. The described implementations are only part of the implementations of the present application, rather than all the implementations.

[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0038] It should be further noted that, in this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0039] In this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0040] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0041] To facilitate understanding, some illustrations of concepts related to the embodiments of the present application are given by way of example for reference.

[0042] A non-fungible token (NFT) is a unique data representation recorded in a blockchain that cannot be copied, replaced, or divided, and is used to verify the authenticity or rights of a specific digital asset. This type of digital encrypted asset is unique, scarce, and cannot be copied. The use cases of NFTs range from digital art, domain names, games, collectibles, and more. NFTs are minted on a blockchain (such as Ethereum) and can be used to verify the ownership of assets. They have the following characteristics: (1) Decentralized ownership: There is no need for a central institution to act as a trusted custodian, and the ownership of assets can be easily transferred on the blockchain, saving time and costs; (2) Enhanced liquidity: Tokenization will enable us to release liquidity from illiquid assets that are difficult to physically divide; (3) Fractional ownership: Each token represents a small portion of the overall value of the asset, which reduces the barrier to investment and allows anyone to own a small piece of the asset; (4) All-day access: Assets can be bought and sold at any time through instant smart contract technology; (5) Fast ownership transfer: Ownership can be transferred instantly.

[0043] The terminal device may include but is not limited to mobile phones, smart TVs, smart speakers, wearable devices, tablet computers, desktop computers, all-in-one computers, handheld computers, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), laptop computers, mobile computers, augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, vehicle-mounted devices, and any other terminal devices or portable terminal devices.

[0044] Please refer to Figure 1 , is a functional module diagram of the identity recognition system provided in the embodiment of the present application. The identity recognition system includes multiple modules, each of which is used to implement different functions. In this embodiment, the identity recognition system includes: a client 1, a QR code identity information center 2 and a publisher management center 3.

[0045] Client 1 is an App application or web page interface provided by the publisher or user, which makes it convenient for the user or publisher to use the backend service.

[0046] The QR code identity information center 2 runs on the blockchain and is built through a consortium chain or a public chain to achieve full life cycle management of QR code identity information, including adding, deleting, modifying, checking, and transferring QR codes between publishers.

[0047] The publisher management center 3 provides the ability to register, log in and manage publisher information for QR code publishers. QR code publishers are divided into enterprise publishers and individual publishers. Enterprise publishers need to pass enterprise real-name authentication, and individual publishers need to pass personal real-name authentication.

[0048] In some embodiments, the publisher needs to register an account on the client 1. Specifically, the client 1 responds to the publisher's registration request and sends the registration request to the publisher management center 3; the publisher management center 3 receives the registration request, processes the registration request, and sends a registration success message to the client 1 after the processing is completed; the client 1 receives the real-name authentication information and sends the real-name authentication information to the publisher management center 3; the publisher management center 3 performs real-name authentication on the publisher according to the real-name authentication information, and after the real-name authentication is successful, sends an authentication pass message to the client 1, which indicates that the publisher has successfully registered an account on the client 1.

[0049] For ease of understanding, let's take the example of a corporate publisher. Figure 2 The registration process of the enterprise publisher on the client in this embodiment is described in detail:

[0050] Please refer to Figure 2 , which is a schematic diagram of the process of an enterprise publisher registering on the client 1 provided in this embodiment.

[0051] Steps (1.1) to (1.4) are the account registration process for corporate publishers. The specific process is as follows:

[0052] Step (1.1) The enterprise publisher initiates user registration on client 1 through the terminal device. Taking client 1 as application A on the terminal device, the enterprise publisher logs in to application A, enters the account and password to be registered in application A, and then clicks the "Register" button of application A to complete the registration operation.

[0053] Step (1.2) Client 1 sends a registration request to publisher management center 3. That is, after the enterprise publisher enters the account and password to be registered in client 1 and clicks the "register" button, client 1 sends the account and password to be registered to publisher management center 3.

[0054] Step (1.3) The publisher management center 3 sends a registration success message to the client 1. Specifically, the publisher management center 3 processes the account and password to be registered, such as checking whether the password meets the specification, whether the account is repeated, etc. After the processing is completed, the publisher management center 3 sends a registration success message to the client 1. It is worth mentioning that in the process of processing the account, the publisher management center 3 will also generate a specific key that matches the account of the enterprise publisher.

[0055] Specifically, assuming that the account processed by the publisher management center 3 is AABBCC, during the processing of AABBCC, a private key matching AABBCC will be generated based on the private key generation algorithm of the blockchain, and the private key is the aforementioned specific key.

[0056] Step (1.4) Client 1 displays registration information to the enterprise publisher. That is, after receiving the registration success information sent by the publisher management center 3, client 1 displays the registration information on the terminal device for the enterprise publisher to view. The registration information includes but is not limited to the registration time, registration location, registered account password, etc.

[0057] Steps (2.1) to (2.7) are the real-name authentication process after the enterprise publisher account is successfully registered. The specific process is as follows:

[0058] Step (2.1) The enterprise publisher initiates enterprise real-name authentication on client 1 through the terminal device. That is, after the account is successfully registered, the enterprise publisher fills in the real-name authentication information on client 1 and clicks submit. The real-name authentication information includes but is not limited to the enterprise's business license, tax registration certificate, organization code certificate, etc.

[0059] Step (2.2) The client 1 sends an enterprise authentication request to the publisher management center 3. That is, the client 1 sends the aforementioned real-name authentication information to the publisher management center 3.

[0060] Step (2.3) The publisher management center 3 forwards the enterprise authentication request to the enterprise identity verification agency. That is, the publisher management center 3 initiates an enterprise real-name authentication request to the identity verification agency that verifies the enterprise identity, and verifies the authenticity of the real-name authentication information provided by the enterprise publisher.

[0061] Step (2.4) The enterprise identity verification agency sends a verification success message to the publisher management center 3. That is, the system of the enterprise identity verification agency automatically verifies the authenticity of the real-name authentication information, and sends a verification success message to the publisher management center 3 when the real-name authentication information is verified to be authentic.

[0062] Step (2.5) The enterprise identity verification agency manually reviews the real-name authentication information. That is, the enterprise identity verification agency can also manually verify the authenticity of the real-name authentication information. This step is optional.

[0063] Step (2.6) The publisher management center 3 sends authentication pass information to the client 1. That is, the publisher management center 3 sends the real-name authentication information authentication pass information to the client 1.

[0064] Step (2.7) Client 1 displays the authentication information to the enterprise publisher. That is, after receiving the authentication pass information, Client 1 displays the real-name authentication information of the enterprise publisher on the terminal device for the enterprise publisher to view.

[0065] For ease of understanding, the following example uses an individual publisher as an example. Figure 3 The registration process of the individual publisher on the client in this embodiment is described in detail:

[0066] Please refer to Figure 3 , which is a flowchart of a personal publisher registering on the client 1 provided in this embodiment.

[0067] Steps (3.1) to (3.4) are the account registration process for individual publishers. The specific process is as follows:

[0068] Step (3.1) The individual publisher initiates a registration operation on client 1 through a terminal device. Taking client 1 as application B on the terminal device, the individual publisher logs in to application B, enters the account and password to be registered in application B, and then clicks the "Register" button of application B to complete the registration operation.

[0069] Step (3.2) The client 1 sends a registration request to the publisher management center 3. That is, after the individual publisher enters the account and password to be registered and clicks the "register" button, the client 1 sends the account and password to be registered to the publisher management center 3.

[0070] Step (3.3) The publisher management center 3 sends a registration success message to the client 1. That is, the publisher management center 3 processes the account and password to be registered, such as checking whether the password meets the specifications, whether the account is repeated, etc., and sends a registration success message to the client 1 after the processing is completed. It is worth mentioning that after the publisher management center 3 completes the processing, it will also generate a specific secret key that matches the account of the individual publisher.

[0071] Step (3.4) Client 1 displays the registration information to the individual publisher. That is, after receiving the successful registration information, Client 1 displays the registration information on the terminal device for the individual publisher to view. The registration information includes but is not limited to the registration time, registration location, registered account password, etc.

[0072] Steps (4.1) to (4.7) are the real-name authentication process after the individual publisher account is successfully registered. The specific process is as follows:

[0073] Step (4.1) The individual publisher initiates personal real-name authentication on the client 1 through the terminal device. That is, after the individual publisher's account is successfully registered, the individual publisher fills in the real-name authentication information on the client 1 and clicks submit. The real-name authentication information includes but is not limited to the identity card information of the individual publisher.

[0074] Step (4.2) The client 1 sends a real-name authentication request to the publisher management center 3. That is, the client 1 sends the real-name authentication information to the publisher management center 3.

[0075] Step (4.3) The publisher management center 3 forwards the real-name authentication request to the personal identity authentication agency. That is, the publisher management center 3 initiates a personal real-name authentication request to the identity authentication agency that authenticates the individual, and verifies the authenticity of the real-name authentication information provided by the individual publisher.

[0076] Step (4.4) The personal identity verification agency sends a verification success message to the publisher management center 3. That is, the system of the personal identity verification agency automatically verifies the authenticity of the real-name authentication information, and sends a verification success message to the publisher management center 3 when the real-name authentication information is verified to be authentic.

[0077] Step (4.5) The personal identity verification agency manually reviews the real-name authentication information. That is, the personal identity verification agency can also manually verify the authenticity of the real-name authentication information. This step is optional.

[0078] Step (4.6) The publisher management center 3 sends the authentication pass information to the client 1. That is, the publisher management center 3 sends the authentication pass information of the real-name authentication information to the client 1.

[0079] Step (4.7) Client 1 displays the real-name information to the individual publisher. That is, after receiving the authentication pass information, Client 1 displays the real-name authentication information of the individual publisher on the terminal device for the individual publisher to view.

[0080] In some embodiments, after an enterprise or individual publisher registers an account on the client 1, the publisher continues to apply for a QR code on the client 1. Specifically, the QR code identity information center 2 receives the publisher's real-name authentication information and the original QR code information that the publisher needs to display, and generates an NFT value based on the real-name authentication information and the original QR code information; the QR code identity information center 2 then generates target QR code information based on the NFT value and the address information of the QR code identity information center 2, and sends the target QR code information to the client 1; the client 1 generates a target QR code based on the target QR code information.

[0081] For ease of understanding, the following Figure 4 How the publisher obtains the target QR code in this embodiment is specifically described:

[0082] Please refer to Figure 4 , which is a flow chart of the QR code generation method provided in an embodiment of the present application.

[0083] From step (5.1) to step (5.3), publisher M logs in to client 1 based on the registered account.

[0084] Step (5.4) The individual or corporate publisher fills in the QR code information on Client 1. That is, after the publisher M successfully logs in to Client 1, he enters the QR code publishing page of Client 1, and the publisher M fills in the original QR code information to be published on this page. Taking the use of QR codes for product anti-counterfeiting as an example, in order to achieve product anti-counterfeiting, the publisher M publishes the unique serial number of the product coded as ABCD123456789 as the original QR code information. It can be understood that the QR code publishing page has a QR code information filling box, and the publisher M fills in the content (product serial number: ABCD123456789, manufacturer: XXX) in the QR code information filling box and submits it.

[0085] Step (5.5) Client 1 sends a QR code publishing request to publisher management center 3. That is, client 1 submits the user's QR code publishing request to publisher management center, and the QR code publishing request carries the above-mentioned original QR code information.

[0086] Step (5.6) The publisher management center 3 fills in the publisher information. That is, after receiving the QR code publishing request submitted by the client 1, the publisher management center 3 associates the real-name authentication information and specific key information corresponding to the publisher M to supplement the QR code publishing request.

[0087] Step (5.7) The publisher management center 3 sends a two-dimensional code publishing request to the two-dimensional code identity information center 2. That is, the publisher management center 3 forwards the supplemented two-dimensional code publishing request to the two-dimensional code identity information center 2.

[0088] Step (5.8) The QR code identity information center 2 calculates and stores the QR code. That is, the QR code identity information center 2 generates an NFT value based on the specific key information, the real-name authentication information, and the original QR code information, and generates the target QR code information based on the NFT value and the domain name address of the QR code identity information center 2.

[0089] Specifically, after receiving the supplemented QR code publishing request, the QR code identity information center will splice together the original QR code information submitted by publisher M (product serial number: ABCD123456789, manufacturer: XXX) and the real-name authentication information corresponding to publisher M, and then use the HMAC-Sha256 one-way Hash algorithm to generate the NFT value: 66D0020FA79C04A3FE3EA9C5AB1672B8 through the specific secret key corresponding to the account registered by publisher M. The following target QR code information is generated based on the domain name address of the QR code identity center and the NFT splicing:

[0090] https: / / QrCodeId.test.com / idquery.action?NFT=66D0020FA79C04A3FE3EA9C5AB1672B8

[0091] In addition, the QR code identity information center 2 will also store the real-name authentication information, the original QR code information, the QR code issuance time and other information in the blockchain in the form of a smart contract. It can be understood that the NFT value is unique, and each NFT value corresponds to a specific real-name authentication information, original QR code information, QR code issuance time and other information.

[0092] Step (5.9) The QR code identity information center 2 returns the new QR code information and NFT to the publisher management center 3. That is, the QR code identity information center 2 sends the target QR code information to the publisher management center 3. It can be understood that at this time, the NFT value can be returned to the publisher management center 3 synchronously.

[0093] Step (5.10) The publisher management center 3 returns the new QR code information and NFT to the client 1. That is, the publisher management center 3 sends the target QR code information to the client 1. It can be understood that if the QR code identity information center 2 returns the NFT value to the publisher management center 3 in the above steps, the publisher management center 3 will also send the NFT value to the client 1.

[0094] Step (5.11) Client 1 displays the new QR code, pattern, or NFT to the individual or corporate publisher. Specifically, Client 1 has multiple ways to generate the target QR code. For example, Client 1 can integrate a general QR code generation tool to generate the target QR code; Client 1 can also directly use the QR code generation tool to generate the target QR code based on the target QR code information. Client 1 displays the generated target QR code to the individual or corporate publisher. More specifically, target QR code generation method 1: Generate the original QR code from the original QR code information, and splice the NFT behind the original QR code to obtain the target QR code. Target QR code generation method 2: Directly generate the target QR code using the QR code authentication center address + NFT method.

[0095] In some embodiments, when the publisher M fills in the original QR code information in step (5.4), the publisher M fills in the validity period of the QR code, which can be valid for 3 years, 5 years, etc., or valid until March 2025, etc., or can directly select short-term validity, long-term validity, etc. This embodiment does not specifically limit the type of validity period. By setting the validity period, the user can be informed whether the current QR code is within the validity period when the QR code identity is displayed, and the QR code expiration time can be displayed to the user.

[0096] It is understandable that, after the publisher management center 3 sends the target QR code information to the client 1 in step (5.10), the client 1 sends a validity period filling request to the publisher, so that the publisher M can fill in the validity period.

[0097] In some embodiments, after publisher M receives the target QR code sent by client 1, publisher M can also manage the status of the published QR code on client 1, such as setting the published QR code that is still valid to invalid, extending the validity period of the published QR code, etc.

[0098] In some embodiments, after the publisher M generates the target QR code, the target QR code is set on the product for anti-counterfeiting of the product. Specifically, the client 1 responds to the user's recognition operation of the target QR code, and sends an NFT query request to the QR code identity information center 2 according to the address information, and the NFT query request carries the NFT value. The QR code identity information center 2 responds to the NFT query request sent by the client 1 to query whether the NFT value matches the real-name authentication information and the original QR code information; and if the NFT value matches the real-name authentication information and the original QR code information, the real-name authentication information and the original QR code information are sent to the client 1; the client 1 displays the real-name authentication information and the original QR code information to the user.

[0099] For ease of understanding, the following Figures 5 to 7 How to perform identity recognition based on the target QR code in this embodiment is specifically described:

[0100] Please refer to Figure 5 , which is a flow chart of the two-dimensional code verification method provided in this embodiment.

[0101] Step (6.1) The user triggers a scan through the client 1. For example, the user uses the application C of the terminal device to initiate a scan. The application C can be a scanning tool such as WeChat, Alipay, etc., or a scanning tool client provided by the QR code identity information center 2.

[0102] Step (6.2) Client 1 parses the QR code information and NFT. For example, application C parses the QR code information according to the QR code pattern as follows:

[0103] https: / / QrCodeId.test.com / idquery.action?NFT=66D0020FA79C04A3FE3EA9C5AB1672B8

[0104] Step (6.3) Client 1 sends an NFT query request to the QR code identity information center 2. That is, application C identifies the URL address of the QR code identity information center 2 by parsing the QR code information, and initiates an NFT query request to the QR code identity information center 2 according to the URL address.

[0105] Step (6.4) The QR code identity information center 2 queries the original QR code information, key, and publisher information stored in the blockchain based on the NFT, and verifies the consistency between the original product QR code information, publisher information, and NFT. That is, after receiving the NFT query request, the QR code identity information center 2 queries the corresponding QR code identity information (i.e., the aforementioned real-name authentication information) and the original QR code information based on the NFT value carried in the URL address, and verifies the consistency between the NFT and the blockchain storage information through the specific secret key corresponding to the publisher account.

[0106] Step (6.5) The QR code identity information center 2 returns the QR code identity information page and the original product QR code information to the client 1. That is, after the QR code identity information center 2 passes the verification, it returns the QR code identity information and the original QR code information to the application C through the HTTPS channel.

[0107] From step (6.6) to step (6.9), application C returns the QR code identity information page to the terminal device. After the user confirms the QR code identity information, clicking Continue will further load the original QR code information, and the terminal device will display the product QR code information.

[0108] Please refer to Figure 6 , which is an application scenario diagram of successful QR code verification provided by this embodiment. After the user initiates a scan using the application C of the terminal device, the display interface of the user terminal device first displays the QR code identity information to the user, which includes but is not limited to the aforementioned real-name authentication information, QR code release time, QR code description, etc.; after the user clicks the "Continue" button on the display interface, the display interface then displays the anti-counterfeiting information of the product to the user, that is, the original QR code information.

[0109] Please refer to Figure 7 , which is an application scenario diagram of the failed QR code verification provided by this embodiment. After the user uses the application C of the terminal device to initiate a scan, because the QR code identity information center 2 does not query the corresponding real-name authentication information, original QR code information, and QR code sending time according to the NFT value carried by the QR code, or the NFT value does not match the information stored in the QR code identity information center 2, the display interface of the terminal device displays the instructions that the current QR code may be illegal, please use it with caution.

[0110] Compared with the related art, the embodiments of the present application have at least the following advantages: the target QR code information includes the NFT value and the address information of the QR code identity information center, so that the target QR code generated according to the target QR code information carries less information, which improves the scanning speed, and the NFT value and address information have no actual meaning and are not easy to be identified and forged, thereby improving the anti-counterfeiting effect; in addition, since the NFT value is generated according to the real-name authentication information of the publisher and the original QR code information that the publisher needs to display, and the NFT value is unique, the authenticity of the QR code can be accurately judged by querying whether the identified NFT value matches the real-name authentication information and the original QR code information, thereby further improving the anti-counterfeiting effect of the QR code.

[0111] Please refer to Figure 8 , which is a flow chart of the identity authentication method provided in the embodiment of the present application. This embodiment is applied to the client 1 of the aforementioned embodiment, and the specific process is as follows Figure 8 As shown, the following steps are included:

[0112] Step 101: The client receives target QR code information, which includes the NFT value and address information of the QR code identity information center.

[0113] Specifically, the NFT value is generated based on the real-name authentication information of the publisher and the original QR code information that the publisher needs to display, and the QR code information identity center is used to store the real-name authentication information and the original QR code information.

[0114] In some embodiments, before the client receives the target QR code information, the user needs to register an account on the client. Specifically, the client responds to the registration request of the publisher and sends the registration request to the publisher management center, which is used to process the registration request; after receiving the registration success information sent by the publisher management center, the real-name authentication information sent by the publisher is received, and the real-name authentication information is sent to the publisher management center, which is also used to verify the real-name authentication information; when the client receives the authentication pass information sent by the publisher management center, it indicates that the user's real-name authentication is successful. At this time, the user can log in to the client and enter the original QR code information. The client sends the original QR code information to the publisher management center, so that the publisher management center sends the original QR code information and the real-name authentication information to the QR code identity information center. The QR code identity information center generates the target QR code information based on the original QR code information and the real-name authentication information, and sends the target QR code information to the client.

[0115] Step 102: The client generates a target QR code according to the target QR code information.

[0116] In some embodiments, the client has multiple ways to generate a target QR code. The client can generate the target QR code by integrating a universal QR code generation tool; or the client can directly use the QR code generation tool to generate the target QR code according to the target QR code information.

[0117] Step 103: In response to the user's recognition operation on the target QR code, an NFT query request is sent to the QR code identity information center according to the address information, and the NFT query request carries the NFT value.

[0118] In some embodiments, before sending an NFT query request to the QR code identity information center according to the address information, it also includes: parsing the target QR code to obtain the target QR code information; identifying the target QR code information to obtain the address information and the NFT value.

[0119] Specifically, the user initiates a scan through the terminal device and scans the target QR code. The client parses the target QR code information according to the QR code pattern, and then identifies the target QR code information to obtain the address information and NFT value.

[0120] Step 104: When the NFT value is found to match the real-name authentication information and the original QR code information in the QR code identity information center, the real-name authentication information and the original QR code information are displayed to the user.

[0121] In one embodiment, the real-name authentication information and the original QR code information are displayed to the user in the following manner: a first display page is sent to the user's terminal device, the first display page is used to display the real-name authentication information; in response to the user's operation on the first display page, the first display page is jumped to a second display page, and the second display page is used to display the original QR code information.

[0122] Compared with the related art, the embodiments of the present application have at least the following advantages: the target QR code information includes the NFT value and the address information of the QR code identity information center, so that the target QR code generated according to the target QR code information carries less information, which improves the scanning speed, and the NFT value and address information have no actual meaning and are not easy to be identified and forged, thereby improving the anti-counterfeiting effect; in addition, since the NFT value is generated according to the real-name authentication information of the publisher and the original QR code information that the publisher needs to display, and the NFT value is unique, the authenticity of the QR code can be accurately judged by querying whether the identified NFT value matches the real-name authentication information and the original QR code information, thereby further improving the anti-counterfeiting effect of the QR code.

[0123] Please refer to Fig. 9, is a flow chart of a two-dimensional code verification method provided in an embodiment of the present application. This embodiment is applied to the two-dimensional code identity information center 2 of the aforementioned embodiment. The specific process is as follows Fig. 9 As shown, the following steps are included:

[0124] Step 201: The QR code identity information center receives the publisher's real-name authentication information and the original QR code information that the publisher needs to display.

[0125] Step 202: The QR code identity information center generates an NFT value based on the real-name authentication information and the original QR code information.

[0126] In some real-time examples, the publisher logs in to the client through a registered account, and the registered account matches the specific secret key of the blockchain; the NFT value is generated according to the real-name authentication information and the original QR code information, including: splicing the real-name authentication information and the original QR code information; performing feature operations on the spliced ​​real-name authentication information and the original QR code information according to the specific secret key to obtain the NFT value.

[0127] Step 203: The QR code identity information center generates target QR code information according to the NFT value and the address information of the QR code identity information center.

[0128] Step 204: The QR code identity information center sends the target QR code information to the client, so that the client generates a target QR code according to the target QR code information.

[0129] Step 205: The QR code identity information center responds to the NFT query request sent by the client, queries whether the NFT value matches the real-name authentication information and the original QR code information, and if it is found that the NFT value matches the real-name authentication information and the original QR code information, the real-name authentication information and the original QR code information are sent to the client.

[0130] In some embodiments, the querying whether the NFT value matches the real-name authentication information and the original QR code information includes: querying the real-name authentication information to be verified and the original QR code information to be verified that match the NFT value; generating an NFT value to be verified based on the specific key, the real-name authentication information to be verified and the original QR code information to be verified; detecting whether the NFT value and the NFT value to be verified are the same; when the NFT value and the NFT value to be verified are the same, the NFT value matches the real-name authentication information and the original QR code information.

[0131] For ease of understanding, the following Figures 10 to 12 How to generate a QR code and how to verify the QR code in this embodiment are described in detail:

[0132] Please refer to Fig.10, which is a flow chart of the QR code generation method provided in this embodiment.

[0133] From step (7.1) to step (7.3), publisher N logs in to the client based on the registered account.

[0134] Step (7.4) The individual or corporate publisher fills in the QR code information through Client 1. For example, after successfully logging in to Client 1, Publisher N enters the QR code publishing page of Client 1, and Publisher N fills in the original QR code information to be published on this page. Taking the use of QR codes for scanning and unlocking shared bicycles and anti-counterfeiting as an example, in order to realize scanning and unlocking shared bicycles and anti-counterfeiting, Publisher N publishes the address of the shared bicycle operation page (such as: https: / / BikeShare.test.com / user.action) as the original QR code information. It can be understood that the QR code publishing page has a QR code information filling box, and Publisher M fills in the content in the QR code information filling box and submits it.

[0135] Step (7.5) The client 1 sends a QR code publishing request to the publisher management center 3. That is, the client 1 submits the user's QR code publishing request to the publisher management center 3, and the QR code publishing request carries the above-mentioned original QR code information.

[0136] Step (7.6) The publisher management center 3 fills in the publisher information. That is, after receiving the QR code publishing request submitted by the client 1, the publisher management center 3 associates the real-name authentication information and specific key information corresponding to the publisher N and adds it to the QR code publishing request.

[0137] Step (7.7) The publisher management center 3 sends a two-dimensional code publishing request to the two-dimensional code identity information center 2. That is, the publisher management center 3 forwards the supplemented two-dimensional code publishing request to the two-dimensional code identity information center 2.

[0138] Step (7.8) The QR code identity information center 2 calculates and stores the QR code. That is, the QR code identity information center 2 generates an NFT value based on the specific key information, the real-name authentication information, and the original QR code information, and generates the target QR code information based on the NFT value and the domain name address of the QR code identity information center.

[0139] Specifically, after receiving the supplemented QR code publishing request, the QR code identity information center 2 splices together the original QR code information submitted by publisher N (https: / / BikeShare.test.com / user.action) and the real-name authentication information corresponding to publisher N, and uses the specific secret key corresponding to the account registered by publisher N to generate the NFT value using the HMAC-Sha256 one-way Hash algorithm, and generates the target QR code information based on the domain name address of the QR code identity center and the NFT splicing.

[0140] In addition, the QR code identity information center 2 will also store the real-name authentication information, the original QR code information, the QR code sending time and other information in the blockchain according to the smart contract. It can be understood that the NFT value is unique, and each NFT value corresponds to a specific real-name authentication information, the original QR code information, the QR code sending time and other information.

[0141] Step (7.9) The QR code identity information center 2 returns the new QR code information and NFT to the publisher management center 3. That is, the QR code identity information center 2 sends the target QR code information to the publisher management center 3. It can be understood that at this time, the NFT value can be synchronously returned to the publisher management center.

[0142] Step (7.10) The publisher management center 3 returns the new QR code information and NFT to the client 1. The publisher management center 3 sends the target QR code information to the client 1. It is understandable that if the QR code identity information center 2 returns the NFT value to the publisher management center 3 in the above steps, the publisher management center 3 will also send the NFT value to the client 1.

[0143] Step (7.11) Client 1 displays the new QR code, pattern, or NFT to the individual or corporate publisher. Specifically, Client 1 has multiple ways to generate the target QR code. Client 1 can display the NFT value and integrate a general QR code generation tool to generate the target QR code; or it can directly use the QR code generation tool to generate the target QR code based on the target QR code information.

[0144] Please refer to Fig.11 , which is a flow chart of the two-dimensional code verification method provided in this embodiment.

[0145] Step (8.1) The user triggers a scan through the client 1. For example, the user uses an application D of the terminal device to initiate a scan, where the application D can be a scanning tool such as WeChat, Alipay, or a scanning tool client provided by the QR code identity information center.

[0146] Step (8.2) Client 1 parses the QR code information and NFT. That is, application D parses the QR code information according to the QR code pattern.

[0147] Step (8.3) Client 1 initiates an NFT query request to the QR code identity information center 2. That is, application D identifies the URL address of the QR code identity information center through the QR code information, and initiates an NFT query request to the QR code identity information center through the browser.

[0148] Step (8.4) The QR code identity information center 2 queries the original QR code information, key, and publisher information stored in the blockchain based on the NFT, and verifies the consistency between the original product QR code information, publisher information, and NFT. That is, after receiving the NFT query request, the QR code identity information center queries the corresponding QR code identity information (i.e., the aforementioned real-name authentication information) and the original QR code information based on the NFT value carried in the URL address, and verifies the consistency between the NFT and the blockchain storage information through the specific secret key corresponding to the publisher account.

[0149] Step (8.5) The QR code identity information center 2 returns the QR code identity information page and the original product QR code information to the client 1. That is, after the QR code identity information center 2 passes the verification, it returns the QR code identity information and the original QR code information to the application D through the HTTPS channel.

[0150] From step (8.6) to step (8.7), application D displays the QR code identity information page to the user. After the user confirms the QR code identity information, clicking Continue will further load the original QR code information.

[0151] In steps (8.8) to (8.13), application D queries the enterprise system for the shared bicycle operation page provided by the enterprise. The enterprise system returns the shared bicycle operation page. The user's terminal device displays the shared bicycle operation page provided by the enterprise. The user operates through the shared bicycle operation page. After the operation is completed, the operation request corresponding to the user operation is sent to the enterprise system.

[0152] Please refer to Fig.12 , which is an application scenario diagram of successful QR code verification provided by this embodiment. After the user initiates a scan through the terminal device, the display interface of the terminal device first displays the QR code identity information to the user, including but not limited to the aforementioned real-name authentication information, QR code release time, QR code description, etc.; after the user clicks Continue, the shared bicycle operation page is displayed to the user.

[0153] Compared with the related art, the embodiments of the present application have at least the following advantages: the target QR code information includes the NFT value and the address information of the QR code identity information center, so that the target QR code generated according to the target QR code information carries less information, which improves the scanning speed, and the NFT value and address information have no actual meaning and are not easy to be identified and forged, thereby improving the anti-counterfeiting effect; in addition, since the NFT value is generated according to the real-name authentication information of the publisher and the original QR code information that the publisher needs to display, and the NFT value is unique, the authenticity of the QR code can be accurately judged by querying whether the identified NFT value matches the real-name authentication information and the original QR code information, thereby further improving the anti-counterfeiting effect of the QR code.

[0154] Please refer to Fig.13, is a schematic diagram of the hardware structure of the electronic device 1000 provided in the embodiment of the present application. Fig.13 As shown, the electronic device 1000 may include a processor 1001 and a memory 1002. The memory 1002 is used to store one or more computer programs 1003. The one or more computer programs 1003 are configured to be executed by the processor 1001. The one or more computer programs 1003 include instructions, and the above instructions can be used to implement the above method in the electronic device 1000.

[0155] It is understandable that the structure shown in this embodiment does not constitute a specific limitation on the electronic device 1000. In other embodiments, the electronic device 1000 may include more or fewer components than shown, or combine or separate some components, or arrange the components differently.

[0156] The processor 1001 may include one or more processing units, for example, the processor 1001 may include an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0157] The processor 1001 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 1001 is a cache memory. The memory may store instructions or data that the processor 1001 has just used or circulated. If the processor 1001 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 1001, and thus improves the efficiency of the system.

[0158] In some embodiments, the processor 1001 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a USB interface, etc.

[0159] In some embodiments, memory 1002 may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0160] This embodiment further provides a computer-readable storage medium, in which computer instructions are stored. When the instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method in the above-mentioned embodiment.

[0161] Among them, the electronic device and computer storage medium provided in this embodiment are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0162] In practical applications, the above functions can be distributed to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0163] In several embodiments provided in the present application, the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are schematic. For example, the division of the modules or units is a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0164] The unit described as a separate component may or may not be physically separated, and the component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.

[0165] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0166] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

[0167] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. An identity recognition method, characterized in that: Applied to a client, the method comprises: Receive target QR code information, wherein the target QR code information includes an NFT value and address information of a QR code identity information center, the NFT value is generated according to the real-name authentication information of the publisher and the original QR code information that the publisher needs to display, and the QR code information identity center is used to store the real-name authentication information and the original QR code information; Generate a target QR code according to the target QR code information; In response to the user's recognition operation of the target QR code, an NFT query request is sent to the QR code identity information center according to the address information, wherein the NFT query request carries the NFT value; When the NFT value is found to match the real-name authentication information and the original QR code information by the QR code identity information center, the real-name authentication information and the original QR code information are displayed to the user.

2. The identity recognition method according to claim 1, characterized in that: The presenting the real-name authentication information and the original QR code information to the user includes: Sending a first display page to the terminal device of the user, where the first display page is used to display the real-name authentication information; In response to the user's operation on the first display page, the first display page is jumped to a second display page, and the second display page is used to display the original two-dimensional code information.

3. The identity recognition method according to claim 1, characterized in that: Before sending the NFT query request to the QR code identity information center according to the address information, it also includes: Parsing the target two-dimensional code to obtain the target two-dimensional code information; Identify the target QR code information and obtain the address information and the NFT value.

4. The identity recognition method according to claim 1, characterized in that: Before receiving the target two-dimensional code information, the method further includes: In response to the registration request of the publisher, the registration request is sent to the publisher management center, and the publisher management center is used to process the registration request; After receiving the registration success information sent by the publisher management center, receiving the real-name authentication information, and sending the real-name authentication information to the publisher management center, the publisher management center is also used to verify the real-name authentication information; The receiving target two-dimensional code information includes: When the authentication pass information sent by the publisher management center is received, the target two-dimensional code information is received.

5. The identity recognition method according to claim 4, characterized in that: The method further comprises: Receiving the original QR code information; The original two-dimensional code information is sent to the publisher management center, so that the publisher management center sends the original two-dimensional code information and the real-name authentication information to the two-dimensional code identity information center.

6. A two-dimensional code verification method, characterized in that: Applied to a two-dimensional code identity information center, the method includes: Receive the publisher's real-name authentication information and the original QR code information that the publisher needs to display; Generate an NFT value according to the real-name authentication information and the original QR code information; Generate target QR code information according to the NFT value and the address information of the QR code identity information center; Sending the target two-dimensional code information to the client, so that the client generates a target two-dimensional code according to the target two-dimensional code information; In response to the NFT query request sent by the client, query whether the NFT value matches the real-name authentication information and the original QR code information; When it is found that the NFT value matches the real-name authentication information and the original QR code information, the real-name authentication information and the original QR code information are sent to the client.

7. The two-dimensional code verification method according to claim 6, characterized in that: The publisher logs in to the client through a registered account, and the registered account matches a specific secret key of the blockchain; The generating an NFT value according to the real-name authentication information and the original QR code information includes: Concatenate the real-name authentication information and the original QR code information; The NFT value is obtained by performing feature operation on the spliced ​​real-name authentication information and the original QR code information according to the specific key.

8. The two-dimensional code verification method according to claim 7, characterized in that: The querying whether the NFT value matches the real-name authentication information and the original QR code information includes: Query the real-name authentication information to be verified and the original QR code information to be verified that matches the NFT value; Generate an NFT value to be verified according to the specific key, the real-name authentication information to be verified and the original QR code information to be verified; Detecting whether the NFT value and the NFT value to be verified are the same; When the NFT value and the NFT value to be verified are the same, the NFT value matches the real-name authentication information and the original QR code information.

9. An identity recognition system, characterized in that: include: Client and QR code identity information center; The QR code identity information center receives the real-name authentication information of the publisher and the original QR code information that the publisher needs to display, and generates an NFT value based on the real-name authentication information and the original QR code information; The two-dimensional code identity information center is also used to generate target two-dimensional code information according to the NFT value and the address information of the two-dimensional code identity information center, and send the target two-dimensional code information to the client; The client generates a target QR code according to the target QR code information; The client is also used to respond to the user's recognition operation of the target QR code and send an NFT query request to the QR code identity information center according to the address information, wherein the NFT query request carries the NFT value; The two-dimensional code identity information center is also used to respond to the NFT query request sent by the client, query whether the NFT value matches the real-name authentication information and the original two-dimensional code information; and if it is found that the NFT value matches the real-name authentication information and the original two-dimensional code information, send the real-name authentication information and the original two-dimensional code information to the client; The client is also used to display the real-name authentication information and the original QR code information to the user.

10. The identity recognition system according to claim 9, characterized in that: The system also includes a publisher management center; The client sends the registration request to the publisher management center in response to the publisher's registration request; The publisher management center receives the registration request, processes the registration request, and sends a registration success message to the client after the processing is completed; The client is also used to receive the real-name authentication information and send the real-name authentication information to the publisher management center; The publisher management center performs real-name authentication on the publisher according to the real-name authentication information, and sends authentication pass information to the client after the real-name authentication is successful.

11. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the method of any one of claims 1 to 5 or claims 6 to 8.

12. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 5 or claims 6 to 8.

Citation Information

Patent Citations

  • Method and device for realizing authenticity query through one-step code scanning

    CN114298257A

  • Identity authentication method and device based on block chain, electronic equipment and readable medium

    CN115618399A

  • Communication method and device, SIM card, electronic equipment and terminal equipment

    CN115811412A

  • Information processing device, information processing method, and information processing program

    WO2022224585A1