Key management method and related equipment

By using biometrics to generate keys on mobile terminals and encrypting the transmission, combined with QR code authentication to establish a secure channel, the problem of loss and insufficient security in key management of the storage server is solved, and convenient and high-security key management is achieved. .

CN118690380APending Publication Date: 2024-09-24XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410554586.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In existing storage servers based on encrypted hard disks, there is a risk of losing or forgetting key management, and traditional remote key management servers require certificate authentication and IP settings on the storage server in advance, resulting in inconvenient operation and insufficient security.

Method used

Provide a convenient operation interface on the mobile terminal, generate a key through biometrics such as fingerprint, voice or face, and use the private key to encrypt and transmit it to the storage server to avoid key loss and unauthorized access, and use QR code authentication to establish secure data channels, reducing operational complexity and improving security.

Benefits of technology

It improves the user's convenient operation and security of the storage server's encrypted disk, prevents unauthorized access, avoids key loss or forgetting, and ensures the security and consistency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690380A
    Figure CN118690380A
Patent Text Reader

Abstract

The invention provides a key management method and related equipment, and is applied to a mobile terminal, the method comprises the following steps: displaying a first interface, the first interface being used for selecting a key generation mode of an encrypted hard disk of a storage server; receiving a user operation for the first interface, and determining a key generation mode; the key generation mode comprises a generation mode according to fingerprints, voices or human faces; receiving input data of a key generation mode; generating a key according to the input data, wherein the key is used for encrypting the SED; the secret key is encrypted through a private key and then sent to a storage server; the private key is provided after the authentication server determines that the mobile terminal is successfully authenticated; a public key corresponding to the private key is stored in the storage server. A convenient interface is provided, so that a user can encrypt and unlock the encryption disk of the storage server in a safe data transmission mode through various generation modes and encryption technologies at any time, and the use convenience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of storage servers, and in particular to a key management method and related equipment. Background Art

[0002] In the existing storage server encryption solution based on encrypted hard disk (SED), the key is managed locally by the server, which has the risk of key loss or forgetting. Summary of the invention

[0003] The embodiment of the present application provides a key management method and related equipment, which provides a convenient operation interface on the mobile terminal, allowing users to encrypt the encryption disk of the storage server at any time using a variety of key methods, thereby improving user convenience and the security of key transmission.

[0004] In a first aspect, an embodiment of the present application provides a key management method, which is applied to a mobile terminal, and the method includes: displaying a first interface, the first interface is used to select a key generation method for an encrypted hard disk of a storage server; receiving a user operation for the first interface, and determining a key generation method; the key generation method includes a generation method based on fingerprint, voice or face; receiving input data of the key generation method; generating a key based on the input data, and the key is used to encrypt the encrypted hard disk; encrypting the key with a private key and sending it to a storage server; the private key is provided by an authentication server after determining that the mobile terminal authentication is successful; and the public key corresponding to the private key is on the storage server.

[0005] In this way, the embodiment of the present application adopts a convenient operation interface provided on the mobile terminal, so that the user can encrypt the encryption disk of the storage server at any time through a variety of key methods, thereby improving the user's convenience and security, and adopts secure transmission technology to ensure the data security and privacy of the storage server, preventing unauthorized access and attacks.

[0006] In some embodiments, before displaying the first interface, the process further includes: determining user information; scanning the QR code displayed by the storage server to obtain the QR code information; the QR code is generated and provided by the authentication server according to the device information of the storage server; and the user information and the QR code information are sent to the authentication server for authentication. In this way, the mobile terminal in the embodiment of the present application uses the BMC of the storage server to provide QR code authentication, and can establish a secure network data transmission channel at any time to ensure the security and consistency of the data, without having to perform certificate authentication on the storage server in advance and the IP setting of the remote key management server.

[0007] In some embodiments, generating a key according to input data includes: extracting target features according to the input data; the target features include fingerprint features, voice features or face features; randomly generating a key ID, the key ID is used to identify the key and associate the key generation method; generating the key based on the target feature and the key ID. In this way, the mobile terminal uses an algorithm to generate the key of the encryption disk using the generation method selected by the user (such as fingerprint, face, voice, etc.), identifies the key through the key ID and associates the key generation method, which has traceability and improves the accuracy and security of identity authentication.

[0008] In some implementations, the key is encrypted with a private key and then sent to a storage server, including: encrypting the key and the key ID with a private key and transmitting them to the storage server; associating the key ID with the user ID and the key generation method and then saving them. In this way, the mobile terminal transmits the key in a secure data transmission method, ensuring the data security, privacy and consistency during the transmission process, and preventing unauthorized access and attacks during the transmission process; the solution of saving and managing the key in the mobile terminal is adopted to avoid the risk of loss or forgetting.

[0009] In some embodiments, the method further includes: receiving a user operation for an encrypted hard disk, displaying a second interface, the second interface being used to prompt the user to input decryption data corresponding to the key generation method; generating a decryption key based on the decryption data; encrypting the decryption key with a private key and sending it to a storage server, the decryption key being used by the storage server to decrypt the encrypted hard disk. In this way, the embodiment of the present application adopts a convenient operation interface provided on the mobile terminal, so that the user can decrypt the encrypted disk of the storage server at any time through a variety of key methods, thereby improving the user's convenience of use.

[0010] In some embodiments, the generating of the decryption key based on the decrypted data includes: extracting target features according to the decrypted data; the target features include fingerprint features, voice features or face features; obtaining a key ID through a storage server; the key ID is the key ID currently being used by the SED; and generating a decryption key based on the target features and the key ID. In this way, the embodiment of the present application uses a key method of generating a key ID to decrypt the encrypted disk of the storage server, thereby improving the convenience of use for users.

[0011] In some embodiments, the method further includes: receiving a user operation for modifying the key of the encrypted hard disk, sending a request for modifying the key to the storage server; obtaining new data input by the user, and generating a second key based on the new data and a randomly generated second key ID; encrypting the second key and the second key ID with a private key and transmitting them to the storage server, so that the storage server encrypts the encrypted hard disk using the second key. In this way, the user can use the mobile terminal to actively update the key of the encrypted hard disk according to the original key generation method, avoiding the risk of losing or forgetting the key.

[0012] In the second aspect, the embodiment of the present application provides a key management method, which is applied to a storage server, wherein a BMC platform is provided in the storage server, and the method in the BMC includes: transmitting the device information of the storage server to the authentication server through the network; receiving and displaying a QR code; the QR code is generated after the authentication server verifies that the device information has passed, and the QR code ID is bound to the device information; in response to the encryption / unlocking request, the received key and key ID are decrypted by a public key, and the public key is provided by the authentication server; the self-encrypting hard disk is encrypted using the key and key ID. Its beneficial effects are as described in the first aspect, and will not be repeated here.

[0013] In a third aspect, an embodiment of the present application provides a key management method, at the authentication server end, the method includes: obtaining the device information of the storage server; verifying the device information; after the verification is passed, generating a QR code and binding the ID of the QR code with the device information; transmitting the QR code to the BMC. Its beneficial effects are as described in the first aspect and will not be repeated here.

[0014] In some implementations, at the authentication server end, the method includes: obtaining user information and QR code information sent by the mobile terminal; after the verification is passed, notifying the BMC that the verification is passed, and generating the public key and the private key.

[0015] In the fourth aspect, the embodiment of the present application provides a mobile terminal, and interactive authentication is completed between the mobile terminal and the storage server and the authentication server; the mobile terminal includes: a display module for displaying a first interface, and the first interface is used to select the key generation method of the encrypted hard disk of the storage server; a data receiving module, for receiving user operations for the first interface, and determining the key generation method; the key generation method includes a generation method based on fingerprints, voice or face; receiving input data of the key generation method; the input data includes fingerprint data, voice data or face data; a key generation module, for generating a key based on the input data, and the key is used to encrypt the encrypted hard disk; a transmission module, for encrypting the key with a private key and sending it to the storage server; the private key is provided to the mobile terminal by the authentication server after determining that the authentication is successful; the public key corresponding to the private key is on the storage server. Its beneficial effects are as described in the first aspect, and will not be repeated here.

[0016] In a fifth aspect, an embodiment of the present application provides a computing device, comprising: at least one memory for storing programs; and at least one processor for executing the programs stored in the memory, wherein when the programs stored in the memory are executed, the processor is used to execute the method described in any one of the first aspects.

[0017] In a sixth aspect, an embodiment of the present application provides a computer storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the method described in any one of the first aspects.

[0018] In a seventh aspect, an embodiment of the present application provides a computer program product, characterized in that the computer program product includes instructions, and when the instructions are executed by a server, the server executes the method described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the multiple embodiments disclosed in this specification, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only the multiple embodiments disclosed in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] The following is a brief introduction to the drawings required for describing the embodiments or prior art.

[0021] Figure 1 A schematic diagram of a system architecture for a key management method application provided in an embodiment of the present application;

[0022] Figure 2 An interactive flow chart of a key management method provided in an embodiment of the present application;

[0023] Figure 3 A flowchart of a mobile terminal generating a key in a key management method provided in an embodiment of the present application;

[0024] Figure 4 A schematic diagram of interactive authentication in a key management method provided in an embodiment of the present application;

[0025] Figure 5 A flowchart of updating a key in a key management method provided in an embodiment of the present application;

[0026] Figure 6 A schematic diagram of a WEB page of a BMC on a storage server provided in Example 1 of the present application;

[0027] Figure 7 A schematic diagram of the first interface of the mobile phone APP provided in Example 1 of the present application;

[0028] Figure 8 A schematic diagram of interactive authentication provided in Example 1 of the present application;

[0029] Fig. 9 A flowchart of a key management method for an application scenario provided in Example 1 of the present application;

[0030] Fig.10 A schematic diagram of the second interface of the mobile phone APP provided in Example 2 of the present application;

[0031] Fig.11 A flowchart of a key management method for an application scenario provided in Example 2 of the present application;

[0032] Fig.12a A schematic diagram of a mobile terminal provided in an embodiment of the present application;

[0033] Figure 12b A schematic diagram of a storage server provided in an embodiment of the present application;

[0034] Fig.12c A schematic diagram of an authentication server provided in an embodiment of the present application;

[0035] Fig.13 A schematic diagram of an electronic device is provided for an embodiment of the present application. DETAILED DESCRIPTION

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

[0037] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the term "multiple" means two or more. For example, multiple systems refers to two or more systems, and multiple terminals refers to two or more terminals.

[0038] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprises", "has" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0039] In the description of the embodiments of the present application, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0040] In the description of the embodiments of the present application, the terms "first\second\third, etc." or module A, module B, module C, etc. are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that the specific order or sequence can be interchanged where permitted so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0041] In the description of the embodiments of the present application, the numbers representing the steps, such as S110, S120, etc., do not necessarily mean that the steps will be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.

[0042] Terms related to this application:

[0043] A key is a piece of data used in an encryption algorithm to protect content. Each key has two parts: the license key seed and the key ID (often abbreviated as KID). The key ID is used to identify the key required to decrypt the content. The key ID identifies the protected content from a license perspective.

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

[0045] The following introduces the solutions related to this application from different aspects.

[0046] In a solution related to the present application, the key can be centrally managed by a remote key management server to prevent the key from being lost or forgotten. However, centrally managing the key by a remote key management server requires certificate authentication and IP settings of the remote key management server to be done in advance on the storage server.

[0047] In view of this, the embodiments of the present application provide a key management method, device and system, which provide more convenient and secure encryption disk key management based on a storage server encryption solution of an encrypted hard disk (SED).

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0049] Figure 1 A schematic diagram of the system architecture of a key management method application provided in an embodiment of the present application. Figure 1 As shown, the system architecture of the application includes a storage server 11 , a mobile terminal 12 , an authentication server 13 and an encrypted hard disk (selfencrypting drive, SED) 14 .

[0050] The storage server 11 is provided with a baseboard manager controller (BMC), and the BMC transmits authentication data to the authentication server 13 through a network, where the authentication data includes device information of the storage server.

[0051] After the authentication server 13 verifies the device information, it generates a QR code and binds the QR code ID with the device information, and transmits the QR code to the BMC of the storage server 11 , which displays the QR code in a pop-up window.

[0052] The mobile terminal 12 scans the QR code and sends the user information and the read QR code information as authentication data to the authentication server through the network.

[0053] After the authentication server verifies the user information, it notifies the BMC that the verification is successful. Through the authentication of the authentication server 13, a secure data channel is established between the BMC 11 of the storage server and the mobile terminal APP 11. Using the BMC of the storage server to provide QR code authentication and establish a secure network data transmission channel can ensure the security and consistency of data.

[0054] The application system architecture provided by the embodiment of the present application is applied to the scenario where the encrypted hard disk SED14 is used inside the storage server. The authentication process is completed through the interaction between the storage server 11, the mobile terminal 12 and the authentication server 13. A secure data channel is established between the mobile terminal 12 and the BMC platform of the storage server 11. The secure data channel is a network data transmission channel that can securely transmit keys. Based on the secure data channel, the mobile terminal 12 uses an algorithm to generate the key of the self-encrypting disk SED14 from the input data in the generation method selected by the user, such as fingerprint method, face method or voice method, and transmits it to the BMC platform of the storage server 11 to complete the key setting of the encrypted hard disk SED14. The BMC platform of the storage server 11 encrypts the self-encrypting disk SED14 according to the key.

[0055] In the application system architecture provided in the embodiment of the present application, the mobile terminal 12 uses an algorithm to generate the key of the encryption disk according to the generation method selected by the user, thereby improving the accuracy and security of identity authentication. The use of multiple generation methods and encryption technologies ensures the data security and privacy of the storage server, and can prevent unauthorized access and attacks.

[0056] It is worth noting that Figure 1 It is only a schematic diagram of a system architecture provided in an embodiment of the present application. The positional relationship between the devices, components, modules, etc. shown in the figure does not constitute any limitation.

[0057] As an example, the storage server 11 includes, for example, a rack server, a cabinet server, a blade server, and the like.

[0058] As an example, the mobile terminal 12 includes a mobile phone, a tablet computer, a wearable device, a smart TV, a smart screen, a car computer, etc.

[0059] As an example, the authentication server 13 includes, for example, a rack server, a cabinet server, a blade server, and the like.

[0060] The above is an introduction to the application system architecture of the key management method provided in the embodiment of the present application. Next, based on the above-described content, the key management method provided in the embodiment of the present application is introduced.

[0061] The key management method provided in the embodiment of the present application is applied to a mobile terminal, where the mobile terminal displays a first interface, where the first interface is used to select a key generation method for an encrypted hard disk of a storage server; a user operation for the first interface is received, and a key generation method is determined, where the key generation method includes a generation method based on fingerprint, voice or face; input data for the key generation method is received; the input data includes fingerprint data, voice data or face data; a key is generated based on the input data, and the key is used to encrypt the encrypted hard disk; the key is encrypted with a private key and sent to a storage server; the private key is provided by an authentication server after determining that the mobile terminal authentication is successful; and the public key corresponding to the private key is on the storage server.

[0062] Figure 2 The following is an interactive flow chart of a key management method provided in an embodiment of the present application. The method can be executed by any terminal device, server device, or platform with computing and processing capabilities. It can be understood that some or all steps of the key management method of the present application can be based on the aforementioned Figure 1 The application architecture is implemented in . Figure 2 As shown, in the mobile terminal, the key management method includes the following steps.

[0063] S11, before displaying the first interface, the mobile terminal 12 performs authentication according to the authentication information of the storage server; the authentication information is generated by the authentication server according to the device information of the storage server and provided to the storage server; the mobile terminal 12 obtains the private key provided by the authentication server, and the private key is provided by the authentication server after determining that the authentication of the mobile terminal 12 is successful; the public key corresponding to the private key is on the storage server.

[0064] S12, displaying a first interface, the first interface is used to select a key generation method for the encrypted hard disk of the storage server; receiving a user operation for the first interface, determining a key generation method; the key generation method includes a generation method based on fingerprints, voice or face.

[0065] A human-computer interaction interface is displayed on the mobile terminal 12, and the human-computer interaction interface provides options for key generation methods, including generating keys based on fingerprints, generating keys based on voice, or generating keys based on faces. These options can be presented in the form of buttons, icons, option boxes, toolbar options, drop-down menu options, etc. The human-computer interaction interface can be recorded as a first interface.

[0066] In some embodiments, the user determines the method for generating the key by clicking or checking a corresponding button, icon, or option box on the first interface; the mobile terminal 12 receives the user operation on the first interface and determines the method for generating the key, which includes generating the key based on fingerprint, voice, or face.

[0067] Exemplarily, the user clicks the "Generate Key" button on the first interface of the mobile terminal APP, and checks the "Fingerprint" generation method in the option box. The mobile terminal 12 receives the user's check information and determines that the key generation method is to generate a key based on the fingerprint.

[0068] In some implementations, the mobile terminal 12 may query locally stored records, obtain the last key generation method, and prompt the user. The user selects the key generation method according to the prompt and enters corresponding data.

[0069] Exemplarily, the user searches the locally saved records on the mobile terminal 12 and learns that the encryption hard disk is using a voice-generated key generation method. The user selects the voice-generated key generation method according to the prompt and inputs the corresponding voice data.

[0070] In some implementations, when the encrypted hard disk has been encrypted, the mobile terminal 12 may request the storage server 11 to query and obtain the key ID of the encrypted hard disk, and query the associated key generation method according to the key ID.

[0071] S13, receiving input data corresponding to the key generation method; the input data includes fingerprint data, voice data or face data.

[0072] In some implementations, the user inputs data through a biometric information collection interface provided by the first interface according to the key generation method, and the biometric information collection interface includes a fingerprint data collection interface, a voice data collection interface, or a face data collection interface. The mobile terminal 12 receives the data input by the user through the biometric information collection interface, including fingerprint data, voice data, or face data.

[0073] Exemplarily, the user inputs fingerprint data through the fingerprint collection interface provided by the first interface. The input data acquired by the mobile terminal is the fingerprint data.

[0074] S14 , the mobile terminal 12 generates a key according to the input data; the key is used to encrypt the encrypted hard disk 14 .

[0075] In some implementations, target features may be extracted based on input data; the target features may include fingerprint features, voice features, or facial features; a key ID may be determined; and a key may be obtained using an algorithm based on the target features and the key ID.

[0076] For example, Figure 3 This is a flow chart of a mobile terminal generating a key in a key management method provided in an embodiment of the present application. Figure 3 As shown, the mobile terminal 12 can complete step S14 by following the steps S141-S144:

[0077] S141, verify input data.

[0078] The mobile terminal 12 will perform a preliminary check on the input data to ensure that the input data can extract target features that meet the requirements.

[0079] In some implementations, the target features that meet the requirements include fingerprint features, facial features, or voice features that meet the integrity requirements.

[0080] In some implementations, the target features that meet the requirements include fingerprint features, facial features, or voice features that meet the clarity requirements.

[0081] In some implementations, the target features that meet the requirements include fingerprint features, facial features, or voice features that meet the data volume requirements.

[0082] S142, after verification, extracting target features based on input data.

[0083] Exemplarily, the input data is fingerprint data, and when the mobile terminal 12 determines after verification that the input data can extract fingerprint features that meet the requirements, the mobile terminal 12 extracts the fingerprint features of the input data.

[0084] Exemplarily, the input data is voice data, and when the mobile terminal 12 determines after verification that the input data can extract voice features that meet the requirements, the mobile terminal 12 extracts the voice features of the input data.

[0085] Exemplarily, the input data is facial data, and when the mobile terminal 12 determines after verification that the input data can extract facial features that meet the requirements, the mobile terminal 12 extracts the facial features of the input data.

[0086] S143, randomly generate a key ID, where the key ID is used to identify the key and associate it with the key generation method.

[0087] In some implementations, the mobile terminal 12 randomly generates a key ID for the key to be generated.

[0088] S144, a key is obtained by using an algorithm to generate the key according to the target characteristics and the key ID.

[0089] Exemplarily, the mobile terminal 12 may use a hash function to generate a key ID from a fingerprint feature and then generate a key.

[0090] S15, encrypting the key with a private key and transmitting it to the storage server 11, the private key is provided by the authentication server 13 after determining that the mobile terminal authentication is successful; the public key corresponding to the private key is in the storage server.

[0091] In some embodiments, the mobile terminal 12 sends an encryption request to the storage server; the key and key ID are encrypted by a private key and transmitted to the storage server 11, and the storage server 11 decrypts the key and key ID by a public key, and uses the decrypted key to encrypt the encrypted hard disk SED14.

[0092] After the mobile terminal 12 confirms that the encrypted hard disk SED14 is executed successfully, the key ID is associated with the user ID and the key generation method and then saved in the mobile terminal 12. Associating the key ID with the key generation method has traceability, which can prevent the key from being lost or forgotten. Associating the key ID with the user ID and granting permission for the use of the key can improve the accuracy and security of identity authentication.

[0093] In some embodiments, the mobile terminal 12 receives a user operation for an encrypted hard disk and displays a second interface, where the second interface is used to prompt the user to input decryption data corresponding to a key generation method; generate a decryption key based on the decrypted data; encrypt the decryption key with a private key and send it to a storage server, where the decryption key is used by the storage server to decrypt the encrypted hard disk.

[0094] In some embodiments, the mobile terminal can extract target features based on the decryption data; the target features include fingerprint features, voice features or face features; obtain the key ID through the storage server; the key ID is the key ID currently being used by the SED; use an algorithm to generate a decryption key based on the target features and the key ID.

[0095] The key management method provided in the embodiment of the present application generates a decryption key through a mobile terminal, which can prevent the key from being lost or forgotten.

[0096] In the key management method provided in the embodiment of the present application, the mobile terminal 12 can provide a convenient operation process, so that the user can encrypt and unlock the encrypted hard disk of the storage server at any time by fingerprint, face, voice and other generation methods, thereby improving the user's convenience. The key management method provided in the embodiment of the present application can prevent the key from being lost or forgotten by associating the key ID with the user ID and the key generation method through the mobile terminal 12.

[0097] Next, the key management method provided in the embodiment of the present application is applied to the storage server. Figure 2 As shown, a BMC platform is provided in the storage server 11, and the key management method in the BMC platform includes the following steps S21-S25.

[0098] S21, the storage server 11 completes interactive authentication with the mobile terminal 12 and the authentication server 13.

[0099] After the authentication is completed, a secure data transmission channel is established between the storage server 11 and the mobile terminal 12 based on a pair of public keys and private keys, which can ensure the security and consistency of data network transmission.

[0100] S22, after receiving the key and key ID encrypted by the mobile terminal 12 using the private key through the secure data transmission channel, the received key and key ID are decrypted using the public key.

[0101] In some implementations, the received key and key ID are decrypted using a public key to obtain the key and key ID having fingerprint features.

[0102] In some implementations, the received key and key ID are decrypted using a public key to obtain the key and key ID having voice characteristics.

[0103] In some implementations, the received key and key ID are decrypted using a public key to obtain the key and key ID having facial features.

[0104] S23, the storage server 11 uses the decrypted key and key ID to encrypt / unlock the encrypted hard disk, and associates the key ID with the encrypted hard disk for storage.

[0105] In some implementations, in response to an encryption request from the mobile terminal 12 , the encrypted hard disk is encrypted using the decrypted key and key ID having fingerprint, voice or facial features.

[0106] In some implementations, in response to an unlock request from the mobile terminal 12 , the BMC queries the key ID of the encrypted hard disk and returns the key ID to the mobile terminal 12 . The BMC decrypts the key and key ID sent by the mobile terminal 12 using the public key to unlock the encrypted disk.

[0107] Next, the key management method provided in the embodiment of the present application is applied to the authentication server 13. Figure 2 As shown, authentication is performed on the authentication server, including the following steps S31-S32.

[0108] S31, authenticating the storage server 11, and determining that the storage server 11 has passed the authentication.

[0109] S32, authenticating the mobile terminal 12, and determining that the mobile terminal 12 has passed the authentication.

[0110] S33, after the authentication is passed, the authentication server 13 can generate a pair of public keys and private keys through the RSA asymmetric encryption algorithm, send the public key to the BMC, and send the private key to the mobile terminal 12.

[0111] The authentication server interacts with the mobile terminal and the BMC platform of the storage server to complete the authentication. The following describes the interactive authentication process through a specific implementation method.

[0112] For example, Figure 4 This is a flow chart of interactive authentication in the key management method provided in the embodiment of the present application. Figure 4 As shown, the interaction process between step S11 of the mobile terminal 12 including S111-S114, step S21 of the storage server 11 including S211-S214, and the authentication server 13 is as follows:

[0113] S211 , the storage server 11 determines the device information of the storage server, and transmits the device information of the storage server to the authentication server 11 through the network.

[0114] In some implementations, a control for interacting with a user may be provided on a WEB interface of the BMC of the storage server 11 , and the BMC may transmit device information of the storage server 11 to the authentication server 13 through a network after detecting that a user operates the control.

[0115] Exemplarily, a “Mobile Terminal Authentication” button may be set on the “Secure Storage Management” page of the BMC of the storage server 11 . After the user clicks the button, the BMC transmits the device information of the storage server 11 to the authentication server 13 via the network.

[0116] The authentication server 13 executes S311, obtains the device information of the storage server 11, and verifies the device information; S312, after the verification is passed, generates a QR code; S312, binds the ID of the QR code with the device information, and transmits the QR code to the BMC of the storage server.

[0117] The storage server 11 executes S212 to receive and display the two-dimensional code.

[0118] The mobile terminal 12 executes S111 to determine the user information. The user information includes the user's account name, user ID, user identity, authority and other data set in the mobile terminal 12. S112, scan the QR code displayed by the storage server 11 to obtain the QR code information. The QR code is generated by the authentication server after the device information is verified, and the QR code ID is bound to the device information. S113, send the user information and the QR code information to the authentication server 13 for authentication.

[0119] The authentication server 13 executes S321, obtains the user information and the QR code information sent by the mobile terminal, and verifies the user information; S322, after the verification is passed, notifies the BMC that the verification is passed.

[0120] The storage server 11 executes S213 to determine whether the mobile terminal 12 has passed the authentication.

[0121] When the authentication server 13 succeeds in authenticating the mobile terminal 12 , the BMC platform will receive verification success information transmitted by the authentication server 13 through the network.

[0122] After confirming that the user information and the two-dimensional code information have been verified, the authentication server 13 executes S33 to generate a pair of public and private keys, transmits the private key to the mobile terminal 12 , and transmits the public key to the BMC of the storage server 11 .

[0123] The mobile terminal 12 executes S114, receives the private key provided by the authentication server 13, and completes the authentication.

[0124] The storage server 11 executes S214, receives the public key provided by the authentication server 13, and completes the authentication.

[0125] At this point, interactive authentication is completed between the mobile terminal 12 and the storage server 11 and the authentication server 13. Based on a pair of public keys and private keys, a secure data transmission channel is established between the mobile terminal 12 and the storage server 11, which can ensure the security and consistency of data network transmission.

[0126] In some actual usage scenarios, users often need to update the encryption disk key. According to the key management method provided in the embodiment of the present application, the key can also be updated in the mobile terminal 12, and the storage server 11 re-encrypts the encrypted hard disk SED14 according to the updated key.

[0127] For example, Figure 5 This is a flowchart of updating a key in the key management method provided in the embodiment of the present application. Figure 5 As shown, updating the key in the mobile terminal 12 is completed by the following steps S161-S164; and re-encrypting the encrypted hard disk SED14 according to the updated key in the storage server 11 is completed by the following steps S241-S242.

[0128] S161, the mobile terminal 12 receives a user operation to modify a key, and sends a request to modify the key to the storage server.

[0129] Exemplarily, an "update key" button may be set on the mobile phone. After the user clicks the "update key" button, the mobile phone APP sends a key modification request to the BMC of the storage server 11; and requests to query the key ID of the encrypted hard disk.

[0130] In S241 of the storage server 11, in response to the key update request of the mobile terminal 12, the BMC queries the key ID currently in use by the encrypted hard disk and returns the key ID to the mobile terminal 12. The key ID currently in use may be recorded as the first key ID.

[0131] In some embodiments, the mobile terminal 12 can obtain the returned first key ID through the storage server 11, where the first key ID is the key ID currently being used by the encrypted hard disk; query the locally saved records based on the first key ID, and prompt the user with the method for generating the original key; the user enters data based on the prompted generation method.

[0132] S162, the mobile terminal 12 obtains new data input by the user, and extracts new target features based on the input new data.

[0133] S163, the mobile terminal randomly generates a second key ID for the new key to be generated, and uses an algorithm to generate a second key according to the new target characteristics and the second key ID; the second key is a new key.

[0134] Exemplarily, the mobile terminal 12 may use a hash function to generate the second key according to the target feature and the second key ID.

[0135] In the scenario where the user may lose or forget the key, the storage server 11 needs to verify the original key, and after the verification, use the second key and the second key ID to re-encrypt the encrypted hard disk SED14. Based on this scenario, the mobile terminal 12 obtains the first key ID returned by the storage server 11, and the first key ID is the key ID currently used by the encrypted hard disk; the locally saved records are queried according to the first key ID, and the user is prompted with the method of generating the original key; the user enters data according to the prompted generation method, and the mobile terminal 12 extracts the target feature based on the input data, and generates the original key of the encrypted hard disk, i.e., the first key, based on the target feature and the first key ID.

[0136] S164 , encrypting the second key and the second key ID with the private key and transmitting them to the BMC of the storage server 11 .

[0137] In S242 of the storage server 11, the BMC decrypts the second key and the second key ID sent by the mobile terminal 12 by using the public key; and in S243, the encrypted hard disk SED14 is re-encrypted using the second key and the second key ID.

[0138] After the mobile terminal 12 confirms that the key update is successfully executed, the second key ID is associated with the user ID and the method for generating the second key and then stored in the mobile terminal 12 .

[0139] In some implementations, the storage server 11 needs to verify the first key, and after verification, use the second key and the second key ID to re-encrypt the encrypted hard disk SED14. The mobile terminal 12 can encrypt the first key, the second key, and the second key ID with a private key and transmit them to the BMC of the storage server 11, and the BMC decrypts the first key, the second key, and the second key ID sent by the mobile terminal 12 with a public key; use the first key for verification, and after verification, use the second key and the second key ID to re-encrypt SED14.

[0140] Example 1

[0141] Embodiment 1 of the present application provides a key management method, which utilizes the fingerprint encryption storage server's SED in a mobile phone APP.

[0142] Figure 6 This is a schematic diagram of a BMC web page on a storage server provided in Example 1 of the present application. Figure 6 As shown, the WEB page of the BMC of the storage server provides a QR code for mutual authentication.

[0143] Figure 7 This is a schematic diagram of the first interface of the mobile phone APP provided in Example 1 of this application. Figure 7 As shown, the human-computer interaction interface of the mobile APP is provided with a "Generate Key" button, an "Encrypt Hard Drive" button and an "Update Key" button.

[0144] Users can scan the QR code through the mobile APP to obtain authentication data; the authentication data is sent to the BMC of the storage server.

[0145] use Figure 7 The mobile phone APP shown provides an operation process, and users can encrypt and unlock the encryption disk of the storage server at any time through fingerprint, face, voice and other generation methods, thereby improving user convenience.

[0146] like Figure 8 As shown in the figure, after the authentication server confirms the authentication data of the mobile APP and the authentication data of the storage server, a secure data transmission channel is established on the network between the mobile APP and the BMC of the storage server through a pair of public keys and private keys to ensure the security and consistency of the data.

[0147] like Fig. 9 As shown, in the application scenario provided in Example 1 of the present application, the implementation of the key management method includes the following process:

[0148] S91, the mobile APP and the BMC of the storage server establish a secure network data transmission channel through mutual authentication.

[0149] The specific implementation includes the following steps S911-S912.

[0150] S911, user login Figure 6 In the WEB interface of the BMC of the storage server shown in the figure, open the "Secure Storage Management" page and click the "Mobile Terminal Authentication" button.

[0151] After clicking the "Mobile Terminal Authentication" button, the BMC determines the device information and transmits the device information of the storage server to the authentication server through the network.

[0152] After the authentication server verifies the device information, it generates a QR code, binds the QR code ID with the device information, and transmits it to the BMC. The BMC pops up a window to display the QR code.

[0153] S912, the user scans the QR code through the mobile phone APP, and sends the user information and the read QR code information to the authentication server through the network.

[0154] After the authentication server verifies the user information, it notifies the BMC that the verification has passed and generates a pair of public and private keys through the RSA asymmetric encryption algorithm. The public key is sent to the BMC and the private key is sent to the mobile phone APP.

[0155] In this way, the mobile APP and the BMC of the storage server can communicate through the network. When the mobile APP transmits the encrypted hard disk key, it uses the private key to encrypt it. When the BMC receives the encrypted hard disk key, it uses the public key to decrypt it, so as to ensure the security and consistency of the transmitted encrypted hard disk key data.

[0156] The mobile APP uses an algorithm to generate a key based on the generation method selected by the user. Through the established secure data channel, the mobile APP transmits the key to the BMC of the storage server. The key is used to encrypt or unlock the encrypted hard disk SED. The specific steps are as follows:

[0157] S921, the user clicks the "Generate Key" button on the mobile APP and selects a generation method. The mobile APP receives the user's operation and determines the generation method.

[0158] The user inputs corresponding data according to the generation method, and the input data includes fingerprint data, face data or voice data; the mobile phone APP receives the input data corresponding to the generation method.

[0159] The mobile APP performs preliminary verification on the input data to ensure that the input data can extract the target features that meet the integrity requirements. The target features include fingerprint features, facial features or voice features.

[0160] After preliminary verification, the APP randomly generates a key ID for the key to be generated, and uses an algorithm to generate a key based on the target characteristics and key ID.

[0161] Exemplarily, a hash function may be used to generate a key based on the feature data and the key ID.

[0162] S922, the user clicks the "Encrypt Hard Drive" button on the mobile APP, and the mobile APP sends an encryption request to the BMC of the storage server, encrypts the key and key ID with the private key, and transmits them to the BMC of the storage server.

[0163] The BMC uses the public key to decrypt the key and key ID to encrypt the SED.

[0164] S923, after the mobile phone APP confirms that the encryption is successfully executed, the key ID, user ID, and key generation method are associated and saved in the mobile phone APP.

[0165] When the user needs to update the encryption disk key, click the "Update Key" button on the mobile APP to update the encryption disk key. The specific steps are as follows:

[0166] S931, after the user clicks the "Update Key" button, the mobile APP sends a request to update the key to the BMC in response to the user's operation, and requests to query the key ID of the encryption disk.

[0167] The BMC queries the first key ID currently being used by the encrypted hard disk and returns the first key ID to the mobile APP.

[0168] After the mobile APP obtains the first key ID, it queries the locally saved records, obtains the method of generating the original key, and prompts it to the user.

[0169] The user inputs data according to the generation method corresponding to the original key. The mobile phone APP extracts the target features based on the input data, and generates the original key being used by the encryption disk, that is, the first key, based on the target features and the first key ID.

[0170] S932, the mobile phone APP randomly generates a second key ID for the second key to be generated, and uses a hash function to generate the second key according to the target features and data and the second key ID.

[0171] S933, the mobile phone APP encrypts the first key, the second key and the second key ID with the private key and transmits them to the BMC of the storage server.

[0172] The BMC decrypts the first key, the second key, and the second key ID through the public key to update the key of the encryption disk and re-encrypt the SED.

[0173] S934, after the mobile phone APP confirms that the key update is successfully executed, the second key ID and the user ID, and the generation method of the second key are associated and saved in the mobile phone APP.

[0174] Example 2

[0175] A key management method is provided in Example 2 of the present application. Compared with Example 1, Example 2 provides a key management solution for encrypting and unlocking an encrypted hard disk using fingerprints in a mobile phone APP.

[0176] Fig.10 This is a schematic diagram of the second interface of the mobile phone APP provided in Example 2 of this application. Fig.10 As shown, an "Unlock Hard Drive" button is also provided on the human-computer interaction interface of the mobile APP.

[0177] In the application scenario provided in Example 2 of the present application, the implementation of the key management method includes the following process:

[0178] S101, the BMC of the storage server and the mobile phone APP establish a secure network data transmission channel through mutual authentication. The specific implementation method can refer to steps S911-S912 in Example 1, which will not be repeated here.

[0179] The user generates a key through the mobile phone APP to encrypt the hard disk. Fig.11 As shown, the specific steps include:

[0180] S1021, the mobile phone APP generates a key based on the fingerprint data and obtains the key ID.

[0181] The mobile APP provides a "Generate Key" button. After the user clicks the "Generate Key" button, the mobile APP prompts the user to generate the key in the form of fingerprint, and the user enters the fingerprint. After the mobile APP obtains the fingerprint, it first performs a preliminary verification on the fingerprint entered by the user to determine the integrity of the fingerprint, and then extracts the target feature from the fingerprint through a feature extraction algorithm. The target feature is a set of digital signals that uniquely corresponds to the fingerprint. After the preliminary verification, the mobile APP randomly generates a key ID for the key to be generated, and uses a hash function to generate the fingerprint key of the encryption disk based on the feature data and the key ID.

[0182] S1022, the mobile phone APP provides an "Encrypt Hard Drive" button. After the user clicks the "Encrypt Hard Drive" button, the mobile phone APP obtains an encryption request, sends an encryption instruction to the BMC of the storage server, and encrypts the fingerprint key and key ID with a private key and transmits them to the BMC. The BMC decrypts the fingerprint key and key ID with a public key, and uses the decrypted fingerprint key and key ID to encrypt the encrypted hard drive (SED).

[0183] After the mobile APP confirms that the encryption is successful, it associates the key ID with the user ID and the key generation method and saves it on the mobile phone. The next time the system starts, the user can unlock the encrypted hard disk on the storage server through the mobile APP. Fig.11 As shown, the specific steps include:

[0184] S1031, the mobile APP provides an "Unlock Hard Drive" button. After the user clicks the "Unlock Hard Drive" button, the mobile APP obtains an unlock request, sends an unlock instruction to the BMC of the storage server, and requests the BMC to query the key ID that the SED is using; the BMC queries the key ID of the SED and sends the key ID to the mobile APP.

[0185] S1032, the mobile phone APP determines the fingerprint method according to the key ID, obtains the user's fingerprint data, and obtains the fingerprint key according to the fingerprint data and the key ID.

[0186] After the mobile APP obtains the key ID that the SED is using, it can query the local history records on the mobile phone, prompting the user that the original key is generated based on the fingerprint data and requiring the user to enter the fingerprint. The mobile APP extracts the fingerprint features of the fingerprint entered by the user and generates the corresponding fingerprint key with the key ID.

[0187] S1033, the mobile phone APP encrypts the fingerprint key and key ID with the private key and transmits them to the BMC of the storage server; the BMC decrypts the fingerprint key and key ID with the public key and uses the fingerprint key and key ID to unlock the encrypted disk.

[0188] When the encryption hard disk key needs to be updated, the user can update the encryption hard disk SED key on the storage server through the mobile APP. Fig.11 As shown, the specific steps include:

[0189] S1041, the mobile APP provides an "Update Key" button. After the user clicks the "Update Key" button, the mobile APP obtains a request to update the key. The mobile APP sends an update key instruction and queries the BMC for the first key ID that the SED is using. The BMC sends the first key ID that the SED is using to the mobile APP.

[0190] S1042, the mobile APP obtains the first key ID being used by the SED and then queries the local history records on the mobile phone, prompting the user that the key is generated based on the fingerprint data and requiring the user to enter the fingerprint. The mobile APP extracts the fingerprint feature of the input fingerprint and generates the fingerprint key being used with the first key ID, which is recorded as the first fingerprint key.

[0191] S1043, the mobile APP prompts the user to input a new fingerprint, extracts a new fingerprint feature from the new fingerprint, and the mobile APP randomly generates a second key ID for the new key to be generated, and uses an algorithm (such as a hash function) to generate a second fingerprint key based on the new fingerprint feature and the second key ID.

[0192] S1044, the mobile APP encrypts the first fingerprint key, the second fingerprint key and the second key ID used by the SED with the private key and transmits them to the BMC of the storage server. The BMC decrypts the key used by the encryption disk, the new key and the key ID of the new key with the public key to update the key of the encryption disk. After the mobile APP confirms that the key update is successful, it associates the new key ID with the user ID and the generation method of the new key and saves it on the mobile phone.

[0193] By adopting the key management method provided in the embodiment of the present application, users can encrypt and unlock the encryption disk of the storage server at any time through the mobile phone APP using identity authentication methods such as fingerprint, face or voice, avoiding the risk of key loss or forgetting, and improving user convenience and data security.

[0194] The above is an introduction to the key management method provided in the embodiments of the present application. It can be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. In addition, in some possible implementations, the steps in the above embodiments can be selectively executed according to actual conditions, and can be partially executed or fully executed, which is not limited here. In addition, all or part of any features of any of the above embodiments can be freely and arbitrarily combined without contradiction; the combined technical solution is also within the scope of the present application.

[0195] Fig.12a A schematic diagram of a mobile terminal provided in an embodiment of the present application. Fig.12a As shown, interactive authentication is completed between the mobile terminal, the storage server and the authentication server; the mobile terminal includes a display module 111, a data receiving module 112, a key generating module 113, and a transmission module 114.

[0196] Among them, the display module 111 displays the first interface, and the first interface is used to select the key generation method of the encrypted hard disk of the storage server. The data receiving module 112 receives the user operation for the first interface and determines the key generation method; the key generation method includes a generation method based on fingerprint, voice or face; receives input data for the key generation method; the input data includes fingerprint data, voice data or face data. The key generation module 113 generates a key based on the input data, and the key is used to encrypt the encrypted hard disk. The transmission module 114 encrypts the key with a private key and sends it to the storage server; the private key is provided to the mobile terminal by the authentication server after determining that the authentication is successful; the public key corresponding to the private key is on the storage server.

[0197] In some implementations, the mobile terminal further includes an authentication module 115 , an encryption hard disk module 116 , an unlocking hard disk module 117 and an update key module 117 .

[0198] Among them, the authentication module 111 determines the user information; scans the QR code displayed by the storage server to obtain the QR code information; and sends the user information and the QR code information to the authentication server for authentication.

[0199] The encryption hard disk module 113 sends an encryption request to the storage server; encrypts the key and key ID with a private key and transmits them to the storage server.

[0200] The unlocking hard disk module 114 sends an unlocking request and / or a query request to the storage server; and encrypts the key and key ID with a private key and transmits them to the storage server.

[0201] The key update module 115 sends a key update request and / or a query request to the storage server; encrypts the key in use, the updated key and the updated key ID with a private key and transmits them to the storage server.

[0202] The mobile terminal associates the key ID with the user ID and the key generation method and saves them.

[0203] Figure 12b A schematic diagram of a storage server provided in an embodiment of the present application. Figure 12b As shown, the storage server completes interactive authentication with the mobile terminal and the authentication server; a BMC is provided on the storage server, and the BMC includes an authentication module 121 , an encryption / unlocking module 122 , a query module 123 and an update encryption module 124 .

[0204] Among them, the authentication module 121 transmits the device information of the storage server to the authentication server through the network; receives and displays the QR code; the QR code is generated after the authentication server verifies the device information, and the QR code ID is bound to the device information.

[0205] The encryption / unlocking module 122 responds to the encryption / unlocking request of the mobile terminal, decrypts the received key and key ID through the public key, and the public key is provided by the authentication server; the key and key ID are provided by the mobile terminal; the decrypted key and key ID are used to encrypt or unlock the encrypted hard disk, and the key and key ID are saved.

[0206] In response to the query request, the query module 123 sends the key ID currently being used by the encrypted hard disk to the mobile terminal.

[0207] In response to the key update request, the encryption update module 124 decrypts the key in use, the updated key and the updated key ID using the public key; and encrypts the encrypted hard disk using the key in use, the updated key and the updated key ID.

[0208] Fig.12c A schematic diagram of an authentication server provided in an embodiment of the present application. Fig.12c As shown, interactive authentication is completed between the authentication server, the mobile terminal and the storage server; the authentication server includes a storage server verification module 131 and a mobile terminal verification module 132.

[0209] The storage server verification module 131 obtains the device information of the storage server; verifies the device information; after the verification is passed, generates a QR code and binds the ID of the QR code to the device information; and transmits the QR code to the BMC of the storage server.

[0210] The mobile terminal verification module 132 obtains the user information and the two-dimensional code information sent by the mobile terminal; verifies the user information; after the verification is passed, notifies the BMC of the storage server that the verification is passed, and generates a public key and a private key.

[0211] A key management system provided by an embodiment of the present application includes an authentication server, a mobile terminal and a storage server, wherein interactive authentication is performed between the authentication server, the mobile terminal and the storage server; wherein the mobile terminal is used to execute the key management method as described in some or all of the implementation methods in steps S11-S16; the storage server is provided with a BMC for executing the method as described in some or all of the implementation methods in steps S21-S24; and the authentication server is used to execute the method as described in some or all of the implementation methods in steps S31-S33.

[0212] The present application embodiment provides an electronic device, such as Fig.13 The method comprises: at least one memory 503 for storing programs; at least one processor 501 for executing the programs stored in the memory. When the programs stored in the memory are executed, the processor is used to execute the method described in some or all of the embodiments in steps S11-S16.

[0213] An embodiment of the present application provides a computer storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the method described in part or all of the implementation methods in steps S11-S16.

[0214] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0215] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.

[0216] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0217] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.

Claims

1. A key management method, characterized in that: Applied to a mobile terminal, the method comprises: Displaying a first interface, the first interface is used to select a key generation method for the encrypted hard disk of the storage server; Receiving a user operation on the first interface, determining the key generation method; the key generation method includes a generation method based on fingerprint, voice or face; Receiving input data for the key generation method; Generate a key according to the input data, wherein the key is used to encrypt the encrypted hard disk; The key is encrypted with a private key and then sent to the storage server; the private key is provided by the authentication server after determining that the authentication of the mobile terminal is successful.

2. The method according to claim 1, characterized in that Before displaying the first interface, the method further includes: Determine user information; Scan the QR code of the storage server to obtain QR code information; the QR code is generated and provided by the authentication server according to the device information of the storage server; The user information and the two-dimensional code information are sent to the authentication server for authentication to obtain a private key provided by the authentication server.

3. The method according to claim 1, characterized in that: The step of generating a key according to the input data comprises: Extracting target features according to the input data; the target features include fingerprint features, voice features or face features; Randomly generate a key ID, where the key ID is used to identify the key and associate it with the key generation method; A key is generated based on the target characteristics and the key ID.

4. The method according to claim 3, characterized in that The step of encrypting the key with a private key and sending the encrypted key to the storage server comprises: encrypting the key and key ID with the private key and transmitting them to the storage server; The key ID, user ID and key generation method are associated and saved.

5. The method according to claim 1, characterized in that The method further comprises: Receiving a user operation for the encrypted hard disk, displaying a second interface, the second interface being used to prompt the user to input decryption data corresponding to the key generation method; A decryption key is generated based on the decrypted data; the decryption key is encrypted with a private key and sent to the storage server, and the decryption key is used by the storage server to decrypt the encrypted hard disk.

6. The method according to claim 5, characterized in that The generating a decryption key based on the decrypted data comprises: Extracting target features according to the decrypted data; the target features include fingerprint features, voice features or face features; Obtain the key ID through the storage server; the key ID is the key ID currently being used by the encrypted hard disk; A decryption key is generated based on the target characteristics and the key ID.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Receiving a user operation for modifying a key of the encrypted hard disk, sending a request for modifying the key to the storage server; Get new data entered by the user; Generate a second key based on the new data and a randomly generated second key ID; The second key and the second key ID are encrypted with a private key and transmitted to the storage server, so that the storage server encrypts the encrypted hard disk using the second key.

8. A computing device, characterized in that include: at least one memory for storing a program; At least one processor is used to execute the program stored in the memory. When the program stored in the memory is executed, the processor is used to execute the method according to any one of claims 1 to 7.

9. A computer storage medium, wherein instructions are stored in the computer storage medium, and when the instructions are executed on a computer, the computer executes the method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The computer program product comprises instructions, and when the instructions are executed by a server, the server is caused to perform the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Server security management method, expansion card and server security management system

    CN122241676A