A method for implementing a storage controller embedded with security management logic
By embedding security control logic into the hardware circuitry of the storage controller chip, the problems of firmware rewriting and physical injection attacks in existing technologies are solved, achieving hardware-level security isolation and tamper-proof evidence storage for the storage controller.
Patent Information
- Application Number
- CN202611414859.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-12
- Publication Date
- 2026-11-27
AI Technical Summary
The security management of existing storage controllers relies on firmware or software, which has an attack surface where firmware can be flashed and software can be bypassed. It also lacks granular identity verification and protection against physical injection attacks.
The security control logic, such as multi-partition physical isolation, hardware permission linkage, and chain-based evidence storage, is solidified into a pure hardware circuit inside the storage controller chip. Partition management, permission control, evidence storage, and identity verification are achieved through hardware circuits, eliminating the path of software intervention.
It achieves chip-level security boundaries that are physically immutable, ensures partition address isolation and hardware-mandated permissions, meets judicial-grade evidence preservation compliance requirements, and eliminates chip replacement and data migration.
Smart Images

Figure CN123179485A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of storage controller chip security technology, specifically to a storage controller implementation method with embedded security control logic, which is a security implementation scheme at the pure hardware control logic level. Background Technology
[0002] With increasingly stringent data security regulations and accelerated domestic substitution of storage solutions, the need for security management of storage devices has shifted from the system layer to the chip layer. Existing technical solutions suffer from the following three types of deficiencies: First, the security management of existing storage controllers generally relies on firmware or software algorithms to achieve partition isolation and access control. Firmware can be flashed and tampered with, and software can be bypassed by attacks. Security boundaries do not have physical immutability.
[0003] Second, the existing solution lacks a granular identity verification mechanism. Storage particles can be replaced as a whole or data can be migrated, making it impossible to prevent unauthorized particles from accessing the system at the hardware level.
[0004] Third, existing solutions lack protection against physical injection attacks. Attackers can inject malicious instructions by interfering with power supply voltage spikes or clock signals, thus bypassing software-level security protections.
[0005] The root cause of the above defects is that the security control logic is not embedded in the pure hardware circuit of the controller chip, and there is always an attack surface that can be tampered with by software. Summary of the Invention
[0006] The technical problem this invention aims to solve is that existing storage controllers rely on firmware or software for partition isolation and access control, which exposes them to attack surfaces such as firmware overwriting and software bypassing. Furthermore, they lack granular identity verification capabilities and protection against physical injection attacks such as voltage spikes and clock interference. This invention embeds all security management logic—including multi-partition physical isolation, hardware access control linkage, and chain-based evidence storage—into pure hardware circuitry within the storage controller chip. This eliminates the need for firmware scheduling and preserves no software intervention paths, thereby removing the software-tamperable attack surface.
[0007] To achieve the above objectives, the present invention adopts the following technical solution: This method is executed by independent hardware circuits within the storage controller. Upon receiving an address request from the master control system, the controller first uses its internal independent address decoding circuitry to rigidly divide the physical address space of the storage particles into two or more functionally isolated physical partitions. Each partition's address is exclusively managed by the controller and is not mapped to the master control system's address bus, preventing the master control side from perceiving the internal address structure of the partition. Any access across partitions is intercepted by hardware at the controller's address decoding layer. Read / write permissions for each partition are not configured by software but are directly switched by a hard-wired finite state machine upon receiving a level trigger signal from the master control side; permission boundaries are fixed in hardware. Furthermore, computing power levels and partition access permissions are bound together by a hard-wired mapping relationship, with the corresponding partition permissions switching synchronously at the same time as the level switch. For each partition access, its transaction-level metadata is sent to the controller's built-in hardware hash engine to generate a hash digest in real time, and then written unidirectionally to the evidence storage partition using a hardware append write instruction. The evidence storage partition physically blocks erase and overwrite instructions, ensuring that written content can only be appended and not modified.
[0008] In terms of partitioning, physical partitions can be specifically set into three categories: public partitions, encrypted partitions, and evidence storage partitions. Public partitions can only be accessed read-only by default, encrypted partitions require unlocking permissions before they can be read and written, and evidence storage partitions only support one-way append writing. Correspondingly, computing power levels are divided into two levels: shallow and deep. The shallow level only grants read-only permissions to the public partitions, while the deep level unlocks full read and write permissions to the encrypted partitions and simultaneously triggers chained evidence storage.
[0009] Regarding time reliability, the controller has a built-in hardware RTC clock and clock tampering capture circuit belonging to an independent power domain. The evidence storage timestamp is generated by this internal independent hardware clock. Once the main control system clock is modified, it will be automatically captured and unidirectionally recorded into the evidence storage chain, without altering the original timestamp of any historical evidence storage records.
[0010] Regarding key and particle identity, when the controller is powered on, the chip-level SRAM PUF circuit generates a unique root key by taking advantage of the random deviation of the power-on transistor threshold. Then, it derives the independent keys for each partition level by level. All key operations are completed inside the controller chip, and the plaintext of the keys does not flow out of the chip. The interface between the controller and the storage particles is equipped with a hardware verification mechanism. When powered on, the chip-level PUF verifies the identity of the storage particles by mutual signature. Once an illegal particle or a replaced particle is connected, the verification fails and the partition read / write lock is automatically triggered.
[0011] In terms of output control, the controller's IO port integrates a hardware sorting gate circuit. The output data is processed according to the hierarchical rules, and three types of operations are performed: release, desensitization, and interception. The hardware automatically injects the hierarchical identifier and the controller's unique hash.
[0012] In terms of high-privilege operations and resistance to physical injection, the high-sensitivity operation adopts a three-key joint operation verification logic. The three independent physical keys must be triggered sequentially according to the timing constraints of the controller's internal bus in order to generate a one-time temporary authorization token and unlock the access permissions of the high-sensitivity partition at the hardware level. The controller also has a built-in voltage and clock glitch detection circuit. When the power supply voltage fluctuation exceeds the preset threshold or when there is glitch interference in the external clock signal, the hardware self-locking is automatically triggered and all sensitive operations are suspended.
[0013] In terms of evidence storage structure, the evidence storage partition integrates chained hash evidence storage hardware logic circuits. Each evidence storage record contains the hash value of the previous record to form a forced chained association structure. Any modification to the historical record will invalidate the verification of all subsequent chain links.
[0014] The beneficial effects of this invention are as follows: (1) All security control logic is implemented by hard-wired circuits inside the controller, with no firmware or software intervention path, and the security boundary is physically immutable, fundamentally eliminating the attack surface at the software level. (2) The partition address is exclusively managed by the controller and is not mapped to the main control system address bus. The main control system cannot perceive the internal address structure of the partition, thus achieving chip-level address isolation. (3) The computing power level and partition permissions are hard-wired and bound together. Switching between levels means switching permissions. This cannot be modified by software, ensuring the hardware-mandated nature of permission control. (4) Physical blocking and erasure instructions for evidence storage partitions, combined with a chain hash structure, enable tamper-proof evidence storage across the entire operation chain, meeting the judicial-level evidence storage compliance requirements; (5) Chip-level SRAM PUF key generation and particle-level PUF mutual signature verification realize the full-link hardware identity binding from the controller to the storage particle, and prevent particle replacement and data migration. Attached Figure Description
[0015] The official drawings for this application are pending provision by the applicant. The following are the names of the planning drawings, and the label numbers will be adjusted uniformly with the official drawings.
[0016] Figure 1 This is a block diagram of the internal hardware architecture of the storage controller of the present invention, showing the location and connection relationship of the address decoding circuit, hardwired finite state machine, hardware hash engine, SRAM PUF circuit, glitch detection circuit, and hardware sorting gate within the controller chip.
[0017] Figure 2 The circuit diagram for address decoding partitioning shows the circuit implementation of hard partitioning the physical address space into public partitions, encrypted partitions, and evidence storage partitions, as well as the hardware interception logic for cross-partition access.
[0018] Figure 3The timing diagram for the three-key joint operation verification shows the timing process of three independent physical keys being triggered sequentially according to the controller's internal bus timing constraints to generate a one-time temporary authorization token. Detailed Implementation
[0019] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0020] Example 1: Consumer-grade storage controller scenario like Figure 1 , Figure 2 As shown, in a consumer-grade solid-state drive controller, the controller chip integrates an address decoding circuit that hard-divides the physical address space of the NAND flash memory chip into three functional partitions: a public partition, an encrypted partition, and a storage partition. The controller has a built-in hardwired finite state machine that receives level-triggered signals from the main controller's computing power scheduling module. At shallow computing power levels, only read-only access is granted to the public partition; at high computing power levels, full read / write access is unlocked to the encrypted partition, and a hardware hash engine is simultaneously triggered to perform chained storage of transaction-level metadata. The address decoding layer of the storage partition physically blocks erase and overwrite instructions, ensuring that the storage records are immutable.
[0021] Example 2: High-security server storage scenario In the storage controller of the domestically developed server, the controller chip's built-in SRAM PUF circuit generates a unique root key upon power-up, hierarchically deriving independent keys for the public partition, encrypted partition, and evidence storage partition. Key operations are entirely completed within the chip. High-privilege operations employ a three-key joint verification logic, such as... Figure 3 As shown, unlocking requires three independent physical keys triggered sequentially according to the controller's internal bus timing constraints. The controller's I / O ports integrate hardware sorting gates, and externally output data is processed according to a tiered system, performing three levels of operations: release, desensitization, and interception. The controller has a built-in voltage and clock glitches detection circuit, which automatically triggers hardware self-locking when power supply fluctuations or clock interference exceed the threshold.
[0022] Example 3: Implementation scenario of controllers that interface with domestically produced memory chips like Figure 1 As shown, in the controller design for interfacing with domestically produced Changxin memory chips, the interface between the controller and the memory chips incorporates a built-in hardware verification mechanism. Upon power-up, the controller verifies the chip's identity via chip-level PUF and the memory chip's PUF mutual signature. If an unauthorized or replaced chip is connected, verification fails, automatically triggering partition read / write locking. The evidence storage partition integrates a chained hash evidence storage hardware logic circuit. Each evidence storage record contains the hash value of the preceding record, forming a forced chained association structure. Combined with an independent power domain hardware RTC clock, an immutable timestamp is generated, meeting judicial-grade evidence storage compliance requirements.
Claims
1. A method for implementing a storage controller with embedded security control logic, characterized in that, Based on the independent hardware circuitry within the storage controller, the process includes the following steps: After receiving an address request from the master control system, the storage controller hard-divides the physical address space of the storage particles into at least two functionally isolated physical partitions using its internal independent address decoding circuitry. The partition addresses are exclusively managed by the controller and are not mapped to the master control system address bus. Cross-partition access is intercepted by the controller's address decoding layer. A hard-wired finite state machine receives a level-triggered signal from the master control side and directly switches the read / write permissions of each partition, with the permission boundaries being hardware-fixed. Based on the hard-wired mapping relationship between computing power levels and partition permissions, the computing power level and corresponding partition access permissions are switched synchronously. The controller's built-in hardware hash engine generates a hash digest in real-time for the transaction-level metadata of each partition access operation, and writes it unidirectionally to the evidence storage partition using hardware append write instructions. The evidence storage partition physically blocks erase and overwrite instructions.
2. The method according to claim 1, characterized in that, The at least two functionally isolated physical partitions include three functional partitions: a public partition, an encrypted partition, and an evidence storage partition. The public partition supports read-only access by default, the encrypted partition requires unlocking permissions before it can be read and written, and the evidence storage partition only supports one-way append writing.
3. The method according to claim 2, characterized in that, The computing power tiers include two levels: shallow computing power tiers and deep computing power tiers. The shallow computing power tiers only grant read-only permissions to the public partitions, while the deep computing power tiers unlock full read and write permissions to the encrypted partitions and simultaneously trigger chained evidence storage.
4. The method according to claim 1, characterized in that, The controller has a built-in independent power domain hardware RTC clock and clock tampering capture circuit; the evidence storage timestamp is generated by the controller's internal independent hardware clock, and the main control system clock modification operation is automatically captured and unidirectionally recorded into the evidence storage chain without changing the original timestamp of the historical evidence storage record.
5. The method according to claim 1, characterized in that, When the controller is powered on, a unique root key is generated natively by utilizing the random deviation of the power-on transistor threshold through the controller chip-level SRAMPUF circuit, and independent keys for each partition are derived hierarchically; the key operation is completed entirely inside the controller chip, and the plaintext of the key does not flow out of the controller chip.
6. The method according to claim 1, characterized in that, The interface between the storage controller and the storage particles has a built-in hardware verification mechanism; when the controller is powered on, it verifies the identity of the storage particles through chip-level PUF mutual signature. If the verification fails when an illegal particle or a replaced particle is connected, the partition read / write lock is automatically triggered.
7. The method according to claim 1, characterized in that, The controller's I / O port integrates a hardware sorting gate circuit; the output data is processed according to a tiered rule, performing three levels of operations: release, desensitization, and interception. The output data is automatically injected with a hardware tiered identifier and a unique hash of the controller.
8. The method according to claim 1, characterized in that, High-privilege operations employ a three-key joint operation verification logic; three independent physical keys are required to trigger sequentially according to the controller's internal bus timing constraints, generating a one-time temporary authorization token to unlock access permissions to the high-sensitivity partition at the hardware level.
9. The method according to claim 1, characterized in that, The controller has a built-in voltage and clock glitches detection circuit; when the power supply voltage fluctuation exceeds the preset threshold or when there are glitches in the external clock signal, it automatically triggers hardware self-locking and suspends all sensitive operations.
10. The method according to claim 1, characterized in that, The evidence storage partition integrates chained hash evidence storage hardware logic circuits; each evidence storage record contains the hash value of the previous record, forming a forced chained association structure, and any modification to the historical record will cause the verification of all subsequent chain links to fail.
