CN109614125B - Firmware programming method, device and medium for solid state disk - Google Patents
Firmware programming method, device and medium for solid state disk Download PDFInfo
- Publication number
- CN109614125B CN109614125B CN201811536328.XA CN201811536328A CN109614125B CN 109614125 B CN109614125 B CN 109614125B CN 201811536328 A CN201811536328 A CN 201811536328A CN 109614125 B CN109614125 B CN 109614125B
- Authority
- CN
- China
- Prior art keywords
- firmware
- programming
- solid state
- sending
- tester
- 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.)
- Active
Links
- 239000007787 solid Substances 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012360 testing method Methods 0.000 claims abstract description 161
- 230000004044 response Effects 0.000 claims abstract description 15
- 238000004891 communication Methods 0.000 claims description 14
- 238000005516 engineering process Methods 0.000 claims description 13
- 230000002618 waking effect Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008713 feedback mechanism Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The embodiment of the invention discloses a firmware programming method and device for a solid state disk and a computer readable storage medium. The main control machine sends a shutdown instruction to the test machine and remotely wakes up the test machine to start at intervals of preset time; when a response message of starting up completion fed back by the testing machine is received, a first level signal is sent to a relay of the testing machine, so that the solid state disk enters a programming mode; at the moment, a programming instruction carrying firmware is sent to the tester; and when a feedback result sent by the testing machine is received, sending a second level signal to a relay of the testing machine so as to enable the solid state disk in the testing machine to exit the programming mode. The test machine is remotely controlled by the main control machine, so that the automatic execution of the power-on and power-off operation and programming work of the test machine is realized. And the master control machine replaces manual plugging and unplugging of the jumper cap by controlling the operation of the relay, so that the manual operation process is reduced, and the efficiency of the firmware programming test is further improved.
Description
Technical Field
The invention relates to the technical field of computer storage, in particular to a firmware programming method and device for a solid state disk and a computer readable storage medium.
Background
With the development of technologies such as internet, cloud computing, internet of things and the like, Solid State Drives (SSDs) are widely used as a new generation of storage devices. As an embedded device, firmware information needs to be loaded at a specific position in the process of powering on and starting the SSD disk, so that smooth operation of the SSD disk is ensured.
The firmware comprises a firmware main program of an SSD algorithm, superblock configuration information and the like. In the process of developing the solid state disk, the developed firmware needs to be repeatedly programmed to modify various performance problems encountered in the test process. However, due to the limitation of hardware conditions, in the actual programming process, a jumper cap needs to be manually plugged and unplugged to control the switching between the solid state disk programming mode and the normal operation mode. Moreover, the programming process of the firmware needs to be controlled by manually inputting instructions, and the whole programming process needs several minutes or even more than ten minutes, so that the research and development test efficiency is greatly reduced.
Therefore, how to improve the efficiency of firmware programming is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the invention aims to provide a firmware programming method and device for a solid state disk and a computer readable storage medium, which can improve the firmware programming efficiency.
In order to solve the above technical problem, an embodiment of the present invention provides a method for programming firmware of a solid state disk, including:
sending a shutdown instruction to a test machine, and remotely waking up the test machine to be started at intervals of preset time;
when a response message of starting up completion fed back by the testing machine is received, a first level signal is sent to a relay of the testing machine, so that a solid state disk in the testing machine enters a programming mode;
sending a programming instruction carrying firmware to the tester so that the tester writes the firmware into the solid state disk;
and when a feedback result sent by the testing machine is received, sending a second level signal to a relay of the testing machine so as to enable the solid state disk in the testing machine to exit a programming mode.
Optionally, after sending the second level signal to the relay of the testing machine, the method further includes:
when a feedback result of successful programming sent by the testing machine is received, sending a shutdown instruction to the testing machine, and remotely waking up the testing machine to be started at intervals of preset time so as to ensure that the solid state disk runs according to the updated firmware;
and when a feedback result of programming failure fed back by the tester is received, displaying prompt information of the programming failure of the firmware.
Optionally, the sending a shutdown instruction to the test machine, and remotely waking up the test machine to start at intervals of a preset time includes:
establishing a communication connection with the tester based on a secure shell protocol;
sending a shutdown instruction to a test machine according to the communication connection, and starting timing;
and when the preset time is reached, controlling the test machine to start by using a remote wake-up technology.
Optionally, after sending a shutdown instruction to the tester according to the communication connection and starting timing, the method further includes:
and when a response message for executing shutdown, which is fed back by the test machine, is received within a preset time, timing is stopped, and the test machine is controlled to be started by using a remote wake-up technology.
Optionally, the sending the programming instruction carrying the firmware to the tester includes:
when a firmware full-disk programming instruction is received, sending the programming instruction carrying a firmware main program and superblock configuration information to the tester;
and when a firmware fast programming instruction is received, sending the programming instruction carrying a firmware main program to the tester.
The embodiment of the invention also provides a firmware programming device of the solid state disk, which comprises a power on/off unit, a mode entering unit, a firmware transmission unit and a mode exiting unit;
the power on/off unit is used for sending a power off instruction to the test machine and remotely awakening the test machine to be powered on at intervals of preset time;
the mode entering unit is used for sending a first level signal to a relay of the testing machine when receiving a response message of starting up completion fed back by the testing machine so as to enable the solid state disk in the testing machine to enter a programming mode;
the firmware transmission unit is used for sending a programming instruction carrying firmware to the tester so that the tester can write the firmware into the solid state disk;
and the mode exit unit is used for sending a second level signal to a relay of the tester when receiving a feedback result sent by the tester so as to enable the solid state disk in the tester to exit the programming mode.
Optionally, the system further comprises a prompt unit;
the power on/off unit is further used for sending a power off instruction to the test machine when receiving a feedback result of successful programming sent by the test machine, and remotely waking up the test machine to be powered on at intervals of preset time so as to ensure that the solid state disk runs according to the updated firmware;
and the prompting unit is used for displaying prompting information of the programming failure of the firmware when receiving a feedback result of the programming failure fed back by the tester.
Optionally, the power on/off unit includes a building subunit, a sending subunit, and a waking subunit;
the establishing subunit is used for establishing communication connection with the tester based on a secure shell protocol;
the sending subunit is configured to send a shutdown instruction to the tester according to the communication connection, and start timing;
and the awakening subunit is used for controlling the test machine to start up by using a remote awakening technology when the preset time is reached.
Optionally, the wake-up subunit is further configured to stop timing when a response message for executing shutdown, which is fed back by the test machine, is received within a preset time, and control the test machine to start up by using a remote wake-up technology.
Optionally, the firmware transmission unit is specifically configured to send a programming instruction carrying a firmware main program and superblock configuration information to the tester when receiving a firmware full-disk programming instruction; and when a firmware fast programming instruction is received, sending the programming instruction carrying a firmware main program to the tester.
The embodiment of the present invention further provides a firmware programming device for a solid state disk, including:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the steps of the firmware programming method of the solid state disk.
The embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the firmware programming method of the solid state disk are realized.
According to the technical scheme, the master controller sends a shutdown instruction to the test machine, and remotely wakes up the test machine to start at intervals of preset time; when a response message of starting up completion fed back by the testing machine is received, the testing machine is indicated to be restarted, and a first level signal can be sent to a relay of the testing machine at the moment so that a solid state disk in the testing machine enters a programming mode; sending a programming instruction carrying firmware to a tester so that the tester writes the firmware into a solid state disk; and when a feedback result sent by the testing machine is received, sending a second level signal to a relay of the testing machine so as to enable the solid state disk in the testing machine to exit the programming mode. The test machine is remotely controlled by the main control machine, so that the automatic execution of the power-on and power-off operation and programming work of the test machine is realized. And the master control machine replaces manual plugging and unplugging of the jumper cap by controlling the operation of the relay, so that the manual operation process is reduced, and the efficiency of the firmware programming test is further improved.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a firmware burning method for a solid state disk according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a firmware writing device of a solid state disk according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of a firmware writing device of a solid state disk according to 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 only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Next, a firmware burning method for a solid state disk according to an embodiment of the present invention is described in detail. Fig. 1 is a flowchart of a firmware burning method for a solid state disk according to an embodiment of the present invention, where the method includes:
s101: and sending a shutdown instruction to the test machine, and remotely waking up the test machine to be started at intervals of preset time.
In the embodiment of the invention, a main controller can be adopted to remotely control the testing machine, and the downloading and updating of the firmware of the solid state disk on the testing machine can be automatically realized. In the embodiment of the invention, the master controller is used for controlling one testing machine as an example for explanation.
In practical application, the main control computer and the tester can be connected to the same local area network, and the linux operating system can be used for realizing remote control of the main control computer on the tester through a Secure Shell (SSH) protocol.
The test machine needs to be restarted before downloading and updating the firmware, so that in the embodiment of the invention, the master controller needs to remotely control the shutdown and startup of the test machine.
In a specific implementation, the master controller can establish communication connection with the testing machine based on a secure shell protocol; sending a shutdown instruction to a test machine according to the communication connection, and starting timing; and when the preset time is reached, the testing machine is controlled to be started by using a remote wake-up technology.
Because the master controller cannot directly control the startup of the tester by sending an instruction after the tester is shut down, in the embodiment of the invention, a remote Wake-up technology (Wake on lan, Wol) can be adopted to control the startup of the tester, thereby realizing the power-on and power-off operation of the tester.
The value of the preset time may be set according to the time required for transmitting the instruction, and is not specifically limited herein.
In the embodiment of the invention, the master controller can remotely wake up the test machine to start up at intervals of preset time after sending the shutdown instruction to the test machine, and can also set a feedback mechanism on the test machine.
Correspondingly, when the main control machine receives a response message for executing shutdown, which is fed back by the test machine, within the preset time, the timing is stopped, and the test machine is controlled to be started by using a remote wake-up technology.
S102: when a response message of starting up completion fed back by the testing machine is received, a first level signal is sent to a relay of the testing machine, so that the solid state disk in the testing machine enters a programming mode.
The solid state disk on the testing machine realizes the switching of the programming mode by plugging and unplugging the jumper wire cap. When the jumper wire cap is inserted, the corresponding pin of the solid state disk is closed, and the solid state disk enters a programming mode; when the jumper wire cap is pulled out, the corresponding pin of the solid state disk is disconnected, and at the moment, the solid state disk exits the programming mode and is switched to the normal working mode.
In the embodiment of the invention, in order to realize the automatic switching of the working modes of the solid state disk on the testing machine, the relay can be arranged on the testing machine and is connected with the jumper cap, and the master controller realizes the switching of the working modes of the solid state disk by controlling the on-off of the relay. For example, when the relay is closed, the solid state disk in the tester enters a programming mode; and when the relay is disconnected, the solid state disk in the testing machine exits the programming mode.
In the embodiment of the present invention, the level signal for controlling the relay to be closed may be referred to as a first level signal, and correspondingly, the level signal for controlling the relay to be opened may be referred to as a second level signal.
In concrete realization, can be according to the concrete theory of operation of hardware circuit, determine the level signal's of control relay break-make height, for example, total control machine can input the closure of high level control relay to make solid state disk get into and burn the mode of writing, correspondingly, total control machine can input the disconnection of low level control relay, thereby make solid state disk withdraw from and burn the mode of writing.
S103: and sending a programming instruction carrying the firmware to the tester so that the tester writes the firmware into the solid state disk.
In the embodiment of the invention, the firmware to be sent to the tester can be preset in the master controller.
After sending the first level signal to the relay of the tester, the main control computer may send a programming instruction to the tester, where the programming instruction may carry a preset firmware. Correspondingly, when the test machine receives the programming instruction sent by the master controller, the firmware carried in the programming instruction can be downloaded to the solid state disk. When the firmware is stored in the solid state disk, the firmware carried in the programming instruction can be used for replacing the original firmware so as to update the firmware.
Considering that the firmware comprises a firmware main program and superblock configuration information, in the embodiment of the invention, which firmware information is specifically carried in the programming instruction can be determined according to actual requirements.
When the solid state disk in the testing machine needs to be subjected to full disk programming, a tester can select a full disk programming mode on the master control machine, and when the master control machine receives a firmware full disk programming instruction, the master control machine sends the programming instruction carrying a firmware main program and superblock configuration information to the testing machine. When a main program needs to be programmed on a solid state disk in a testing machine, a tester can select a fast programming mode on a master control machine, and when the master control machine receives a firmware fast programming instruction, the master control machine sends the programming instruction carrying a firmware main program to the testing machine.
In the embodiment of the invention, a tester can select all programming modes or a quick programming mode according to the test requirement, so that the programming efficiency is improved.
S104: and when a feedback result sent by the testing machine is received, sending a second level signal to a relay of the testing machine so as to enable the solid state disk in the testing machine to exit the programming mode.
After the test machine completes programming of the firmware, a result is fed back to the main control machine, and when the main control machine receives the feedback result, the solid state disk in the test machine can be controlled to exit a programming mode by sending a second level signal to a relay of the test machine, so that the solid state disk of the test machine can enter a normal working mode.
According to the technical scheme, the master controller sends a shutdown instruction to the test machine, and remotely wakes up the test machine to start at intervals of preset time; when a response message of starting up completion fed back by the testing machine is received, the testing machine is indicated to be restarted, and a first level signal can be sent to a relay of the testing machine at the moment so that a solid state disk in the testing machine enters a programming mode; sending a programming instruction carrying firmware to a tester so that the tester writes the firmware into a solid state disk; and when a feedback result sent by the testing machine is received, sending a second level signal to a relay of the testing machine so as to enable the solid state disk in the testing machine to exit the programming mode. The test machine is remotely controlled by the main control machine, so that the automatic execution of the power-on and power-off operation and programming work of the test machine is realized. And the master control machine replaces manual plugging and unplugging of the jumper cap by controlling the operation of the relay, so that the manual operation process is reduced, and the efficiency of the firmware programming test is further improved.
In practical application, the solid state disk on the tester may have programming failure, and there are various reasons for the programming failure, which may be that the firmware carried in the programming instruction has a problem, or that the received firmware information is incomplete or the firmware is lost due to the influence of network factors.
Correspondingly, when the master controller receives a feedback result of successful programming sent by the test machine, a shutdown instruction is sent to the test machine, and the test machine is remotely awakened to be started at intervals of preset time so as to ensure that the solid state disk runs according to the updated firmware.
The manner of controlling the test machine to restart by the master controller can be referred to the introduction of S101, and is not described herein again.
And when the master control machine receives a feedback result of programming failure fed back by the test machine, displaying prompt information of the programming failure of the firmware.
By displaying prompt information of firmware programming failure, testers can find and process problems in time, and therefore the orderly progress of test work is guaranteed.
Fig. 2 is a schematic structural diagram of a firmware programming device for a solid state disk according to an embodiment of the present invention, where the device includes a power on/off unit 21, a mode entering unit 22, a firmware transmitting unit 23, and a mode exiting unit 24;
the startup and shutdown unit 21 is used for sending a shutdown instruction to the test machine and remotely waking up the test machine to start up at intervals of preset time;
the mode entering unit 22 is configured to send a first level signal to a relay of the tester when receiving a response message of completion of startup fed back by the tester, so that the solid state disk in the tester enters a programming mode;
the firmware transmission unit 23 is configured to send a programming instruction carrying a firmware to the tester, so that the tester writes the firmware into the solid state disk;
and the mode exit unit 24 is used for sending a second level signal to a relay of the testing machine when receiving the feedback result sent by the testing machine, so that the solid state disk in the testing machine exits the programming mode.
Optionally, the system further comprises a prompt unit;
the startup and shutdown unit is also used for sending a shutdown instruction to the test machine when receiving a feedback result of successful programming sent by the test machine, and remotely waking up the test machine to start up at intervals of preset time so as to ensure that the solid state disk runs according to the updated firmware;
and the prompting unit is used for displaying the prompting information of the programming failure of the firmware when receiving the feedback result of the programming failure fed back by the testing machine.
Optionally, the power on/off unit includes a building subunit, a sending subunit, and a waking subunit;
the establishing subunit is used for establishing communication connection with the testing machine based on a secure shell protocol;
the sending subunit is used for sending a shutdown instruction to the test machine according to the communication connection and starting timing;
and the awakening subunit is used for controlling the test machine to start up by utilizing a remote awakening technology when the preset time is reached.
Optionally, the wake-up subunit is further configured to stop timing when a response message for executing shutdown, which is fed back by the test machine, is received within a preset time, and control the test machine to start up by using a remote wake-up technology.
Optionally, the firmware transmission unit is specifically configured to send a programming instruction carrying a firmware main program and superblock configuration information to the test machine when receiving the firmware full-disk programming instruction; and when the firmware fast programming instruction is received, sending the programming instruction carrying a firmware main program to the tester.
The description of the features in the embodiment corresponding to fig. 2 may refer to the related description of the embodiment corresponding to fig. 1, and is not repeated here.
According to the technical scheme, the master controller sends a shutdown instruction to the test machine, and remotely wakes up the test machine to start at intervals of preset time; when a response message of starting up completion fed back by the testing machine is received, the testing machine is indicated to be restarted, and a first level signal can be sent to a relay of the testing machine at the moment so that a solid state disk in the testing machine enters a programming mode; sending a programming instruction carrying firmware to a tester so that the tester writes the firmware into a solid state disk; and when a feedback result sent by the testing machine is received, sending a second level signal to a relay of the testing machine so as to enable the solid state disk in the testing machine to exit the programming mode. The test machine is remotely controlled by the main control machine, so that the automatic execution of the power-on and power-off operation and programming work of the test machine is realized. And the master control machine replaces manual plugging and unplugging of the jumper cap by controlling the operation of the relay, so that the manual operation process is reduced, and the efficiency of the firmware programming test is further improved.
Fig. 3 is a schematic diagram of a hardware structure of a firmware writing device 30 for a solid state disk according to an embodiment of the present invention, including:
a memory 31 for storing a computer program;
and a processor 32, configured to execute a computer program to implement the steps of the firmware programming method of the solid state disk.
The embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when being executed by a processor, the computer program realizes the steps of the firmware programming method of the solid state disk.
The method, the device and the computer-readable storage medium for programming the firmware of the solid state disk provided by the embodiment of the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this 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.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Claims (9)
1. A firmware programming method of a solid state disk is characterized by comprising the following steps:
sending a shutdown instruction to a test machine, and remotely waking up the test machine to be started at intervals of preset time;
when a response message of starting up completion fed back by the testing machine is received, a first level signal is sent to a relay of the testing machine, so that a solid state disk in the testing machine enters a programming mode;
sending a programming instruction carrying firmware to the tester so that the tester writes the firmware into the solid state disk;
when a feedback result sent by the testing machine is received, sending a second level signal to a relay of the testing machine so that the solid state disk in the testing machine exits a programming mode;
the sending of the programming instruction carrying the firmware to the tester includes:
when a firmware full-disk programming instruction is received, sending the programming instruction carrying a firmware main program and superblock configuration information to the tester;
and when a firmware fast programming instruction is received, sending the programming instruction carrying a firmware main program to the tester.
2. The method of claim 1, further comprising, after sending the second level signal to the relay of the testing machine:
when a feedback result of successful programming sent by the testing machine is received, sending a shutdown instruction to the testing machine, and remotely waking up the testing machine to be started at intervals of preset time so as to ensure that the solid state disk runs according to the updated firmware;
and when a feedback result of programming failure fed back by the tester is received, displaying prompt information of the programming failure of the firmware.
3. The method of claim 1 or 2, wherein sending a power-off command to a tester and remotely waking up the tester to power on at a preset time interval comprises:
establishing a communication connection with the tester based on a secure shell protocol;
sending a shutdown instruction to a test machine according to the communication connection, and starting timing;
and when the preset time is reached, controlling the test machine to start by using a remote wake-up technology.
4. The method of claim 3, further comprising, after sending a shutdown command to the tester over the communication connection and starting timing:
and when a response message for executing shutdown, which is fed back by the test machine, is received within a preset time, timing is stopped, and the test machine is controlled to be started by using a remote wake-up technology.
5. A firmware programming device of a solid state disk is characterized by comprising a power on/off unit, a mode entering unit, a firmware transmission unit and a mode exiting unit;
the power on/off unit is used for sending a power off instruction to the test machine and remotely awakening the test machine to be powered on at intervals of preset time;
the mode entering unit is used for sending a first level signal to a relay of the testing machine when receiving a response message of starting up completion fed back by the testing machine so as to enable the solid state disk in the testing machine to enter a programming mode;
the firmware transmission unit is used for sending a programming instruction carrying firmware to the tester so that the tester can write the firmware into the solid state disk;
the mode exit unit is used for sending a second level signal to a relay of the testing machine when receiving a feedback result sent by the testing machine so as to enable the solid state disk in the testing machine to exit a programming mode;
the firmware transmission unit is specifically used for sending a programming instruction carrying a firmware main program and superblock configuration information to the tester when receiving a firmware full disk programming instruction; and when a firmware fast programming instruction is received, sending the programming instruction carrying a firmware main program to the tester.
6. The apparatus of claim 5, further comprising a prompting unit;
the power on/off unit is further used for sending a power off instruction to the test machine when receiving a feedback result of successful programming sent by the test machine, and remotely waking up the test machine to be powered on at intervals of preset time so as to ensure that the solid state disk runs according to the updated firmware;
and the prompting unit is used for displaying prompting information of the programming failure of the firmware when receiving a feedback result of the programming failure fed back by the tester.
7. The apparatus of claim 5 or 6, wherein the power on/off unit comprises a setup subunit, a transmit subunit, and a wake-up subunit;
the establishing subunit is used for establishing communication connection with the tester based on a secure shell protocol;
the sending subunit is configured to send a shutdown instruction to the tester according to the communication connection, and start timing;
and the awakening subunit is used for controlling the test machine to start up by using a remote awakening technology when the preset time is reached.
8. The utility model provides a solid state disk's firmware burns writes device which characterized in that includes:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the firmware programming method of the solid state disk according to any one of claims 1 to 4.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the firmware burning method for a solid state disk according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811536328.XA CN109614125B (en) | 2018-12-14 | 2018-12-14 | Firmware programming method, device and medium for solid state disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811536328.XA CN109614125B (en) | 2018-12-14 | 2018-12-14 | Firmware programming method, device and medium for solid state disk |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109614125A CN109614125A (en) | 2019-04-12 |
CN109614125B true CN109614125B (en) | 2022-02-18 |
Family
ID=66010113
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811536328.XA Active CN109614125B (en) | 2018-12-14 | 2018-12-14 | Firmware programming method, device and medium for solid state disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109614125B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209520B (en) * | 2019-06-05 | 2022-06-03 | 深圳忆联信息系统有限公司 | Method and device for improving SSD (solid State disk) testing efficiency, computer equipment and storage medium |
CN111552486B (en) * | 2020-04-27 | 2024-02-09 | 苏州浪潮智能科技有限公司 | SSD firmware burning method and related components |
CN114047959A (en) * | 2021-11-01 | 2022-02-15 | 东莞新能安科技有限公司 | Startup management method and device and power supply system |
CN114328068B (en) * | 2021-12-08 | 2024-04-19 | 中国人民解放军第六九O五工厂 | Novel burn and write and test integration device |
CN114443074B (en) * | 2022-01-23 | 2024-08-16 | 苏州浪潮智能科技有限公司 | Method, system, equipment and storage medium for remotely burning firmware |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845807B (en) * | 2018-05-28 | 2022-02-18 | 郑州云海信息技术有限公司 | Solid state disk programming method, device, equipment and storage medium |
CN108829403B (en) * | 2018-05-28 | 2022-02-18 | 郑州云海信息技术有限公司 | Solid state disk programming method, device, equipment and storage medium |
CN108762797A (en) * | 2018-05-30 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of SSD firmwares online updating method, system and SSD |
CN108829354A (en) * | 2018-06-21 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of solid-state hard disk SSD management method and SSD |
-
2018
- 2018-12-14 CN CN201811536328.XA patent/CN109614125B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109614125A (en) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109614125B (en) | Firmware programming method, device and medium for solid state disk | |
US10961651B2 (en) | Internet of things washing machine control method, control system, and washing machine | |
CN102622079B (en) | Sleep method, wakening method and mobile terminal device | |
JP6185772B2 (en) | Information processing apparatus, control method thereof, and program | |
US8862916B2 (en) | Wireless control of power sockets based on host and signal quality | |
TWI633487B (en) | Method and computer system for automatically recovering the bios image file | |
WO2017045419A1 (en) | Method and apparatus for controlling the powering-on of terminal | |
CN103428561A (en) | Device and method for quickly starting or awakening intelligentized television | |
CN105045599A (en) | Television and computer integrated machine and method for realizing remote startup and shutdown control of same | |
CN108845807B (en) | Solid state disk programming method, device, equipment and storage medium | |
CN108829403B (en) | Solid state disk programming method, device, equipment and storage medium | |
CN111104147A (en) | BMC upgrading method, device, terminal and storage medium | |
CN204633817U (en) | A kind of remote desktop control system | |
CN104268041A (en) | Automatic closed loop test method for frequent startup and shutdown of vehicle-mounted display | |
CN112134765A (en) | WIFI (Wireless Fidelity) back-connection test method and device, test terminal and readable storage medium | |
TW201516870A (en) | System and method of upgrading operating system | |
CN110850737A (en) | Socket and timing method, system and computer readable storage medium | |
CN107391329B (en) | Method, system and storage device for testing repeated use of mobile terminal | |
WO2016045363A1 (en) | Method for cpu to control wifi module via hsic bus interface | |
CN105260212B (en) | Breaker controller and its method for upgrading software, a kind of breaker | |
CN112929565B (en) | Camera and event processing method | |
CN204066094U (en) | To the system that FPGA upgrades | |
JPWO2012077604A1 (en) | Processing apparatus, program update method, and program | |
CN104035792A (en) | Signal mainboard upgrading device and method | |
TW201423592A (en) | Rack and method for updating basic input output systems at the time thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |