User information checking method, terminal equipment and storage medium

By encrypting and matching information between terminal devices, the problem of inefficient privacy protection and data utilization in the prior art is solved, efficient and accurate user information verification is achieved, and system performance and reliability are improved.

CN119130468AActive Publication Date: 2024-12-13PING AN BANK CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411178582.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-13
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively improve the card binding rate while protecting customer privacy, resulting in inefficient information verification process and inability to take into account privacy protection and effective utilization of data.

Method used

By encrypting and matching information between terminal devices, we ensure the confidentiality and integrity of sensitive information during transmission, and use encryption technology to generate encryption results for information matching, ensuring user privacy and data security, while improving user identity authentication Accuracy and efficiency.

Benefits of technology

On the basis of ensuring information security and privacy protection, the user identity verification process is optimized, which significantly improves the efficiency and accuracy of information verification, solves the contradiction between privacy protection and data utilization, and improves the performance and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119130468A_ABST
    Figure CN119130468A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a user information checking method, terminal equipment and a storage medium, and belongs to the technical field of information processing. The method comprises the following steps: obtaining first information of a first user, and encrypting the first information to obtain a first encryption result; sending the first encryption result of the first user to a second terminal, so that the second terminal obtains second information of a second user after receiving the first encryption result, and encrypts the second information to obtain a second encryption result; performing information matching on the first encryption result and the second encryption result to obtain a matching result; determining a target user corresponding to the first user according to a matching result; encrypting the target user and the matching result to obtain a third encryption result, and sending the third encryption result to the first terminal; receiving a third encryption result corresponding to the second terminal, and decrypting the third encryption result to obtain a target user and a matching result; and determining an information checking result corresponding to the first user according to the target user and the matching result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to a method, terminal equipment and storage medium for checking user information. Background Art

[0002] In the digital age, the cooperation between credit card business and external payment platforms is becoming increasingly close, and card binding services have become a key trend to improve capital circulation and transaction convenience. However, the card binding process involves a large amount of sensitive information, such as credit card number and cardholder identity information. The protection and management of this information has become a major challenge currently faced. How to effectively increase the card binding rate while protecting customer privacy has become an urgent problem to be solved. In related technologies, the balance between privacy protection and data availability is a core problem. Under the premise of ensuring customer privacy, existing technologies may not be able to balance privacy protection and effective use of data. This contradiction may lead to inefficiencies in the information verification process. Summary of the invention

[0003] The main purpose of the embodiments of the present invention is to provide a method, terminal device and storage medium for user information verification, aiming to solve the problem that the related technology cannot balance privacy protection and effective use of data, which may lead to inefficiency in the information verification process.

[0004] In a first aspect, an embodiment of the present invention provides a method for checking user information, which is applied to a first terminal and includes:

[0005] Obtaining first information corresponding to a first user, and encrypting the first information to obtain a first encryption result;

[0006] The first encryption result corresponding to the first user is sent to a second terminal, so that after receiving the first encryption result, the second terminal obtains second information corresponding to the second user, and encrypts the second information to obtain a second encryption result; matches the first encryption result with the second encryption result to obtain a matching result; determines a target user corresponding to the first user according to the matching result; encrypts the target user and the matching result to obtain a third encryption result, and sends the third encryption result to the first terminal;

[0007] receiving the third encryption result corresponding to the second terminal, and decrypting the third encryption result to obtain the target user and the matching result;

[0008] An information verification result corresponding to the first user is determined according to the target user and the matching result.

[0009] In a second aspect, an embodiment of the present invention provides a method for checking user information, which is applied to a second terminal and includes:

[0010] Obtaining a first encryption result corresponding to a first user sent by a first terminal;

[0011] Obtaining second information corresponding to a second user, and encrypting the second information to obtain a second encryption result;

[0012] Performing information matching on the first encryption result and the second encryption result to obtain a matching result;

[0013] Determine a target user corresponding to the first user according to the matching result;

[0014] The target user and the matching result are encrypted to obtain a third encryption result, and the third encryption result is sent to the first terminal, so that the first terminal determines the information verification result corresponding to the first user according to the third encryption result.

[0015] In a third aspect, an embodiment of the present invention further provides a terminal device, comprising a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any one of the user information verification methods provided in the specification of the present invention are implemented.

[0016] In a fourth aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any user information verification method provided in the specification of the present invention.

[0017] The embodiment of the present invention provides a method for checking user information, a terminal device and a storage medium. The method is applied to a first terminal, comprising: obtaining first information corresponding to a first user, encrypting the first information to obtain a first encryption result, sending the first encryption result corresponding to the first user to a second terminal, so that after the second terminal receives the first encryption result, it obtains second information corresponding to the second user, and encrypts the second information to obtain a second encryption result; matching the first encryption result with the second encryption result to obtain a matching result; determining a target user corresponding to the first user according to the matching result; encrypting the target user and the matching result to obtain a third encryption result, and sending the third encryption result to the first terminal; receiving the third encryption result corresponding to the second terminal, and decrypting the third encryption result to obtain the target user and the matching result; determining the information checking result corresponding to the first user according to the target user and the matching result. The method generates the first encryption result by encrypting the first information, and this process effectively ensures the privacy of the user and the security of the data. Encryption technology can prevent sensitive information from being stolen or tampered with during transmission, and ensure the confidentiality and integrity of the information. In the second terminal, the second encryption result corresponding to the second user is matched with the first encryption result. This operation not only realizes effective information verification while protecting user privacy, but also ensures accurate confirmation of user identity through precise matching algorithms. This method can significantly improve the accuracy of user matching while ensuring privacy protection, thereby accurately finding the target user. In addition, this encrypted matching mechanism solves the contradiction between privacy protection and effective data utilization in traditional technologies. In many existing systems, privacy protection often leads to inefficient information verification, but this method overcomes this problem through innovative encryption and matching processes, and improves the efficiency and accuracy of information verification. Overall, this method optimizes the user identity verification process on the basis of ensuring information security and privacy protection, and effectively improves the performance and reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 A flowchart of a method for checking user information provided by an embodiment of the present invention;

[0020] Figure 2 A flowchart of another method for checking user information provided by an embodiment of the present invention;

[0021] Figure 3 for Figure 2 A flowchart of sub-step S203 of the method for checking user information in FIG.

[0022] Figure 4 A schematic diagram of a scenario for implementing the method for checking user information provided in this embodiment;

[0023] Figure 5 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0026] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0027] The embodiment of the present invention provides a method for checking user information, a terminal device and a storage medium. The method for checking user information can be applied to a terminal device, which can be an electronic device such as a tablet computer, a laptop computer, a desktop computer, a personal digital assistant and a wearable device. The terminal device can be a server or a server cluster.

[0028] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0029] Please refer to Figure 1 , Figure 1 A flowchart of a method for verifying user information provided by an embodiment of the present invention.

[0030] like Figure 1 As shown, the method for checking user information is applied to a first terminal, and the method includes steps S101 to S104.

[0031] Step S101: obtain first information corresponding to a first user, and encrypt the first information to obtain a first encryption result.

[0032] Exemplarily, if the first terminal is a bank terminal, the first terminal obtains the first user corresponding to the bank card or credit card, and then obtains the first information corresponding to the first user. The first information includes but is not limited to the credit card number, bank card number, cardholder identity information, etc. corresponding to the first user.

[0033] Exemplarily, the first terminal and the second terminal both use the same public key to encrypt the first information corresponding to the first user and the second information corresponding to the second user, so that when the encryption results are consistent, it indicates that the first user and the second user are the same user, and when the encryption results are inconsistent, it indicates that the first user and the second user are not the same user. Therefore, the first terminal can obtain the first encryption result by encrypting the first information with the second terminal using the same public key.

[0034] In some embodiments, encrypting the first information to obtain a first encryption result includes: obtaining a second public key corresponding to the second terminal; disassembling the first information to obtain first identification information corresponding to the first user; and encrypting the first identification information using the second public key to obtain the first encryption result.

[0035] Exemplarily, the second terminal needs to provide its corresponding second public key. The second public key can usually be provided through a network request, an agreement between terminals, or by a system administrator. Ensure that when obtaining the second public key, a secure method is used to prevent the public key from being tampered with or forged.

[0036] Exemplarily, the first information is disassembled to obtain the required first identification information. The disassembly process includes: determining which parts need to be extracted from the first information as the first identification information. According to a predefined rule or format, the first information is decomposed into multiple components, and the first identification information is extracted therefrom. The first identification information is a unique identifier corresponding to the first user.

[0037] For example, the first terminal will pre-process the credit card customer information that needs to be recommended for card binding, and encrypt the key fields that need to be homomorphically operated (such as the ID number) using the BGV public key, while the non-key fields may be encrypted using symmetric encryption algorithms such as AES. The encrypted data generates a file that is uploaded to the designated data exchange platform through a security protocol and sent to the second terminal. That is, the first terminal disassembles the first information and uses the ID number as the first identification information corresponding to the first user, and other information in the first information except the ID number as non-key fields may be encrypted using symmetric encryption algorithms such as AES.

[0038] Exemplarily, the first identification information is input into an encryption algorithm, and the second public key obtained from the second terminal is used to perform an encryption operation on the disassembled first identification information. After the encryption is completed, the result obtained is the first encryption result.

[0039] Specifically, by obtaining the second public key of the second terminal and using it to encrypt the first identification information, it is possible to ensure that the transmitted identification information is secure in the network. This encryption method ensures that the information will not be accessed or tampered with by unauthorized third parties during transmission. Since the first identification information is encrypted, the user's real identity information will not be directly exposed. This privacy protection measure prevents the leakage of sensitive information and helps protect the user's personal privacy. And using the second public key corresponding to the second terminal to encrypt the first identification information provides support for subsequent user information verification.

[0040] Step S102: Send the first encryption result corresponding to the first user to the second terminal, so that after receiving the first encryption result, the second terminal obtains the second information corresponding to the second user, and encrypts the second information to obtain the second encryption result; matches the first encryption result with the second encryption result to obtain a matching result; determines the target user corresponding to the first user according to the matching result; encrypts the target user and the matching result to obtain a third encryption result, and sends the third encryption result to the first terminal.

[0041] Exemplarily, the first encryption result corresponding to the first user is sent to a second terminal that is communicatively connected to the first terminal. The second terminal is a payment terminal, such as an Alipay platform, a WeChat payment platform, and the like.

[0042] Exemplarily, after the second terminal receives the first encryption result sent by the first terminal, the second terminal obtains the second information corresponding to the second user in its own platform, and then obtains the second identification information in the second information, and thereby uses the public key used by the first terminal to encrypt the first identification information to encrypt the second identification information in the second information to obtain the second encryption result.

[0043] For example, the first identification information is encrypted using the second public key obtained from the second terminal to obtain a first encryption result, and then the second terminal also uses the second public key obtained by the second terminal to encrypt the second identification information in the second information to obtain a second encryption result.

[0044] Exemplarily, after obtaining the second encryption result, the second terminal matches the first encryption result with the second encryption result to obtain a matching result. At this time, it is not necessary to decrypt the first encryption result and the second encryption result, but only to compare the first encryption result and the second encryption result at a preset position to obtain a corresponding matching result.

[0045] Exemplarily, when the matching result is greater than or equal to a preset value, it is determined that the first user corresponding to the first encryption result matches the second user corresponding to the second encryption result, that is, the first user and the second user are the same user, and thus the user in the second user who is represented as the same user as the first user is determined as the target user corresponding to the first user.

[0046] Exemplarily, the second terminal obtains a matching value corresponding to the target user from the matching result, and then encrypts the target user and the matching value corresponding to the target user using an encryption algorithm to obtain a third encryption result, and sends the third encryption result to the first terminal.

[0047] For example, the second terminal uses the first public key corresponding to the first terminal to encrypt the target user and the matching value corresponding to the target user to obtain a third encryption result.

[0048] Step S103: Receive the third encryption result corresponding to the second terminal, and decrypt the third encryption result to obtain the target user and the matching result.

[0049] Exemplarily, the third encryption result corresponding to the second terminal is received, and the third encryption result is decrypted according to a decryption algorithm corresponding to the encryption algorithm used when the third encryption result is obtained in the second terminal to obtain the target user and the matching result.

[0050] In some implementations, decrypting the third encryption result to obtain the target user and the matching result includes: obtaining a first private key corresponding to the first terminal; and decrypting the third encryption result according to the first private key to obtain the target user and the matching result.

[0051] Exemplarily, the second terminal uses the first public key corresponding to the first terminal to encrypt the target user and the matching value corresponding to the target user to obtain a third encryption result. After the first terminal receives the third encryption result corresponding to the second terminal, it uses the first private key corresponding to the first terminal to decrypt the third encryption result to obtain the corresponding target user and matching result.

[0052] Specifically, the third encryption result is decrypted using the first private key corresponding to the first terminal, ensuring that only the first terminal holding the private key can decrypt and access the information during the entire decryption process, which can effectively protect the user's privacy and sensitive data and avoid information leakage, thereby effectively protecting data security and user privacy, while providing accurate user identity information and matching results. This practice helps support the reliability of the system, the decision-making process, and ensures compliance with data protection and privacy protection requirements.

[0053] Step S104: Determine the information verification result corresponding to the first user according to the target user and the matching result.

[0054] For example, the usage rate of the first user corresponding to the first terminal in the second terminal is determined according to the target user, and the reliability of the usage rate can be determined according to the matching result. Thus, the information checking result corresponding to the first user is determined according to the target user and the matching result.

[0055] For example, the number of first users corresponding to the target user when the matching result is more than 90%, and the number of second users corresponding to the target user when the matching result is less than or equal to 90% but greater than 80% are counted. Thus, according to the above screening conditions, the number of first users and the number of second users are calculated, and then the degree of binding of the user's bank card in the first terminal by the second terminal is analyzed according to the above numbers, so as to obtain the success rate of binding the bank card or credit card corresponding to the first terminal in the second terminal.

[0056] For example, it is impossible to determine with 100% certainty that the target user is the same in the first terminal and the second terminal, and then the reliability of the same target user in the first terminal and the second terminal is determined by the matching result, so that the target user is screened according to the matching result, thereby obtaining the information verification result corresponding to the first user. Therefore, while protecting user privacy, the present application can also analyze whether the first user in the first terminal and the second user in the second terminal have the same target user.

[0057] In some embodiments, after obtaining the information verification result, the method further includes: determining the number of users corresponding to when the first user and the second user are consistent based on the information verification result; and performing information recommendation based on the number of users to determine a user strategy corresponding to the target user.

[0058] Exemplarily, the information verification result includes the number of users corresponding to different matching results, and then the usage rate corresponding to the first terminal when used in the second terminal is determined according to the number of users corresponding to the consistency between the first user and the second user. For example, the number of users is ratio-calculated with the number corresponding to the first user of the first terminal to obtain the usage rate corresponding to the first terminal when used in the second terminal.

[0059] Exemplarily, rules or algorithms for information recommendation are defined, and these rules may formulate user strategies based on factors such as usage rate and number of users.

[0060] For example, when the usage rate is high, the recommended strategy should encourage continued binding. For example, if a user frequently uses certain functions or services, this indicates that the user has a high dependence on the second terminal. It is recommended to recommend strategies for further binding with the second terminal, such as providing additional functions, service discounts, or enhanced permissions to consolidate the existing binding relationship. When the user's usage rate is low, the recommended strategy should help the user strengthen the willingness to bind with the second terminal. For example, low usage may indicate that the user is dissatisfied with the current binding status or fails to fully utilize the second terminal. It is recommended to recommend strategies that can attract user interest, such as providing trial periods, personalized service recommendations, or binding discounts, to increase users' willingness to bind and usage frequency. When the number of users is large, the recommended strategy should focus on maintaining and optimizing the experience of existing users. For example, a large number of users may require systematic improvements or additional support. It is recommended to develop strategies that can improve user satisfaction and loyalty, such as launching group activities, enhancing user support services, or conducting regular feedback surveys. When the number of users is small, the recommended strategy should focus on attracting more users or improving users' usage experience to increase the user base. It is recommended to adopt strategies to attract new users, such as launching referral rewards, user invitation mechanisms, or customized services for small user groups.

[0061] Specifically, by determining the consistency between the first user and the second user and the corresponding number of users according to the information verification results, the real identity and matching relationship of the users can be accurately identified. This improves the accuracy of data processing and reduces the possibility of mismatching. By determining the user consistency and the corresponding number of users according to the information verification results, and making information recommendations based on this, the accuracy of user matching can be effectively improved, information recommendations can be optimized, user experience can be enhanced, decision support can be improved, user stickiness can be enhanced, the flexibility and adaptability of strategies can be improved, and resource allocation can be optimized. These beneficial effects ultimately help improve the overall performance of the system and user satisfaction.

[0062] Please refer to Figure 2 , Figure 2 A flowchart of another method for verifying user information provided by an embodiment of the present invention.

[0063] like Figure 2 As shown, the method for checking user information is applied to the second terminal, and the method includes steps S201 to 205.

[0064] Step S201: Obtain a first encryption result corresponding to a first user sent by a first terminal.

[0065] Exemplarily, the second terminal is communicatively connected to the first terminal. When the first terminal encrypts the first identification information corresponding to the first user to obtain a first encryption result, the first terminal sends the first encryption result to the second terminal, so that the second terminal receives the first encryption result corresponding to the first identification information sent by the first terminal.

[0066] Step S202: Obtain second information corresponding to the second user, and encrypt the second information to obtain a second encryption result.

[0067] Exemplarily, the second terminal obtains the second information corresponding to the second user in its own platform, and then obtains the second identification information in the second information, and then uses the public key used by the first terminal to encrypt the first identification information to encrypt the second identification information in the second information to obtain the second encryption result.

[0068] For example, the first identification information is encrypted using the first public key obtained from the first terminal to obtain a first encryption result, and then the second terminal also uses the first public key obtained by the first terminal to encrypt the second identification information in the second information to obtain a second encryption result.

[0069] In some embodiments, encrypting the second information to obtain a second encryption result includes: obtaining a second public key corresponding to the second terminal; disassembling the second information to obtain second identification information corresponding to the second user; and encrypting the second identification information using the second public key to obtain the second encryption result.

[0070] Exemplarily, the first identification information is encrypted using the second public key obtained from the second terminal to obtain a first encryption result. Then, the second terminal decrypts the second information to obtain the second identification information corresponding to the second user, and then encrypts the second identification information using the second public key to obtain a second encryption result.

[0071] Specifically, the step of encrypting it with the second public key can not only significantly improve data security, enhance identity authentication, improve data integrity, protect privacy, support secure communications, optimize system trust, meet compliance requirements, and enhance the system's defense capabilities, but also obtain the first encryption result and the second encryption result through the same encryption method, which can provide good support for subsequent accurate information query results.

[0072] Step S203: performing information matching on the first encryption result and the second encryption result to obtain a matching result.

[0073] Exemplarily, after obtaining the second encryption result, the second terminal matches the first encryption result with the second encryption result to obtain a matching result. At this time, it is not necessary to decrypt the first encryption result and the second encryption result, but only to compare the first encryption result and the second encryption result at a preset position to obtain a corresponding matching result.

[0074] In one embodiment, the first encryption result and the second encryption result are matched to obtain a matching result. Specifically, referring to Figure 3 , step S203 includes: sub-step S2031 to sub-step S2033.

[0075] Sub-step S2031, setting a verification function, and comparing the first encryption result and the second encryption result bit by bit according to the verification function to obtain a comparison result.

[0076] Exemplarily, the second terminal creates an empty matching set, traverses the second encrypted result it has encrypted, and performs the following operations: searching for a matching hash value prefix in the first encrypted result provided by the first terminal. The second terminal calculates a check function (such as a bitwise XOR sum) between the encrypted hash values ​​corresponding to the first encrypted result and the second decrypted result to obtain a comparison result of the first encrypted result and the second encrypted result under the check function.

[0077] Sub-step S2032: When the comparison result meets a preset condition, the first user corresponding to the first encryption result is added to a matching set.

[0078] Exemplarily, the preset condition is a corresponding value at a preset position or satisfies a preset value. When the comparison result satisfies the preset condition, it is inferred whether there is a possibility of a match between the first user corresponding to the first encryption result and the second user corresponding to the second encryption result. Thus, when the comparison result satisfies the preset condition, the first user corresponding to the first encryption result is added to the matching set. When the comparison result does not satisfy the preset condition, the first user corresponding to the first encryption result cannot be added to the matching set.

[0079] Sub-step S2033: determining the matching result according to the matching set and the comparison result.

[0080] Exemplarily, a matching value corresponding to each user in the matching set is obtained from the comparison result, and then each user in the matching set and the matching value corresponding to each user are determined as the matching result.

[0081] Specifically, by setting a verification function and comparing the first encryption result and the second encryption result bit by bit, it is possible to accurately verify whether the two encryption results are consistent. This meticulous comparison method helps to ensure the matching degree of the data after encryption, thereby verifying the accuracy and consistency of the data. By adding the first user corresponding to the first encryption result that meets the preset conditions to the matching set, it is possible to systematically manage and record those users who have successfully matched. This helps to improve the accuracy of the matching and ensures that only users who are considered to be matched under strict conditions enter the set. This provides support for obtaining accurate information verification results in the future.

[0082] Step S204: Determine a target user corresponding to the first user according to the matching result.

[0083] Exemplarily, when the comparison result in the matching result is greater than a preset value, the user corresponding to the comparison result is determined as the target user.

[0084] Step S205: encrypt the target user and the matching result to obtain a third encryption result, and send the third encryption result to the first terminal, so that the first terminal determines the information verification result corresponding to the first user according to the third encryption result.

[0085] Exemplarily, the second terminal uses a set encryption algorithm to encrypt the target user and the matching value corresponding to the target user in the matching result to obtain a third encryption result, and then sends the third encryption result to the first terminal, so that the first terminal determines the information verification result corresponding to the first user based on the third encryption result.

[0086] In some implementations, encrypting the target user and the matching result to obtain a third encrypted result includes: obtaining a first public key corresponding to the first terminal; and encrypting the target user and the matching result according to the first public key to obtain the third encrypted result.

[0087] Exemplarily, the second terminal obtains the first public key corresponding to the first terminal, and then uses the first public key to encrypt the target user and the matching result to obtain a third encryption result, so that after obtaining the third encryption result, the first terminal uses the first private key corresponding to the first terminal to decrypt the third encryption result to obtain the target user and the matching result.

[0088] Specifically, by obtaining the first public key corresponding to the first terminal and encrypting the target user and the matching result, the security of these data during transmission can be ensured. Even if the data is intercepted, it cannot be decrypted without the corresponding private key, thereby effectively preventing data leakage and illegal access.

[0089] Please refer to Figure 4 , Figure 4A schematic diagram of a scenario for implementing the method for checking user information provided in this embodiment, such as Figure 4 As shown, the first terminal obtains the first information corresponding to the first user, and obtains the second public key corresponding to the second terminal; the first information is disassembled to obtain the first identification information corresponding to the first user; the first identification information is encrypted using the second public key to obtain the first encryption result, and the first encryption result corresponding to the first user is sent to the second terminal. After receiving the first encryption result, the second terminal obtains the second information corresponding to the second user, disassembles the second information to obtain the second identification information corresponding to the second user; the second identification information is encrypted using the second public key to obtain the second encryption result; the second terminal matches the first encryption result with the second encryption result to obtain the matching result; the target user corresponding to the first user is determined according to the matching result; the second terminal obtains the first public key corresponding to the first terminal; the target user and the matching result are encrypted according to the first public key to obtain the third encryption result, and the third encryption result is sent to the first terminal; the first terminal receives the third encryption result corresponding to the second terminal, and decrypts the third encryption result to obtain the target user and the matching result; the first terminal finally determines the information verification result corresponding to the first user according to the target user and the matching result. This encryption matching mechanism solves the contradiction between privacy protection and effective use of data in traditional technologies. In many existing systems, privacy protection often leads to inefficient information verification, but this method overcomes this problem through innovative encryption and matching processes, improving the efficiency and accuracy of information verification. Overall, this method optimizes the user identity verification process on the basis of ensuring information security and privacy protection, and effectively improves the performance and reliability of the system.

[0090] See also Figure 5 , Figure 5 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present invention.

[0091] like Figure 5 As shown, the terminal device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected via a bus 303, such as an I2C (Inter-integrated Circuit) bus.

[0092] Specifically, the processor 301 is used to provide computing and control capabilities to support the operation of the entire terminal device. The processor 301 can be a central processing unit (CPU), and the processor 301 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0093] Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.

[0094] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a partial structure related to the embodiment of the present invention, and does not constitute a limitation on the terminal device to which the embodiment of the present invention is applied. The specific server may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0095] The processor is used to run a computer program stored in the memory, and implement any one of the user information verification methods provided by the embodiments of the present invention when executing the computer program.

[0096] In one embodiment, the processor is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:

[0097] Obtaining first information corresponding to a first user, and encrypting the first information to obtain a first encryption result;

[0098] The first encryption result corresponding to the first user is sent to a second terminal, so that after receiving the first encryption result, the second terminal obtains second information corresponding to the second user, and encrypts the second information to obtain a second encryption result; matches the first encryption result with the second encryption result to obtain a matching result; determines a target user corresponding to the first user according to the matching result; encrypts the target user and the matching result to obtain a third encryption result, and sends the third encryption result to the first terminal;

[0099] receiving the third encryption result corresponding to the second terminal, and decrypting the third encryption result to obtain the target user and the matching result;

[0100] An information verification result corresponding to the first user is determined according to the target user and the matching result.

[0101] In some implementations, the processor 301, during the process of encrypting the first information to obtain the first encryption result, executes:

[0102] Obtaining a second public key corresponding to the second terminal;

[0103] Decomposing the first information to obtain first identification information corresponding to the first user;

[0104] The first identification information is encrypted using the second public key to obtain the first encryption result.

[0105] In some implementations, during the process of decrypting the third encryption result to obtain the target user and the matching result, the processor 301 executes:

[0106] Obtaining a first private key corresponding to the first terminal;

[0107] The third encryption result is decrypted according to the first private key to obtain the target user and the matching result.

[0108] In some implementations, after obtaining the information verification result, the processor 301 further executes:

[0109] Determine, according to the information checking result, the number of users corresponding to when the first user and the second user are consistent;

[0110] Information recommendation is performed according to the number of users to determine a user strategy corresponding to the target user.

[0111] In one embodiment, the processor is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:

[0112] Obtaining a first encryption result corresponding to a first user sent by a first terminal;

[0113] Obtaining second information corresponding to a second user, and encrypting the second information to obtain a second encryption result;

[0114] Performing information matching on the first encryption result and the second encryption result to obtain a matching result;

[0115] Determine a target user corresponding to the first user according to the matching result;

[0116] The target user and the matching result are encrypted to obtain a third encryption result, and the third encryption result is sent to the first terminal, so that the first terminal determines the information verification result corresponding to the first user according to the third encryption result.

[0117] In some implementations, the processor 301, in the process of encrypting the second information to obtain the second encryption result, executes:

[0118] Obtaining a second public key corresponding to the second terminal;

[0119] Decomposing the second information to obtain second identification information corresponding to the second user;

[0120] The second identification information is encrypted using the second public key to obtain the second encryption result.

[0121] In some implementations, the processor 301, in the process of encrypting the target user and the matching result to obtain a third encrypted result, executes:

[0122] Obtaining a first public key corresponding to the first terminal;

[0123] The target user and the matching result are encrypted according to the first public key to obtain the third encryption result.

[0124] In some implementations, the processor 301, in the process of performing information matching between the first encryption result and the second encryption result to obtain a matching result, executes:

[0125] Setting a check function, and comparing the first encryption result and the second encryption result bit by bit according to the check function to obtain a comparison result;

[0126] When the comparison result meets the preset condition, the first user corresponding to the first encryption result is added to the matching set;

[0127] The matching result is determined according to the matching set and the comparison result.

[0128] It should be noted that technical personnel in the relevant field can clearly understand that for the convenience and brevity of description, the specific working process of the terminal device described above can refer to the corresponding process in the aforementioned user information verification method embodiment, and will not be repeated here.

[0129] An embodiment of the present invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any user information verification method provided in the description of the embodiment of the present invention.

[0130] The storage medium may be an internal storage unit of the terminal device described in the foregoing embodiment, such as a hard disk or memory of the terminal device. The storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc., equipped on the terminal device.

[0131] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0132] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0133] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for checking user information, characterized in that: Applied to a first terminal, the method includes: Obtaining first information corresponding to a first user, and encrypting the first information to obtain a first encryption result; The first encryption result corresponding to the first user is sent to a second terminal, so that after receiving the first encryption result, the second terminal obtains second information corresponding to the second user, and encrypts the second information to obtain a second encryption result; matches the first encryption result with the second encryption result to obtain a matching result; determines a target user corresponding to the first user according to the matching result; encrypts the target user and the matching result to obtain a third encryption result, and sends the third encryption result to the first terminal; receiving the third encryption result corresponding to the second terminal, and decrypting the third encryption result to obtain the target user and the matching result; An information verification result corresponding to the first user is determined according to the target user and the matching result.

2. The method according to claim 1, characterized in that The encrypting the first information to obtain a first encryption result includes: Obtaining a second public key corresponding to the second terminal; Decomposing the first information to obtain first identification information corresponding to the first user; The first identification information is encrypted using the second public key to obtain the first encryption result.

3. The method according to claim 1, characterized in that: The decrypting the third encryption result to obtain the target user and the matching result includes: Obtaining a first private key corresponding to the first terminal; The third encryption result is decrypted according to the first private key to obtain the target user and the matching result.

4. The method according to claim 1, characterized in that: After obtaining the information verification result, the method further includes: Determine, according to the information checking result, the number of users corresponding to when the first user and the second user are consistent; Information recommendation is performed according to the number of users to determine a user strategy corresponding to the target user.

5. A method for checking user information, characterized in that: Applied to the second terminal, the method includes: Obtaining a first encryption result corresponding to a first user sent by a first terminal; Obtaining second information corresponding to a second user, and encrypting the second information to obtain a second encryption result; Performing information matching on the first encryption result and the second encryption result to obtain a matching result; Determine a target user corresponding to the first user according to the matching result; The target user and the matching result are encrypted to obtain a third encryption result, and the third encryption result is sent to the first terminal, so that the first terminal determines the information verification result corresponding to the first user according to the third encryption result.

6. The method according to claim 5, characterized in that The encrypting the second information to obtain a second encryption result includes: Obtaining a second public key corresponding to the second terminal; Decomposing the second information to obtain second identification information corresponding to the second user; The second identification information is encrypted using the second public key to obtain the second encryption result.

7. The method according to claim 5, characterized in that Encrypting the target user and the matching result to obtain a third encrypted result includes: Obtaining a first public key corresponding to the first terminal; The target user and the matching result are encrypted according to the first public key to obtain the third encryption result.

8. The method according to claim 5, characterized in that The performing information matching on the first encryption result and the second encryption result to obtain a matching result includes: Setting a check function, and comparing the first encryption result and the second encryption result bit by bit according to the check function to obtain a comparison result; When the comparison result meets the preset condition, the first user corresponding to the first encryption result is added to the matching set; The matching result is determined according to the matching set and the comparison result.

9. A terminal device, characterized in that: The terminal device includes a processor and a memory; The memory is used to store computer programs; The processor is used to execute the computer program and implement the user information verification method according to any one of claims 1 to 8 when executing the computer program.

10. A computer storage medium for computer storage, characterized in that: The computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the user information verification method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Identity card reading terminal in identity card authentication system

    CN106027474A

  • Privacy information protection method and system, server and receiving terminal

    CN107786566A

  • Position information determination method and device, server and storage medium

    CN116233225A

  • Data encryption method and device and electronic equipment

    CN117421757A

  • Identity Information Processing Method, Device, and System

    US20230379155A1