Password management method, device and equipment based on SIM (Subscriber Identity Module) card and medium

Through the SIM card-based password management method, graphic codes and public key information are used for encrypted transmission, which solves the problem of difficulty in balancing convenience and security in the existing technology, and realizes safe and convenient transmission of user login information.

CN118828477APending Publication Date: 2024-10-22CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311537210.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-17
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing password management tools are difficult to balance between convenience and security. Storage tools are less convenient, while auto-fill tools have security risks.

Method used

Adopt a SIM card-based password management method to obtain the website address and public key information by identifying graphic codes, use the SIM card to determine and encrypt the login information based on this information, and transmit it securely through the management background to automatically fill in the login information.

Benefits of technology

It improves the convenience and security of password management and ensures the safe transmission and storage of user login information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828477A_ABST
    Figure CN118828477A_ABST
Patent Text Reader

Abstract

The invention provides a password management method and device based on an SIM card, equipment and a medium, relates to the technical field of password management, and aims to solve the problem of low convenience or safety of password management in the prior art. The method comprises the following steps: identifying a graphic code displayed by second equipment to obtain website address information and website public key information; a user identification module SIM card is controlled to determine login information according to the website address information, the login information comprises an account number and a password of a user, and a preset corresponding relation exists between the website address information and the login information; controlling the SIM card to encrypt the login information by adopting the website public key information to obtain first ciphertext information; and controlling the SIM card to send the first ciphertext information to the management background. According to the invention, the convenience and safety of password management can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of password management, and in particular to a password management method, device, equipment and medium based on a SIM card. Background Art

[0002] Currently, passwords are required to log in to various websites and applications (Application, APP). For users, managing passwords mainly needs to meet the user's security requirements and convenience requirements. Currently, there are several types of password management tools to meet the above requirements, including: storage tools (local, cloud), browser auto-fill tools, etc. Storage tools can provide auxiliary viewing functions when users forget, and auto-fill tools mainly provide more improvements in convenience, including automatic filling without the user entering the password.

[0003] However, current password management tools have the following main problems: storage tools only provide password storage, and users are still required to manually input passwords when using them, which is less convenient; and although auto-fill tools improve convenience, there are many security risks, resulting in low convenience or security of password management in the prior art. Summary of the invention

[0004] The embodiments of the present invention provide a password management method, device, equipment and medium based on a SIM card to solve the problem of low convenience or security of password management in the prior art.

[0005] To solve the above technical problems, the present invention is achieved as follows:

[0006] In a first aspect, an embodiment of the present invention provides a password management method based on a SIM card, which is applied to a first device, and the method includes:

[0007] Identify the graphic code displayed by the second device to obtain website address information and website public key information;

[0008] Controlling a user identification module SIM card to determine login information according to the website address information, wherein the login information includes a user account and password, and there is a preset corresponding relationship between the website address information and the login information;

[0009] Controlling the SIM card to encrypt the login information using the website public key information to obtain first ciphertext information;

[0010] Control the SIM card to send the first ciphertext information to a management backend.

[0011] Optionally, before controlling the SIM card to determine the login information according to the website address information, the method further includes:

[0012] Sending the website address information and the website public key information to the management backend;

[0013] The website address information and the website public key information sent by the management background are received through the SIM card.

[0014] Optionally, before identifying the graphic code displayed by the second device, the method further includes:

[0015] Obtain the user's website registration information and SIM card public key information, wherein the website registration information includes website address information, user account number and password;

[0016] The website registration information is encrypted using the SIM card public key information to obtain second ciphertext information;

[0017] The second ciphertext information is sent to the management backend.

[0018] Optionally, the method further includes:

[0019] Controlling the SIM card to receive the second ciphertext information sent by the management background;

[0020] Control the SIM card to decrypt the second ciphertext information using the private key information corresponding to the public key information of the SIM card to obtain the website registration information;

[0021] The website registration information is stored in the SIM card.

[0022] Optionally, the identifying the graphic code displayed by the second device to obtain the website address information and the website public key information includes:

[0023] Identify the graphic code displayed by the second device to obtain the website's digital certificate, website address information, and website public key information;

[0024] The sending of the website address information and the website public key information to the management backend includes:

[0025] If the digital certificate is legal, the website address information and the website public key information are sent to the management backend.

[0026] In a second aspect, an embodiment of the present invention provides a password management method based on a SIM card, which is applied to a second device, and the method includes:

[0027] According to the target operation, a public-private key pair and a graphic code are randomly generated, wherein the graphic code includes website address information and website public key information in the public-private key pair;

[0028] Receive first ciphertext information sent by the management backend, where the first ciphertext information includes login information determined by a SIM card of the first device according to the website address information, where the login information includes a user account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair;

[0029] Decrypting the first ciphertext information using the website private key information in the public-private key pair to obtain the login information;

[0030] The login information is automatically filled into the website.

[0031] Optionally, the graphic code also includes a digital certificate of the website.

[0032] In a third aspect, an embodiment of the present invention provides a password management method based on a SIM card, which is applied to a management background, including:

[0033] Receiving first ciphertext information sent by the first device through the SIM card, the first ciphertext information including login information determined by the SIM card according to the website address information, the login information including the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair generated by the second device;

[0034] The first ciphertext information is sent to the second device.

[0035] Optionally, before receiving the first ciphertext information sent by the first device through the SIM card, the method further includes:

[0036] Receiving the website address information and the website public key information sent by the first device;

[0037] The website address information and the website public key information are sent to the SIM card.

[0038] Optionally, before receiving the website address information and the website public key information sent by the first device, the method further includes:

[0039] receiving second ciphertext information sent by the first device, where the second ciphertext information includes website registration information of the user, where the website registration information includes website address information, user account number and password;

[0040] The second ciphertext information is sent to the SIM card.

[0041] In a fourth aspect, an embodiment of the present invention provides a SIM card-based password management device, which is applied to a first device, and the device includes:

[0042] An identification module, used to identify the graphic code displayed by the second device, and obtain website address information and website public key information;

[0043] A first control module, used to control the SIM card to determine login information according to the website address information, the login information includes a user account and password, and there is a preset corresponding relationship between the website address information and the login information;

[0044] A second control module is used to control the SIM card to encrypt the login information using the website public key information to obtain first ciphertext information;

[0045] The third control module is used to control the SIM card to send the first ciphertext information to the management background.

[0046] In a fifth aspect, an embodiment of the present invention provides a SIM card-based password management device, which is applied to a second device, and the device includes:

[0047] A generating module, used for randomly generating a public-private key pair and a graphic code according to a target operation, wherein the graphic code includes website address information and website public key information in the public-private key pair;

[0048] A receiving module, configured to receive first ciphertext information sent by a management backend, wherein the first ciphertext information includes login information determined by a SIM card of a first device according to the website address information, the login information includes an account number and a password of a user, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair;

[0049] A decryption module, used to decrypt the first ciphertext information using the website private key information in the public-private key pair to obtain the login information;

[0050] A filling module is used to automatically fill the login information into the website.

[0051] In a sixth aspect, an embodiment of the present invention provides a SIM card-based password management device, which is applied to a management background, and the device includes:

[0052] A first receiving module, configured to receive first ciphertext information sent by a first device through a SIM card, wherein the first ciphertext information includes login information determined by the SIM card according to website address information, the login information includes a user account and password, and the first ciphertext information is encrypted by the SIM card using website public key information in a public-private key pair generated by a second device;

[0053] The first sending module is used to send the first ciphertext information to the second device.

[0054] In a seventh aspect, an embodiment of the present invention provides a first device, including a transceiver and a processor.

[0055] The processor is used to identify the graphic code displayed by the second device and obtain the website address information and the website public key information;

[0056] Controlling a user identification module SIM card to determine login information according to the website address information, wherein the login information includes a user account and password, and there is a preset corresponding relationship between the website address information and the login information;

[0057] Controlling the SIM card to encrypt the login information using the website public key information to obtain first ciphertext information;

[0058] The transceiver is further used to control the SIM card to send the first ciphertext information to the management background.

[0059] In an eighth aspect, an embodiment of the present invention provides a second device, including a transceiver and a processor.

[0060] The processor is used to randomly generate a public-private key pair and a graphic code according to the target operation, wherein the graphic code includes website address information and website public key information in the public-private key pair;

[0061] The transceiver is used to receive first ciphertext information sent by the management background, the first ciphertext information includes login information determined by the SIM card of the first device according to the website address information, the login information includes the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair;

[0062] The processor is further configured to:

[0063] Decrypting the first ciphertext information using the website private key information in the public-private key pair to obtain the login information;

[0064] The login information is automatically filled into the website.

[0065] In a ninth aspect, an embodiment of the present invention provides a management background, including a transceiver, wherein the transceiver is used to:

[0066] Receiving first ciphertext information sent by the first device through the SIM card, the first ciphertext information including login information determined by the SIM card according to the website address information, the login information including the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair generated by the second device;

[0067] The first ciphertext information is sent to the second device.

[0068] In a tenth aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the password management method based on the SIM card as described in the first aspect above; or, when executed by the processor, implements the steps of the password management method based on the SIM card as described in the second aspect above; or, when executed by the processor, implements the steps of the password management method based on the SIM card as described in the third aspect above.

[0069] In the eleventh aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the password management method based on the SIM card as described in the first aspect above are implemented; or, when the computer program is executed by the processor, the steps of the password management method based on the SIM card as described in the second aspect above are implemented; or, when the computer program is executed by the processor, the steps of the password management method based on the SIM card as described in the third aspect above are implemented.

[0070] In an embodiment of the present invention, the above-mentioned SIM card-based password management method is applied to a first device. By identifying a graphic code displayed by a second device, website address information and website public key information can be obtained, and the SIM card can be controlled to determine login information according to the website address information. The login information is encrypted using the website public key information to obtain first ciphertext information, and the first ciphertext information is sent to the management background, so that information can be transmitted between the SIM card and the second device through the management background, thereby realizing the secure transmission of user login information of the website, thereby improving the convenience and security of password management. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0072] Figure 1 This is one of the flow charts of a password management method based on a SIM card provided in an embodiment of the present invention;

[0073] Figure 2 This is a structural diagram of a first device, a second device and a management background provided by an embodiment of the present invention;

[0074] Figure 3This is a schematic diagram of interaction between a first device and a management background provided by an embodiment of the present invention;

[0075] Figure 4 This is a second flow chart of a password management method based on a SIM card provided in an embodiment of the present invention;

[0076] Figure 5 This is a schematic diagram of interaction between a first device, a second device and a management background provided by an embodiment of the present invention;

[0077] Figure 6 This is a flowchart of a password management method based on a SIM card provided in an embodiment of the present invention;

[0078] Figure 7 This is one of the structural schematic diagrams of a SIM card password management device provided by an embodiment of the present invention;

[0079] Figure 8 This is a second structural diagram of a password management device for a SIM card provided by an embodiment of the present invention;

[0080] Fig. 9 This is a third structural diagram of a password management device for a SIM card provided by an embodiment of the present invention;

[0081] Fig.10 is a structural schematic diagram of a first device provided by an embodiment of the present invention;

[0082] Fig.11 is a structural schematic diagram of a second device provided by an embodiment of the present invention;

[0083] Fig.12 It is a structural diagram of a management background provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0084] 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.

[0085] In the embodiments of the present invention, a password management method, device, equipment and medium based on a SIM card are proposed to solve the problem of low convenience or security of password management in the prior art.

[0086] See also Figure 1 , Figure 1 is one of the flowcharts of a password management method based on a SIM card provided in an embodiment of the present invention, which is applied to a first device, such as Figure 1 As shown, the method comprises the following steps:

[0087] Step 101: Identify the graphic code displayed by the second device to obtain website address information and website public key information.

[0088] Specifically, the first device may be a mobile phone terminal, and the second device may be a personal computer or other terminal device. The graphic code may be automatically generated by the website according to the user's operation, and is used to provide the user with the website address information and the website public key information. For example, the graphic code may be automatically generated according to the user's operation of clicking on the login interface, and the first device may obtain the website address information and the website public key information by identifying the graphic code. The graphic code may include a QR code, a bar code, etc. The website address information may be the Uniform Resource Locator (URL) of the website.

[0089] It should be noted that the second device and the first device may be the same device.

[0090] Step 102: Control the subscriber identity module SIM card to determine login information according to the website address information, wherein the login information includes the user's account number and password, and there is a preset corresponding relationship between the website address information and the login information.

[0091] Specifically, the subscriber identification module (SIM) card stores the login information and the correspondence between the website address information and the login information, and controls the SIM card to determine the login information corresponding to the website address information based on the website address information as an index, where the login information is the user's account and password on the website.

[0092] It should be noted that after the first device identifies the graphic code displayed by the second device and obtains the website address information and the website public key information, the SIM card can directly obtain the website address information and the website public key information, or the first device can send the website address information and the website public key information to the management background, which is forwarded to the SIM card by the management background. The specific method is not limited here.

[0093] Step 103: Control the SIM card to encrypt the login information using the website public key information to obtain first ciphertext information.

[0094] Step 104: Control the SIM card to send the first ciphertext information to a management backend.

[0095] It should be noted that the SIM card may send the first ciphertext information to the management backend via a Bearer Independent Protocol (BIP) or other methods such as a data message, and this application does not make any specific limitation on this.

[0096] Specifically, BIP is a new type of security protocol. The mobile terminal allows the SIM card to transparently transmit data with the remote server through BIP. By controlling the SIM card to send the first ciphertext information to the management background based on BIP, the SIM card can authenticate the identity of the management background through BIP, thereby improving the security and reliability of information transmission.

[0097] For example, Figure 2 is a structural diagram of a first device, a second device and a management background provided by an embodiment of the present invention, such as Figure 2 As shown, the first device can be a mobile phone terminal, including a password manager APP and a SIM card password management application, the password manager APP can be used to identify graphic codes, and the SIM card password management application can be used to store login information, including website passwords, etc.; the second device can be a personal computer (PC) browser, provided with a password manager plug-in, and the plug-in can be used to generate and display graphic codes; the management background can transmit information with the PC browser and the mobile phone terminal respectively.

[0098] In an embodiment of the present invention, the above-mentioned SIM card-based password management method is applied to a first device, and can obtain website address information and website public key information by identifying a graphic code displayed by a second device, and control the SIM card to determine login information according to the website address information, encrypt the login information using the website public key information to obtain first ciphertext information, and send the first ciphertext information to the management background, so that information can be transmitted between the SIM card and the second device through the management background, thereby realizing the secure transmission of user login information of the website, thereby improving the convenience and security of password management.

[0099] Optionally, before controlling the SIM card to determine the login information according to the website address information, the method further includes:

[0100] Sending the website address information and the website public key information to the management backend;

[0101] The website address information and the website public key information sent by the management background are received through the SIM card. In this implementation, the management background acts as a transfer party to send the website address information and the website public key information obtained by the first device to the SIM card, so that the SIM card of the first device can obtain the website address information and the website public key information through the management background when it cannot directly obtain the information through the first device.

[0102] Optionally, before identifying the graphic code displayed by the second device, the method further includes:

[0103] Obtain the user's website registration information and SIM card public key information, wherein the website registration information includes website address information, user account number and password;

[0104] The website registration information is encrypted using the SIM card public key information to obtain second ciphertext information;

[0105] The second ciphertext information is sent to the management backend.

[0106] Specifically, obtaining the user's website registration information may be that the user logs in to the password manager APP of the first device and registers the website registration information on the password manager APP. The website registration information may include multiple website address information and the user's account and password corresponding to the multiple website address information. Obtaining the SIM card public key information may be that the first device directly obtains the public key information of the SIM card, saves it in the password manager APP, and encrypts the website registration information using the SIM card public key information. The second ciphertext information is sent to the management background.

[0107] In this implementation, the above-mentioned SIM card-based password management method can obtain the user's website registration information and SIM card public key information, and send the second ciphertext information obtained by encrypting the website registration information using the SIM card public key information to the management background, and then the management background can send it to the SIM card of the first device, which can improve the security of the transmission of the website registration information.

[0108] Optionally, the method further includes:

[0109] Controlling the SIM card to receive the second ciphertext information sent by the management background;

[0110] Control the SIM card to decrypt the second ciphertext information using the private key information corresponding to the public key information of the SIM card to obtain the website registration information;

[0111] The website registration information is stored in the SIM card.

[0112] For example, Figure 3 is a schematic diagram of interaction between a first device and a management background provided by an embodiment of the present invention, such as Figure 3 As shown, the first device is a mobile terminal. The user uses the mobile phone number to log in to the password manager APP of the mobile terminal and obtains the public key information of the SIM card, and obtains the website registration information registered by the user on the password manager APP. The password manager APP uses the public key information of the SIM card to encrypt the website registration information and send it to the management background. The management background sends the encrypted website registration information to the SIM card. The SIM card decrypts the encrypted website registration information to obtain the website registration information and saves the website registration information. The SIM card can also return a response to the management background, and the management background returns a response to the password manager APP to ensure that the information transmission is carried out in an orderly manner.

[0113] In this implementation, the above-mentioned SIM card-based password management method is applied to the first device, and can control the SIM card to receive the second ciphertext information sent by the management background, control the SIM card to use the private key information corresponding to the SIM card public key information to decrypt the second ciphertext information, obtain the website registration information, and store the website registration information in the SIM card, which can improve the security of the storage of the website registration information and enable the SIM card to determine the user's account and password on the website based on the website address information as an index.

[0114] Optionally, the identifying the graphic code displayed by the second device to obtain the website address information and the website public key information includes:

[0115] Identify the graphic code displayed by the second device to obtain the website's digital certificate, website address information, and website public key information;

[0116] The sending of the website address information and the website public key information to the management backend includes:

[0117] If the digital certificate is legal, the website address information and the website public key information are sent to the management backend.

[0118] Specifically, the digital certificate can be used to verify the authenticity of the website. In this implementation, the above-mentioned SIM card-based password management method can obtain the digital certificate of the website and determine whether the digital certificate is legal. If the digital certificate is legal, the website address information and the website public key information are sent to the management background, thereby improving the authenticity and reliability of the information received by the management background.

[0119] See also Figure 4 , Figure 4This is a flowchart of a SIM card-based password management method provided by an embodiment of the present invention, which is applied to a second device, such as Figure 4 As shown, the method comprises the following steps:

[0120] Step 401: randomly generate a public-private key pair and a graphic code according to the target operation, wherein the graphic code includes website address information and website public key information in the public-private key pair.

[0121] Specifically, the target operation may be an operation in which a user clicks to enter a website page, or an operation in which a user clicks on a login interface or a user account / password input box after entering the website page. The second device randomly generates a public-private key pair and a graphic code according to the target operation, and the password manager plug-in of the second device senses the target operation, randomly generates a public-private key pair and a graphic code, and displays the graphic code on the website page.

[0122] Step 402: Receive first ciphertext information sent by the management background, where the first ciphertext information includes login information determined by the SIM card of the first device according to the website address information, where the login information includes the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair.

[0123] Step 403: Decrypt the first ciphertext information using the website private key information in the public-private key pair to obtain the login information.

[0124] Step 404: Automatically fill the login information into the website.

[0125] For example, Figure 5 is a schematic diagram of interaction between a first device, a second device and a management background provided by an embodiment of the present invention, such as Figure 5 As shown, the first device is a mobile phone terminal, the second device is a PC browser, the user enters the website login page, and the password manager plug-in of the browser displays a QR code on the website; the mobile phone terminal can scan the QR code through the password manager APP and obtain the plug-in information, and the plug-in information includes the website public key and website identification information; the password manager APP securely sends the plug-in information to the management background; the management background and the SIM card password management application establish a secure connection through the BIP method, and send the plug-in information request to obtain the website login information through the BIP method; the SIM card password management application uses the website identification information as an index to find the login information corresponding to the website stored in the SIM card, including the user's account and password information, and uses the website public key to encrypt the login information and send it to the management background through the BIP method; the management background sends the encrypted login information to the browser plug-in; the browser plug-in uses the private key corresponding to the website public key to decrypt the information to obtain the login plaintext information, and automatically fills it into the input box of the website login page.

[0126] Optionally, the graphic code also includes a digital certificate of the website.

[0127] It should be noted that this embodiment is Figure 1 The implementation of the second device corresponding to the embodiment shown in the figure can be found in the specific implementation of the second device. Figure 1 In order to avoid repeated description, the relevant description of the embodiment shown will not be repeated in this embodiment, and the same beneficial effects can still be achieved.

[0128] See also Figure 6 , Figure 6 This is a flowchart of a SIM card-based password management method provided by an embodiment of the present invention, which is applied to the management background, such as Figure 6 As shown, the method comprises the following steps:

[0129] Step 601: Receive first ciphertext information sent by a first device through a SIM card, where the first ciphertext information includes login information determined by the SIM card according to website address information, where the login information includes a user account and password, and the first ciphertext information is encrypted by the SIM card using website public key information in a public-private key pair generated by a second device.

[0130] Step 602: Send the first ciphertext information to the second device.

[0131] It should be noted that this embodiment is Figure 1 and Figure 4 The corresponding management backend implementation method in the embodiment shown in the figure can be found in the specific implementation method. Figure 1 and Figure 4 To avoid repeated description, the relevant descriptions in the illustrated embodiment will not be repeated in this embodiment.

[0132] Optionally, before receiving the first ciphertext information sent by the first device through the SIM card, the method further includes:

[0133] Receiving the website address information and the website public key information sent by the first device;

[0134] The website address information and the website public key information are sent to the SIM card.

[0135] Optionally, before receiving the website address information and the website public key information sent by the first device, the method further includes:

[0136] receiving second ciphertext information sent by the first device, where the second ciphertext information includes website registration information of the user, where the website registration information includes website address information, user account number and password;

[0137] The second ciphertext information is sent to the SIM card.

[0138] The above optional implementations can be found in Figure 1 and Figure 4 To avoid repeated description, the relevant descriptions in the illustrated embodiment will not be repeated in this embodiment.

[0139] See also Figure 7 , Figure 7 1 is a schematic diagram of a SIM card password management device provided by an embodiment of the present invention, which is applied to a first device, such as Figure 7 As shown, the password management device 700 of the SIM card includes:

[0140] The identification module 701 is used to identify the graphic code displayed by the second device and obtain the website address information and the website public key information;

[0141] A first control module 702, configured to control a subscriber identity module SIM card to determine login information according to the website address information, wherein the login information includes a user account and password, and there is a preset corresponding relationship between the website address information and the login information;

[0142] The second control module 703 is used to control the SIM card to encrypt the login information using the website public key information to obtain the first ciphertext information;

[0143] The third control module 704 is used to control the SIM card to send the first ciphertext information to the management background.

[0144] Optionally, the SIM card password management device 700 further includes:

[0145] A sending module, used to send the website address information and the website public key information to the management backend;

[0146] The receiving module is used to receive the website address information and the website public key information sent by the management background through the SIM card.

[0147] Optionally, the SIM card password management device 700 further includes:

[0148] An acquisition module is used to acquire the user's website registration information and SIM card public key information, wherein the website registration information includes website address information, user account number and password;

[0149] An encryption module, used to encrypt the website registration information using the SIM card public key information to obtain second ciphertext information;

[0150] The third sending module is used to send the second ciphertext information to the management background.

[0151] Optionally, the SIM card password management device 700 further includes:

[0152] A fourth control module, used for controlling the SIM card to receive the second ciphertext information sent by the management background;

[0153] A fifth control module, used to control the SIM card to decrypt the second ciphertext information using the private key information corresponding to the public key information of the SIM card to obtain the website registration information;

[0154] A storage module is used to store the website registration information in the SIM card.

[0155] Optionally, the identification module includes:

[0156] An identification unit, used to identify the graphic code displayed by the second device, and obtain the digital certificate, website address information and website public key information of the website;

[0157] The sending module comprises:

[0158] The sending unit is used to send the website address information and the website public key information to the management background when the digital certificate is legal.

[0159] See also Figure 8 , Figure 8 2 is a schematic diagram of a SIM card password management device provided by an embodiment of the present invention, which is applied to a second device, such as Figure 8 As shown, the password management device 800 of the SIM card includes:

[0160] A generating module 801, for randomly generating a public-private key pair and a graphic code according to a target operation, wherein the graphic code includes website address information and website public key information in the public-private key pair;

[0161] The receiving module 802 is used to receive the first ciphertext information sent by the management background, where the first ciphertext information includes the login information determined by the SIM card of the first device according to the website address information, where the login information includes the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair;

[0162] A decryption module 803, configured to decrypt the first ciphertext information using the website private key information in the public-private key pair to obtain the login information;

[0163] The filling module 804 is used to automatically fill the login information into the website.

[0164] Optionally, the graphic code also includes a digital certificate of the website.

[0165] See also Fig. 9 , Fig. 9 This is a third structural diagram of a SIM card password management device provided by an embodiment of the present invention, which is applied to the management background, such as Fig. 9 As shown, the password management device 900 of the SIM card includes:

[0166] A first receiving module 901 is used to receive first ciphertext information sent by a first device through a SIM card, where the first ciphertext information includes login information determined by the SIM card according to website address information, where the login information includes a user account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair generated by the second device;

[0167] The first sending module 902 is used to send the first ciphertext information to the second device.

[0168] Optionally, the SIM card password management device 900 further includes:

[0169] A second receiving module, used to receive the website address information and the website public key information sent by the first device;

[0170] The second sending module is used to send the website address information and the website public key information to the SIM card.

[0171] Optionally, the SIM card password management device 900 further includes:

[0172] A third receiving module is used to receive second ciphertext information sent by the first device, where the second ciphertext information includes the user's website registration information, and the website registration information includes the website address information, the user's account number and password;

[0173] The third sending module is used to send the second ciphertext information to the SIM card.

[0174] For details, see Fig.10 As shown, an embodiment of the present invention further provides a first device, including a bus 1001 , a transceiver 1002 , an antenna 1003 , a bus interface 1004 , a processor 1005 and a memory 1006 .

[0175] The processor 1005 is used to identify the graphic code displayed by the second device and obtain the website address information and the website public key information;

[0176] Controlling a user identification module SIM card to determine login information according to the website address information, wherein the login information includes a user account and password, and there is a preset corresponding relationship between the website address information and the login information;

[0177] Controlling the SIM card to encrypt the login information using the website public key information to obtain first ciphertext information;

[0178] The transceiver 1002 is further used to control the SIM card to send the first ciphertext information to the management background.

[0179] exist Fig.10 In the embodiment, the bus architecture (represented by bus 1001) may include any number of interconnected buses and bridges, and bus 1001 links various circuits including one or more processors represented by processor 1005 and memory represented by memory 1006. Bus 1001 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1004 provides an interface between bus 1001 and transceiver 1002. Transceiver 1002 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 1005 is transmitted on a wireless medium via antenna 1003, and further, antenna 1003 also receives data and transmits the data to processor 1005.

[0180] The processor 1005 is responsible for managing the bus 1001 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1006 can be used to store data used by the processor 1005 when performing operations.

[0181] Optionally, the processor 1005 may be a CPU, an ASIC, an FPGA or a CPLD.

[0182] Optionally, the processor 1005 is further configured to:

[0183] Sending the website address information and the website public key information to the management backend;

[0184] The website address information and the website public key information sent by the management background are received through the SIM card.

[0185] Optionally, the processor 1005 is further configured to:

[0186] Obtain the user's website registration information and SIM card public key information, wherein the website registration information includes website address information, user account number and password;

[0187] The website registration information is encrypted using the SIM card public key information to obtain second ciphertext information;

[0188] The second ciphertext information is sent to the management backend.

[0189] Optionally, the processor 1005 is further configured to:

[0190] Controlling the SIM card to receive the second ciphertext information sent by the management background;

[0191] Control the SIM card to decrypt the second ciphertext information using the private key information corresponding to the public key information of the SIM card to obtain the website registration information;

[0192] The website registration information is stored in the SIM card.

[0193] Optionally, the processor 1005 is specifically configured to:

[0194] Identify the graphic code displayed by the second device to obtain the website's digital certificate, website address information, and website public key information;

[0195] The sending of the website address information and the website public key information to the management backend includes:

[0196] If the digital certificate is legal, the website address information and the website public key information are sent to the management backend.

[0197] For details, see Fig.11 As shown, an embodiment of the present invention further provides a second device, including a bus 1101 , a transceiver 1102 , an antenna 1103 , a bus interface 1104 , a processor 1105 and a memory 1106 .

[0198] The processor 1105 is used to randomly generate a public-private key pair and a graphic code according to the target operation, wherein the graphic code includes website address information and website public key information in the public-private key pair;

[0199] Further, the transceiver 1102 is used to receive first ciphertext information sent by the management background, the first ciphertext information includes login information determined by the SIM card of the first device according to the website address information, the login information includes the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair;

[0200] The processor 1105 is further configured to:

[0201] Decrypting the first ciphertext information using the website private key information in the public-private key pair to obtain the login information;

[0202] The login information is automatically filled into the website.

[0203] exist Fig.11 In the embodiment, the bus architecture (represented by bus 1101) may include any number of interconnected buses and bridges, and bus 1101 links various circuits including one or more processors represented by processor 1105 and memory represented by memory 1106. Bus 1101 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1104 provides an interface between bus 1101 and transceiver 1102. Transceiver 1102 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 1105 is transmitted on a wireless medium via antenna 1103, and further, antenna 1103 also receives data and transmits the data to processor 1105.

[0204] The processor 1105 is responsible for managing the bus 1101 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1106 can be used to store data used by the processor 1105 when performing operations.

[0205] Optionally, the processor 1105 may be a CPU, an ASIC, an FPGA or a CPLD.

[0206] Optionally, the graphic code also includes a digital certificate of the website.

[0207] For details, see Fig.12 As shown, the embodiment of the present invention further provides a management background, including a bus 1201, a transceiver 1202, an antenna 1203, a bus interface 1204, a processor 1205 and a memory 1206.

[0208] Transceiver 1202, used for

[0209] Receiving first ciphertext information sent by the first device through the SIM card, the first ciphertext information including login information determined by the SIM card according to the website address information, the login information including the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair generated by the second device;

[0210] The first ciphertext information is sent to the second device.

[0211] exist Fig.12 In the embodiment, the bus architecture (represented by bus 1201) may include any number of interconnected buses and bridges, and bus 1201 links various circuits including one or more processors represented by processor 1205 and memory represented by memory 1206. Bus 1201 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1204 provides an interface between bus 1201 and transceiver 1202. Transceiver 1202 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 1205 is transmitted on a wireless medium via antenna 1203, and further, antenna 1203 also receives data and transmits the data to processor 1205.

[0212] The processor 1205 is responsible for managing the bus 1201 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1206 can be used to store data used by the processor 1205 when performing operations.

[0213] Optionally, the processor 1205 may be a CPU, an ASIC, an FPGA or a CPLD.

[0214] Optionally, the processor 1205 is further configured to:

[0215] Receiving the website address information and the website public key information sent by the first device;

[0216] The website address information and the website public key information are sent to the SIM card.

[0217] Optionally, the processor 1205 is further configured to:

[0218] receiving second ciphertext information sent by the first device, where the second ciphertext information includes website registration information of the user, where the website registration information includes website address information, user account number and password;

[0219] The second ciphertext information is sent to the SIM card.

[0220] An embodiment of the present invention further provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, the various processes of the above-mentioned SIM card-based password management method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0221] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned embodiment of the password management method based on the SIM card is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0222] 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.

[0223] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0224] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A password management method based on a SIM card, applied to a first device, characterized in that: The method comprises: Identify the graphic code displayed by the second device to obtain website address information and website public key information; Controlling a user identification module SIM card to determine login information according to the website address information, wherein the login information includes a user account and password, and there is a preset corresponding relationship between the website address information and the login information; Controlling the SIM card to encrypt the login information using the website public key information to obtain first ciphertext information; Control the SIM card to send the first ciphertext information to a management backend.

2. The method according to claim 1, characterized in that Before controlling the SIM card to determine the login information according to the website address information, the method further includes: Sending the website address information and the website public key information to the management backend; The website address information and the website public key information sent by the management background are received through the SIM card.

3. The method according to claim 1, characterized in that Before identifying the graphic code displayed by the second device, the method further includes: Obtain the user's website registration information and SIM card public key information, wherein the website registration information includes website address information, user account number and password; The website registration information is encrypted using the SIM card public key information to obtain second ciphertext information; The second ciphertext information is sent to the management backend.

4. The method according to claim 3, characterized in that The method further comprises: Controlling the SIM card to receive the second ciphertext information sent by the management background; Control the SIM card to decrypt the second ciphertext information using the private key information corresponding to the public key information of the SIM card to obtain the website registration information; The website registration information is stored in the SIM card.

5. The method according to claim 2, characterized in that: The identifying the graphic code displayed by the second device to obtain the website address information and the website public key information includes: Identify the graphic code displayed by the second device to obtain the website's digital certificate, website address information, and website public key information; The sending of the website address information and the website public key information to the management backend includes: If the digital certificate is legal, the website address information and the website public key information are sent to the management backend.

6. A password management method based on a SIM card, applied to a second device, characterized in that: The method comprises: According to the target operation, a public-private key pair and a graphic code are randomly generated, wherein the graphic code includes website address information and website public key information in the public-private key pair; Receive first ciphertext information sent by the management backend, where the first ciphertext information includes login information determined by a SIM card of the first device according to the website address information, where the login information includes a user account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair; Decrypting the first ciphertext information using the website private key information in the public-private key pair to obtain the login information; The login information is automatically filled into the website.

7. The method according to claim 6, characterized in that The graphic code also includes the digital certificate of the website.

8. A password management method based on a SIM card, applied to a management background, characterized in that: include: Receiving first ciphertext information sent by the first device through the SIM card, the first ciphertext information including login information determined by the SIM card according to the website address information, the login information including the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair generated by the second device; The first ciphertext information is sent to the second device.

9. The method according to claim 8, characterized in that Before receiving the first ciphertext information sent by the first device through the SIM card, the method further includes: Receiving the website address information and the website public key information sent by the first device; The website address information and the website public key information are sent to the SIM card.

10. The method according to claim 9, characterized in that Before receiving the website address information and the website public key information sent by the first device, the method further includes: receiving second ciphertext information sent by the first device, where the second ciphertext information includes website registration information of the user, where the website registration information includes website address information, user account number and password; The second ciphertext information is sent to the SIM card.

11. A password management device based on a SIM card, applied to a first device, characterized in that: The device comprises: An identification module, used to identify the graphic code displayed by the second device, and obtain website address information and website public key information; A first control module, used to control the SIM card to determine login information according to the website address information, the login information includes a user account and password, and there is a preset corresponding relationship between the website address information and the login information; A second control module is used to control the SIM card to encrypt the login information using the website public key information to obtain first ciphertext information; The third control module is used to control the SIM card to send the first ciphertext information to the management background.

12. A password management device based on a SIM card, applied to a second device, characterized in that: The device comprises: A generating module, used for randomly generating a public-private key pair and a graphic code according to a target operation, wherein the graphic code includes website address information and website public key information in the public-private key pair; A receiving module, configured to receive first ciphertext information sent by a management backend, wherein the first ciphertext information includes login information determined by a SIM card of a first device according to the website address information, the login information includes an account number and a password of a user, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair; A decryption module, used to decrypt the first ciphertext information using the website private key information in the public-private key pair to obtain the login information; A filling module is used to automatically fill the login information into the website.

13. A password management device based on a SIM card, applied to a management background, characterized in that: The device comprises: A first receiving module, configured to receive first ciphertext information sent by a first device through a SIM card, wherein the first ciphertext information includes login information determined by the SIM card according to website address information, the login information includes a user account and password, and the first ciphertext information is encrypted by the SIM card using website public key information in a public-private key pair generated by a second device; The first sending module is used to send the first ciphertext information to the second device.

14. A first device, characterized in that: Including transceiver and processor, The processor is used to identify the graphic code displayed by the second device and obtain the website address information and the website public key information; Controlling the SIM card to determine login information according to the website address information, wherein the login information includes a user account and password, and there is a preset corresponding relationship between the website address information and the login information; Controlling the SIM card to encrypt the login information using the website public key information to obtain first ciphertext information; The transceiver is further used to control the SIM card to send the first ciphertext information to the management background.

15. A second device, characterized in that: Including transceiver and processor, The processor is used to randomly generate a public-private key pair and a graphic code according to the target operation, wherein the graphic code includes website address information and website public key information in the public-private key pair; The transceiver is used to receive first ciphertext information sent by the management background, the first ciphertext information includes login information determined by the SIM card of the first device according to the website address information, the login information includes the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair; The processor is further configured to: Decrypting the first ciphertext information using the website private key information in the public-private key pair to obtain the login information; The login information is automatically filled into the website.

16. A management backend, characterized in that: The invention comprises a transceiver, wherein the transceiver is used for: Receiving first ciphertext information sent by the first device through the SIM card, the first ciphertext information including login information determined by the SIM card according to the website address information, the login information including the user's account and password, and the first ciphertext information is encrypted by the SIM card using the website public key information in the public-private key pair generated by the second device; The first ciphertext information is sent to the second device.

17. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the password management method based on a SIM card as described in any one of claims 1 to 5; or, when executed by the processor, implements the steps of the password management method based on a SIM card as described in any one of claims 6 to 7; or, when executed by the processor, implements the steps of the password management method based on a SIM card as described in any one of claims 8 to 10.

18. A computer-readable storage medium, characterized in that: A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps of the password management method based on the SIM card as described in any one of claims 1 to 5 are implemented; or, when the computer program is executed by the processor, the steps of the password management method based on the SIM card as described in any one of claims 6 to 7 are implemented; or, when the computer program is executed by the processor, the steps of the password management method based on the SIM card as described in any one of claims 8 to 10 are implemented.