Method, system, device and equipment for preventing two-dimensional code from being stolen, storage medium and product

By using the user information obtained by SIM cards to authenticate during the QR code generation and verification process, the problem of QR code being easily stolen is solved, and the security of mobile payment is improved.

CN119089916APending Publication Date: 2024-12-06CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411067183.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In the prior art, QR codes are easily stolen, especially when information is transmitted one-way between mobile apps and smart code scanning terminals without passwords, resulting in threatening the security of mobile payments.

Method used

By receiving the QR code generation command sent by the terminal device, the target QR code is generated and feedback it to the terminal device; receiving the user information feedback from the scan terminal, including the second user information obtained through the SIM card, the second user information will be obtained through the SIM card. One user information and the second user information are sent to the card application server for identity authentication to ensure that the identity authentication results are fed back to the scanning terminal for service processing.

Benefits of technology

By scanning the first user information generated by the target QR code and the second user information obtained through the SIM card for authentication and service processing, compared with the existing method of performing service processing based on only scanning the information on the QR code, it is possible to Better protect users' information security and prevent QR codes from being stolen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089916A_ABST
    Figure CN119089916A_ABST
Patent Text Reader

Abstract

The invention discloses a two-dimensional code anti-fraud method, system, device and equipment, a storage medium and a product, and the method comprises the steps: generating a target two-dimensional code according to a two-dimensional code generation command sent by terminal equipment, and feeding back the target two-dimensional code to the terminal equipment; first user information and second user information fed back by the scanning terminal are received, the first user information is generated when the scanning terminal scans a target two-dimensional code on the terminal device, and the second user information is acquired from the terminal device by the scanning terminal through the SIM card; and sending the first user information and the second user information to a card application server for identity authentication to obtain an identity authentication result, and sending the identity authentication result to a scanning terminal for business processing. Compared with an existing mode of carrying out service processing only according to the two-dimensional code, the mode of the application can better protect the information security of the user and prevent the two-dimensional code from being stolen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, system, device, equipment, storage medium and product for preventing theft of a QR code. Background Art

[0002] With the widespread use of QR code technology, how to prevent QR code theft has become an important security issue. Smartphones generate consumption QR codes, and consumption is made by scanning and identifying the codes through fixed or mobile smart terminals. This payment method is very common in daily life scenarios, such as urban buses, subways, electronic boarding passes, various tickets, and offline store pickup. Given that the information between mobile phone apps and smart scanning terminals is one-way and does not require a password, how to prevent the consumption QR codes on mobile phones from being intentionally or unintentionally stolen has become a very important mobile payment security issue. Summary of the invention

[0003] The main purpose of this application is to provide a QR code anti-fraud method, system, device, equipment, storage medium and product, aiming to solve the technical problem in the prior art that QR codes are easily stolen.

[0004] To achieve the above purpose, the present application proposes a QR code anti-fraud method, which is applied to a software server and includes:

[0005] When receiving a QR code generation command sent by a terminal device, generating a target QR code according to the user information in the QR code generation command, and feeding back the generated target QR code to the terminal device;

[0006] Receiving first user information and second user information fed back by a scanning terminal, wherein the first user information is generated by the scanning terminal scanning a target two-dimensional code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through a SIM card;

[0007] Sending the first user information and the second user information to a card application server;

[0008] Receive the identity authentication result fed back by the card application server according to the first user information and the second user information, and send the identity authentication result to the scanning terminal for business processing.

[0009] Optionally, the user information includes user biometric information and user identity information;

[0010] The step of generating a target two-dimensional code according to the user information in the two-dimensional code generation command comprises:

[0011] Characterizing the user's biometric information to obtain user biometric information characterization data;

[0012] Encrypting the user identity information and the user biometric information characterization data to obtain an encryption result;

[0013] A consumption QR code is produced, and the encryption result is embedded into the consumption QR code to obtain a target QR code.

[0014] Optionally, the step of sending the first user information and the second user information to a card application server includes:

[0015] Decrypting the first user information to obtain target user biometric information characterization data and target user identity information data;

[0016] The target user's biometric information characterization data, the target user's identity information data and the second user information are encrypted and sent to the card application server.

[0017] In addition, to achieve the above purpose, the present application also proposes a QR code anti-fraud method, which is applied to a card application server and includes the following steps:

[0018] Receiving first user information and second user information sent by the software server, wherein the first target information is generated by scanning a target QR code on a terminal device, and the second user information is obtained from the terminal device by a scanning terminal through a SIM card;

[0019] Perform user identity authentication based on the first user information and the second user information, obtain an identity authentication result, and send the identity authentication result to the software server.

[0020] Optionally, the step of performing user identity authentication based on the first user information and the second user information to obtain an identity authentication result includes:

[0021] decrypting the second user identity information in the second user information;

[0022] Compare the second user identity information with the first user identity information in the first user information to obtain a first verification result;

[0023] When the first verification result is that the verification is passed, searching for the third user's biometric information characterization data according to the second user's identity information;

[0024] Performing signature verification based on the third user's biometric information characterization data and the signature data in the second user's identity information to obtain a second verification result;

[0025] When the second verification result is that the verification is passed, the third user biometric information characterization data is compared with the first user biometric information in the first user information to obtain an identity authentication result.

[0026] Optionally, before the step of receiving the first user information and the second user information sent by the software server, the step further includes:

[0027] After receiving the user information sent by the terminal device, verifying the user information to obtain a verification result;

[0028] If the verification result is that the verification is passed, characterizing the user biometric information in the user information to obtain third user biometric information characterization data;

[0029] The third user biometric information characterization data is stored.

[0030] In addition, to achieve the above purpose, the present application also proposes a QR code anti-fraud method, which is applied to a scanning terminal and includes the following steps:

[0031] Scanning a target QR code displayed on a terminal device, and determining first user information according to the target QR code;

[0032] Acquire the second user information on the terminal device through NFC;

[0033] Sending the first user information and the second user information to a software server;

[0034] Receive the identity authentication result fed back by the software server, and perform business processing according to the identity authentication result.

[0035] In addition, to achieve the above purpose, the present application also proposes a QR code anti-fraud system, which includes: a software server, a scanning terminal and a card application server;

[0036] The software server is used to generate a target QR code according to the QR code generation command when receiving the QR code generation command sent by the terminal device, and feed back the generated target QR code to the terminal device;

[0037] The scanning terminal is used to obtain the first user information based on the target QR code displayed by the terminal device, obtain the second user information from the terminal device through the SIM card, and send the first user information and the second user information to the software server;

[0038] The software server is further used to send the first user information and the second user information to the card application server;

[0039] The card application server is used to perform user identity authentication based on the first user information and the second user information, and feed back the identity authentication result to the software server;

[0040] The software server is further used to send the identity authentication result to the scanning terminal;

[0041] The scanning terminal is also used to perform business processing based on the identity authentication result.

[0042] In addition, to achieve the above purpose, the present application also proposes a QR code anti-theft device, which is applied to a software server and includes:

[0043] A target QR code generating module is used to generate a target QR code according to the user information in the QR code generating command when receiving the QR code generating command sent by the terminal device, and feed back the generated target QR code to the terminal device;

[0044] A user information receiving module, used to receive first user information and second user information fed back by a scanning terminal, wherein the first user information is generated by the scanning terminal scanning a target two-dimensional code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through a SIM card;

[0045] A user information forwarding module, used for sending the first user information and the second user information to a card application server;

[0046] The identity authentication result feedback module is used to receive the identity authentication result fed back by the card application server according to the first user information and the second user information, and send the identity authentication result to the scanning terminal for business processing.

[0047] In addition, to achieve the above purpose, the present application also proposes a two-dimensional code anti-theft device, which is applied to a card application server and includes:

[0048] A receiving module, used to receive first user information and second user information sent by the software server, wherein the first target information is generated by scanning a target QR code on a terminal device, and the second user information is obtained from the terminal device by a scanning terminal through a SIM card;

[0049] The identity authentication module is used to perform user identity authentication based on the first user information and the second user information, obtain an identity authentication result, and send the identity authentication result to the software server.

[0050] In addition, to achieve the above purpose, the present application also proposes a QR code anti-theft device, which is applied to a scanning terminal and includes:

[0051] A scanning module, used to scan a target QR code displayed on a terminal device, and determine the first user information according to the target QR code;

[0052] An NFC module, used to obtain second user information on the terminal device via NFC;

[0053] A user information sending module, used for sending the first user information and the second user information to a software server;

[0054] The business processing module is used to receive the identity authentication result fed back by the software server and perform business processing according to the identity authentication result.

[0055] In addition, to achieve the above-mentioned purpose, the present application also proposes a QR code anti-theft device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the QR code anti-theft method described above.

[0056] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the QR code anti-theft method described above are implemented.

[0057] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the QR code anti-theft method as described above.

[0058] When receiving a QR code generation command sent by a terminal device, the present application generates a target QR code according to the user information in the QR code generation command, and feeds back the generated target QR code to the terminal device; receives the first user information and the second user information fed back by the scanning terminal, the first user information is generated by the scanning terminal scanning the target QR code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through the SIM card; sends the first user information and the second user information to the card application server; receives the identity authentication result fed back by the card application server according to the first user information and the second user information, and sends the identity authentication result to the scanning terminal for business processing. Since the present application performs identity authentication and business processing through the first user information generated by scanning the target QR code and the second user information obtained through the SIM card, compared with the existing method of performing business processing only based on the information on the scanned QR code, the above method of the present application can better protect the user's information security and prevent the QR code from being stolen. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0060] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0061] Figure 1 This is a structural diagram of the first embodiment of the QR code anti-fraud system of the present application;

[0062] Figure 2 A flowchart of the first embodiment of the QR code anti-fraud method of the present application;

[0063] Figure 3 A flowchart of the second embodiment of the QR code anti-fraud method of the present application;

[0064] Figure 4 A schematic diagram of the identity authentication process provided for the second embodiment of the QR code anti-fraud method of this application;

[0065] Figure 5 A schematic diagram of the SIM card activation process provided in Example 2 of the QR code anti-fraud method of this application;

[0066] Figure 6 A flowchart of the third embodiment of the QR code anti-fraud method of the present application;

[0067] Figure 7 This is a schematic diagram of the module structure of the first embodiment of the QR code anti-theft device of the present application;

[0068] Figure 8 This is a schematic diagram of the module structure of the second embodiment of the QR code anti-theft device of the present application;

[0069] Fig. 9 This is a schematic diagram of the module structure of the third embodiment of the QR code anti-theft device of the present application;

[0070] Fig.10 This is a schematic diagram of the device structure of the hardware operating environment involved in the QR code anti-theft method in the embodiment of the present application.

[0071] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0072] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0073] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0074] The main solution of the embodiment of the present application is: when a QR code generation command sent by a terminal device is received, user information is determined according to the QR code generation command; a target QR code is generated according to the user information, and the generated target QR code is fed back to the terminal device; first user information and second user information fed back by a scanning terminal are received, the first user information is generated by the scanning terminal scanning the target QR code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through a SIM card; the first user information and the second user information are sent to a card application server; an identity authentication result fed back by the card application server based on the first user information and the second user information is received, and the identity authentication result is sent to the scanning terminal for business processing.

[0075] Since the present application performs identity authentication and business processing by scanning the first user information generated by the target QR code and the second user information obtained through the SIM card, compared with the existing method of performing business processing only based on the information on the scanned QR code, the above method of the present application can better protect the user's information security and prevent the QR code from being stolen.

[0076] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a QR code anti-fraud device, etc. The following takes the QR code anti-fraud device as an example to illustrate this embodiment and the following embodiments.

[0077] Based on this, the present application embodiment provides a two-dimensional code anti-theft system, referring to Figure 1 , Figure 1 This is a structural diagram of the first embodiment of the QR code anti-theft system of the present application.

[0078] In this embodiment, the QR code anti-theft system includes: a software server, a scanning terminal and a card application server;

[0079] The software server is used to generate a target QR code according to the QR code generation command when receiving the QR code generation command sent by the terminal device, and feed back the generated target QR code to the terminal device;

[0080] The scanning terminal is used to obtain the first user information based on the target QR code displayed by the terminal device, obtain the second user information from the terminal device through the SIM card, and send the first user information and the second user information to the software server;

[0081] The software server is further used to send the first user information and the second user information to the card application server;

[0082] The card application server is used to perform user identity authentication based on the first user information and the second user information, and feed back the identity authentication result to the software server;

[0083] The software server is further used to send the identity authentication result to the scanning terminal;

[0084] The scanning terminal is also used to perform business processing based on the identity authentication result.

[0085] It should be noted that, refer to Figure 1 , the software server is Figure 1 The APP server in the scanning terminal is Figure 1 The QR code scanning device in the card application server is Figure 1 The card application server in . Figure 1The SIM card terminal in the above is the terminal device, which can be a mobile phone, smart watch or other terminal that can display a QR code. The terminal device is installed with a super SIM card, and the SIM card application can be installed on the super SIM card. The SIM card application is an application that provides corresponding functional services to users. Specifically, the card application server: stores user biometric information characterization information (such as face, fingerprint and other data) and user identity information (identity ID, mobile phone number, etc.), and is used to verify the user information transmitted by the App server;

[0086] App server: used to issue a QR code containing user information to the SIM card terminal. In addition, the App server will also receive the user information in the QR code transmitted by the QR code scanning device and the user information in the super SIM card obtained through NFC, and perform business processing based on the verification result of the consistency between the QR code and the user by the card application server;

[0087] QR code scanning device: not only used to scan the QR code presented by the user and extract the information in the QR code, but also to obtain the information in the super SIM card application (i.e. the above-mentioned SIM card application) through NFC, and send the obtained QR code information and card application information to the App server;

[0088] SIM card terminal: a terminal device equipped with a super SIM card, which presents the consumption QR code containing user information issued by the App server to the QR code scanning device, and uses the NFC function to enable the QR code scanning device to obtain user information from the super SIM card application;

[0089] Super SIM card: installed on the mobile terminal, on which SIM card applications can be installed. By opening the machine-card channel, the super SIM card can interact with the terminal device for data and control third-party applications and sensors installed on the terminal if it has the permission.

[0090] Super SIM card application: An application installed on the super SIM card that provides users with corresponding functional services. The super SIM card application used in this embodiment is an identity authentication application. The identity authentication SIM card application, that is, the super SIM card application, is an identity authentication technology based on the SIM card. Even if the SIM card terminal has no network, the scanning terminal can access the identity authentication SIM card application through NFC to quickly obtain and process data. When a user uses the QR code consumption function in an installed and registered app, the app prompts the user to activate the identity authentication SIM card application. In this process, the card application server plays a vital role. All user information, authentication information, security information and other data are managed by the card application server. This management method not only ensures the security of the data, but also improves the efficiency of data processing. The card application server is not only responsible for the collection and storage of data, but also for the update and maintenance of data.

[0091] It should be noted that the two-dimensional code generation command is an instruction for requesting the software server to generate a consumption two-dimensional code. The two-dimensional code generation command may include user information, which includes user biometric information and user identity information. The user biometric information may include user face, fingerprint and other information. The user identity information may include user ID, mobile phone number and other information. The first user information is the user identity information and user biometric information obtained by the scanning terminal according to the target two-dimensional code on the terminal device by scanning the target two-dimensional code on the terminal device. The user biometric information may include user face, fingerprint and other information. The second user information is obtained from the terminal device by the scanning terminal through the SIM card. The SIM card of the terminal device stores the second user information of the user, which may include signature data corresponding to the user biometric information and user identity information. The card application server performs user identity authentication based on the first user information and the second user information, which may be to verify the user's identity based on the first user information, the second user information and the user's identity information and biometric information stored on the card application server. The scanning terminal performs business processing based on the identity authentication result, which may be that the scanning terminal performs transactions according to the consumption information in the target two-dimensional code when the identity authentication result is authentication passed, and refuses the transaction when the identity authentication result is authentication failed.

[0092] Based on the above embodiments, the present application provides a two-dimensional code anti-theft method. Figure 2 , Figure 2 A flowchart diagram of the first embodiment of the QR code anti-theft method of the present application.

[0093] In this embodiment, the two-dimensional code anti-fraud method is applied to a software server, and the two-dimensional code anti-fraud method includes steps S10 to S40:

[0094] Step S10, upon receiving a QR code generation command sent by a terminal device, generating a target QR code according to user information in the QR code generation command, and feeding back the generated target QR code to the terminal device;

[0095] It should be noted that the QR code generation command may include user information such as the user's face, fingerprint, user name, and mobile phone number collected by the terminal device. The generation of the target QR code according to the user information in the QR code generation command may be to add the user information to the generated consumption QR code to obtain the target QR code containing the user information. When the user is in a consumption scenario, the terminal device will request the software server to issue a QR code for the transaction. In this embodiment, the user consumption scenarios are mainly divided into two types. The first is a verification scenario in which a consumption QR code is generated after the user pays, and the second is a user's small-amount password-free payment consumption scenario. For the first consumption scenario, a consumption QR code will be generated for the user after the payment is completed. This situation is common in scenarios such as ticket purchases, online payment and offline pickup. For example, a user purchases a movie ticket online, and after the payment is completed, a QR code containing the user's ticket purchase information will be generated. The user presents this QR code at the entrance of the cinema, and the staff can verify the user's ticket purchase information and confirm the validity of the user's ticket purchase after scanning the QR code. Similarly, if the user purchases physical goods online and chooses to pick up the goods offline, a QR code containing the user's purchase information will also be generated after the user completes the payment. The user presents this QR code when picking up the goods. After the merchant scans the QR code, the user's purchase information can be confirmed and the goods can be delivered. For the second consumption scenario, the user can make small-amount password-free payments. This situation is common in the use of public transportation such as buses and subways. For example, when a user takes a bus or subway, he only needs to show the QR code on his mobile phone to complete the payment and take the bus. This method does not require the user to enter a password, which is convenient and fast. This embodiment is applicable to both of the above two user consumption scenarios.

[0096] Furthermore, in order to prevent the user's QR code from being stolen, the user information includes the user's biometric information and the user's identity information;

[0097] The step of generating a target two-dimensional code according to the user information in the two-dimensional code generation command comprises:

[0098] Characterizing the user's biometric information to obtain user biometric information characterization data;

[0099] Encrypting the user identity information and the user biometric information characterization data to obtain an encryption result;

[0100] A consumption QR code is produced, and the encryption result is embedded into the consumption QR code to obtain a target QR code.

[0101] It should be noted that the user identity information may be the identity ID, mobile phone number and other data uploaded by the user when registering. The user biometric information may include the user's face, fingerprint and other information. The characterization of the user biometric information may be to extract features from the user biometric information to obtain user biometric information characterization data. The user identity information and the user biometric information characterization data are encrypted using a predefined encryption algorithm to obtain an encryption result, a consumption QR code is generated based on a general QR code generation method, and the encryption result is embedded in the consumption QR code to obtain a target QR code. Among them, the characterization of the user biometric information may be to use principal component analysis (PCA) as the core technology, encode and decode the information through a high-dimensional space projection method, and project the feature data into a high-dimensional space determined by the data itself. Specifically, the characterization of facial information may be: 1) Data preparation: Given a set of face images, extract their feature vectors to form a feature set ({X1, X2, ..., X m}).

[0102] 2) PCA training: Apply PCA to the feature set to find the principal components that maximize the variance. These principal components define a high-dimensional space where the main variations of the data are preserved.

[0103] 3) Feature vector mapping: Project the new feature vector (X) to the principal component space through PCA to obtain its encoding representation in the space. The specific code is:

[0104] def extract_features(image_paths):

[0105] #1) Extract face feature vectors from a given image path list

[0106] features = []

[0107] for image_path in image_paths:

[0108] image=face_recognition.load_image_file(image_path)

[0109] encodings=face_recognition.face_encodings(image)

[0110] if encodings:

[0111] features.append(encodings[0])

[0112] return np.array(features)

[0113] #2) Train the PCA model

[0114] training_image_paths = ['path_to_image1.jpg','path_to_image2.jpg',...] #Replace with your image path

[0115] features=extract_features(training_image_paths)

[0116] pca = PCA (n_components = 0.99, whiten = True) # retain 99% of the variance

[0117] pca_features=pca.fit_transform(features)

[0118] #3) Map the new feature vector to PCA space

[0119] test_image_path = 'path_to_new_image.jpg' # Replace with the new image path

[0120] test_image_feature=extract_features([test_image_path])[0]

[0121] test_pca_feature=pca.transform([test_image_feature])

[0122] print("Eigenvector mapped to PCA space:",test_pca_feature)

[0123] Among them, the extract_features function is used to extract feature vectors from the image path list, and the PCA class is used to train the PCA model and map the feature vectors to the principal component space. This process not only effectively compresses the facial features, but also retains enough information for subsequent recognition or comparison tasks.

[0124] Step S20, receiving first user information and second user information fed back by a scanning terminal, wherein the first user information is generated by the scanning terminal scanning a target two-dimensional code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through a SIM card;

[0125] It should be noted that after the terminal device receives the target QR code, it displays the target QR code to the scanning terminal. The scanning terminal scans the target QR code and extracts the first user information therein. The first user information includes the user biometric information and user identity information added by the software server when generating the target QR code. In order to prevent the QR code from being stolen, the scanning terminal in this embodiment can also obtain the second user information stored in the SIM card of the terminal device through near field communication (NFC), and the second user information includes the user identity information and the signature data corresponding to the user biometric information.

[0126] Step S30, sending the first user information and the second user information to a card application server;

[0127] In a specific implementation, the software server sends the first user information and the second user information to the card application server for identity authentication.

[0128] Furthermore, since the data transmission process is all encrypted, and the software server cannot decrypt the second user information, and the card application server cannot decrypt the first user information, the step S40 includes: decrypting the first user information to obtain the target user's biometric information characterization data and the target user's identity information data;

[0129] The target user's biometric information characterization data, the target user's identity information data and the second user information are encrypted and sent to the card application server.

[0130] It should be noted that the decryption of the first user information may be to decrypt the first user information by a predefined decryption algorithm to obtain the target user biometric information characterization data and the target user identity information data in the first user information. The target user biometric information characterization data, the target user identity information data and the second user information are encrypted by a predefined encryption algorithm for data interaction with the card application server, and the encrypted information is sent to the card application server.

[0131] Step S40: receiving the identity authentication result fed back by the card application server according to the first user information and the second user information, and sending the identity authentication result to the scanning terminal for business processing.

[0132] It should be noted that the identity authentication result is obtained by the card application server performing user identity authentication based on the first user information, the second user information and the user information stored by the card application server. The user information stored by the card application server may include the user's identity information, data after the user's biometric information is characterized, and signature data of the characteristic data after the user's biometric information is characterized. The sending of the identity authentication result to the scanning terminal for business processing may be that the scanning terminal performs a transaction based on the identity authentication result.

[0133] When receiving a QR code generation command sent by a terminal device, this embodiment generates a target QR code according to the QR code generation command, and feeds back the generated target QR code to the terminal device; receives the first user information and the second user information fed back by the scanning terminal, the first user information is generated by the scanning terminal scanning the target QR code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through the SIM card; sends the first user information and the second user information to the card application server; receives the identity authentication result fed back by the card application server based on the first user information and the second user information, and sends the identity authentication result to the scanning terminal for business processing. Since this embodiment performs identity authentication and business processing by scanning the first user information generated by the target QR code and the second user information obtained through the SIM card, compared with the existing method of performing business processing only based on the information on the scanned QR code, the above method of this embodiment can better protect the user's information security and prevent the QR code from being stolen.

[0134] Based on the above embodiments, the present application provides a two-dimensional code anti-theft method. Figure 3 , Figure 3 A flow chart of the second embodiment of the QR code anti-theft method of the present application.

[0135] In this embodiment, the two-dimensional code anti-fraud method is applied to a card application server, and the two-dimensional code anti-fraud method includes steps S100 to S200:

[0136] Step S100: receiving first user information and second user information sent by the software server, wherein the first target information is generated by scanning a target QR code on a terminal device, and the second user information is obtained from the terminal device by a scanning terminal through a SIM card;

[0137] In a specific implementation, the card application server receives the first user information and the second user information sent by the software server. The first user information is the user identity information and the data after the user biometric information is characterized contained in the target QR code. The second user information is the signature data and the user identity information of the user biometric information characteristic data obtained by the scanning terminal from the SIM card of the terminal device through NFC.

[0138] Step S200: Perform user identity authentication based on the first user information and the second user information, obtain an identity authentication result, and send the identity authentication result to the software server.

[0139] It should be noted that the user identity authentication is performed based on the first user information and the second user information, and the identity authentication result can be obtained by comparing the user identity information in the first user information with the user identity information in the second user information. If they are consistent, the data after the user biometric information in the first user information is characterized is signed, and the obtained signature result is compared with the signature data in the second user information. If they are consistent, the identity authentication result is that the identity authentication is passed.

[0140] Further, in order to improve the identity authentication efficiency, the step S200 may include: decrypting the second user identity information in the second user information;

[0141] Compare the second user identity information with the first user identity information in the first user information to obtain a first verification result;

[0142] When the first verification result is that the verification is passed, searching for the third user's biometric information characterization data according to the second user's identity information;

[0143] Performing signature verification based on the third user's biometric information characterization data and the signature data in the second user's identity information to obtain a second verification result;

[0144] When the second verification result is that the verification is passed, the third user biometric information characterization data is compared with the first user biometric information in the first user information to obtain an identity authentication result.

[0145] It should be noted that the second user information is information generated by the card application server according to the user identity information and user biometric information uploaded by the terminal device when the SIM card application is activated, and is encrypted. The second user information can only be decrypted by the card application server. Therefore, the card application server needs to first decrypt the second user information according to the encryption and decryption algorithm corresponding to the encrypted second user information to obtain the user identity information in the second user information, that is, the second user identity information. The comparison of the second user identity information with the first user identity information in the first user information to obtain the first verification result may be to compare the second user identity information with the first user identity information in the first user information, and when the two are consistent, determine that the first verification result is a verification pass. Perform the next verification, otherwise, generate an identity authentication result that fails the verification. The search for the third user biometric information characterization data according to the second user identity information may be to search for the third user biometric information characterization data corresponding to the user stored in the card application server according to the mobile phone number or ID and other information in the second user identity information, and the third user biometric information characterization data includes signature data. The signature verification is performed based on the signature data of the third user's biometric information characterization data and the signature data in the second user's identity information. The second verification result can be obtained by comparing whether the signature data in the third user's biometric information characterization data is consistent with the signature data in the second user's identity information. If they are consistent, the second verification result is determined to be a successful verification. The next step of verification is performed. Otherwise, an identity authentication result of failed verification is generated. The first user's biometric information is the user's biometric information characterization data obtained by the software server after characterizing the user's biometric information uploaded by the terminal device. Comparing the third user's biometric information characterization data with the first user's biometric information in the first user information, that is, comparing the user's biometric information characterization data extracted from the target QR code and the user's biometric information characterization data stored in the card application server, if they are consistent, the identity authentication result is determined to be a successful verification. Otherwise, an identity authentication result of failed verification is generated.

[0146] In the specific implementation, please refer to Figure 4 , Figure 4Schematic diagram of identity authentication process provided for Example 2 of the QR code anti-theft method of this application; the QR code scanning terminal sends the user information obtained from the target QR code and the super SIM card identity authentication application (i.e., the super SIM card application) to the App server (i.e., the software server). The user information in the QR code is the encrypted user biometric information characterization data (face, fingerprint, etc.) and user identity information data (identity ID, mobile phone number, etc.), and the user information in the super SIM card identity authentication application is the signature data of the user biometric information characterization data and the encrypted data of the user identity data. After receiving the data sent by the QR code scanning terminal, the App server decrypts the user biometric information characterization data and user identity information data in the target QR code. Then, the data is encrypted with the user information data in the super SIM card identity authentication application and sent to the card application server for identity authentication. The card application server decrypts the user identity information (identity ID, mobile phone number, etc.) data in the super SIM card identity authentication application, and verifies it with the user identity information (identity ID, mobile phone number, etc.) data in the QR code to obtain the first verification result. The card application server finds the user's biometric information characterization data based on the decrypted user identity information in the super SIM card identity authentication application, and performs signature verification to obtain a second verification result. The card application server verifies the user's biometric information characterization data in the QR code with the user's biometric information characterization data found in the card application server to obtain a third verification result. If all three of the above verification results are passed, the card application server returns verification pass information to the APP server. If only one verification fails, the card application server returns verification fail information to the APP server.

[0147] Furthermore, in order to prevent the QR code from being stolen, before step S100, the following steps are further included:

[0148] After receiving the user information sent by the terminal device, verifying the user information to obtain a verification result;

[0149] If the verification result is that the verification is passed, characterizing the user biometric information in the user information to obtain third user biometric information characterization data;

[0150] The third user biometric information characterization data is stored.

[0151] It should be noted that in order to realize the QR code anti-theft in this embodiment, when conducting a transaction, the scanning terminal needs to simultaneously obtain the data in the QR code and obtain the second user information stored in the SIM card application through NFC. When performing identity authentication, the second user information also needs to be verified. The user information sent by the terminal device includes the user identity information and user biometric information collected by the terminal device. The verification of the user information can be to call a third-party identity authentication platform to verify whether the user identity information and user biometric information are accurate. Characterizing the user biometric information in the user information to obtain the third user biometric information characterization data can refer to the steps of information characterization in the above embodiment, and this embodiment will not be repeated here. The storage of the third user biometric information characterization data can be to store the third user biometric information characterization data in the card application server and store the user identity information. At the same time, the third user biometric information characterization data is also signed, and the signature data and user identity information are sent to the super SIM card identity authentication application for storage, which is used to be sent to the scanning terminal through NFC during the transaction.

[0152] In the specific implementation, please refer to Figure 5 , Figure 5 A schematic diagram of the SIM card application activation process provided for the second embodiment of the QR code anti-theft method of this application; the terminal device first collects the user's biometric information (face, fingerprint, etc.) and user identity information (identity ID, mobile phone number, etc.), and sends them to the card application server; the card application server verifies the received user information. If the verification fails, the card application activation fails, and the card activation process is restarted; after the verification passes, the card application server characterizes the user's biometric information and stores it in the card application server together with the user's identity information; the card application server signs the data after the user's biometric information is characterized, and encrypts the user's identity information, and stores them together in the super SIM card identity authentication application.

[0153] This embodiment receives the first user information and the second user information sent by the software server, the first target information is generated by scanning the target QR code on the terminal device, and the second user information is obtained from the terminal device by the scanning terminal through the SIM card; based on the first user information and the second user information, the user identity authentication is performed to obtain the identity authentication result, and the identity authentication result is sent to the software server. This embodiment ensures that the user's identity information is fully protected during the verification process, ensuring the security of the transaction.

[0154] Based on the above embodiments, the present application provides a two-dimensional code anti-theft method. Figure 6 , Figure 6 This is a flow chart of the third embodiment of the QR code anti-theft method of this application.

[0155] In this embodiment, the two-dimensional code anti-fraud method is applied to a scanning terminal, and the two-dimensional code anti-fraud method includes steps S1' to S4':

[0156] Step S1': Scan the target QR code displayed on the terminal device, and determine the first user information according to the target QR code;

[0157] It should be noted that when the user conducts a transaction, he needs to present the target QR code generated by the software server and issued to the terminal device. When the user presents the target QR code, the scanning terminal will start the scanning program and read the first user information and consumption information in the target QR code through the built-in scanner. This process requires the scanning terminal to have high-precision scanning capabilities to ensure that the information in the target QR code can be read accurately. At the same time, the scanning terminal also needs to have strong processing capabilities to complete a large amount of data processing and calculation in a short time. After the scanning is completed, the scanning terminal will obtain the consumption information and encrypted user information (i.e., the first user information, including user identity information and user biometric information) in the target QR code. This information is the key data for subsequent verification. Next, the scanning terminal will verify the legitimacy of the target QR code. This process is mainly to determine the legitimacy of the target QR code by comparing the consumption information in the target QR code. If the consumption information in the target QR code does not match the record in the scanning terminal, or the target QR code has been used, the scanning terminal will determine that the target QR code is an illegal QR code and refuse this service.

[0158] Step S2': Acquire the second user information on the terminal device through NFC;

[0159] It should be noted that the scanning terminal has NFC function, which is a short-range high-frequency wireless communication technology that allows contactless point-to-point data transmission between electronic devices (within 10 cm). The application of this technology in the scanning terminal enables the device to exchange data quickly and securely within a very short distance. When the target QR code presented by the user is verified by the scanning terminal and its legitimacy is confirmed, the scanning terminal will activate its NFC function and communicate with the user's terminal device. This communication process is very fast and secure, completed within a very short distance, and there is strong encryption protection during the data transmission process. In this communication process, the main task of the scanning terminal is to obtain the signature data and encrypted user identity information of the user's biometric information in the identity authentication SIM card application in the user's terminal device, that is, the second user information. This information is entered by the user through the apdu instruction when the identity authentication SIM card application is enabled and stored in the super SIM card, and will be used for subsequent verification and business processing.

[0160] Step S3': sending the first user information and the second user information to a software server;

[0161] It should be noted that the first user information and the second user information obtained are sent to the software server for user identity verification. Among them, the software server forwards the first user information and the second user information to the card application server for identity verification. The specific verification process can refer to the above embodiment. The interaction process between the scanning terminal and the terminal device is strictly carried out in a secure manner issued by the card application server. The card application server plays the role of a "command center" in this process. It will issue a series of instructions and keys to guide the scanning terminal on how to communicate securely with the terminal device. The keys for communication are dynamically generated, and the keys for each communication are different, which greatly increases the security of data transmission. The card application server is also responsible for the unified management of all authentication information, which is stored in a secure database, and can only be obtained through strictly verified requests. This centralized management method not only ensures the security of data, but also improves the efficiency of data processing.

[0162] Step S4': receiving the identity authentication result fed back by the software server, and performing business processing according to the identity authentication result.

[0163] It should be noted that the business processing based on the identity authentication result can be that when the identity authentication result is verified, the transaction is completed according to the consumption information and user identity information in the QR code, and when the identity authentication result is verified unsuccessfully, the transaction is rejected.

[0164] In specific implementation, the content of business processing will vary depending on the user's consumption scenario and the function of the scanning terminal. For example, if the user uses QR code payment on urban rail transit, the business processing may be to deduct the user's bus fare and open the gate; if the user uses QR code payment to buy goods in a supermarket, the business processing may be to complete the payment transaction and print a receipt.

[0165] During the business processing, abnormal situations may also occur. For example, if a network failure or equipment failure occurs during the verification process, corresponding emergency measures are needed to deal with it, including prompting the user, recording abnormal information, and repairing the failure as soon as possible. After completing the business processing, the processing results need to be recorded and fed back. For example, the processing results can be recorded in the database for subsequent query and statistics; the processing results can also be fed back to the user so that the user can understand his or her consumption situation.

[0166] This embodiment scans the target QR code displayed on the terminal device, determines the first user information according to the target QR code, obtains the second user information on the terminal device through NFC, sends the first user information and the second user information to the software server, receives the identity authentication result fed back by the software server, and performs business processing according to the identity authentication result. This embodiment realizes the consistency verification between the QR code and the user information, thereby improving the security of the QR code when used.

[0167] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the QR code anti-theft method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0168] This application also provides a QR code anti-theft device, please refer to Figure 7 , Figure 7 This is a schematic diagram of the module structure of the first embodiment of the two-dimensional code anti-theft device of the present application; the two-dimensional code anti-theft device is applied to a software server, and the two-dimensional code anti-theft device includes:

[0169] The target two-dimensional code generation module 10 is used to generate a target two-dimensional code according to the user information in the two-dimensional code generation command when receiving the two-dimensional code generation command sent by the terminal device, and feed back the generated target two-dimensional code to the terminal device;

[0170] The user information receiving module 20 is used to receive first user information and second user information fed back by the scanning terminal, wherein the first user information is generated by the scanning terminal scanning a target two-dimensional code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through a SIM card;

[0171] A user information forwarding module 30, used to send the first user information and the second user information to a card application server;

[0172] The identity authentication result feedback module 40 is used to receive the identity authentication result fed back by the card application server according to the first user information and the second user information, and send the identity authentication result to the scanning terminal for business processing.

[0173] When receiving a QR code generation command sent by a terminal device, this embodiment generates a target QR code according to the QR code generation command, and feeds back the generated target QR code to the terminal device; receives the first user information and the second user information fed back by the scanning terminal, the first user information is generated by the scanning terminal scanning the target QR code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through the SIM card; sends the first user information and the second user information to the card application server; receives the identity authentication result fed back by the card application server based on the first user information and the second user information, and sends the identity authentication result to the scanning terminal for business processing. Since this embodiment performs identity authentication and business processing by scanning the first user information generated by the target QR code and the second user information obtained through the SIM card, compared with the existing method of performing business processing only based on the information on the scanned QR code, the above method of this embodiment can better protect the user's information security and prevent the QR code from being stolen.

[0174] Based on the above embodiments, the present application also provides a QR code anti-theft device, please refer to Figure 8 , Figure 8 This is a schematic diagram of the module structure of the second embodiment of the two-dimensional code anti-theft device of the present application; the two-dimensional code anti-theft device is applied to the card application server, and the two-dimensional code anti-theft device includes:

[0175] The receiving module 100 is used to receive first user information and second user information sent by the software server, wherein the first target information is generated by scanning a target QR code on a terminal device, and the second user information is obtained from the terminal device by a scanning terminal through a SIM card;

[0176] The identity authentication module 200 is used to perform user identity authentication based on the first user information and the second user information, obtain an identity authentication result, and send the identity authentication result to the software server.

[0177] This embodiment receives the first user information and the second user information sent by the software server, the first target information is generated by scanning the target QR code on the terminal device, and the second user information is obtained from the terminal device by the scanning terminal through the SIM card; based on the first user information and the second user information, the user identity authentication is performed to obtain the identity authentication result, and the identity authentication result is sent to the software server. This embodiment ensures that the user's identity information is fully protected during the verification process, ensuring the security of the transaction.

[0178] Based on the above embodiments, the present application also provides a QR code anti-theft device, please refer to Fig. 9 , Fig. 9This is a schematic diagram of the module structure of the third embodiment of the two-dimensional code anti-theft device of the present application; the two-dimensional code anti-theft device is applied to a scanning terminal, and the two-dimensional code anti-theft device includes:

[0179] A scanning module 1', used for scanning a target two-dimensional code displayed on a terminal device, and determining first user information according to the target two-dimensional code;

[0180] NFC module 2', used to obtain second user information on the terminal device through NFC;

[0181] A user information sending module 3', used for sending the first user information and the second user information to a software server;

[0182] The business processing module 4' is used to receive the identity authentication result fed back by the software server and perform business processing according to the identity authentication result.

[0183] The QR code anti-fraud device provided by the present application adopts the QR code anti-fraud method in the above embodiment, which can solve the technical problem of QR codes being easily stolen in the prior art. Compared with the prior art, the beneficial effects of the QR code anti-fraud device provided by the present application are the same as the beneficial effects of the QR code anti-fraud method provided by the above embodiment, and other technical features of the QR code anti-fraud device are the same as those disclosed in the above embodiment method, which will not be described in detail here.

[0184] The present application provides a QR code anti-theft device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the QR code anti-theft method in the above-mentioned embodiment one.

[0185] Reference below Fig.10 , which shows a schematic diagram of the structure of a two-dimensional code anti-fraud device suitable for implementing the embodiment of the present application. The two-dimensional code anti-fraud device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.10 The QR code anti-fraud device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0186] like Fig.10 As shown, the two-dimensional code anti-theft device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Me mory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the two-dimensional code anti-theft device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the two-dimensional code anti-theft device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a two-dimensional code anti-theft device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.

[0187] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0188] The QR code anti-fraud device provided by the present application adopts the QR code anti-fraud method in the above embodiment, which can solve the technical problem of QR codes being easily stolen in the prior art. Compared with the prior art, the beneficial effects of the QR code anti-fraud device provided by the present application are the same as the beneficial effects of the QR code anti-fraud method provided by the above embodiment, and other technical features of the QR code anti-fraud device are the same as those disclosed in the method of the previous embodiment, which will not be described in detail here.

[0189] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0190] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0191] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the QR code anti-theft method in the above-mentioned embodiment.

[0192] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0193] The computer-readable storage medium may be included in the QR code anti-fraud device; or may exist independently without being assembled into the QR code anti-fraud device.

[0194] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the QR code anti-theft device, the QR code anti-theft device executes the QR code anti-theft method.

[0195] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0196] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0197] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0198] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned two-dimensional code anti-fraud method, and can solve the technical problem that two-dimensional codes are easily stolen in the prior art. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the two-dimensional code anti-fraud method provided by the above-mentioned embodiment, and will not be repeated here.

[0199] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned QR code anti-theft method.

[0200] The computer program product provided by this application can solve the technical problem that the QR code is easily stolen in the prior art. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the QR code anti-theft method provided in the above embodiment, which will not be repeated here.

[0201] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A QR code anti-fraud method, characterized in that: The two-dimensional code anti-fraud method is applied to a software server, and the two-dimensional code anti-fraud method comprises the following steps: When receiving a QR code generation command sent by a terminal device, generating a target QR code according to the user information in the QR code generation command, and feeding back the generated target QR code to the terminal device; Receiving first user information and second user information fed back by a scanning terminal, wherein the first user information is generated by the scanning terminal scanning a target two-dimensional code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through a SIM card; Sending the first user information and the second user information to a card application server; Receive the identity authentication result fed back by the card application server according to the first user information and the second user information, and send the identity authentication result to the scanning terminal for business processing.

2. The two-dimensional code anti-fraud method according to claim 1, characterized in that: The user information includes user biometric information and user identity information; The step of generating a target two-dimensional code according to the user information in the two-dimensional code generation command comprises: Characterizing the user's biometric information to obtain user biometric information characterization data; Encrypting the user identity information and the user biometric information characterization data to obtain an encryption result; A consumption QR code is produced, and the encryption result is embedded into the consumption QR code to obtain a target QR code.

3. The two-dimensional code anti-fraud method according to claim 1, characterized in that: The step of sending the first user information and the second user information to the card application server comprises: Decrypting the first user information to obtain target user biometric information characterization data and target user identity information data; The target user's biometric information characterization data, the target user's identity information data and the second user information are encrypted and sent to the card application server.

4. A QR code anti-fraud method, characterized in that: The two-dimensional code anti-fraudulent swiping method is applied to a card application server, and the two-dimensional code anti-fraudulent swiping method comprises the following steps: Receiving first user information and second user information sent by the software server, wherein the first target information is generated by scanning a target QR code on a terminal device, and the second user information is obtained from the terminal device by a scanning terminal through a SIM card; Perform user identity authentication based on the first user information and the second user information, obtain an identity authentication result, and send the identity authentication result to the software server.

5. The two-dimensional code anti-fraud method according to claim 4, characterized in that: The step of performing user identity authentication based on the first user information and the second user information to obtain an identity authentication result includes: decrypting the second user identity information in the second user information; Compare the second user identity information with the first user identity information in the first user information to obtain a first verification result; When the first verification result is that the verification is passed, searching for the third user's biometric information characteristic data according to the second user's identity information; Performing signature verification based on the third user's biometric information characterization data and the signature data in the second user's identity information to obtain a second verification result; When the second verification result is that the verification is passed, the third user biometric information characterization data is compared with the first user biometric information in the first user information to obtain an identity authentication result.

6. The two-dimensional code anti-fraud method according to claim 5, characterized in that: Before the step of receiving the first user information and the second user information sent by the software server, the method further includes: After receiving the user information sent by the terminal device, verifying the user information to obtain a verification result; If the verification result is that the verification is passed, characterizing the user biometric information in the user information to obtain third user biometric information characterization data; The third user biometric information characterization data is stored.

7. A QR code anti-fraud method, characterized in that: The two-dimensional code anti-fraudulent swiping method is applied to a scanning terminal, and the two-dimensional code anti-fraudulent swiping method comprises the following steps: Scanning a target QR code displayed on a terminal device, and determining first user information according to the target QR code; Acquire the second user information on the terminal device through NFC; Sending the first user information and the second user information to a software server; Receive the identity authentication result fed back by the software server, and perform business processing according to the identity authentication result.

8. A QR code anti-fraud system, characterized in that: The two-dimensional code anti-fraud system includes: a software server, a scanning terminal and a card application server; The software server is used to generate a target QR code according to the QR code generation command when receiving the QR code generation command sent by the terminal device, and feed back the generated target QR code to the terminal device; The scanning terminal is used to obtain the first user information based on the target QR code displayed by the terminal device, obtain the second user information from the terminal device through the SIM card, and send the first user information and the second user information to the software server; The software server is further used to send the first user information and the second user information to the card application server; The card application server is used to perform user identity authentication based on the first user information and the second user information, and feed back the identity authentication result to the software server; The software server is further used to send the identity authentication result to the scanning terminal; The scanning terminal is also used to perform business processing based on the identity authentication result.

9. A QR code anti-theft device, characterized in that: The two-dimensional code anti-fraud device is applied to a software server, and the two-dimensional code anti-fraud device includes: A target QR code generating module is used to generate a target QR code according to the user information in the QR code generating command when receiving the QR code generating command sent by the terminal device, and feed back the generated target QR code to the terminal device; A user information receiving module, used to receive first user information and second user information fed back by a scanning terminal, wherein the first user information is generated by the scanning terminal scanning a target two-dimensional code on the terminal device, and the second user information is obtained by the scanning terminal from the terminal device through a SIM card; A user information forwarding module, used for sending the first user information and the second user information to a card application server; The identity authentication result feedback module is used to receive the identity authentication result fed back by the card application server according to the first user information and the second user information, and send the identity authentication result to the scanning terminal for business processing.

10. A QR code anti-theft device, characterized in that: The two-dimensional code anti-fraud device is applied to a card application server, and the two-dimensional code anti-fraud device includes: A receiving module, used to receive first user information and second user information sent by the software server, wherein the first target information is generated by scanning a target QR code on a terminal device, and the second user information is obtained from the terminal device by a scanning terminal through a SIM card; The identity authentication module is used to perform user identity authentication based on the first user information and the second user information, obtain an identity authentication result, and send the identity authentication result to the software server.

11. A QR code anti-theft device, characterized in that: The two-dimensional code anti-theft device is applied to a scanning terminal, and the two-dimensional code anti-theft device comprises: A scanning module, used to scan a target QR code displayed on a terminal device, and determine the first user information according to the target QR code; An NFC module, used to obtain second user information on the terminal device via NFC; A user information sending module, used for sending the first user information and the second user information to a software server; The business processing module is used to receive the identity authentication result fed back by the software server and perform business processing according to the identity authentication result.

12. A QR code anti-theft device, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the two-dimensional code anti-theft method as described in any one of claims 1 to 3, 4 to 6 or 7.

13. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the two-dimensional code anti-theft method as described in any one of claims 1 to 3, 4 to 6 or 7 are implemented.

14. A computer program product, characterized in that The computer program product includes a computer program, which, when executed by a processor, implements the steps of the two-dimensional code anti-theft method as described in any one of claims 1 to 3, 4 to 6 or 7.

Citation Information

Cited By

  • Method, system, apparatus and device for preventing unauthorized scanning of quick response code, and storage medium and product

    WO2026032225A1

  • Electronic tag-based payment method and apparatus, device, storage medium, and computer program product

    WO2026166268A1