A power-on method of an SSD and an embedded controller
By dynamically adjusting the SSD's power-on strategy, and combining health status, ambient temperature, and power supply method, the problems of data loss and energy waste in existing technologies are solved, achieving more efficient data protection and energy management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 联想开天科技有限公司
- Filing Date
- 2026-02-10
- Publication Date
- 2026-06-16
AI Technical Summary
Existing SSD data protection methods fail to effectively adapt to different operating conditions, leading to data loss or energy waste, especially insufficient power supply frequency under high temperature or high wear conditions, or excessive power supply causing energy waste under SSDs in good health.
By acquiring the SSD's current status parameters, ambient temperature, and power supply method, the power-on strategy is dynamically adjusted. This includes comprehensive consideration of health assessment, ambient temperature, and power supply method to ensure timely power-on to protect data integrity.
It improves the integrity of SSD data, reduces the probability of data loss, optimizes power management, and enhances user experience and adaptability.
Smart Images

Figure CN122220144A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of storage technology, and in particular to a power-on method for an SSD and an embedded controller. Background Technology
[0002] In recent years, SSDs (Solid State Disks) have been widely used in personal computers, data centers, embedded systems, and other fields due to their advantages such as high read and write speeds, low power consumption, and strong shock resistance, and have gradually replaced traditional mechanical hard drives as the mainstream storage device. However, when the device is not powered on for a long time and the SSD is in a non-working state, under certain conditions, electrons can escape from the floating gate, causing a change in the voltage state of the floating gate transistor, resulting in SSD data loss.
[0003] Existing methods typically employ a fixed-cycle power-on monitoring strategy, such as powering on the SSD every 30 days. However, this approach fails to consider dynamic factors such as ambient temperature, relying solely on fixed time intervals for power-on, which cannot adapt to the data retention requirements of SSDs under varying operating conditions. For SSDs operating in high-temperature environments or under high wear, a fixed cycle may result in data loss due to insufficient power-on frequency; while for SSDs operating in non-high-temperature environments or in good health, excessively frequent power-on leads to unnecessary energy waste. Summary of the Invention
[0004] This application is made in view of at least one of the above-mentioned technical problems existing in the prior art, and the application can improve the data integrity of SSD.
[0005] In a first aspect, embodiments of this application provide a power-on method for an SSD, comprising:
[0006] Obtain the current status parameters of the SSD, the current power supply method, and the current ambient temperature of the SSD. Based on the current status parameters, determine the current health status of the SSD; Based on the current health status, determine whether the SSD meets the preset automatic power-on conditions. If so, determine the current power-on information based on the current health status, the current ambient temperature, and the current power supply method. Based on the current power-on information, control the SSD to power on.
[0007] Secondly, embodiments of this application provide an embedded controller, including: The acquisition module is configured to acquire the current status parameters, current power supply method, and current ambient temperature of the solid-state drive (SSD). The determination module is configured to determine the current health status of the SSD based on the current status parameters; and based on the current health status, determine whether the SSD meets the preset automatic power-on conditions. If so, it determines the current power-on information based on the current health status, the current ambient temperature, and the current power supply method. The control module is configured to control the SSD to power on based on the current power-on information.
[0008] Thirdly, embodiments of this application provide an electronic device, including a memory and a processor, wherein the memory stores an executable program, and the processor executes the executable program to perform the steps of the method as described in any of the preceding claims.
[0009] This application provides an SSD power-on method and embedded controller that comprehensively considers SSD health, ambient temperature, and power supply method, avoiding the one-sidedness of existing solutions with fixed cycles and a single temperature dimension, and ensuring the integrity of SSD data under different operating conditions. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 This is a schematic diagram illustrating data loss caused by charge transitions. Figure 2 This is a schematic diagram of a power-on method for an SSD provided in one embodiment of this application; Figure 3 This is a schematic diagram of an embedded controller provided in one embodiment of this application; Figure 4 This is a schematic diagram illustrating the connection between an embedded controller and other hardware, provided in one embodiment of this application. Figure 5 This is a schematic diagram of a power switching circuit provided in one embodiment of this application. Detailed Implementation
[0012] To enable those skilled in the art to better understand the technical solutions of the embodiments of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0013] The storage core of an SSD relies on NAND Flash chips, which work by storing charge at the floating gate level to represent data "0" and "1", thereby achieving long-term data preservation.
[0014] However, the physical characteristics of NAND Flash inherently pose a risk to SSD data retention: when the device is not powered on for extended periods and the SSD is in an inactive state, the charge stored in the floating gate stage will gradually leak over time, causing the originally stored data to flip, such as... Figure 1 As shown, data "0" changes to "1". When the number of data errors caused by leakage exceeds the SSD's own error correction capability, the data will be completely corrupted, causing irreparable loss to the user. Here, "control gate", "source", "drain", "data leakage", "Erase to "1" state (erase to "1"), and "Program to "0" state (program to "0") are all used to revert to the "0" state.
[0015] In view of this, such as Figure 2 As shown in the figure, this application embodiment provides a power-on method for an SSD, including: Step 201: Obtain the current status parameters of the SSD, the current power supply method, and the current ambient temperature of the SSD.
[0016] This method is applied to embedded controllers (ECs). Current status parameters refer to SMART (Self-Monitoring Analysis and Reporting Technology) related parameters of the SSD, including P / E (Program / Erase Cycles), TBW (Total Bytes Written), OP (Over-Provisioning Space), UBER (Unrecoverable Bit Error Rate), SSD manufacturer, and capacity.
[0017] The current power supply method is power supply, Ethernet power or battery.
[0018] The current ambient temperature can be collected in real time by a temperature sensor deployed near the SSD, accurately reflecting the temperature conditions of the environment in which the SSD is placed.
[0019] Step 202: Determine the current health status of the SSD based on the current status parameters.
[0020] The current health of the SSD is determined based on one or more of the SMART parameters. Health represents the SSD's actual data retention capability and remaining hardware lifespan, reflecting the SSD's ability to retain data during extended periods of power off.
[0021] Step 203: Based on the current health status, determine whether the SSD meets the preset automatic power-on conditions. If yes, proceed to step 204; otherwise, proceed to step 201.
[0022] The automatic power-on condition can be that the health level is less than the preset health threshold, or that the health level is lower than the preset level.
[0023] Step 204: Determine the current power-on information based on the current health status, current ambient temperature, and current power supply method.
[0024] Power-on information may include power-on duration and power-on cycle.
[0025] Step 205: Based on the current power-on information, control the SSD to power on.
[0026] This application comprehensively considers SSD health, ambient temperature, and power supply method, avoiding the limitations of existing solutions that rely on fixed cycles and a single temperature dimension, thus ensuring the integrity of SSD data under different operating conditions. This application can proactively power on the SSD based on its status parameters, further reducing the probability of data loss.
[0027] In one embodiment of this application, determining the current health of the SSD based on current status parameters includes: The current health of the SSD is determined based on the number of programming / erase cycles.
[0028] The SSD's program / erase cycle count refers to the cumulative number of complete erase-program cycles completed by the NAND Flash storage cell. Specifically, the health status can be calculated based on the actual P / E ratio read and the nominal maximum P / E ratio. For example, the current health status = [1 - (current actual P / E ratio read) / (nominal maximum P / E ratio)] x 100.
[0029] In practical applications, a quantitative mapping relationship can be established by combining the maximum P / E cycle threshold specified by the SSD manufacturer to calculate the current health of the SSD. If the number of P / E cycles is close to or reaches the maximum threshold (e.g., ≥80% threshold), the current health is ≤20 (poor health, high wear); if the number of P / E cycles is in the middle range of the threshold (e.g., 50%-80% threshold), then 20 < current health ≤50 (moderate health, moderate wear); if the number of P / E cycles is much lower than the maximum threshold (e.g., <50% threshold), then the current health is >50 (good health, low wear).
[0030] The number of program / erase cycles is a core quantitative indicator of SSD wear. Compared to other SMART parameters, it more directly reflects the physical wear state of NAND Flash storage cells. The wear degree of the tunnel oxide layer is positively correlated with the number of program / erase cycles, directly determining the stable storage capability of the floating gate charge. Calculating health based on the number of program / erase cycles avoids judgment bias caused by redundant multiple parameters, making the health result more closely reflect the actual data retention capability of the SSD.
[0031] In practical applications, the remaining lifespan percentage can also be obtained from the SMART parameter, and the health level can be calculated based on this percentage. For example, current health level = remaining lifespan percentage x 100 In one embodiment of this application, in response to the SSD not meeting the automatic power-on conditions, the method further includes: Monitor trigger operations targeting the user interface. If a trigger operation is detected, determine the current power-on information based on the current health status, current ambient temperature, and current power supply method.
[0032] If the conditions for automatic power-on are not met, the SSD has low wear and tear and strong data retention capabilities, so there is no need to force the automatic power-on function to be turned on.
[0033] The user interface (UI) refers to the visual interface provided by the basic input / output system (PIS) or operating system, and is the core entry point for user interaction with the system. Users perform triggered operations through this UI, including but not limited to clicks, checkmarks, and confirmations. The EC (Electronic Control Unit) monitors user commands on the UI in real time through a communication link with the PIS, ensuring that triggered operations are captured and transmitted promptly.
[0034] If the SSD does not meet the conditions for automatic power-on, it means that the SSD is in good health. In this case, the SSD will not be automatically powered on. Instead, the system will detect whether the user has enabled power-on through the UI. If a trigger operation is detected, it means that the user has enabled power-on. The EC will determine the current power-on information based on the current health, current ambient temperature, and current power supply method.
[0035] Without increasing energy consumption or implementation costs, a user-triggered protection path is added to SSDs with good health, improving the full-scenario protection system of automatic and manual protection. This not only solves the problems of insufficient flexibility and energy waste in existing solutions, but also improves the user experience through user-driven decision-making, making the overall solution's protection logic more comprehensive and adaptable.
[0036] In one embodiment of this application, controlling the SSD to power on based on current power-on information includes: Based on the current power-on information, control the power-on of the SSD and fan.
[0037] In this embodiment, both the SSD and the fan are powered on, forming a power supply-heat dissipation mechanism. Non-essential hardware modules such as the CPU are not activated, and power is supplied only for data protection and heat dissipation needs, which can reduce energy consumption.
[0038] The fan can run at its lowest speed without needing to dynamically adjust its speed based on temperature. Since only the controller operates when the SSD is powered on, the heat generated is stable and low, and the lowest speed is sufficient for heat dissipation. The fan and the SSD's power supply can be completely synchronized.
[0039] If a power-on operation is detected during the SSD power-on process, the EC will shut off the power supply to the SSD and fan, exiting the automatic power-on logic to avoid conflict with the power-on power supply.
[0040] When an SSD is powered on, the controller chip and NAND Flash units still generate heat. If the SSD is powered on but the fan is not, the heat cannot be dissipated, causing the SSD's operating temperature to rise. According to JEDEC standards, the operating temperature of an SSD should be maintained between 30 and 55 degrees Celsius. If the temperature is too high, it will affect the SSD's performance and lifespan, leading to data read / write errors, firmware crashes, or even physical damage to the hard drive.
[0041] The lowest fan speed allows the SSD to operate at a suitable ambient temperature, reducing the risk of data loss.
[0042] In one embodiment of this application, obtaining the current status parameters of the SSD includes: The current status parameters are obtained from the SSD via the system management bus, or from the EC's non-volatile memory; the current status parameters in the non-volatile memory are obtained by the basic input / output system via the high-speed serial computer extension bus standard.
[0043] This application provides two acquisition methods. One method involves directly obtaining current status parameters from the SSD via the system management bus, such as the number of programming / erase cycles and the cumulative number of bytes written. This is suitable for scenarios where the device is not completely powered off or the EC can directly communicate with the SSD, without relying on other modules for relay, enabling real-time and fast parameter reading. The other method involves obtaining current status parameters from the EC's non-volatile memory. Each time the device powers on, the Basic Input / Output System (PIOS) obtains the SMART parameters inside the SSD, such as deep wear logs and manufacturer-defined health indicators, via the high-speed serial computer extended bus standard, and stores these parameters in the EC's non-volatile memory. This is suitable for scenarios where the device has been powered off for a long time and the EC cannot directly communicate with the SSD via the system management bus. The EC can directly read the pre-stored data without needing to wake up other modules.
[0044] EC can automatically select the acquisition method based on the current status of the device. For example, when the device is powered on or briefly powered off, it will prioritize acquiring the current status parameters through the system management bus to ensure that the data is up-to-date. When the device is powered off for a long time, it will automatically read the parameters pre-stored in the basic input / output system from its own non-volatile memory to avoid parameter loss due to the inability to establish communication with the system management bus.
[0045] In one embodiment of this application, determining the current power-on information based on the current health status, current ambient temperature, and current power supply method includes: Based on the current health status, current ambient temperature, current power supply method, and preset power-on strategy, the current power-on information is determined. The power-on strategy includes the correspondence between health status, ambient temperature, power supply method, and power-on information. The power-on information includes the power-on cycle and power-on duration.
[0046] Current health status, current ambient temperature, and current power supply method together constitute the complete input dimensions for power-on information decision-making. Health status quantifies the SSD's wear status and data retention capability; ambient temperature is collected in real time by temperature sensors near the SSD, reflecting the environmental impact of charge leakage rate; and power supply method distinguishes differences in energy characteristics.
[0047] When the power supply method is a power supply unit or Power over Ethernet, the corresponding relationship can be shown in Table 1. Here, Health Value represents the health status, temp represents the ambient temperature, Tt represents the power-on cycle, and Th represents the power-on duration.
[0048] Table 1
[0049] When the power supply is a battery, the corresponding relationship can be shown in Table 2.
[0050] Table 2
[0051] The correspondence between Table 1 and Table 2 is only an example. In actual application scenarios, this correspondence can be adjusted according to actual needs.
[0052] This application embodiment makes a comprehensive decision based on health status, ambient temperature, and power supply method, so that the power-on cycle and duration are adapted to the actual data retention requirements of the SSD. When there is high wear (low health status) and high temperature, the Tt is shortened and the Th is extended. When there is low wear (high health status) and no high temperature, the Tt is extended. The Th is set as needed to ensure the data retention effect while avoiding excessive power supply.
[0053] In one embodiment of this application, controlling the SSD to power on based on current power-on information includes: When the power supply method is a power supply unit or Power over Ethernet, the SSD is powered on based on the current power-on information; the power-on process is uninterrupted.
[0054] Specifically, the power supply type identification module of the motherboard circuit and the signal acquisition function of the EC can be used to obtain the power supply mode identifier. The power-on process is continuous and uninterrupted. From the moment of power-on trigger to the end of the preset power-on duration Th, the power supply status remains stable throughout, without any pauses, splits, or interruptions. If the device is triggered to perform normal power-on operation during the power-on process, the EC immediately interrupts the uninterrupted power-on process, shuts down the power supply to the SSD and fan, and avoids conflicts with the power-on power supply.
[0055] After the duration of a single uninterrupted power-on cycle (Th) ends, the EC re-enters the timing phase of the power-on cycle (Tt). Once Tt is reached, the process of determining the power supply mode is repeated. The cyclic power-on process is terminated only when changes in SSD health cause the automatic power-on conditions to be unmet, the user manually disables the power-on function, or the device is powered on for an extended period.
[0056] This application embodiment utilizes the advantages of stable power supply or Ethernet power supply without power constraints, allowing the SSD controller to obtain continuous and complete working time through uninterrupted power supply. This enables it to fully complete operations such as floating gate charge replenishment, data verification, and bad block detection, ensuring the maximum effect of power-on protection.
[0057] For SSDs subjected to high temperatures and high wear, continuous power-on for extended periods can significantly reduce the probability of data loss.
[0058] In one embodiment of this application, controlling the SSD to power on based on current power-on information includes: When the power supply is a battery, the SSD is powered on in stages based on the current power-on information.
[0059] If, during the phased power-on process, the EC detects that the remaining battery power is below a preset minimum threshold (e.g., 10%), it can temporarily shorten the duration of each power-on cycle and extend the power-off interval to ensure that the remaining battery power meets the device's subsequent normal power-on requirements and avoid over-discharge. If the device's normal power-on operation is triggered during the power-on process, the EC will immediately terminate the phased power-on process and shut down the power supply to the SSD and fan to avoid conflict with the power-on power supply.
[0060] The preset total power-on time Th is divided into multiple short power-on operations. The duration of each power-on operation does not exceed a preset threshold (e.g., 20 minutes). The sum of the times of multiple power-ons is equal to the total power-on time Th. There is a power-off interval between two adjacent power-ons. During the power-off period, both the SSD and the fan stop receiving power.
[0061] Existing solutions lack differentiated power-on logic for battery power supply. Using a single, prolonged power-on can rapidly deplete the batteries of mobile devices like laptops, impacting subsequent use and posing a risk of hardware damage due to over-discharge. This application addresses this by dividing the total power supply time into multiple short power-on cycles. The total duration of these cycles equals the preset total power-on time Th, avoiding large single power consumption, effectively controlling battery drain, and ensuring data protection while maintaining sufficient battery power for normal device startup.
[0062] like Figure 3 As shown, this application provides an EC, including: The acquisition module 301 is configured to acquire the current status parameters, current power supply method, and current ambient temperature of the solid-state drive (SSD). The determination module 302 is configured to determine the current health status of the SSD based on the current status parameters; based on the current health status, determine whether the SSD meets the preset automatic power-on conditions; if so, determine the current power-on information based on the current health status, current ambient temperature, and current power supply method. The control module 303 is configured to control the power-on of the SSD based on the current power-on information.
[0063] In one embodiment of this application, the determining module 302 is configured to determine the current health of the SSD based on the number of programming / erase cycles.
[0064] In one embodiment of this application, in response to the SSD not meeting the automatic power-on conditions, the determination module 302 is configured to monitor trigger operations for the user interface. If a trigger operation is detected, it performs a determination of current power-on information based on the current health status, current ambient temperature, and current power supply method.
[0065] In one embodiment of this application, the control module 303 is configured to control the SSD and fan to power on based on the current power-on information.
[0066] In one embodiment of this application, the acquisition module 301 is configured to acquire the current status parameters of the SSD via the system management bus, or to acquire the current status parameters from the non-volatile memory of the EC; the current status parameters in the non-volatile memory are acquired by the basic input / output system via the high-speed serial computer extended bus standard.
[0067] In one embodiment of this application, the determining module 302 is configured to determine the current power-on information based on the current health status, current ambient temperature, current power supply mode and preset power-on strategy; wherein, the power-on strategy includes the correspondence between health status, ambient temperature, power supply mode and power-on information, and the power-on information includes: power-on cycle and power-on duration.
[0068] In one embodiment of this application, the control module 303 is configured to power on the SSD based on the current power-on information when the power supply method is a power supply or Ethernet power supply; wherein the power-on process is uninterrupted.
[0069] In one embodiment of this application, the control module 303 is configured to power on the SSD in stages based on the current power-on information when the power supply is a battery.
[0070] like Figure 4 The diagram shows a hardware connection scheme. BIOS is the Basic Input / Output System, PSU is the Power Supply Unit, Battery is the battery, PoE is Power over Ethernet, SMBUS is the System Management Bus, PCIe is the High-Speed Serial Computer Expansion Bus, Thermal Sensor is the Temperature Sensor, Fan is the Fan, Power Switch is the Power Switch, LPC is the Low Pin Count, and eSPI is the Enhanced Serial Peripheral Interface. The power switch can toggle between different power supply methods.
[0071] like Figure 5 The diagram shows the power switching circuit between PSU and POE. The power switching circuits between other power supply methods are similar and will not be described in detail here.
[0072] This application provides an electronic device, including a memory and a processor. The memory stores an executable program, and the processor executes the executable program to perform the steps of the method as described in any of the above embodiments.
[0073] This application provides a computer program product that, when executed by a processor, implements the method described in any of the above embodiments.
[0074] It should be understood that in the embodiments of this application, the processor may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0075] It should also be understood that the memory mentioned in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (Read-Only Memory). Only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct memory bus RAM (DR RAM).
[0076] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) is integrated into the processor.
[0077] It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
[0078] In addition to the data bus, this bus may also include a power bus, a control bus, and a status signal bus. However, for clarity, all buses are labeled "bus" in the diagram.
[0079] It should also be understood that the first, second, third, fourth and various numerical designations used herein are merely for descriptive convenience and are not intended to limit the scope of this application.
[0080] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0081] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware processor, or by a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are omitted here.
[0082] In the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0083] Those skilled in the art will recognize that the various illustrative logical blocks (ILBs) and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0084] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0085] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0086] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0087] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
[0088] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A power-on method for an SSD, comprising: Obtain the current status parameters, current power supply method, and current ambient temperature of the solid-state drive (SSD); Based on the current status parameters, determine the current health status of the SSD; Based on the current health status, determine whether the SSD meets the preset automatic power-on conditions. If so, determine the current power-on information based on the current health status, the current ambient temperature, and the current power supply method. Based on the current power-on information, control the SSD to power on.
2. The method as described in claim 1, Based on the current status parameters, the current health of the SSD is determined, including: The current health of the SSD is determined based on the number of programming / erase cycles.
3. The method of claim 1, wherein in response to the SSD not meeting the automatic power-on condition, the method further comprises: Monitor trigger operations targeting the user interface. If the trigger operation is detected, determine the current power-on information based on the current health status, the current ambient temperature, and the current power supply method.
4. The method as described in claim 1, Based on the current power-on information, control the SSD to power on, including: Based on the current power-on information, control the SSD and fan to power on.
5. The method as described in claim 1, Get the current status parameters of the SSD, including: The current status parameters are obtained from the SSD via the system management bus, or from the non-volatile memory of the embedded controller. The current state parameters in the non-volatile memory are obtained by the basic input / output system through the high-speed serial computer extension bus standard.
6. The method as described in claim 1, Based on the current health status, the current ambient temperature, and the current power supply method, the current power-on information is determined, including: Based on the current health status, the current ambient temperature, the current power supply method, and the preset power-on strategy, the current power-on information is determined; wherein, the power-on strategy includes the correspondence between health status, ambient temperature, power supply method, and power-on information, and the power-on information includes: power-on cycle and power-on duration.
7. The method as described in claim 1, Based on the current power-on information, control the SSD to power on, including: When the power supply method is a power supply unit or Ethernet power supply, the SSD is powered on based on the current power-on information; wherein, the power-on process is uninterrupted.
8. The method as described in claim 1, Based on the current power-on information, control the SSD to power on, including: When the power supply is a battery, the SSD is powered on in stages based on the current power-on information.
9. An embedded controller, comprising: The acquisition module is configured to acquire the current status parameters, current power supply method, and current ambient temperature of the solid-state drive (SSD). The determination module is configured to determine the current health status of the SSD based on the current status parameters; Based on the current health status, determine whether the SSD meets the preset automatic power-on conditions. If so, determine the current power-on information based on the current health status, the current ambient temperature, and the current power supply method. The control module is configured to control the SSD to power on based on the current power-on information.
10. An electronic device comprising a memory and a processor, the memory storing an executable program, the processor executing the executable program to perform the steps of the method as claimed in any one of claims 1-8.