Solid state disk power consumption control method, control chip and solid state disk
By using a combination of working cache and power-saving cache in the solid-state drive control chip, the hardware control unit is used to quickly switch to a low-power state, which solves the problem in the existing technology that the solid-state drive control chip takes a long time to enter the low-power state. , reducing power consumption and data migration risks, and improving efficiency.
Patent Information
- Application Number
- CN202310359030.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-01
AI Technical Summary
Existing solid-state drive control chips spend a lot of time when entering a low-power state, cannot reduce power consumption in a timely manner, and there are risks of data migration and verification.
Using a combination of working cache and power-saving cache, the data in the working cache is migrated to the power-saving cache, and the hardware control unit is used to quickly switch and exit the low-power state, avoiding data migration of external storage media and reducing power consumption. consumption and time overhead.
The control chip is realized to quickly enter and exit the low-power state, reducing power consumption, avoiding data reliability risks and additional verification overhead, and improving execution efficiency.
Smart Images

Figure CN118732813A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a solid-state hard disk power consumption control method, a control chip, and a solid-state hard disk. Background Art
[0002] With the development of semiconductor technology, the integration density of transistors in chips is getting higher and higher, and the operating frequency of chips is also getting higher and higher, which leads to a rapid increase in chip power consumption. The increase in chip power consumption leads to increased chip heat generation and reduced reliability, and for non-long-powered devices (such as laptops, mobile phones, etc.), the battery life is restricted by the chip power consumption. Therefore, chip power consumption control is an important consideration in integrated circuit design.
[0003] Solid state disk (SSD) has excellent storage performance and is widely used in computing devices. The control chip of SSD, also known as the main control chip, is one of the core components of SSD. The power consumption of the control chip of SSD is relatively large. In order to reduce the overall power consumption of SSD, the control chip needs to enter a low power state.
[0004] At present, the time cost for the control chip to enter the low power state is relatively large, and it cannot enter the low power state in time, resulting in limited reduction of SSD power consumption. Summary of the invention
[0005] The embodiments of the present application provide a solid-state hard disk power consumption control method, a control chip, and a solid-state hard disk, which can enable the control chip to enter a low-power consumption state as quickly as possible, thereby effectively reducing power consumption.
[0006] In a first aspect, a method for controlling power consumption of a solid-state drive (SSD) is provided, which is applied to a control chip of the SSD, and the control chip includes: a power consumption control unit, and at least one functional system, wherein the functional system includes a first cache, a second cache, and a processor; wherein the power consumption of the second cache is less than the power consumption of the first cache, and the processor of the functional system uses the first cache of the functional system to execute the function of the functional system; the method includes: the power consumption control unit controls the functional system to enter a low power consumption state; wherein controlling the functional system to enter a low power consumption state includes: storing all or part of the data in the first cache of the functional system into the second cache of the functional system, and turning off the power of the functional system processor and the first cache, so that the functional system enters a low power consumption state; wherein, while the functional system is in the low power consumption state, the second cache of the functional system is in a powered state.
[0007] The first cache may be referred to as a working cache, and the second cache may be referred to as a power-saving cache.
[0008] In this method, the working cache and the power-preservation cache are in the same functional system. When entering a low-power state, the data in the working cache is migrated to the power-preservation cache to achieve local storage of the data, thereby reducing the time and power consumption overhead of data migration or transportation when entering a low-power state, so that the control chip can enter a low-power state as quickly as possible and reduce power consumption.
[0009] Furthermore, the data is stored locally without the need to migrate the data to the external storage medium of the control chip, thereby eliminating the data reliability risk caused by storing data in the external storage medium and avoiding the additional space and power consumption overhead of data verification due to the need for data protection.
[0010] In addition, in this method, the power consumption control unit used to control the control chip to enter a low power consumption state can be implemented by hardware, so that the control process of the control chip entering a low power consumption state does not require software participation, which can eliminate the software and hardware coordination process of the control process, improve the execution efficiency, and enable the control chip to enter a low power consumption state as soon as possible. Moreover, compared with the method in which the CPU runs software to control the control chip to enter a low power consumption state, the method in which the hardware controls the control chip to enter a low power consumption state has lower power consumption.
[0011] In a possible implementation, at least one functional system includes multiple functional systems; the method further includes: when the power consumption control unit confirms that the control chip needs to enter a low power consumption state, controlling the multiple functional systems to enter the low power consumption state in parallel.
[0012] In this implementation, multiple functional systems can enter a low power state, for example, by performing data migration or transfer required for entering a low power state in parallel, further reducing data migration time and power consumption. Thus, the control chip can enter a low power state as quickly as possible.
[0013] In a possible implementation, the multiple functional systems include: a central processing system in a control chip, a physical interface system, a high-speed signal protocol processing system, and a transport layer protocol processing system.
[0014] In one possible implementation, the method also includes: the power consumption control unit controls the functional system to exit the low power consumption state; wherein, controlling the functional system to exit the low power consumption state includes: turning on the power of the processor and the first cache of the functional system, and restoring the data in the second cache of the functional system to the first cache of the functional system, so that after the functional system exits the low power consumption state, the processor of the functional system continues to use the data in the first cache of the functional system to execute the function of the functional system.
[0015] When exiting the low-power state, the data in the second cache can be migrated to the first cache in the same functional system as the second cache (i.e., the second cache is a cache local to the first cache, and correspondingly, the first cache is a cache local to the second cache), thereby reducing data migration time and power consumption. In addition, the data is stored locally (i.e., the data of the first cache is stored in the first cache local to the first cache), and when exiting the low-power state, there is no need to migrate the data from the external storage medium of the control chip, so there is no data reliability risk caused by storing data in the external storage medium, and the space and power consumption overhead of additional data verification due to the need for data protection is avoided.
[0016] In a possible implementation, the at least one functional system includes multiple functional systems, and the method further includes: when the power consumption unit confirms that the control chip needs to exit the low power consumption state, controlling the multiple functional systems to exit the low power consumption state in parallel.
[0017] This solution allows multiple functional systems to exit the power consumption state simultaneously or in parallel, and can reduce the time overhead of the control chip exiting the low power consumption state compared to serially exiting the low power consumption state.
[0018] In one possible implementation, at least one functional system includes multiple functional systems, and different functional systems among the multiple functional systems are used to perform different functions. The method also includes: the power consumption control unit identifies the function that currently needs to be executed; the power consumption control unit controls the functional system that executes the function that currently needs to be executed to preferentially exit the low power consumption state.
[0019] In this implementation, it is possible to control the function system to exit the low power state on demand. Specifically, if a function needs to be executed at present, the function system used to execute the function will exit the low power state first, so that the function can be executed in time. Other function systems may not exit or temporarily exit the low power state to reduce power consumption.
[0020] In one possible implementation, the power consumption control unit includes a main control unit and at least one sub-control unit; wherein, at least one sub-control unit corresponds to at least one functional system one-to-one; when the functional system is in a low power consumption state, the power of the sub-control unit corresponding to the functional system is in an off state; restoring the data in the second cache of the functional system to the first cache of the functional system includes: the main control unit turns on the power of the sub-control unit; the sub-control unit with the power turned on restores the data in the second cache of its corresponding functional system to the first cache of the functional system.
[0021] In this implementation, each functional system has a sub-control unit. When the control chip exits the low power state, the sub-control unit, under the control of the main control unit, executes operations such as data migration in the functional system corresponding to the sub-control unit, so that operations such as data migration in different functional systems can be executed concurrently.
[0022] In a possible implementation, controlling the functional system to enter a low power consumption state further includes: before turning off power to a memory and a cache of the functional system, turning off a system clock of the functional system.
[0023] In this implementation, before turning off the power supply, the system clock is turned off first to avoid clock disturbance caused by turning off the power supply but not the clock.
[0024] In one possible implementation, the power consumption control unit includes a main control unit and at least one sub-control unit; wherein, at least one sub-control unit corresponds to at least one functional system one-to-one; storing data in a first cache of a functional system to a second cache of the functional system includes: the main control unit instructs the sub-control unit corresponding to the functional system to store the data in the first cache of the functional system to the second cache of the functional system.
[0025] In this implementation, each functional system has a sub-control unit. When the control chip enters a low-power state, the sub-control unit, under the control of the main control unit, executes operations such as data migration in the functional system corresponding to the sub-control unit, so that operations such as data migration in different functional systems can be executed concurrently.
[0026] In one possible implementation, storing all or part of the data in the first cache of the functional system into the second cache of the functional system includes: storing the system data in the first cache into the second cache, wherein the system data is the data that the processor relies on to continue to execute the functions of the functional system after exiting the low power consumption state.
[0027] In this implementation, when entering a low power state, only the data on which the functions of the execution function system depend can be stored in the second cache, without the need to store all the data in the first cache in the second cache, thereby reducing the requirements for the capacity, power consumption, etc. of the second cache, and while not affecting the timeliness of the processor's execution of functions, the amount of data that needs to be migrated when entering and exiting a low power state is reduced.
[0028] In a second aspect, a control chip of a solid-state hard disk is provided, the control chip comprising: a power consumption control unit, at least one functional system, wherein the functional system comprises a first cache, a second cache, and a processor; wherein the power consumption of the second cache is less than the power consumption of the first cache, and the processor of the functional system uses the first cache of the functional system to execute the function of the functional system; wherein the power consumption control unit is used to control the functional system to enter a low power consumption state; wherein controlling the functional system to enter a low power consumption state comprises: storing all or part of the data in the first cache of the functional system into the second cache of the functional system, and turning off the power of the functional system processor and the first cache, so that the functional system enters a low power consumption state; wherein, while the functional system is in the low power consumption state, the second cache of the functional system is in a powered state.
[0029] In a possible implementation, at least one functional system includes multiple functional systems; the power consumption control unit is used to control the multiple functional systems to enter the low power consumption state in parallel when confirming that the control chip needs to enter the low power consumption state.
[0030] In a possible implementation, the multiple functional systems include: a central processing system in a control chip, a physical interface system, a high-speed signal protocol processing system, and a transport layer protocol processing system.
[0031] In one possible implementation, the power consumption control unit is used to control the functional system to exit a low power consumption state; wherein, controlling the functional system to exit a low power consumption state includes: turning on the power of the processor and the first cache of the functional system, and restoring the data in the second cache of the functional system to the first cache of the functional system, so that after the functional system exits the low power consumption state, the processor of the functional system continues to use the data in the first cache of the functional system to execute the function of the functional system.
[0032] In a possible implementation, at least one functional system includes multiple functional systems, and the power consumption unit is used to control the multiple functional systems to exit the low power consumption state in parallel when confirming that the control chip needs to exit the low power consumption state.
[0033] In one possible implementation, at least one functional system includes multiple functional systems, different functional systems among the multiple functional systems are used to perform different functions, and the power consumption control unit is used to identify the function that currently needs to be executed; the power consumption control unit controls the functional system used to execute the function that currently needs to be executed to preferentially exit the low power consumption state.
[0034] In one possible implementation, the power consumption control unit includes a main control unit and at least one sub-control unit; wherein, at least one sub-control unit corresponds to at least one functional system one-to-one; when the functional system is in a low power consumption state, the power of the sub-control unit corresponding to the functional system is in an off state; the main control unit is used to turn on the power of the sub-control unit; the sub-control unit with power turned on is used to restore the data in the second cache of its corresponding functional system to the first cache of the functional system.
[0035] In a possible implementation, the power consumption control unit is configured to shut down the system clock of the functional system before shutting down the power of the functional system memory and cache.
[0036] In one possible implementation, the power consumption control unit includes a main control unit and at least one sub-control unit; wherein, at least one sub-control unit corresponds one-to-one to at least one functional system; the main control unit is used to instruct the sub-control unit corresponding to the functional system to store data in the first cache of the functional system to the second cache of the functional system.
[0037] In a possible implementation, the power consumption control unit is used to store system data in the first cache into the second cache, wherein the system data is data that the processor relies on to continue to execute functions of the functional system after exiting the low power consumption state.
[0038] In a third aspect, a solid state drive is provided, comprising a storage medium and the control chip provided in the second aspect.
[0039] In a fourth aspect, a computing device is provided, characterized in that it includes a processor and the solid-state hard disk provided in the third aspect.
[0040] Among them, the beneficial effects of the second to fourth aspects can refer to the description of the beneficial effects of the first aspect above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present application;
[0042] Figure 2 A schematic diagram of a system architecture provided for an embodiment of the present application;
[0043] Figure 3 A flowchart of an SSD power consumption control solution provided in an embodiment of the present application;
[0044] Figure 4 A flowchart of a SSD power consumption control method provided in an embodiment of the present application;
[0045] Figure 5 A schematic diagram of the structure of a control chip of a solid state drive provided in an embodiment of the present application;
[0046] Figure 6 A schematic diagram of the structure of a solid state hard disk provided in an embodiment of the present application;
[0047] Figure 7 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0049] In the description of this specification, "one embodiment" or "some embodiments" etc. means that one or more embodiments of the present application include a particular feature, structure or characteristic described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0050] In addition, in the description of this specification, "plurality" means two or more than two.
[0051] The core components of SSD include control chip and storage medium. The control chip is used to exchange data with the host, store data received from the host into the storage medium, and send data read from the storage medium to the host. The power consumption of the control chip is relatively large, so when there is no data exchange between the control chip and the host, the control chip needs to enter a low power consumption state.
[0052] Among them, low power state: the chip or system enters a power saving mode, and reduces the power consumption of the entire chip or system by reducing the system frequency, turning off the power of the modules (such as cache, processor), etc. The chip or system can enter the low power state from the normal working state, which is called low power state entry. The chip or system can be restored from the low power state to the normal working state as low power state exit.
[0053] In the low-power state, the power supply of the cache inside the control chip is turned off. Since the cache is a volatile memory, the data in the cache is lost after the power is turned off. The cache stores computer instructions executed by the processor. If the computer instructions are lost, when the control chip exits the low-power state and continues to execute the business, the computer instructions need to be reloaded into the cache, resulting in the business not being executed in time. In addition, the cache stores the link parameters of the communication link between the control chip and the host. For example, the communication link between the control chip and the host is a high-speed peripheral component interconnect express (PCIe) link, and the link parameters are the configuration parameters obtained by link training the PCIe link. These configuration parameters are required for the normal operation of the link. If these configuration parameters are lost, when the control chip exits the low-power state and continues to execute the business, the PCIe link training needs to be re-performed, which also results in the business not being executed in time.
[0054] Therefore, in order to ensure that the control chip can execute services in time after exiting the low power consumption state, it is necessary to save the data in the cache when entering the low power consumption state.
[0055] In one solution, when the control chip of the SSD enters a low power state, the cached data of the control chip is written to the dynamic random access memory (DRAM) of the host. When entering the low power state, this solution sends the cached data from the SSD to the host, and after exiting the low power state, the cached data is received from the host, so the time overhead is also large, and the transmission of data between the SSD and the host also consumes a large amount of power. In addition, in this solution, after exiting the low power state, the control chip of the SSD needs to re-establish a link with the host before receiving the data cached by the control chip stored in the DRAM of the host from the host, which further increases the time overhead and power consumption overhead.
[0056] The embodiment of the present application provides an SSD power consumption control scheme. The scheme can store all or part of the data in the working cache of the SSD control chip in the power-saving cache inside the SSD control chip nearby. Among them, the working cache refers to the cache used by the processor when executing functions or services. The power-saving cache is in a power-on state during the low-power state of the control chip, and data can be saved during the low-power state of the control chip. When the SSD control chip exits the low-power state, the data stored in the power-saving cache can be restored to the working cache. In this method, when entering the low-power state and exiting the low-power state, the data is transmitted inside the control chip, and the time overhead and power consumption overhead are both small. In addition, the power-saving cache is not used to execute services, and there is no need to deal with frequent accesses of the processor and store most of the data generated by the processor executing functions. A memory with low power consumption (such as low storage capacity, etc.) can be used as the power-saving cache. In other words, the power consumption of the power-saving cache is less than that used for the working cache. Therefore, even during the low-power state, the power-saving cache is kept powered, and the power consumption consumed is also low. Therefore, on the whole, the scheme reduces the power consumption of the control chip entering and exiting the low-power state.
[0057] Next, the SSD power consumption control solution provided in the embodiment of the present application is specifically introduced.
[0058] Figure 1 A system architecture that can be used to implement the SSD power consumption control solution provided in the embodiment of the present application is shown. Figure 1 As shown, the system architecture includes an SSD 100 and a host 200. The SSD 100 includes a control chip 110 and a storage medium 120.
[0059] Among them, SSD100 can be used as a data storage device of the host 200, and is used to store relevant data of the host 200. Specifically, there is a communication link between SSD 100 and host 200. Through the communication link, the host 200 can send a data write instruction to SSD 100, and the control chip 110 in SSD 100 can respond to the data write instruction and perform a write operation to write relevant data into the storage medium 120 through the write operation to achieve data preservation. Through the communication link, the host 200 can send a data read instruction to SSD 100, and the control chip 110 in SSD 100 can respond to the data read instruction and perform a read operation to read data from the storage medium 120, and send the read data to the host 200 through the communication link.
[0060] In some embodiments, the communication link between the host 200 and the SSD 100 may be a PCIe link.
[0061] The control chip 110 may include at least one functional system. The at least one functional system is used to perform related functions of the control chip 110. The related functions of the control chip 110 may include a write operation, a read operation, a data receiving operation, a data sending operation, and the like.
[0062] In some embodiments, Figure 1 As shown, the at least one functional system can be multiple functional systems. That is to say, the control chip 110 can be functionally divided to obtain multiple functions. Multiple functional systems are set, and each functional system is used to perform at least one of the multiple functions. When the control chip 110 enters a low power state, the multiple functional systems can enter the low power state in parallel, thereby reducing the time overhead of the control chip 110 entering the low power state. When the control chip 110 exits the low power state, the multiple functional systems can exit the low power state in parallel, thereby reducing the time overhead of the control chip 110 exiting the low power state.
[0063] In one example, if Figure 1 As shown, the multiple functional systems may include a central processing system, a physical interface system, a high-speed signal processing system, a transport layer protocol processing system, etc. The processor in the central processing system may also be referred to as the central processing unit (CPU) of the control chip 110. The central processing system may perform general functions of the control chip 110 and control other functional systems. The central processing system may also respond to a data write instruction from the host to perform a write operation, and respond to a data read instruction from the host to perform a read operation.
[0064] The physical interface system is used to receive data sent by the host or send data to the host according to the physical layer protocol. In one example, the physical interface system can be a serial transceiver (serializer deserializer, SerDes).
[0065] The high-speed signal processing system is used to process data according to the high-speed signal protocol. For example, the data to be sent to the host can be encapsulated into a data message specified by the high-speed signal protocol, and the data message is sent to the physical interface system to send the data to the host through the physical interface system. For another example, the high-speed signal processing system can obtain a data message from the physical interface system and parse the data message to extract the data therein. In one example, the high-speed signal processing system can be a PCIe protocol processing system, which is used to process data according to the PCIe protocol.
[0066] The transport layer protocol processing system is used to process data according to the transport layer protocol. For example, the data to be sent to the host can be encapsulated into a data message specified by the transport layer protocol, and the data message can be sent to the processing system of the next layer protocol (such as a high-speed signal processing system). For another example, a data message can be obtained from the processing system of the next layer protocol, and the data message can be parsed to extract the data therein. In one example, the transport layer protocol processing system can be a non-volatile memory express (NVMe) protocol processing system, which is used to process data according to the NVMe protocol.
[0067] Among them, the physical interface system, the high-speed signal processing system and the transport layer protocol processing system belong to the front-end system of the control chip 110 , and are used for data interaction with the host 200 .
[0068] In one example, the plurality of functional systems include Figure 1 In addition to the multiple functional systems shown, more functional systems may be included, such as one or more functional systems for implementing a data verification function, a data error correction function, and the like.
[0069] Each functional system may include a processor, a working cache, and a power-saving cache. The processor in the functional system uses the working cache to perform the function of the functional system. Taking a functional system that performs a read operation as an example, when its processor performs a read operation, the working cache can be used to cache the read data. Taking a functional system that performs a read operation as an example, when its processor performs a write operation, the working cache can be used to cache data to be written to the storage medium 120. Taking a functional system that performs data transmission with a host as an example, the working cache can be used to cache data received from the host and data to be sent to the host. And so on. For the convenience of description, the data generated by the processor function can be referred to as business data.
[0070] The working cache also stores the data that the processor depends on to perform functions. For the convenience of description, the data that the processor depends on to perform functions can be called system data. Unlike business data, system data refers to the data required for the processor or functional system to implement related functions. Only with system data can the processor perform the functions of the functional system. For example, the function of the functional system is implemented by the processor executing computer instructions, then the computer instructions belong to the data that the processor depends on to perform the function. For another example, the function of the functional system is to transmit data through a communication link (such as a PCIe link), then the data that the processing execution function of the functional system depends on also includes the configuration parameters of the communication link. And so on, I will not list them one by one here.
[0071] In some embodiments, the working cache may specifically be a static random-access memory (SRAM).
[0072] The power-preservation cache is also in a power-on state when the functional system is in a low-power state, that is, when entering a low-power state, the power of the power-preservation cache is not turned off. Therefore, the power-preservation cache can save data during the low-power state. Exemplarily, the power-preservation cache can be an always-on random access memory (AORAM).
[0073] In some embodiments, the working cache may specifically be an SRAM.
[0074] As mentioned above, the power consumption of the power-saving cache is less than the power consumption of the working cache.
[0075] The working cache and power-preservation cache of the same functional system are located within the functional system. When entering a low-power state, all or part of the data in the working cache is saved in the power-preservation cache of the functional system where the working cache is located, that is, when entering a low-power state, the data can be saved locally. The migration efficiency of data between the working cache and the power-preservation cache of the same functional system is high, so that the data in the working cache can be saved to the power-preservation cache in time, so that the functional system can enter a low-power state as soon as possible, and the data in the power-preservation cache can be restored to the working cache in time, so that the processor in the functional system can use the working cache to execute functions as soon as possible.
[0076] The control chip 110 may include a power consumption control unit 111. The power consumption control unit 111 may be referred to as a main power consumption control unit, and is used to control a functional system to enter a low power consumption state and exit from a low power consumption state. Wherein, in the case where the control chip 110 has multiple functional systems, the control chip 110 may control the multiple functional systems to enter a low power consumption state in parallel, and control the multiple functional systems to exit a low power consumption state in parallel.
[0077] In some embodiments, the power consumption control unit 111 may be implemented in hardware, for example, the power consumption control unit 111 may be implemented as a control circuit or a chip circuit. Exemplarily, the power consumption control unit 111 may control each functional system to enter a low power consumption state and exit a low power consumption state through a level signal. In this embodiment, the power consumption control unit 111 controls the functional system without software involvement, and controls the functional system to enter a low power consumption state and exit a low power consumption state through pure hardware.
[0078] In some embodiments, the power consumption control unit 111 may be a programmable circuit. Figure 2As shown, the power consumption control unit 111 may include a processing module and a power conservation cache. The power conservation cache may store computer instructions, and the processing module executes the computer instructions to control the functional system to enter and exit the low power consumption state.
[0079] In some embodiments, each functional system also includes a power consumption control unit 112. The power consumption control unit 112 can be called a sub-power consumption control unit, which can be used to perform operations for the functional system where the power consumption control unit 112 is located, such as performing data migration operations between the working cache and the power preservation cache of the functional system. Among them, the power consumption control unit 112 can respond to instructions from the power consumption control unit 111 to perform data migration operations between the working cache and the power preservation cache. Since each functional system has a power consumption control unit 112, the power consumption control units 112 in different functional systems can perform data migration operations between the working cache and the power preservation cache in parallel, so that multiple functional systems can enter or exit a low power consumption state in parallel.
[0080] In some embodiments, the power consumption control unit 112 may be implemented in hardware, for example, the power consumption control unit 112 may be implemented as a control circuit or a chip circuit.
[0081] In some embodiments, the control chip 110 may be a single chip, and the processor, working cache, power conservation cache, power consumption control unit, and other required functional modules in the functional system described above may be packaged as the control chip 110 .
[0082] The above example introduces a system architecture that can be used to implement the SSD power consumption control solution provided in the embodiment of the present application. Figure 1 or Figure 2 The system architecture shown introduces the execution process of the SS D power consumption control solution provided in the embodiment of the present application.
[0083] The SSD power consumption control scheme includes a low power consumption state entry process and a low power consumption state exit process. Next, the low power consumption state entry process is introduced.
[0084] The power consumption control unit 111 can control the control chip 110 to enter a low power consumption state after confirming that the control chip 110 needs to enter a low power consumption state. The control chip 110 entering a low power consumption state may include one or more functional systems in the control chip 110 entering a low power consumption state, or may include all functional systems in the control chip 110 entering a low power consumption state.
[0085] In some embodiments, the power consumption control unit 111 may confirm that the control chip 110 needs to enter a low power consumption state after receiving a low power consumption state indication sent by a processor of the central control system (ie, a CPU of the control chip 110 ).
[0086] Specifically, the CPU of the control chip 110 can determine whether the communication link between the host 200 and the control chip 110 is in an idle state. The idle state refers to a state in which there is no data transmission, that is, the host 200 does not send data to the SSD 100, and the SSD 100 does not send data to the host 200. When the CPU of the control chip 110 confirms that the communication link between the host 200 and the control chip 110 is in an idle state, it can execute step 301 to send a low power consumption state indication to the power consumption control unit 111. The low power consumption state indication is used to instruct or command the power consumption control unit 111 to control the control chip 110 to enter a low power consumption state. In other words, the low power consumption state indication is used to instruct or command the power consumption control unit 111 to control the functional system in the control chip 110 to enter a low power consumption state.
[0087] In some embodiments, the power consumption control control unit 111 can determine whether the control chip 110 can enter the low power consumption state through step 302 after confirming that the control chip 110 needs to enter the low power consumption state. It can be understood that in some scenarios, the control chip 110 may need to remain in a normal working state without entering the low power consumption state, that is, the control chip 110 is not allowed to enter the low power consumption state. For example, the user can set the control chip 110 not to enter the low power consumption state in the host 200. In step 302, the power consumption control unit 111 can interact with the host 200 to find out whether the control chip 110 is allowed to enter the low power consumption state. When the control chip 110 is allowed to enter the low power consumption state, the power consumption control unit 111 can confirm that the control chip 110 can enter the low power consumption state. Then, the power consumption control unit 111 can control the control chip 110 to enter the low power consumption state.
[0088] The power consumption control unit 111 controls the control chip 110 to enter a low power consumption state, including the power consumption control unit 111 controlling the functional system of the control chip 110 to enter a low power consumption state. Controlling the functional system of the control chip 110 to enter a low power consumption state includes storing all or part of the data in the working cache of the functional system into the power preservation cache of the functional system, and then turning off the power of the processor and the working cache of the functional system, so that the functional system enters a low power consumption state.
[0089] Next, taking the example of the power consumption control unit 111 controlling a functional system to enter a low power consumption state, a specific implementation method of the functional system entering a low power consumption state is described by way of example.
[0090] In some embodiments, the power consumption control unit 111 may instruct the power consumption control unit 112 of the functional system to perform data migration. Figure 3 As shown, the power consumption control unit 111 may execute step 303 to send an instruction for entering a low power consumption state to the power consumption control unit 112 .
[0091] The power consumption control unit 112 that receives the instruction to enter the low power consumption state can execute step 304 to perform data migration. Specifically, in step 304, all or part of the data in the working cache of the functional system where the power consumption control unit 112 is located is migrated to the power preservation cache of the functional system. The data migration can be performed by copying, that is, copying the data in the working cache and storing the copied data in the power preservation cache.
[0092] In some embodiments, in step 304, part of the data in the working cache may be migrated to the power-saving cache, so that the power-saving cache with a smaller storage space can meet the data preservation requirements during the low power consumption period. The power-saving cache with a small storage space has lower power consumption, so the power consumption during the low power consumption period can be reduced. In addition, the required data migration time is shorter when migrating part of the data, and the data migration can be completed as soon as possible, so that the functional system can enter the low power consumption state as soon as possible.
[0093] As mentioned above, the data in the working cache includes business data and system data. Part of the data in the working cache that is migrated to the power-saving cache may specifically be system data. In this way, the system data can be saved without migrating all the data, so that when the functional system exits the low power state, it can use the system data to execute related functions as soon as possible, thereby increasing the timeliness of business response.
[0094] In some embodiments, if part of the data in the working cache is saved in the power-preservation cache in the functional system where the working cache is located when entering the low power state, the data in the working cache that is not saved in the power-preservation cache can be migrated to the external storage medium of the functional system, for example Figure 1 The storage medium 120 or the memory of the host 200 shown, etc.
[0095] In some embodiments, if part of the data in the working cache is saved in the power-preservation cache in the functional system where the working cache is located when entering a low power consumption state, the data in the working cache that is not saved in the power-preservation cache may not be migrated and will be deleted when the working cache loses power.
[0096] Exemplarily, the power consumption control unit 111 may simultaneously send a low power consumption state instruction to the power consumption control units 112 in multiple functional systems (e.g., central processing system, physical interface system, high-speed signal protocol processing system, transport layer protocol processing system, etc.) in step 303. The power consumption control unit 112 in each functional system may execute step 304, whereby multiple functional systems enter the low power consumption state in parallel, thereby reducing the time overhead of the control chip 110 as a whole entering the low power consumption state.
[0097] The power consumption control unit 111 may execute step 306 to turn off the power of the relevant components in the functional system, for example, turn off the power of the processor and the power of the working cache in the functional system after confirming that the power consumption control unit 112 of the functional system has completed step 304. Exemplarily, the power consumption control unit 111 may send a shutdown instruction to the power of the processor and the power of the working cache in the functional system, and the power supply may respond to the shutdown instruction and stop supplying power to the processor or the working cache. In some embodiments, the power consumption control unit 111 may also turn off the power of the power consumption control unit 112 of the functional system. Exemplarily, the power consumption control unit 111 may send a shutdown instruction to the power of the power consumption control unit 112 in the functional system, and the power supply may respond to the shutdown instruction and stop supplying power to the power consumption working unit 112.
[0098] Exemplarily, when the power consumption control unit 112 completes step 304, that is, when all or part of the data in the working cache is migrated to the power preservation cache, a save success message may be sent to the power consumption control unit 111. When the power consumption control unit 111 receives the save success message sent by the function control unit 112, it may confirm that the power consumption control unit 112 has completed step 304.
[0099] In some embodiments, before the power consumption control unit 111 turns off the power of the processor and the working cache in the functional system, that is, before executing step 306, the power consumption control unit 111 may first execute step 305 to turn off the system clock of the functional system. Among them, when the system clocks of all functional systems are turned off, the external clock source of the control chip 110 can be controlled. At this time, the modules that are still working, such as the power consumption control unit 111, can use the clock source inside the control chip 110 to work. Among them, compared with the external clock source, the clock source inside the control chip 110 has a low frequency and low power consumption. Therefore, the power consumption of the control chip 110 in the low power state can be further reduced.
[0100] Through the above solution, the control chip 110 enters a low power consumption state. During the low power consumption state of the functional system, the power preservation cache of the functional system is also in a power supply state, thereby ensuring that data is not lost.
[0101] This solution can enable multiple functional systems to enter a low power consumption state simultaneously or in parallel. Compared with entering a low power consumption state in series, it can reduce the time overhead of the control chip 110 entering a low power consumption state.
[0102] Moreover, in this solution, the power consumption control unit used to control the control chip to enter a low power consumption state can be implemented by hardware, so that the control process of the control chip entering a low power consumption state does not require software participation, which can eliminate the software and hardware coordination process of the control process, improve the execution efficiency, and enable the control chip to enter a low power consumption state as soon as possible. Moreover, compared with the method of the CPU running software to control the control chip to enter a low power consumption state, the method of hardware controlling the control chip to enter a low power consumption state has lower power consumption.
[0103] Furthermore, in this solution, the working cache and the power-saving cache are in the same functional system, which can realize local storage of data, thereby reducing the overhead during data migration or handling, and reducing data migration time and power consumption. In particular, multiple functional systems can migrate or handle data in parallel, further reducing data migration time and power consumption. This allows the control chip to enter a low-power state as quickly as possible.
[0104] In addition, the data is stored locally, and there is no need to migrate the data to the external storage medium of the control chip, so there is no data reliability risk caused by storing data in the external storage medium, and the additional data verification space and power consumption overhead due to the need for data protection is avoided.
[0105] The above example introduces the solution of controlling the chip to enter a low power state. Next, the solution of controlling the chip to exit a low power state is introduced.
[0106] The power consumption control unit 111 may control the functional system in the control chip 110 to exit the low power consumption state. In some embodiments, the power consumption control unit 111 may control the functional system in the control chip 110 to exit the low power consumption state when confirming that the control chip 110 needs to exit the low power consumption state. Figure 3 As shown, the host 200 may execute step 307 to send a wake-up instruction to the power consumption control unit 111. For example, when the host 200 has data to be stored in the SSD 100 or needs to read data from the SSD 100, the host 200 may execute step 307 to send a wake-up instruction to the power consumption control unit 111. In one example, a clock request (CLKREQ#) signal.
[0107] See also Figure 3The power consumption control unit 111 controls the functional system to exit the low power consumption state, which may include turning on the power of the processor and the power of the working cache of the functional system, and restoring the data in the power preservation cache of the functional system to the working cache of the functional system. The details are as follows.
[0108] The power consumption control unit 111 may execute step 308 to turn on the power of the components of the functional system that turn off the power when entering the low power consumption state, such as turning on the power of the processor and the power of the working cache, so that the processor and the working cache enter the turned-on state. In step 308, the power of the power consumption control unit 112 may also be turned on, so that the power consumption control unit 112 enters the turned-on state. In some embodiments, illustratively, the power consumption control unit 111 may send a turn-on instruction to the power-consuming components (e.g., the processor, the working cache, the power consumption control unit 112) in the functional system, and the power supply may respond to the turn-on instruction to supply power to the power-consuming components.
[0109] The power consumption control unit 111 can control multiple functional systems (such as a central processing system, a physical interface system, a high-speed signal protocol processing system, a transport layer protocol processing system, etc.) to exit the low power consumption state. That is, in step 308, the power consumption control unit 111 can turn on the power of the components of the multiple functional systems that are turned off when they are in the low power consumption state.
[0110] After turning on the power of the power-consuming components in the functional system, the power consumption control unit 111 may also perform step 309 to turn on the clock. Specifically, the system clock of the functional system and the external clock source may be turned on, so that the processor, working cache, etc. in the functional system can work according to the system clock and the external clock source.
[0111] Then, the power consumption control unit 111 can restore the data in the power preservation cache of the functional system to the working cache of the functional system. Among them, the data in the power preservation cache is copied to the working cache, so that the data is restored to the working cache. In this way, the processor can use the data in the working cache to perform related functions. For example, the CPU can execute computer instructions restored to the working cache, so there is no need to reload the computer instructions, so that the CPU can execute functions in time. For example, the front-end system (physical interface system, high-speed signal protocol processing system, transport layer protocol processing system) can use the link configuration parameters restored to the working cache to directly establish a communication link between the SSD 100 and the host 200, thereby eliminating the need for handshakes, link training and other links in the link establishment process.
[0112] In some embodiments, the power consumption control unit 111 may execute step 310 to send a low power state exit instruction to the power consumption control unit 112. The power consumption control unit 112 may respond to the low power state exit instruction and execute step 311 to perform data migration. Step 311 may restore the data in the power preservation cache to the working cache.
[0113] Through the above solution, the central processing system and the front-end system in the chip 110 can be controlled to exit the low power consumption state.
[0114] In some embodiments, after the central processing system completes exiting the low power consumption state, the power consumption control unit 111 may release the control right, and the central processing system may take over the control right to control the communication between the front-end system and the host 200 .
[0115] In some embodiments, as described above, the control chip 110 includes Figure 1 In addition to the functional systems shown, multiple functional systems may also be included, such as a functional system for implementing a data verification function, a functional system for a data error correction function, etc. The power consumption control unit 111 may control the multiple functional systems to exit the low power consumption state as required.
[0116] In one example of this embodiment, the power consumption control unit 111 can identify the function that needs to be executed currently, that is, identify the function that needs to be executed currently by the control chip 110. Then, the function system for executing the function that needs to be executed currently is preferentially controlled to exit the low power consumption state, so that the function that needs to be executed currently can be executed in time.
[0117] This solution can enable multiple functional systems to exit the power consumption state simultaneously or in parallel, and can reduce the time overhead of the control chip 110 exiting the low power consumption state compared to serially exiting the low power consumption state.
[0118] Moreover, in this solution, the power consumption control unit used to control the control chip to exit the low power consumption state can be implemented by hardware, so that the control process of the control chip to exit the low power consumption state does not require software participation, which can eliminate the software and hardware coordination process of the control process, improve the execution efficiency, and enable the control chip to exit the low power consumption state as soon as possible. Moreover, compared with the method of the CPU running software to control the control chip to exit the low power consumption state, the method of hardware controlling the control chip to exit the low power consumption state has lower power consumption.
[0119] Furthermore, in this solution, the working cache and the power-saving cache are in the same functional system, which can realize local storage of data, thereby reducing the overhead during data migration or handling, and reducing data migration time and power consumption. In particular, multiple functional systems can perform data migration or handling in parallel, further reducing data migration time and power consumption. This allows the control chip to exit the low-power state as quickly as possible.
[0120] In addition, the data is saved locally, and when exiting the low-power state, there is no need to migrate the data from the external storage medium of the control chip. Therefore, there is no data reliability risk caused by storing data in external storage media, and the additional data verification space and power consumption overhead due to data protection needs is avoided.
[0121] Based on the system architecture and power consumption control scheme described above, an embodiment of the present application provides a method for controlling power consumption of a solid-state drive (SSD). The method is applied to a control chip of the SSD, and the control chip includes: a power consumption control unit, and at least one functional system, wherein the functional system includes a first cache, a second cache, and a processor; wherein the power consumption of the second cache is less than the power consumption of the first cache, and the processor of the functional system uses the first cache of the functional system to perform the function of the functional system. Figure 4 As shown, the method includes the following steps.
[0122] Step 401, the power consumption control unit controls the functional system to enter a low power consumption state; wherein, controlling the functional system to enter a low power consumption state includes: storing all or part of the data in the first cache of the functional system into the second cache of the functional system, and turning off the power of the functional system processor and the first cache, so that the functional system enters a low power consumption state; wherein, during the period when the functional system is in the low power consumption state, the second cache of the functional system is in a power supply state. For details, please refer to the above Figure 3 The introduction and implementation of steps 301 to 306.
[0123] In some embodiments, the at least one functional system includes multiple functional systems; the method further includes: when the power consumption control unit confirms that the control chip needs to enter a low power consumption state, controlling the multiple functional systems to enter a low power consumption state in parallel. Figure 3 The introduction and implementation of steps 303 to 306.
[0124] In some embodiments, the multiple functional systems include: a central processing system in the control chip, a physical interface system, a high-speed signal protocol processing system, and a transport layer protocol processing system. Figure 1 or Figure 2 The illustrated embodiment is described in detail.
[0125] In some embodiments, the method further includes: the power consumption control unit controls the functional system to exit the low power consumption state; wherein, controlling the functional system to exit the low power consumption state includes: turning on the power of the processor and the first cache of the functional system, and restoring the data in the second cache of the functional system to the first cache of the functional system, so that after the functional system exits the low power consumption state, the processor of the functional system continues to use the data in the first cache of the functional system to execute the function of the functional system. For details, please refer to the above Figure 3 The introduction and implementation of steps 307 to 311 in FIG.
[0126] In an example of this embodiment, the at least one functional system includes multiple functional systems, and the method further includes: when the power consumption unit confirms that the control chip needs to exit the low power consumption state, controlling the multiple functional systems to exit the low power consumption state in parallel. Figure 3 The introduction and implementation of step 310-step 311 in FIG.
[0127] In another example of this embodiment, the at least one functional system includes multiple functional systems, and different functional systems in the multiple functional systems are used to perform different functions. The method further includes: the power consumption control unit identifies the function that needs to be currently executed; the power consumption control unit controls the functional system that executes the function that needs to be currently executed to preferentially exit the low power consumption state. Figure 3 The introduction and implementation of step 310-step 311 in FIG.
[0128] In another example of this embodiment, the power consumption control unit includes a main control unit and at least one sub-control unit; wherein the at least one sub-control unit corresponds to the at least one functional system one-to-one; when the functional system is in a low power consumption state, the power of the sub-control unit corresponding to the functional system is in an off state; the data in the second cache of the functional system is restored to the first cache of the functional system including: the main control unit turns on the power of the sub-control unit; the sub-control unit with the power turned on restores the data in the second cache of its corresponding functional system to the first cache of the functional system. For details, please refer to the above introduction to the power consumption control unit 111 and the power consumption control unit 112.
[0129] In some embodiments, controlling the functional system to enter a low power consumption state further comprises: before shutting down the power of the functional system memory and cache, shutting down the system clock of the functional system. Figure 3 The introduction and implementation of steps 305-306.
[0130] In some embodiments, it is characterized in that the power consumption control unit includes a main control unit and at least one sub-control unit; wherein the at least one sub-control unit corresponds to the at least one functional system one-to-one; the storing of the data in the first cache of the functional system to the second cache of the functional system includes: the main control unit instructs the sub-control unit corresponding to the functional system to store the data in the first cache of the functional system to the second cache of the functional system. For details, please refer to the above introduction to the power consumption control unit 111 and the power consumption control unit 112.
[0131] In some embodiments, storing all or part of the data in the first cache of the functional system into the second cache of the functional system includes: storing the system data in the first cache into the second cache, wherein the system data is the data that the processor relies on to continue to execute the function of the functional system after exiting the low power state. Figure 3 The introduction of step 304 is implemented.
[0132] In this method, the working cache and the power-saving cache are in the same functional system. When entering the low-power state, the data of the working cache is migrated to the power-saving cache to achieve local storage of the data, thereby reducing the time and power consumption of data migration or transportation when entering the low-power state, so that the control chip can enter the low-power state as soon as possible and reduce power consumption. In addition, the data is locally saved, and there is no need to migrate the data to the external storage medium of the control chip, so there is no data reliability risk caused by storing data in the external storage medium, and the additional data verification space and power consumption overhead due to the need for data protection is avoided.
[0133] The present application also provides a control chip 500 for a solid state hard disk. Figure 5 As shown, the control chip 500 includes: a power consumption control unit 510, at least one functional system 520, wherein the functional system 520 includes a first cache, a second cache, and a processor; wherein the power consumption of the second cache is less than the power consumption of the first cache, and the processor of the functional system uses the first cache of the functional system to perform the function of the functional system; wherein,
[0134] The power consumption control unit 510 is used to control the functional system to enter a low power consumption state; wherein, controlling the functional system to enter a low power consumption state includes: storing all or part of the data in the first cache of the functional system into the second cache of the functional system, and turning off the power of the functional system processor and the first cache, so that the functional system enters a low power consumption state; wherein, while the functional system is in the low power consumption state, the second cache of the functional system is in a powered state.
[0135] The functions and structures of the components in the control chip 500 can be referred to above. Figure 1 or Figure 2 or Figure 3 or Figure 4 The method embodiment shown is implemented and will not be described in detail here.
[0136] The present application embodiment also provides a solid state drive 600. Figure 6 As shown, the solid state drive 600 includes a control chip 500 and a storage medium 610. The storage medium 610 can be implemented by referring to the introduction of the storage medium 120 above.
[0137] The present application embodiment also provides a computing device 700. Figure 7 As shown, the computing device 700 includes a solid state drive 600 and a processor 710. Exemplarily, the processor 710 may be a CPU of a host.
[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for controlling power consumption of a solid state drive (SSD). It is characterized in that A control chip applied to an SSD, the control chip comprising: a power consumption control unit, at least one functional system, wherein the functional system comprises a first cache, a second cache, and a processor; wherein the power consumption of the second cache is less than the power consumption of the first cache, and the processor of the functional system uses the first cache of the functional system to perform the function of the functional system; the method comprising: The power consumption control unit controls the functional system to enter a low power consumption state; wherein controlling the functional system to enter a low power consumption state includes: storing all or part of the data in the first cache of the functional system into the second cache of the functional system, and turning off the power of the functional system processor and the first cache, so that the functional system enters a low power consumption state; Wherein, while the functional system is in a low power consumption state, the second cache of the functional system is in a power supply state.
2. The method according to claim 1, It is characterized in that The at least one functional system includes a plurality of functional systems; the method further includes: When confirming that the control chip needs to enter a low power consumption state, the power consumption control unit controls the multiple functional systems to enter the low power consumption state in parallel.
3. The method according to claim 2, It is characterized in that The multiple functional systems include: a central processing system, a physical interface system, a high-speed signal protocol processing system, and a transport layer protocol processing system in the control chip.
4. The method according to any one of claims 1 to 3, It is characterized in that The method further comprises: The power consumption control unit controls the functional system to exit the low power consumption state; wherein, controlling the functional system to exit the low power consumption state includes: turning on the power of the processor and the first cache of the functional system, and restoring the data in the second cache of the functional system to the first cache of the functional system, so that after the functional system exits the low power consumption state, the processor of the functional system continues to use the data in the first cache of the functional system to execute the function of the functional system.
5. The method according to claim 4, It is characterized in that The at least one functional system includes a plurality of functional systems, and the method further includes: When confirming that the control chip needs to exit the low power consumption state, the power consumption unit controls the multiple functional systems to exit the low power consumption state in parallel.
6. The method according to claim 4, It is characterized in that The at least one functional system includes a plurality of functional systems, and different functional systems among the plurality of functional systems are used to perform different functions. The method further includes: The power consumption control unit identifies a function that currently needs to be executed; The power consumption control unit controls the functional system executing the function currently required to be executed to preferentially exit the low power consumption state.
7. The method according to any one of claims 4 to 6, It is characterized in that The power consumption control unit includes a main control unit and at least one sub-control unit; wherein the at least one sub-control unit corresponds to the at least one functional system one by one; when the functional system is in a low power consumption state, the power of the sub-control unit corresponding to the functional system is in a turned-off state; The restoring the data in the second cache of the functional system to the first cache of the functional system comprises: the main control unit turning on the power of the sub-control unit; The sub-control unit with power turned on restores the data in the second cache of its corresponding functional system to the first cache of the functional system.
8. The method according to any one of claims 1 to 7, It is characterized in that The controlling the functional system to enter a low power consumption state further includes: before turning off the power of the functional system memory and cache, turning off the system clock of the functional system.
9. The method according to any one of claims 1 to 8, It is characterized in that The power consumption control unit includes a main control unit and at least one sub-control unit; wherein the at least one sub-control unit corresponds to the at least one functional system in a one-to-one manner; The storing the data in the first cache of the functional system into the second cache of the functional system comprises: the main control unit instructs the sub-control unit corresponding to the functional system to store the data in the first cache of the functional system into the second cache of the functional system.
10. The method according to any one of claims 1 to 9, It is characterized in that Storing all or part of the data in the first cache of the functional system into the second cache of the functional system includes: storing the system data in the first cache into the second cache, wherein the system data is the data that the processor relies on to continue to execute the function of the functional system after exiting the low power consumption state.
11. A control chip for a solid state hard disk, It is characterized in that The control chip includes: a power consumption control unit, and at least one functional system, wherein the functional system includes a first cache, a second cache, and a processor; wherein the power consumption of the second cache is less than the power consumption of the first cache, and the processor of the functional system uses the first cache of the functional system to perform the function of the functional system; wherein, The power consumption control unit is used to control the functional system to enter a low power consumption state; wherein, controlling the functional system to enter a low power consumption state includes: storing all or part of the data in the first cache of the functional system into the second cache of the functional system, and turning off the power of the functional system processor and the first cache, so that the functional system enters a low power consumption state; Wherein, while the functional system is in a low power consumption state, the second cache of the functional system is in a power supply state.
12. The control chip according to claim 11, It is characterized in that The at least one functional system includes a plurality of functional systems; the power consumption control unit is used to control the plurality of functional systems to enter a low power consumption state in parallel when confirming that the control chip needs to enter a low power consumption state.
13. The control chip according to claim 12, It is characterized in that The multiple functional systems include: a central processing system, a physical interface system, a high-speed signal protocol processing system, and a transport layer protocol processing system in the control chip.
14. The control chip according to any one of claims 11 to 13, It is characterized in that The power consumption control unit is used to control the functional system to exit the low power consumption state; wherein, controlling the functional system to exit the low power consumption state includes: turning on the power of the processor and the first cache of the functional system, and restoring the data in the second cache of the functional system to the first cache of the functional system, so that after the functional system exits the low power consumption state, the processor of the functional system continues to use the data in the first cache of the functional system to execute the function of the functional system.
15. The control chip according to claim 14, It is characterized in that The at least one functional system includes a plurality of functional systems, and the power consumption unit is used to control the plurality of functional systems to exit the low power consumption state in parallel when confirming that the control chip needs to exit the low power consumption state.
16. The control chip according to claim 14, It is characterized in that The at least one functional system includes multiple functional systems, different functional systems among the multiple functional systems are used to perform different functions, and the power consumption control unit is used to identify the function that currently needs to be executed; the power consumption control unit controls the functional system used to execute the function that currently needs to be executed to preferentially exit the low power consumption state.
17. The control chip according to any one of claims 14 to 16, It is characterized in that The power consumption control unit includes a main control unit and at least one sub-control unit; wherein the at least one sub-control unit corresponds to the at least one functional system one by one; when the functional system is in a low power consumption state, the power of the sub-control unit corresponding to the functional system is in a turned-off state; The main control unit is used to turn on the power of the sub-control unit; The powered-on sub-control unit is used to restore the data in the second cache of the corresponding functional system to the first cache of the functional system.
18. The control chip according to any one of claims 11 to 17, It is characterized in that The power consumption control unit is used to turn off the system clock of the functional system before turning off the power of the functional system memory and cache.
19. The control chip according to any one of claims 11 to 18, It is characterized in that The power consumption control unit includes a main control unit and at least one sub-control unit; wherein the at least one sub-control unit corresponds to the at least one functional system in a one-to-one manner; The main control unit is used to instruct the sub-control unit corresponding to the functional system to store the data in the first cache of the functional system into the second cache of the functional system.
20. The control chip according to any one of claims 11 to 19, It is characterized in that The power consumption control unit is used to store system data in the first cache into the second cache, wherein the system data is data that the processor relies on to continue to execute the function of the functional system after exiting the low power consumption state.
21. A solid state hard disk, It is characterized in that It comprises a storage medium and the control chip described in any one of claims 11-20.
22. A computing device, It is characterized in that Comprising a processor and the solid state drive as claimed in claim 21.
