Account association method and device

By generating and verifying unique association codes on the client, the problem of independent association of multiple clients is solved, account association between applets on different platforms is realized, and user experience and security are improved.

CN114629659BActive Publication Date: 2024-08-23KEYOUTU BLOCKCHAIN RES (GUANGZHOU) CENT (LLP)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210391102.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-14
Publication Date
2024-08-23
Estimated Expiration
2042-04-14

AI Technical Summary

Technical Problem

In the existing technology, multiple clients are independent and cannot be associated, causing users to separately maintain account information for each platform, which increases the user's burden.

Method used

By generating a unique association code on the first client and associating the two accounts after verification on the second client, account association between applets on different platforms is achieved. The method includes generating core data based on the account number and timestamp, hashing and encrypting it, combining it with the server signature to generate an association code, and verifying it in the account association code list.

Benefits of technology

It realizes account association between small programs on different platforms, reduces users' burden of maintaining multiple accounts, and improves the convenience and security of account management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114629659B
    Figure CN114629659B
Patent Text Reader

Abstract

An account association method and device, belonging to the field of the Internet, realizes the function of associating accounts between mini-programs based on different platforms. The method includes: when a first client successfully logs in using a first account, based on the first account, generating a first association code for the first account, and sending the first association code to the first client, wherein the first association code is unique; when a second client successfully logs in using a second account and receives an account association request including the first association code, verifying the first association code; when the first association code is successfully verified, associating the first account with the second account.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet, and in particular to an account association method and device. Background Art

[0002] Currently, multiple clients are independent of each other and have been platformized. Multiple mini-programs that rely on these clients cannot be associated with each other. For example, the Douyin and WeChat platforms are relatively independent. In order to carry out the same / same type of business on the two platforms, two mini-programs need to be developed for Douyin and WeChat respectively, and the users of the two mini-programs cannot be associated, resulting in the formation of isolated islands for users of the two mini-programs. Users need to maintain information such as balances and delivery addresses in the two accounts separately, which brings unnecessary burdens to users.

[0003] In many cases, the same user has registered a target mini-program on both the TikTok platform and the WeChat platform. A method and device are needed to allow users to link accounts between mini-programs based on different platforms. Summary of the invention

[0004] Embodiments of the present invention provide an account association method and device to implement the function of associating accounts between mini-programs based on different platforms.

[0005] On the one hand, an account association method is provided, which is executed by a server, and the method includes:

[0006] When the first client successfully logs in using the first account, generating a first association code for the first account based on the first account, and sending the first association code to the first client, wherein the first association code is unique;

[0007] When the second client successfully logs in using the second account and receives an account association request including the first association code, verifying the first association code;

[0008] When the first association code is successfully verified, the first account and the second account are associated.

[0009] Optionally, in one embodiment of the present application, generating a first association code for the first account based on the first account includes:

[0010] Generate core data based on the first account and timestamp;

[0011] Performing a hash operation on the core data to obtain a core data hash;

[0012] Encrypting the core data and the core data hash using a private key to obtain a core data ciphertext;

[0013] Performing a hash operation on the core data ciphertext and the server's signature to obtain a server signature;

[0014] The core data ciphertext and the server signature are combined to obtain a first association code for the first account.

[0015] Optionally, in one embodiment of the present application, the method further includes:

[0016] After generating the first association code of the first account, writing the first account and the first association code as a record into an account association code list, and storing the account association list;

[0017] The verifying the first association code includes: searching the first association code of the first account in the account association code list to determine whether the first association code exists in the account association code list; if the first association code exists in the account association code list, verifying the first association code; if the first association code does not exist in the account association code list, verification of the first association code fails.

[0018] Optionally, in one embodiment of the present application, when the first association code includes a server signature, a core data hash, and a timestamp, the verifying the first association code includes:

[0019] Verify the server signature and the core data hash, and after the server signature and the core data hash are verified, check whether the timestamp is within the valid time period; if it is within the valid time period, determine that the first association code verification is successful.

[0020] Optionally, in an embodiment of the present application, the length of the first associated code is greater than a preset length, and the first associated code has a valid time period.

[0021] In another aspect, an account association method is provided, which is executed by a first client, and the method includes:

[0022] When the first client successfully logs in using the first account, receiving the first association code of the first account, wherein the first association code is unique;

[0023] When the second client successfully logs in using the second account, an account association request including the first association code is sent to the server, so that the server verifies the first association code, and associates the first account with the second account when the verification of the first association code succeeds.

[0024] Optionally, in one embodiment of the present application, the method further includes:

[0025] After receiving the first association code of the first account, generating a QR code based on the first association code, wherein the QR code is associated with a specified URL;

[0026] The sending the account association request of the first association code to the server includes: sending the account association request of the first association code to the server by scanning the QR code.

[0027] In another aspect, an account association device is provided, the device comprising:

[0028] A generating module, configured to generate a first association code for the first account based on the first account when the first client successfully logs in using the first account, and send the first association code to the first client, wherein the first association code is unique;

[0029] A verification module, configured to verify the first association code when the second client successfully logs in using the second account and receives an account association request including the first association code;

[0030] The association module is used to associate the first account with the second account when the first association code is successfully verified.

[0031] Optionally, in one embodiment of the present application, in the process of generating the first associated code of the first account based on the first account, the generating module is specifically used to:

[0032] Generate core data based on the first account and timestamp;

[0033] Performing a hash operation on the core data to obtain a core data hash;

[0034] Encrypting the core data and the core data hash using a private key to obtain a core data ciphertext;

[0035] Performing a hash operation on the core data ciphertext and the server's signature to obtain a server signature;

[0036] The core data ciphertext and the server signature are combined to obtain a first association code for the first account.

[0037] Optionally, in one embodiment of the present application, the device further includes:

[0038] a storage module, configured to, after generating a first association code for the first account, write the first account and the first association code as a record into an account association code list, and store the account association list;

[0039] In the process of verifying the first associated code, the verification module is specifically used to: search for the first associated code of the first account in the account associated code list to determine whether the first associated code exists in the account associated code list; if the first associated code exists in the account associated code list, verify the first associated code; if the first associated code does not exist in the account associated code list, verification of the first associated code fails.

[0040] Optionally, in one embodiment of the present application, when the first association code includes a server signature, a core data hash, and a timestamp, in the process of verifying the first association code, the verification module is specifically used to:

[0041] Verify the server signature and the core data hash, and after the server signature and the core data hash are verified, check whether the timestamp is within the valid time period; if it is within the valid time period, determine that the first association code verification is successful.

[0042] Optionally, in an embodiment of the present application, the length of the first associated code is greater than a preset length, and the first associated code has a valid time period.

[0043] In another aspect, an account association device is provided, the device comprising:

[0044] A receiving module, configured to receive the first associated code of the first account when the first client logs in using the first account, wherein the first associated code is unique;

[0045] The sending module is used to send an account association request including the first association code to the server when the second client successfully logs in using the second account, so that the server verifies the first association code, and associates the first account with the second account when the verification of the first association code is successful.

[0046] Optionally, in one embodiment of the present application, the method further includes:

[0047] After receiving the first association code of the first account, generating a QR code based on the first association code, wherein the QR code is associated with a specified URL;

[0048] The sending the account association request of the first association code to the server includes: sending the account association request of the first association code to the server by scanning the QR code.

[0049] The technical solution provided by the embodiment of the present invention has the following beneficial effects:

[0050] In an embodiment of the present application, when the first client successfully logs in using the first account, a first association code for the first account can be generated based on the first account, and the first association code can be sent to the first client. Subsequently, when the second client successfully logs in using the second account and receives an account association request including the first association code, the first association code is verified, and when the first association code is successfully verified, the first account and the second account are associated. In this way, since the first client and the second client rely on different platforms, a first account has a unique first association code. When logging in to the second account, by verifying the first association code, it can be determined whether the first account and the second account need to be associated, and when the verification is successful, the first account and the second account can be associated, thereby realizing the function of associating accounts between mini-programs based on different platforms. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0052] Figure 1A is a schematic diagram of an account association method provided by an embodiment of the present invention;

[0053] Figure 1B is a flow chart of an account association method provided by an embodiment of the present invention;

[0054] Figure 2 is a flow chart of another account association method provided by an embodiment of the present invention;

[0055] Figure 3 It is a structural block diagram of an account association device provided in an embodiment of the present application;

[0056] Figure 4 It is a structural block diagram of another account association device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0058] Figure 1A Schematic diagram of an account association method provided by an embodiment of the present invention. Figure 1A The account association method provided in the embodiment of the present invention involves a server, a first client, and a second client. The first client and the second client may be applications (such as mini programs). The first client and the second client may rely on different platforms. In the process of account association, the first client logs in using the first account. When the first client successfully logs in using the first account, the server generates a first association code for the first account based on the first account, and sends the first association code to the first client. After receiving the first association code, the first client may obtain the first association code by copying or other means. When the second client successfully logs in using the second account, if the user wants to associate the first account with the second account, the first association code may be entered by pasting or other means on the second client, and then an account association request including the first association code may be sent to the server. After receiving the account association request, the server may verify the first association code; when the verification of the first association code is successful, the first account and the second account are associated. After the first account and the second account are associated, the function of associating accounts between clients based on different platforms may be realized. After associating the accounts, a variety of functions may be used according to the user's choice, such as merging the balance of the account.

[0059] Figure 1B 1 is a flowchart of an account association method provided by an embodiment of the present invention. Figure 1B The account association method provided in the embodiment of the present invention may be executed by the server and may include:

[0060] Step 110: when the first client successfully logs in using the first account, a first association code of the first account is generated based on the first account, and the first association code is sent to the first client, wherein the first association code is unique;

[0061] The first association code is the account credential of the first account, which can be obtained only after logging in. The second account may have a second association code, the third account may have a third association code, and so on. The account association codes of different accounts are different.

[0062] Among them, the client in the embodiment of the present application can be an application. One account can correspond to one application, and different accounts can correspond to different applications. The application can be a mini program or a formal application. For example, WeChat mini program, Douyin program, etc.

[0063] Step 120, when the second client successfully logs in using the second account and receives an account association request including the first association code, verify the first association code;

[0064] Step 130: When the first association code is successfully verified, the first account and the second account are associated.

[0065] The first account and the second account may correspond to accounts of different applications developed by different development companies.

[0066] In an embodiment of the present application, when a first client successfully logs in using a first account, a first association code for the first account can be generated based on the first account, and the first association code can be sent to the first client. Subsequently, when a second client successfully logs in using a second account and receives an account association request including the first association code, the first association code is verified, and when the first association code is successfully verified, the first account and the second account are associated. In this way, a first account has a unique first association code. When logging in to the second account, by verifying the first association code, it can be determined whether the first account and the second account need to be associated, and when the verification is successful, the first account and the second account can be associated, thereby realizing the function of associating accounts between mini-programs based on different platforms. After associating the accounts, a variety of functions can be used according to the user's choice, such as merging the balance of the account.

[0067] Optionally, in one embodiment of the present application, generating a first association code for the first account based on the first account includes:

[0068] Generate core data based on the first account and timestamp;

[0069] Performing a hash operation on the core data to obtain a core data hash;

[0070] Encrypting the core data and the core data hash using a private key to obtain a core data ciphertext;

[0071] Performing a hash operation on the core data ciphertext and the server's signature to obtain a server signature;

[0072] The core data ciphertext and the server signature are combined to obtain a first association code for the first account.

[0073] In this way, the security of the first associated code can be improved, ensuring that the content of the first associated code is not easily leaked or decrypted.

[0074] Optionally, in one embodiment of the present application, the method further includes:

[0075] After generating the first association code of the first account, writing the first account and the first association code as a record into an account association code list, and storing the account association list;

[0076] The verifying the first association code includes: searching the first association code of the first account in the account association code list to determine whether the first association code exists in the account association code list; if the first association code exists in the account association code list, verifying the first association code; if the first association code does not exist in the account association code list, verification of the first association code fails.

[0077] In this way, the verification speed can be greatly improved by storing the account association list.

[0078] Optionally, in one embodiment of the present application, when the first association code includes a server signature, a core data hash, and a timestamp, the verifying the first association code includes:

[0079] Verify the server signature and the core data hash, and after the server signature and the core data hash are verified, check whether the timestamp is within the valid time period; if it is within the valid time period, determine that the first association code verification is successful.

[0080] In this way, there is no need to store the account association list, saving storage space.

[0081] Optionally, in one embodiment of the present application, the length of the first associated code is greater than a preset length. In this way, the first associated code can be prevented from being peeped and the difficulty of memorization can be increased. At the same time, the first associated code can have a valid time period to increase the difficulty of being stolen.

[0082] In the embodiment of the present application, the association codes of each account including the first association code may have similar characteristics to the first association code, that is, the length is greater than the preset length and has a valid time period. At the same time, the association codes of each account may have no similarity, or some kind of regularity, and it is impossible to infer the association code of one account from the association code of another account.

[0083] The following is an example. For example, the first account can be a WeChat account, and the second account can be a Douyin account. The user can use the first account to log in to WeChat and enter the WeChat applet end. The WeChat applet end applies for the first association code of the first account from the server end through the network. The server end generates a first account association code for the first account and returns it to the WeChat applet end. The WeChat applet end can directly display the first account association code, or display the first account association code in the form of a QR code. The user logs in to Douyin using the second account. You can enter the account association page of the Douyin applet end, paste or enter the first account's first association code (or, when the first account association code is displayed in the form of a QR code, you can use the Douyin applet segment's scan to identify the URL in the QR code), and send an account association request to the server end through the network. The server end can decode the first account's first association code and verify it. After the verification is passed, check whether the timestamp is within the valid time period. If it is within the valid time period, the first account and the second account are associated.

[0084] Figure 2 1 is a flowchart of an account association method provided by an embodiment of the present invention. Figure 2 The account association method provided in the embodiment of the present invention may be executed by a terminal device and may include:

[0085] Step 210, when the first client successfully logs in using the first account, receiving the first association code of the first account, wherein the first association code is unique;

[0086] The first association code is the account credential of the first account, which can be obtained only after logging in. The second account may have a second association code, the third account may have a third association code, and so on. The account association codes of different accounts are different.

[0087] Among them, the client in the embodiment of the present application can be an application. One account can correspond to one application, and different accounts can correspond to different applications. The application can be a mini program or a formal application. For example, WeChat mini program, Douyin program, etc.

[0088] Among them, the terminal device in the embodiment of the present application can be a terminal device that carries the first client and the second client.

[0089] Step 220, when the second client successfully logs in using the second account, sends an account association request including the first association code to the server, so that the server verifies the first association code, and associates the first account with the second account when the first association code verification succeeds.

[0090] In the embodiment of the present application, each first account has a unique first association code. When the second account is successfully logged in, the first association code can be verified to determine whether the first account and the second account need to be associated. When the verification is successful, the first account and the second account can be associated, thereby realizing the function of associating accounts between mini-programs based on different platforms. After associating the accounts, various functions can be used according to the user's choice, such as merging the balance of the accounts.

[0091] Optionally, in one embodiment of the present application, the method further includes:

[0092] After receiving the first association code of the first account, generating a QR code based on the first association code, wherein the QR code is associated with a specified URL;

[0093] The sending the account association request of the first association code to the server includes: sending the account association request of the first association code to the server by scanning the QR code.

[0094] In this way, scanning the QR code will make the operation more convenient.

[0095] The following is an example. For example, the first account can be a WeChat account, and the second account can be a Douyin account. The user can use the first account to log in to WeChat and enter the WeChat applet end. The WeChat applet end applies for the first association code of the first account from the server end through the network. The server end generates a first account association code for the first account and returns it to the WeChat applet end. The WeChat applet end can directly display the first account association code, or display the first account association code in the form of a QR code. The user logs in to Douyin using the second account. You can enter the account association page of the Douyin applet end, paste or enter the first account's first association code (or, when the first account association code is displayed in the form of a QR code, you can use the Douyin applet segment's scan to identify the URL in the QR code), and send an account association request to the server end through the network. The server end can decode the first account's first association code and verify it. After the verification is passed, check whether the timestamp is within the valid time period. If it is within the valid time period, the first account and the second account are associated.

[0096] Figure 3 is a structural block diagram of an account association device provided in an embodiment of the present application. Figure 3 , the account association device provided in the embodiment of the present application includes:

[0097] A generating module 310 is configured to generate a first association code for a first account based on a first account when a first client successfully logs in using the first account, and send the first association code to the first client, wherein the first association code is unique;

[0098] A verification module 320, configured to verify the first association code when the second client successfully logs in using the second account and receives an account association request including the first association code;

[0099] The association module 330 is configured to associate the first account with the second account when the first association code is successfully verified.

[0100] In an embodiment of the present application, when a first client successfully logs in using a first account, a first association code for the first account can be generated based on the first account, and the first association code can be sent to the first client. Subsequently, when a second client successfully logs in using a second account and receives an account association request including the first association code, the first association code is verified, and when the first association code is successfully verified, the first account and the second account are associated. In this way, a first account has a unique first association code. When logging in to the second account, by verifying the first association code, it can be determined whether the first account and the second account need to be associated, and when the verification is successful, the first account and the second account can be associated, thereby realizing the function of associating accounts between mini-programs based on different platforms. After associating the accounts, a variety of functions can be used according to the user's choice, such as merging the balance of the account.

[0101] Optionally, in one embodiment of the present application, in the process of generating the first associated code of the first account based on the first account, the generating module is specifically used to:

[0102] Generate core data based on the first account and timestamp;

[0103] Performing a hash operation on the core data to obtain a core data hash;

[0104] Encrypting the core data and the core data hash using a private key to obtain a core data ciphertext;

[0105] Performing a hash operation on the core data ciphertext and the server's signature to obtain a server signature;

[0106] The core data ciphertext and the server signature are combined to obtain a first association code for the first account.

[0107] In this way, the security of the first associated code can be improved, ensuring that the content of the first associated code is not easily leaked or decrypted.

[0108] Optionally, in one embodiment of the present application, the device further includes:

[0109] a storage module, configured to, after generating a first association code for the first account, write the first account and the first association code as a record into an account association code list, and store the account association list;

[0110] In the process of verifying the first associated code, the verification module is specifically used to: search for the first associated code of the first account in the account associated code list to determine whether the first associated code exists in the account associated code list; if the first associated code exists in the account associated code list, verify the first associated code; if the first associated code does not exist in the account associated code list, verification of the first associated code fails.

[0111] In this way, the verification speed can be greatly improved by storing the account association list.

[0112] Optionally, in one embodiment of the present application, when the first association code includes a server signature, a core data hash, and a timestamp, in the process of verifying the first association code, the verification module is specifically used to:

[0113] Verify the server signature and the core data hash, and after the server signature and the core data hash are verified, check whether the timestamp is within the valid time period; if it is within the valid time period, determine that the first association code verification is successful.

[0114] In this way, there is no need to store the account association list, saving storage space.

[0115] Optionally, in an embodiment of the present application, the length of the first associated code is greater than a preset length, and the first associated code has a valid time period.

[0116] Figure 4 is a structural block diagram of an account association device provided in an embodiment of the present application. Figure 4 , the account association device provided in the embodiment of the present application includes:

[0117] The receiving module 410 is used to receive the first association code of the first account when the first client logs in using the first account, wherein the first association code is unique;

[0118] The sending module 420 is used to send an account association request including the first association code to the server when the second client successfully logs in using the second account, so that the server verifies the first association code and associates the first account with the second account when the verification of the first association code is successful.

[0119] In the embodiment of the present application, each first account has a unique first association code. When the second account is successfully logged in, the first association code can be verified to determine whether the first account and the second account need to be associated. When the verification is successful, the first account and the second account can be associated, thereby realizing the function of associating accounts between mini-programs based on different platforms. After associating the accounts, various functions can be used according to the user's choice, such as merging the balance of the accounts.

[0120] Optionally, in one embodiment of the present application, the method further includes:

[0121] After receiving the first association code of the first account, generating a QR code based on the first association code, wherein the QR code is associated with a specified URL;

[0122] The sending the account association request of the first association code to the server includes: sending the account association request of the first association code to the server by scanning the QR code.

[0123] In this way, scanning the QR code will make the operation more convenient.

[0124] It should be noted that the account association device and the account association method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, which will not be repeated here.

[0125] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

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

[0127] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0128] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An account association method, characterized in that: Executed by the server, the method includes: When the first client successfully logs in using the first account, generating a first association code for the first account based on the first account, and sending the first association code to the first client, wherein the first association code is unique and is the account credential of the first account; When the second client successfully logs in using the second account and the server receives the account association request including the first association code sent by the second client, verifying the first association code; When the first association code is successfully verified, associating the first account with the second account; The step of generating a first associated code for the first account based on the first account includes: Generate core data based on the first account and timestamp; Performing a hash operation on the core data to obtain a core data hash; Encrypting the core data and the core data hash using a private key to obtain a core data ciphertext; Performing a hash operation on the core data ciphertext and the server's signature to obtain a server signature; The core data ciphertext and the server signature are combined to obtain a first association code for the first account.

2. The method according to claim 1, characterized in that: The method further comprises: After generating the first association code of the first account, writing the first account and the first association code as a record into an account association code list, and storing the account association list; The verifying the first association code includes: searching the first association code of the first account in the account association code list to determine whether the first association code exists in the account association code list; if the first association code exists in the account association code list, verifying the first association code; if the first association code does not exist in the account association code list, verification of the first association code fails.

3. The method according to claim 2, characterized in that In the case where the first association code includes a server signature, a core data hash, and a timestamp, the verifying the first association code includes: Verify the server signature and the core data hash, and after the server signature and the core data hash are verified, check whether the timestamp is within the valid time period; if it is within the valid time period, determine that the first association code verification is successful.

4. The method according to claim 1, characterized in that: The length of the first associated code is greater than a preset length, and the first associated code has a valid time period.

5. An account association method, characterized in that: The method is performed by a terminal device that carries the first client and the second client, and includes: When the first client successfully logs in using the first account, the terminal device receives a first associated code of the first account, wherein the first associated code is unique and is the account credential of the first account; When the second client successfully logs in using the second account, the terminal device sends an account association request including the first association code to the server through the second client, so that the server verifies the first association code, and associates the first account with the second account when the verification of the first association code succeeds; Among them, the first association code is generated by the server in the following manner: based on the first account and timestamp, generate core data; perform hash operation on the core data to obtain core data hash; use a private key to encrypt the core data and the core data hash to obtain core data ciphertext; perform hash operation on the core data ciphertext and the server's signature to obtain a server signature; combine the core data ciphertext and the server signature to obtain the first association code of the first account.

6. The method according to claim 5, characterized in that The method further comprises: After receiving the first association code of the first account, generating a QR code based on the first association code, wherein the QR code is associated with a specified URL; The sending the account association request of the first association code to the server includes: sending the account association request of the first association code to the server by scanning the QR code.

7. An account association device, characterized in that: The device comprises: A generating module, configured to generate a first association code for the first account based on the first account when the first client successfully logs in using the first account, and send the first association code to the first client, wherein the first association code is unique and is the account credential of the first account; A verification module, configured to verify the first association code when the second client successfully logs in using the second account and receives an account association request including the first association code sent by the second client; an association module, configured to associate the first account with the second account when the first association code is successfully verified; In the process of generating the first associated code of the first account based on the first account, the generating module is specifically used for: Generate core data based on the first account and timestamp; Performing a hash operation on the core data to obtain a core data hash; Encrypting the core data and the core data hash using a private key to obtain a core data ciphertext; Performing a hash operation on the core data ciphertext and the server's signature to obtain a server signature; The core data ciphertext and the server signature are combined to obtain a first association code for the first account.

8. The device according to claim 7, characterized in that The device also includes: a storage module, configured to, after generating a first association code for the first account, write the first account and the first association code as a record into an account association code list, and store the account association list; In the process of verifying the first associated code, the verification module is specifically used to: search for the first associated code of the first account in the account associated code list to determine whether the first associated code exists in the account associated code list; if the first associated code exists in the account associated code list, verify the first associated code; if the first associated code does not exist in the account associated code list, verification of the first associated code fails.

9. The device according to claim 8, characterized in that In the case where the first association code includes a server signature, a core data hash, and a timestamp, in the process of verifying the first association code, the verification module is specifically used to: Verify the server signature and the core data hash, and after the server signature and the core data hash are verified, check whether the timestamp is within the valid time period; if it is within the valid time period, determine that the first association code verification is successful.

10. The device according to claim 7, characterized in that The length of the first associated code is greater than a preset length, and the first associated code has a valid time period.

11. An account association device, characterized in that: The device carries a first client and a second client, and includes: A receiving module, configured to receive a first association code of a first account when a first client logs in using a first account, wherein the first association code is unique and is an account credential of the first account; a sending module, configured to send an account association request including the first association code to a server through the second client when the second client successfully logs in using the second account, so that the server verifies the first association code, and associates the first account with the second account when the verification of the first association code succeeds; Among them, the first association code is generated by the server in the following manner: based on the first account and timestamp, generate core data; perform hash operation on the core data to obtain core data hash; use a private key to encrypt the core data and the core data hash to obtain core data ciphertext; perform hash operation on the core data ciphertext and the server's signature to obtain a server signature; combine the core data ciphertext and the server signature to obtain the first association code of the first account.

12. The device according to claim 11, characterized in that The device is also used for: After receiving the first association code of the first account, generating a QR code based on the first association code, wherein the QR code is associated with a specified URL; The sending the account association request of the first association code to the server includes: sending the account association request of the first association code to the server by scanning the QR code.