A hardware encryption hard disk control method for bluetooth key transmission
By combining a Bluetooth USBKey with an encrypted hard drive, and utilizing a Bluetooth module and the national standard SM4 hardware encryption algorithm, the problem of easily forgotten or leaked passwords for encrypted storage devices is solved. This achieves physical isolation between the key and the storage hard drive, as well as end-to-end data encryption, thus improving security.
Patent Information
- Application Number
- CN202611279138.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-21
- Publication Date
- 2026-11-24
AI Technical Summary
Existing encrypted storage devices are prone to password forgetting or leakage, posing a security risk.
A Bluetooth USBKey is used to replace the traditional keypad password. A communication link is established between the Bluetooth module and the encrypted hard drive. The key data is stored inside the Bluetooth USBKey hardware and is encrypted and decrypted using the national cryptographic SM4 hardware encryption algorithm.
It achieves physical isolation between the key and the storage hard drive, reducing the risk of forgetting and leaking passwords, and ensuring the security and integrity of data transmission.
Smart Images

Figure CN123158657A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of encrypted hard drive control technology, and more specifically, to a hardware encrypted hard drive control method for Bluetooth key transmission. Background Technology
[0002] The Bluetooth key-encrypted hard drive is one of the secure password disk products developed by Array Technology. It is a secure encrypted storage device, primarily in the form of a hard drive (or USB flash drive), using a Bluetooth USB key to replace the traditional keypad password function, thus avoiding problems such as forgotten or leaked passwords. Existing encrypted storage devices mostly use keypad password input for unlocking, which has security flaws such as easily forgotten passwords and potential for human leakage. Therefore, we have made improvements by proposing a hardware-based encrypted hard drive control method using Bluetooth key transmission. Summary of the Invention
[0003] This invention provides a hardware-encrypted hard drive control method for Bluetooth key transmission, executed based on a hardware system including a computer, an encrypted hard drive, and a Bluetooth USB Key; the encrypted hard drive includes a first main control chip, a first Bluetooth module, and a storage hard drive; the Bluetooth USB Key includes a second main control chip and a second Bluetooth module; and further includes the following steps: S1. The encrypted hard drive is powered on to perform the overall hardware initialization operation; S2. After initialization, the first main control chip identifies the mounted storage hard drive and completes the identification and verification of the storage hardware device. S3. The encrypted hard drive establishes a communication link with the Bluetooth USBKey through the first Bluetooth module and completes the acquisition of key data by using Bluetooth interaction commands. S4. The first main control chip parses the received key data to complete the encryption parameter configuration of the whole machine, responds to the SATA communication command to the computer and reports its own hardware basic information. S5. After the device configuration verification is correct, it enters the normal SATA command processing loop working mode. S6 receives data read / write commands from the computer, calls the built-in national cryptographic SM4 hardware encryption algorithm to encrypt and decrypt the interactive data, and writes the encrypted data into the storage hard drive after processing, thus completing a single data read / write operation.
[0004] As a preferred technical solution of this application, the first main control chip is electrically connected to the computer and the storage hard drive via SATA links, and the first main control chip is connected to the first Bluetooth module via serial communication.
[0005] As a preferred technical solution of this application, the second main control chip is connected to the computer via a USB interface, and the second main control chip is connected to the second Bluetooth module via serial communication; a Bluetooth wireless communication link is established between the first Bluetooth module and the second Bluetooth module.
[0006] As a preferred technical solution of this application, a Bluetooth communication process is also included, which includes: Power on, enter Bluetooth communication ready state; Bluetooth pairing establishes a communication link between two Bluetooth modules, the first and the second. Once the model number is obtained and pairing is complete, the model information of the first Bluetooth module and the second Bluetooth module will be obtained, and the first Bluetooth module and the second Bluetooth module will be identified simultaneously. To obtain the key, send a private Bluetooth command to request the key data and receive the returned key-related information. The key data is identified, the received key data is processed, and the real key is obtained through decoding, thus completing the identification and verification of the key data. Configure the encryption algorithm based on the obtained and decoded real key; Once the encryption algorithm is configured, normal communication will begin.
[0007] As a preferred technical solution of this application, the first main control chip integrates SATA to SATA bridge control function and hardware-level national cryptographic SM4 symmetric encryption operation unit, and the SM4 encryption algorithm adopts a 128-bit key specification.
[0008] As a preferred technical solution in this application, the storage hard drive is a SATA interface type, compatible with SATA interface mechanical HDD hard drives and SATA interface solid-state SSD hard drives.
[0009] As a preferred technical solution of this application, both the first Bluetooth module and the second Bluetooth module are Bluetooth 5.0 specifications; the Bluetooth operating frequency band is the 2.4GHz ISM public frequency band, and the modulation method is GFSK modulation.
[0010] As a preferred technical solution of this application, the specific working logic of the SATA command processing loop working mode is as follows: continuously listen for read and write commands issued by the computer, read the command, perform SM4 hardware encryption operation on the upstream data to be written, and then store it in the storage hard disk; after retrieving the encrypted data from the storage hard disk, it first undergoes SM4 hardware decryption operation, and the plaintext data after decryption is then sent back to the computer via the SATA channel.
[0011] As a preferred technical solution of this application, the specific implementation method of storage hardware device identification and verification in S2 is as follows: the first main control chip sends the IDENTIFY DEVICE command to the storage hard disk through the SATA link, the storage hard disk responds and returns identification information including device model, capacity, and supported features, the first main control chip performs CRC verification on the returned identification information, and confirms that the storage hard disk is successfully identified after the verification is passed.
[0012] As a preferred technical solution in this application, in S5, the judgment conditions for the device configuration verification to be correct include: the storage hard drive is successfully identified and verified, the Bluetooth USBKey is successfully paired and the key data is obtained, the real key is successfully written to the encryption algorithm engine and the encryption algorithm engine passes the self-test. After all the above conditions are met, the normal SATA command processing loop working mode is entered; if any condition is not met, the fault handling state is entered, and the corresponding error code is returned to the computer through the SATA link.
[0013] Compared with the prior art, the beneficial effects of the present invention are as follows: This application uses a Bluetooth USBKey to replace the traditional keypad password unlocking, reducing the security risks of forgotten passwords and password leakage due to manual input; the encrypted hard drive and Bluetooth USBKey have separate main control chips, and the key is stored separately inside the Bluetooth USBKey hardware, realizing physical isolation between the key and the storage hard drive, reducing the possibility of key theft at the storage end. Attached Figure Description
[0014] Figure 1 A schematic diagram of the hardware system provided in this application; Figure 2 A simplified flowchart of the hardware-encrypted hard drive control method for Bluetooth key transmission provided in this application; Figure 3 A simplified diagram of the Bluetooth communication process provided for this application. Detailed Implementation
[0015] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0016] It should be noted that, unless otherwise specified, the embodiments and features and technical solutions in the present invention can be combined with each other.
[0017] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0018] For an example, please refer to... Figure 1-3A hardware-encrypted hard drive control method for Bluetooth key transmission, executed based on a hardware system, the hardware system including a computer, an encrypted hard drive, and a Bluetooth USB Key; the encrypted hard drive includes a first main control chip, a first Bluetooth module, and a storage hard drive; the Bluetooth USB Key includes a second main control chip and a second Bluetooth module; and further includes the following steps: S1. The encrypted hard drive is powered on to perform the overall hardware initialization operation; S2. After initialization, the first main control chip identifies the mounted storage hard drive and completes the storage hardware device identification and verification. It can identify non-standard, faulty, and incompatible storage hard drives, intercepting hardware compatibility faults in advance and reducing errors in subsequent data read / write and encryption operations. S3. The encrypted hard drive establishes a communication link with the Bluetooth USBKey through the first Bluetooth module and completes the key data acquisition with the help of Bluetooth interaction commands. Wireless Bluetooth key transmission can achieve physical isolation between the key and the encrypted hard drive storage medium, reducing the risk of the key being stolen or copied along with the hard drive data. At the same time, the key is obtained through dedicated Bluetooth interaction commands, abandoning the general data transmission channel, which can effectively prevent the key from being hijacked or tampered with. S4. The first main control chip parses the received key data to complete the encryption parameter configuration of the whole machine, responds to the SATA communication command to the computer and reports its own hardware basic information; parsing the key and configuring the encryption parameters before establishing SATA communication with the computer can ensure that the hard drive has completed the encryption security configuration before being connected to the computer, reducing security vulnerabilities of bare hard drive access and plaintext data transmission. S5. After the device configuration verification is correct, it enters the normal SATA command processing loop working mode. S6 receives data read / write commands from the computer, calls the built-in national cryptographic SM4 hardware encryption algorithm to encrypt and decrypt the interactive data, and writes the encrypted data into the storage hard drive after processing, thus completing a single data read / write operation.
[0019] Furthermore, the first main control chip is electrically connected to the computer and the storage hard drive via SATA links, and the first main control chip is connected to the first Bluetooth module via serial communication.
[0020] Furthermore, the second main control chip connects to the computer via a USB interface and connects to the second Bluetooth module via serial communication; a Bluetooth wireless communication link is established between the first Bluetooth module and the second Bluetooth module.
[0021] Furthermore, it also includes the Bluetooth communication process, which includes: Power on, enter Bluetooth communication ready state; Bluetooth pairing establishes a communication link between two Bluetooth modules, the first and the second. Once the model number is obtained and pairing is complete, the model information of the first Bluetooth module and the second Bluetooth module will be obtained, and the first Bluetooth module and the second Bluetooth module will be identified simultaneously. To obtain the key, send a private Bluetooth command to request the key data and receive the returned key-related information. The key data is identified, the received key data is processed, and the real key is obtained through decoding, thus completing the identification and verification of the key data. Configure the encryption algorithm based on the obtained and decoded real key; Once the encryption algorithm is configured, normal communication will begin.
[0022] Furthermore, the first main control chip integrates SATA to SATA bridge control function and hardware-level national cryptographic SM4 symmetric encryption operation unit. The SM4 encryption algorithm adopts a 128-bit key specification, and the hardware encryption operation rate is not less than 800MB / s (under the condition that the main control operates at a main frequency of 200MHz).
[0023] Furthermore, the storage hard drive uses the SATA interface standard, compatible with SATA interface mechanical HDDs and SATA interface solid-state SSDs. The encrypted hard drive complies with the SATA 3.0 communication protocol and AHCI 1.1 protocol specifications, supporting multiple SATA transfer rates of 1.5Gbps, 3.0Gbps, and 6.0Gbps.
[0024] Furthermore, both the first and second Bluetooth modules are Bluetooth 5.0 compliant and support dual-mode operation of SPP serial port pass-through protocol and BLE Bluetooth Low Energy. The Bluetooth operating frequency band is the 2.4GHz ISM public band, and the modulation method is GFSK modulation. The maximum transmit power of the first Bluetooth module and the second Bluetooth module is 6dBm, the receive sensitivity is -92dBm, the maximum effective wireless communication distance is 10 meters, and the single Bluetooth command response latency range is controlled between 100ms and 2000ms.
[0025] Furthermore, the specific working logic of the SATA command processing loop mode is as follows: continuously listen for read and write commands issued by the computer, perform SM4 hardware encryption on the upstream data to be written after reading the command, and then store it in the storage hard drive; after retrieving the encrypted data from the storage hard drive, it first undergoes SM4 hardware decryption, and the decrypted plaintext data is then sent back to the computer via the SATA channel; the closed-loop working logic of encrypting before writing and decrypting before sending back achieves full-link encryption protection without dead ends for data writing and reading, and there is no plaintext data storage and transmission throughout the process, completely eliminating the risk of plaintext data leakage; the loop listening mode can respond to computer commands in real time without manual intervention.
[0026] Furthermore, the specific implementation method of storage hardware device identification and verification in S2 is as follows: the first main control chip sends the IDENTIFY DEVICE command to the storage hard drive through the SATA link. The storage hard drive responds and returns identification information including device model, capacity, and supported features. The first main control chip performs CRC verification on the returned identification information. After the verification is successful, the storage hard drive is confirmed to be successfully identified. The standard IDENTIFY DEVICE universal hard drive identification command is used, which is compatible with standard SATA hard drives and has strong identification universality. The CRC verification has the characteristics of strong error correction capability and high accuracy, and can accurately screen abnormal situations such as device information transmission distortion, hardware failure, and hard drive modification.
[0027] Furthermore, in S5, the conditions for verifying that the device configuration is correct include: the storage hard drive is successfully identified and verified, the Bluetooth USBKey is successfully paired and the key data is obtained, the real key is successfully written to the encryption algorithm engine and the encryption algorithm engine passes its self-test. Once all the above conditions are met, the system enters the normal SATA command processing loop mode. If any condition is not met, the system enters the fault handling state and returns the corresponding error code to the computer via the SATA link.
[0028] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0029] Obviously, the embodiments described above are merely some embodiments of the present invention, not all embodiments. The accompanying drawings show preferred embodiments of the present invention, but do not limit the patent scope of the present invention. The present invention can be implemented in many different forms; rather, these embodiments are provided to provide a more thorough and complete understanding of the disclosure of the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the patent protection scope of this invention.
Claims
1. A hardware-encrypted hard drive control method for Bluetooth key transmission, characterized in that, Execution is based on a hardware system, which includes a computer, an encrypted hard drive, and a Bluetooth USB key; the encrypted hard drive includes a first main control chip, a first Bluetooth module, and a storage hard drive; the Bluetooth USB key includes a second main control chip and a second Bluetooth module; and also includes the following steps: S1. The encrypted hard drive is powered on to perform the overall hardware initialization operation; S2. After initialization, the first main control chip identifies the mounted storage hard drive and completes the identification and verification of the storage hardware device. S3. The encrypted hard drive establishes a communication link with the Bluetooth USBKey through the first Bluetooth module and completes the acquisition of key data by using Bluetooth interaction commands. S4. The first main control chip parses the received key data to complete the encryption parameter configuration of the whole machine, responds to the SATA communication command to the computer and reports its own hardware basic information. S5. After the device configuration verification is correct, it enters the normal SATA command processing loop working mode. S6 receives data read / write commands from the computer, calls the built-in national cryptographic SM4 hardware encryption algorithm to encrypt and decrypt the interactive data, and writes the encrypted data into the storage hard drive after processing, thus completing a single data read / write operation.
2. The hardware-encrypted hard disk control method for Bluetooth key transmission according to claim 1, characterized in that, The first main control chip is electrically connected to the computer and the storage hard drive via SATA links, and the first main control chip is connected to the first Bluetooth module via serial communication.
3. The hardware-encrypted hard disk control method for Bluetooth key transmission according to claim 1, characterized in that, The second main control chip connects to the computer via a USB interface and connects to the second Bluetooth module via serial communication; a Bluetooth wireless communication link is established between the first Bluetooth module and the second Bluetooth module.
4. The hardware-encrypted hard disk control method for Bluetooth key transmission according to claim 1, characterized in that, It also includes the Bluetooth communication process, which includes: Power on, enter Bluetooth communication ready state; Bluetooth pairing establishes a communication link between two Bluetooth modules, the first and the second. Once the model number is obtained and pairing is complete, the model information of the first Bluetooth module and the second Bluetooth module will be obtained, and the first Bluetooth module and the second Bluetooth module will be identified simultaneously. To obtain the key, send a private Bluetooth command to request the key data and receive the returned key-related information. The key data is identified, the received key data is processed, and the real key is obtained through decoding, thus completing the identification and verification of the key data. Configure the encryption algorithm based on the obtained and decoded real key; Once the encryption algorithm is configured, normal communication will begin.
5. The hardware-encrypted hard disk control method for Bluetooth key transmission according to claim 1, characterized in that, The first main control chip integrates SATA to SATA bridge control function and hardware-level national cryptographic SM4 symmetric encryption operation unit. The SM4 encryption algorithm adopts a 128-bit key specification.
6. The hardware-encrypted hard disk control method for Bluetooth key transmission according to claim 1, characterized in that, The storage hard drive uses the SATA interface and is compatible with SATA interface mechanical HDDs and SATA interface solid-state SSDs.
7. The hardware-encrypted hard disk control method for Bluetooth key transmission according to claim 1, characterized in that, Both the first and second Bluetooth modules are Bluetooth 5.0 compliant; the Bluetooth operating frequency band is the 2.4GHz ISM public band, and the modulation method is GFSK modulation.
8. The hardware-encrypted hard disk control method for Bluetooth key transmission according to claim 1, characterized in that, The specific working logic of the SATA command processing loop mode is as follows: continuously listen for read and write commands issued by the computer, read the command, perform SM4 hardware encryption operation on the data to be written upstream, and then store it in the storage hard drive; after retrieving the encrypted data from the storage hard drive, it first undergoes SM4 hardware decryption operation, and the plaintext data after decryption is then sent back to the computer via the SATA channel.
9. The hardware-encrypted hard disk control method for Bluetooth key transmission according to claim 1, characterized in that, The specific implementation method of storage hardware device identification and verification in S2 is as follows: the first main control chip sends the IDENTIFY DEVICE command to the storage hard drive through the SATA link. The storage hard drive responds and returns identification information including device model, capacity, and supported features. The first main control chip performs CRC verification on the returned identification information. After the verification is successful, it is confirmed that the storage hard drive has been successfully identified.
10. The hardware-encrypted hard disk control method for Bluetooth key transmission according to claim 1, characterized in that, In S5, the conditions for verifying that the device configuration is correct include: the storage hard drive is successfully identified and verified, the Bluetooth USBKey is successfully paired and the key data is obtained, and the real key is successfully written to the encryption algorithm engine and the encryption algorithm engine passes its self-test.
