CN110990077A - Method and device for improving low-power-consumption exit efficiency of solid state disk, computer equipment and storage medium - Google Patents

Method and device for improving low-power-consumption exit efficiency of solid state disk, computer equipment and storage medium Download PDF

Info

Publication number
CN110990077A
CN110990077A CN201911193310.9A CN201911193310A CN110990077A CN 110990077 A CN110990077 A CN 110990077A CN 201911193310 A CN201911193310 A CN 201911193310A CN 110990077 A CN110990077 A CN 110990077A
Authority
CN
China
Prior art keywords
low
power
consumption
firmware
exit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911193310.9A
Other languages
Chinese (zh)
Inventor
刘坚
冯元元
冷志源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Union Memory Information System Co Ltd
Original Assignee
Shenzhen Union Memory Information System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Union Memory Information System Co Ltd filed Critical Shenzhen Union Memory Information System Co Ltd
Priority to CN201911193310.9A priority Critical patent/CN110990077A/en
Publication of CN110990077A publication Critical patent/CN110990077A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The invention relates to a method and a device for improving low-power-consumption exit efficiency of a solid state disk, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring a low-power-consumption exit command, and restarting the main control chip according to the low-power-consumption exit command; calling a firmware loading program to execute a low-power-consumption exit action and reload firmware, wherein the firmware loading program comprises an execution code for executing the low-power-consumption exit action and the firmware loading action; and running the loaded firmware to process the low-power-consumption exit command so as to enable the main control chip to exit the low-power-consumption state. The invention saves code resources, reduces the area of code data to be stored, thereby reducing power consumption; meanwhile, the low-power-consumption exit action and the firmware loading action are completed in the firmware loading program, so that the operations of code initialization, loading and the like are reduced, the time is saved, the exit speed is increased, and the use efficiency is further improved.

Description

Method and device for improving low-power-consumption exit efficiency of solid state disk, computer equipment and storage medium
Technical Field
The invention relates to the field of solid state disks, in particular to a method and a device for improving low-power-consumption exit efficiency of a solid state disk, computer equipment and a storage medium.
Background
The low power consumption function of the solid state disk can reduce the power consumption of the main control chip of the solid state disk and save energy. In a conventional low power consumption process, when a main control chip enters low power consumption, a low power consumption exit program and a firmware loading program need to be saved. When the main control chip exits low power consumption, a low power consumption exit program is required to be operated to execute low power consumption exit actions (link exits L1.2, NVME/PCIE register is recovered and the like), then the main control chip jumps to a firmware loading program to reload all firmware, so that the whole system is started, and a low power consumption exit command is processed. In the whole low-power consumption process, the program needs to be run for many times, so that the exiting time is wasted, the exiting efficiency is influenced, and meanwhile, a plurality of codes need to be stored, the area is larger, and the power consumption is higher.
As shown in fig. 1, the time axis of the exiting process in the low power consumption state of the conventional solid state disk is a time axis, the low power consumption exiting program and the firmware loading program need to be sequentially run, that is, the program needs to be run for multiple times, and the exiting time of the whole process is too long, which affects user experience.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method, a device, computer equipment and a storage medium for improving the low-power-consumption exit efficiency of a solid state disk.
In order to achieve the purpose, the invention adopts the following technical scheme: a method for improving low-power-consumption exit efficiency of a solid state disk comprises the following steps:
acquiring a low-power-consumption exit command, and restarting the main control chip according to the low-power-consumption exit command;
calling a firmware loading program to execute a low-power-consumption exit action and reload firmware, wherein the firmware loading program comprises an execution code for executing the low-power-consumption exit action and the firmware loading action;
and running the loaded firmware to process the low-power-consumption exit command so as to enable the main control chip to exit the low-power-consumption state.
Further, before the step of obtaining the low power consumption quit command and restarting the main control chip according to the low power consumption quit command, the method includes:
when the main control chip enters a low power consumption state, the firmware loading program is stored, and a flag bit is set.
Further, the step of invoking the firmware loader to perform the low power exit action while reloading the firmware comprises:
acquiring a flag bit, and calling a firmware loading program according to the flag bit;
and simultaneously executing the low-power-consumption exit action and the firmware loading action by the firmware loading program to complete the firmware reloading.
The invention also adopts the following technical scheme: the utility model provides an improve solid state disk low-power consumption and withdraw from device of efficiency, includes:
the command acquisition unit is used for acquiring a low-power-consumption exit command and restarting the main control chip according to the low-power-consumption exit command;
the system comprises a calling execution unit, a firmware loading unit and a firmware unloading unit, wherein the calling execution unit is used for calling a firmware loading program to execute a low-power-consumption exit action and reload firmware, and the firmware loading program comprises an execution code for executing the low-power-consumption exit action and the firmware loading action;
and the operation exit unit is used for operating the loaded firmware to process the low-power-consumption exit command so as to enable the main control chip to exit the low-power-consumption state.
Further, the system also comprises a storage setting unit used for storing the firmware loading program and setting a flag bit when the main control chip enters a low power consumption state.
Further, the call execution unit comprises a call module and an execution module;
the calling module is used for acquiring the flag bit and calling the firmware loading program according to the flag bit;
the execution module is used for simultaneously executing the low-power-consumption exit action and the firmware loading action through the firmware loading program so as to complete firmware reloading.
The invention also adopts the following technical scheme: a computer device, the computer device comprising a memory and a processor, the memory having a computer program stored thereon, the processor implementing the method for improving the low-power exit efficiency of the solid state disk as described in any one of the above when executing the computer program.
The invention also adopts the following technical scheme: a storage medium storing a computer program, which when executed by a processor can implement the method for improving the low-power-consumption exit efficiency of a solid state disk as described in any one of the above.
Compared with the prior art, the invention has the beneficial effects that:
when the main control chip exits from the low power consumption state, the main control chip directly skips to the firmware loading program through the preset flag bit, performs the low power consumption exit action in the firmware loading program, loads all the firmware, processes the low power consumption exit command through the loaded firmware so as to enable the main control chip to exit from the low power consumption state, fuses the low power consumption exit action and the firmware loading action into the firmware loading program code, saves code resources, reduces the code data area required to be stored, and reduces the power consumption; meanwhile, the low-power-consumption exit action and the firmware loading action are completed in the firmware loading program, so that the operations of code initialization, loading and the like are reduced, the time is saved, the exit speed is increased, and the use efficiency is further improved.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a time axis of a conventional exit low power state flow;
fig. 2 is a schematic flowchart of a method for improving low-power-consumption exit efficiency of a solid state disk according to an embodiment of the present invention;
fig. 3 is a schematic sub-flow chart of a method for improving the low-power-consumption exit efficiency of a solid state disk according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for improving low-power-consumption exit efficiency of a solid state disk according to another embodiment of the present invention;
fig. 5 is a schematic diagram of an exit time axis of a method for improving the low-power-consumption exit efficiency of a solid state disk according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of an apparatus for improving low-power-consumption exit efficiency of a solid state disk according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of a call execution unit of an apparatus for improving low-power-consumption exit efficiency of a solid state disk according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 2, fig. 2 is a schematic flowchart of a method for improving low power consumption exit efficiency of a solid state disk according to an embodiment of the present invention. The method for improving the low-power-consumption exit efficiency of the solid state disk is applied to the solid state disk.
Fig. 2 is a schematic flowchart of a method for improving low-power-consumption exit efficiency of a solid state disk according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S130.
And S110, acquiring a low-power-consumption exit command, and restarting the main control chip according to the low-power-consumption exit command.
In this embodiment, the low power consumption function of the solid state disk can reduce the power consumption of the main control chip of the solid state disk, thereby saving energy. When the main control chip is normally used, the main control chip enters a low power consumption state when needed, and when the main control chip exits the low power consumption state, a low power consumption exit action and a firmware loading action need to be executed. The low-power-consumption exit action can be specifically that the link exits L1.2 or restores an NVME/PCIE register and the like; the firmware loading action is specifically to reload the firmware so as to start the system of the main control chip.
Specifically, the low power consumption exit command is a command for the solid state disk to exit the low power consumption, which is sent by a host (computer), and may be a read-write command, or a command for switching a power state. According to the scheme, after the low-power-consumption quitting command is acquired, the main control chip is released and restarted, so that the subsequent firmware loading program is executed through the started main control chip, and the low-power-consumption quitting state is realized.
Referring to fig. 4, in another embodiment of the present invention, step S111 is further included before step S110.
And step S111, saving the firmware loading program and setting a flag bit when the main control chip enters a low power consumption state.
In this embodiment, the main control chip must enter the low power consumption state before exiting the low power consumption state, and when the main control chip enters the low power consumption state, the firmware loading program is saved and a flag bit is set, where the flag bit is used to guide the main control chip to call and jump to the firmware loading program. Specifically, the flag bit is a code address of the main control chip without power failure, and a special value is written in the code address. When the main control chip exits the low power consumption, the main control chip skips to the firmware loading program according to the special value of the read code address, and the direct calling of the firmware loading program is realized.
Specifically, when entering the low power consumption state, the firmware loader and the low power consumption exit program are combined into a set of program in advance, which is a firmware loader in this embodiment, and the firmware loader includes an execution code for executing the low power consumption exit action and the firmware loading action. By fusing the low-power-consumption exit action and the firmware loading action into a set of codes, code resources are saved, and the area of code data to be saved is reduced, so that the power consumption is reduced; meanwhile, the low-power-consumption exit action and the firmware loading action are completed only by running the firmware loading program, the program does not need to be run for many times, the operations of code initialization, loading and the like are reduced, the time is saved, the exit speed is increased, and the efficiency is improved.
And S120, calling a firmware loading program to execute a low-power-consumption exit action and reloading the firmware.
In this embodiment, the firmware loader includes an execution code for executing the low power exit operation and the firmware loading operation. As shown in fig. 5, for the exit time axis diagram of the method for improving the low-power-consumption exit efficiency of the solid state disk according to the embodiment of the present invention, the main control chip only needs to call the firmware loading program once to simultaneously execute the low-power-consumption exit action and the firmware loading action (loading firmware), so that the operation of exiting the low-power-consumption state can be completed by running a code once, the program does not need to be run many times, operations such as code initialization and loading are reduced, time is saved, the low-power-consumption exit speed is improved, and efficiency is improved.
In an embodiment, referring to fig. 3, step S120 includes steps S121 and S122.
And S121, acquiring the flag bit, and calling a firmware loading program according to the flag bit.
And S122, simultaneously executing a low-power-consumption exit action and a firmware loading action through a firmware loading program to complete firmware reloading.
In this embodiment, the main control chip may directly jump to and call the firmware loader through the flag bit of the firmware loader, and simultaneously execute the low-power-consumption exit action firmware loading action once through the firmware loader, so as to complete the firmware reloading. Code resources are saved, and the area of code data needing to be stored is reduced, so that the power consumption is reduced; meanwhile, the low-power-consumption exit action and the firmware loading action are completed only by running the firmware loading program, the program does not need to be run for many times, the operations of code initialization, loading and the like are reduced, the time is saved, the exit speed is increased, and the efficiency is improved.
Specifically, the low-power-consumption exit action is mainly an action executed by the solid state disk after receiving a low-power-consumption exit command sent by the host, for example, an action of exiting L1.2, recovering the NVME/PCIE register, recovering a code, powering on a power supply, and the like.
And S130, operating the loaded firmware to process the low-power-consumption exit command so as to enable the main control chip to exit the low-power-consumption state.
In this embodiment, after the firmware is loaded, the low power consumption exit command can be processed, and after the low power consumption exit command is processed, the main control chip exits the low power consumption state and enters the normal operation state.
When the main control chip exits from the low power consumption state, the main control chip directly skips to the firmware loading program through the preset flag bit, performs the low power consumption exit action in the firmware loading program, loads all the firmware, processes the low power consumption exit command through the loaded firmware so as to enable the main control chip to exit from the low power consumption state, fuses the low power consumption exit action and the firmware loading action into the firmware loading program code, saves code resources, reduces the code data area required to be stored, and reduces the power consumption; meanwhile, the low-power-consumption exit action and the firmware loading action are completed in the firmware loading program, so that the operations of code initialization, loading and the like are reduced, the time is saved, the exit speed is increased, and the efficiency is improved.
Fig. 6 is a schematic block diagram of an apparatus for improving low-power-consumption exit efficiency of a solid state disk according to an embodiment of the present invention. As shown in fig. 6, the present invention also provides a device for improving the low-power-consumption exit efficiency of the solid state disk, corresponding to the above method for improving the low-power-consumption exit efficiency of the solid state disk. The device for improving the low-power-consumption exit efficiency of the solid state disk comprises a unit for executing the method for improving the low-power-consumption exit efficiency of the solid state disk, and can be configured in a desktop computer, a tablet computer, a portable computer and other terminals. Specifically, referring to fig. 6, the apparatus for improving the low-power-consumption exit efficiency of the solid state disk includes a saving setting unit 10, a command obtaining unit 20, a call executing unit 30, and a run exiting unit 40.
And the saving setting unit 10 is used for saving the firmware loading program and setting a flag bit when the main control chip enters a low power consumption state.
In this embodiment, the main control chip must enter the low power consumption state before exiting the low power consumption state, and when the main control chip enters the low power consumption state, the firmware loading program is saved and a flag bit is set, where the flag bit is used to guide the main control chip to call and jump to the firmware loading program. Specifically, the flag bit is a code address of the main control chip without power failure, and a special value is written in the code address. When the main control chip exits the low power consumption, the main control chip skips to the firmware loading program according to the special value of the read code address, and the direct calling of the firmware loading program is realized.
Specifically, when entering the low power consumption state, the firmware loader and the low power consumption exit program are combined into a set of program in advance, which is a firmware loader in this embodiment, and the firmware loader includes an execution code for executing the low power consumption exit action and the firmware loading action. By fusing the low-power-consumption exit action and the firmware loading action into a set of codes, code resources are saved, and the area of code data to be saved is reduced, so that the power consumption is reduced; meanwhile, the low-power-consumption exit action and the firmware loading action are completed only by running the firmware loading program, the program does not need to be run for many times, the operations of code initialization, loading and the like are reduced, the time is saved, the exit speed is increased, and the efficiency is improved.
And the command obtaining unit 20 is configured to obtain the low-power-consumption exit command, and restart the main control chip according to the low-power-consumption exit command.
In this embodiment, the low power consumption function of the solid state disk can reduce the power consumption of the main control chip of the solid state disk, thereby saving energy. When the main control chip is normally used, the main control chip enters a low power consumption state when needed, and when the main control chip exits the low power consumption state, a low power consumption exit action and a firmware loading action need to be executed. The low-power-consumption exit action can be specifically that the link exits L1.2 or restores an NVME/PCIE register and the like; the firmware loading action is specifically to reload the firmware so as to start the system of the main control chip.
Specifically, the low power consumption exit command is a command for the solid state disk to exit the low power consumption, which is sent by a host (computer), and may be a read-write command, or a command for switching a power state. According to the scheme, after the low-power-consumption quitting command is acquired, the main control chip is released and restarted, so that the subsequent firmware loading program is executed through the started main control chip, and the low-power-consumption quitting state is realized.
And the calling execution unit 30 is used for calling the firmware loading program to execute the low-power-consumption exit action and simultaneously reloading the firmware.
In this embodiment, the firmware loader includes an execution code for executing the low power exit operation and the firmware loading operation. The main control chip calls the firmware loading program, can execute the low-power-consumption exit action and the firmware loading action (loading firmware) at the same time, so that the operation of exiting the low-power-consumption state can be finished by running the code once, the program does not need to be run for many times, the operations of code initialization, code loading and the like are reduced, the time is saved, the low-power-consumption exit speed is increased, and the efficiency is improved.
Referring to fig. 7, in one embodiment, the call execution unit 30 includes a call module 31 and an execution module 32.
The calling module 31 is configured to obtain the flag bit and call the firmware loader according to the flag bit.
And the execution module 32 is configured to execute the low power exit action and the firmware loading action simultaneously through the firmware loading program to complete firmware reloading.
In this embodiment, the main control chip may directly jump to and call the firmware loader through the flag bit of the firmware loader, and simultaneously execute the low-power-consumption exit action firmware loading action once through the firmware loader, so as to complete the firmware reloading. Code resources are saved, and the area of code data needing to be stored is reduced, so that the power consumption is reduced; meanwhile, the low-power-consumption exit action and the firmware loading action are completed only by running the firmware loading program, the program does not need to be run for many times, the operations of code initialization, loading and the like are reduced, the time is saved, the exit speed is increased, and the efficiency is improved.
Specifically, the low-power-consumption exit action is mainly an action executed by the solid state disk after receiving a low-power-consumption exit command sent by the host, for example, an action of exiting L1.2, recovering the NVME/PCIE register, recovering a code, powering on a power supply, and the like.
And the operation exit unit 40 is used for operating the loaded firmware to process the low-power-consumption exit command so as to enable the main control chip to exit the low-power-consumption state.
In this embodiment, after the firmware is loaded, the low power consumption exit command can be processed, and after the low power consumption exit command is processed, the main control chip exits the low power consumption state and enters the normal operation state.
When the main control chip exits from the low power consumption state, the main control chip directly skips to the firmware loading program through the preset flag bit, performs the low power consumption exit action in the firmware loading program, loads all the firmware, processes the low power consumption exit command through the loaded firmware so as to enable the main control chip to exit from the low power consumption state, fuses the low power consumption exit action and the firmware loading action into the firmware loading program code, saves code resources, reduces the code data area required to be stored, and reduces the power consumption; meanwhile, the low-power-consumption exit action and the firmware loading action are completed in the firmware loading program, so that the operations of code initialization, loading and the like are reduced, the time is saved, the exit speed is increased, and the efficiency is improved.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the apparatus for improving the low power consumption exit efficiency of the solid state disk and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
Referring to fig. 8, fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 8, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a method of improving solid state disk low power exit efficiency.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be enabled to perform a method for improving the low-power-consumption exit efficiency of the solid state disk.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 8 is a block diagram of only a portion of the configuration relevant to the present teachings and does not constitute a limitation on the computer device 500 to which the present teachings may be applied, and that a particular computer device 500 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
Wherein the processor 502 is adapted to run a computer program 5032 stored in the memory.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also 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, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for improving low-power-consumption exit efficiency of a solid state disk is characterized by comprising the following steps:
acquiring a low-power-consumption exit command, and restarting the main control chip according to the low-power-consumption exit command;
calling a firmware loading program to execute a low-power-consumption exit action and reload firmware, wherein the firmware loading program comprises an execution code for executing the low-power-consumption exit action and the firmware loading action;
and running the loaded firmware to process the low-power-consumption exit command so as to enable the main control chip to exit the low-power-consumption state.
2. The method according to claim 1, wherein before the step of obtaining the low-power-consumption exit command and restarting the main control chip according to the low-power-consumption exit command, the method comprises:
when the main control chip enters a low power consumption state, the firmware loading program is stored, and a flag bit is set.
3. The method of claim 2, wherein the step of calling the firmware loader to perform the low power exit action and reload the firmware comprises:
acquiring a flag bit, and calling a firmware loading program according to the flag bit;
and simultaneously executing the low-power-consumption exit action and the firmware loading action by the firmware loading program to complete the firmware reloading.
4. The utility model provides an improve solid state disk low-power consumption and withdraw from device of efficiency which characterized in that includes:
the command acquisition unit is used for acquiring a low-power-consumption exit command and restarting the main control chip according to the low-power-consumption exit command;
the system comprises a calling execution unit, a firmware loading unit and a firmware unloading unit, wherein the calling execution unit is used for calling a firmware loading program to execute a low-power-consumption exit action and reload firmware, and the firmware loading program comprises an execution code for executing the low-power-consumption exit action and the firmware loading action;
and the operation exit unit is used for operating the loaded firmware to process the low-power-consumption exit command so as to enable the main control chip to exit the low-power-consumption state.
5. The apparatus according to claim 4, further comprising a saving setting unit, configured to save the firmware loader and set a flag bit when the main control chip enters the low power consumption state.
6. The apparatus for improving the low-power-consumption exit efficiency of a solid state disk according to claim 4, wherein the call execution unit comprises a call module and an execution module;
the calling module is used for acquiring the flag bit and calling the firmware loading program according to the flag bit;
the execution module is used for simultaneously executing the low-power-consumption exit action and the firmware loading action through the firmware loading program so as to complete firmware reloading.
7. A computer device, characterized in that the computer device comprises a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the method for improving the low-power exit efficiency of the solid state disk according to any one of claims 1 to 3.
8. A storage medium storing a computer program, wherein the computer program when executed by a processor can implement the method for improving low-power exit efficiency of a solid state disk according to any one of claims 1 to 3.
CN201911193310.9A 2019-11-28 2019-11-28 Method and device for improving low-power-consumption exit efficiency of solid state disk, computer equipment and storage medium Pending CN110990077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911193310.9A CN110990077A (en) 2019-11-28 2019-11-28 Method and device for improving low-power-consumption exit efficiency of solid state disk, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911193310.9A CN110990077A (en) 2019-11-28 2019-11-28 Method and device for improving low-power-consumption exit efficiency of solid state disk, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110990077A true CN110990077A (en) 2020-04-10

Family

ID=70087841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911193310.9A Pending CN110990077A (en) 2019-11-28 2019-11-28 Method and device for improving low-power-consumption exit efficiency of solid state disk, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110990077A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866334A (en) * 2014-12-12 2015-08-26 北汽福田汽车股份有限公司 Method for partitioning and running software codes of controller
US20180241945A1 (en) * 2017-02-21 2018-08-23 Canon Kabushiki Kaisha Electronic device and control method thereof
CN109885343A (en) * 2019-02-25 2019-06-14 深圳忆联信息系统有限公司 A kind of controller low-power consumption starting method, apparatus, computer equipment and storage medium
CN110321169A (en) * 2018-03-31 2019-10-11 深圳忆联信息系统有限公司 Wake up method, apparatus, equipment and the medium of solid state hard disk

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866334A (en) * 2014-12-12 2015-08-26 北汽福田汽车股份有限公司 Method for partitioning and running software codes of controller
US20180241945A1 (en) * 2017-02-21 2018-08-23 Canon Kabushiki Kaisha Electronic device and control method thereof
CN110321169A (en) * 2018-03-31 2019-10-11 深圳忆联信息系统有限公司 Wake up method, apparatus, equipment and the medium of solid state hard disk
CN109885343A (en) * 2019-02-25 2019-06-14 深圳忆联信息系统有限公司 A kind of controller low-power consumption starting method, apparatus, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109885343B (en) Controller low-power-consumption starting method and device, computer equipment and storage medium
CN110716633B (en) Device and method for coordinately managing SSD power consumption, computer device and storage medium
EP3355223A1 (en) Unlock method and mobile terminal
US9928077B2 (en) Chip starting method, multi-core processor chip and storage medium
CN111913836B (en) Solid state disk low power consumption mode data recovery method and device, computer equipment and storage medium
CN110806925B (en) Audio playing method and equipment
CN110569158A (en) method and device for testing abnormal power failure in SSD random scene and computer equipment
CN111913669A (en) SSD power-down speed improving method and device, computer equipment and storage medium
CN110704084A (en) Method and device for dynamically allocating memory in firmware upgrade, computer equipment and storage medium
US9652259B2 (en) Apparatus and method for managing register information in a processing system
CN114253619A (en) SSD multi-level Boot method and device, computer equipment and storage medium
CN111949460A (en) Method and device for testing D3-supported characteristic of solid state disk, computer equipment and storage medium
CN110993014B (en) Behavior test method and device of SSD in idle state, computer equipment and storage medium
CN116028129B (en) UEFI (unified extensible firmware interface) quick starting method based on Feiteng platform and Feiteng platform
CN110990077A (en) Method and device for improving low-power-consumption exit efficiency of solid state disk, computer equipment and storage medium
CN112579005B (en) Method, device, computer equipment and storage medium for reducing average power consumption of SSD
CN112346556A (en) Method, device, computer equipment and medium for improving low power consumption efficiency of chip
CN111913666B (en) Method and device compatible with Nand particles with different protocols, computer equipment and storage medium
CN111857596A (en) SSD low-power-consumption realization method and device, computer equipment and storage medium
CN112162710A (en) Method and device for reducing chip power consumption, computer equipment and storage medium
CN111832088A (en) Low-power-consumption mode data protection method and device for solid state disk, computer equipment and storage medium
CN111459634A (en) Task scheduling method, device, terminal and storage medium
CN116755783B (en) Multi-core chip starting method, controller and system
CN111078714B (en) Data processing method and device
CN115328522A (en) Method and related equipment for realizing immediate effect of SSD firmware upgrade

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination