WO2022104530A1 - Procédé de mise à niveau de micrologiciel d'un appareil de stockage, dispositif de commande et appareil de stockage - Google Patents

Procédé de mise à niveau de micrologiciel d'un appareil de stockage, dispositif de commande et appareil de stockage Download PDF

Info

Publication number
WO2022104530A1
WO2022104530A1 PCT/CN2020/129411 CN2020129411W WO2022104530A1 WO 2022104530 A1 WO2022104530 A1 WO 2022104530A1 CN 2020129411 W CN2020129411 W CN 2020129411W WO 2022104530 A1 WO2022104530 A1 WO 2022104530A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage device
firmware
reset
control device
field
Prior art date
Application number
PCT/CN2020/129411
Other languages
English (en)
Chinese (zh)
Inventor
谭荣
Original Assignee
中山市江波龙电子有限公司
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 中山市江波龙电子有限公司 filed Critical 中山市江波龙电子有限公司
Priority to PCT/CN2020/129411 priority Critical patent/WO2022104530A1/fr
Publication of WO2022104530A1 publication Critical patent/WO2022104530A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Definitions

  • the present application relates to the field of mobile storage hard disks, and in particular, to a firmware upgrade method for a storage device, a control device, and a storage device.
  • SSD Solid State Drives
  • the firmware upgrade of the solid-state drive needs to stop the current business, download the firmware to the designated location of the solid-state drive through the upgrade tool on the host side, and further need to restart the host or hot-swap to make the solid-state hard drive. Power off and then power on again to load the newly upgraded firmware, and the power off of the solid-state drive will lead to the interruption of the current business, which is not allowed in many special occasions such as servers, and it is also very troublesome to operate, which will bring serious problems to business processing. inconvenience.
  • the present application provides a firmware upgrade method for a storage device, a control device and a storage device, which can complete the firmware upgrade of the storage device online without powering on and off again.
  • a technical solution adopted in the present application is to provide a firmware upgrade method for a storage device, the method comprising: sending a firmware activation instruction to the storage device, so that the storage device is prepared before activation, and after the preparation is completed Feedback response information to the control device, the response information is used to indicate that the storage device will activate the new firmware in the next reset; after receiving the response information, send a reset command to the storage device to reset the storage device; Upon completion, establish a communication connection with the storage device.
  • the method before sending the firmware activation instruction to the storage device, the method further includes: sending new firmware to the storage device, so that the storage device stores the new firmware.
  • sending a reset command to the storage device to reset the storage device includes: after receiving the response information, clearing the enable field of the controller configuration register of the storage device to 0, so that the storage device Reset and clear the preparation field of the controller status register of the storage device to 0; wherein, the response information is fed back in the status field of the completion command queue; set the enable field of the controller configuration register of the storage device to 1, so that the storage device Load new firmware.
  • the method further includes: suspending communication with the storage device.
  • establishing a communication connection with the storage device includes: when detecting that the preparation field of the controller status register of the storage device is set to 1, establishing a communication connection with the storage device; wherein, the storage device is in The readiness field of the storage device's controller status register is set to 1 after the new firmware initialization operation is complete.
  • establishing a communication connection with the storage device includes: sending a management command to recreate a read-write communication queue, and establishing a communication connection with the storage device.
  • the number of initialization operations is less than two times.
  • control device includes a control unit and a storage unit, the storage unit is used for storing a computer program, and when the computer program is executed by the control unit, The firmware upgrade method for realizing the above-mentioned storage device.
  • another technical solution adopted in the present application is to provide a firmware upgrade method of a storage device, the method comprising: receiving a firmware activation instruction to prepare before activation, and feeding back to the control device after the preparation is completed Response information, the response information is used to indicate that the storage device will activate the new firmware in the next reset; receive a reset command to reset the storage device; after the firmware upgrade of the storage device is completed, establish a communication connection with the control device.
  • the method before receiving the firmware activation instruction, the method further includes: receiving and storing new firmware.
  • receiving the reset command to reset the storage device includes: receiving the reset command, clearing the enable field of the controller configuration register to 0 to reset the storage device, and clearing the ready field of the controller status register to 0; configuring the controller The enable field of the register is set to 1 to load new firmware.
  • establishing a communication connection with the control device includes: setting the preparation field of the controller status register to 1, and establishing a communication connection with the control device; wherein, the storage device is initialized after the new firmware is completed. Then set the ready field of the controller status register to 1.
  • the time difference between clearing the ready field of the controller status register to 0 and setting the ready field of the controller status register to 1 is smaller than the timeout time reported by the controller function register.
  • the response information is fed back in the status field of the completion queue command.
  • control device includes a control unit and a storage unit
  • storage unit is used for storing a computer program, and when the computer program is executed by the control unit, it uses The firmware upgrade method for realizing the above-mentioned storage device.
  • the beneficial effects of the embodiments of the present application are: different from the prior art, a method for upgrading firmware of a storage device provided by the present application, by sending a firmware activation instruction to the storage device, so that the storage device is prepared before activation, and is prepared before the storage device is activated. After completion, a response message is fed back to the control device. The response message is used to indicate that the storage device will activate the new firmware at the next reset. After receiving the response message, the control device sends a reset instruction to the storage device to make the storage device The device is reset, and finally, after the upgrade of the storage device is completed, a communication connection with the storage device is established. In this way, the response message fed back by the storage device can be used, so that after the control device sends a reset command to the storage device, the firmware upgrade of the storage device can be completed online without powering on and off again, which improves work efficiency.
  • FIG. 1 is a schematic flowchart of an embodiment of a firmware upgrade method for a storage device provided by the present application
  • FIG. 2 is a schematic flowchart of another embodiment of a firmware upgrade method for a storage device provided by the present application
  • FIG. 3 is a schematic flowchart of another embodiment of a firmware upgrade method for a storage device provided by the present application.
  • FIG. 4 is a schematic flowchart of still another embodiment of a firmware upgrade method for a storage device provided by the present application.
  • FIG. 5 is a schematic structural diagram of an embodiment of a control device provided by the present application.
  • FIG. 6 is a schematic structural diagram of an embodiment of a storage device provided by the present application.
  • FIG. 7 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided by the present application.
  • Solid-state drive is a computer external storage device made of solid-state electronic storage chip array. Compared with conventional hard drives, solid-state drives are characterized by fast read and write speed, low operating noise, wide operating temperature range, good shock resistance and light weight. As well as low power consumption, it is widely used in portable and embedded computers, especially in industrial control computers, and has a tendency to gradually replace conventional hard disks.
  • the inventors of the present application have found through long-term research that although solid-state drives have many features, there are still some deficiencies in upgrading and use. Based on this, the inventor of the present application proposes the following multiple embodiments:
  • FIG. 1 is a schematic flowchart of an embodiment of a firmware upgrade method for a storage device provided by the present application.
  • the method of this embodiment is applied to a control device, and the method specifically includes:
  • Step 11 Send a firmware activation instruction to the storage device to prepare the storage device before activation, and feed back response information to the control device after the preparation is completed.
  • the response information is used to indicate that the storage device will activate the new firmware in the next reset.
  • control device and the storage device can be coupled in various ways, including but not limited to, for example, SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment), SCSI (Small Computer System Interface, Small Computer System Interface) ), SAS (Serial Attached SCSI, Serial Attached SCSI), IDE (Integrated Drive Electronics, integrated drive electronics), USB (Universal Serial Bus, Universal Serial Bus), PCIE (Peripheral Component Interconnect Express, PCIe, high-speed peripheral component interconnection), NVMe (NVM Express, high-speed non-volatile storage), Ethernet, Fibre Channel, wireless communication networks, etc.
  • the communication between the control device and the storage device is mainly based on the NVME protocol, so as to implement a method for subsequent firmware upgrade of the storage device.
  • the control device may be an information processing device capable of communicating with the storage device in the above manner, such as a personal computer, a tablet computer, a server, a portable computer, a network switch, a router, a cellular phone, a personal digital assistant, and the like.
  • the storage device is composed of a storage unit and a control unit, and the control unit is composed of multiple CPUs (Central Processing Unit, central processing unit) and auxiliary hardware units.
  • CPUs Central Processing Unit, central processing unit
  • auxiliary hardware units are not specifically limited here, and those skilled in the art should make corresponding settings according to actual conditions.
  • the firmware activation instruction is to send a standard management command (admin command) Firmware Active by the control device, thereby triggering the storage device to activate the new firmware, that is, to send the firmware activation instruction.
  • the storage device will respond to the firmware activation command, and close some idle processing (such as wear balance, garbage collection, etc.) to prepare for activating the firmware. After the preparation is completed, a response message can be fed back to the control device.
  • the response message is the state field of the CQ (CompletionQueue, completion command queue) that the storage device responds to Firmware Active. Feedback to the control device through a standard protocol is used to indicate the storage device. The unit will activate the new firmware on the next reset.
  • Step 12 After receiving the response information, send a reset instruction to the storage device to reset the storage device.
  • the action of firmware upgrade by the storage device usually needs to be executed after power-on, power-off, restart and reset.
  • the new firmware will be loaded after the next reset.
  • the control device will suspend all commands and only send a reset command to the storage device, so that the storage device can be reset directly in the online state without the need to perform the reset action of power on and off again, which can realize the storage device.
  • the upgrade operation of the device under the condition of uninterrupted power supply ensures the continuity of transaction processing.
  • Step 13 After the storage device is upgraded, the control device establishes a communication connection with the storage device.
  • control device can re-initialize the communication to restart the establishment of a communication connection with the storage device for normal interaction.
  • the present application provides a firmware upgrade method for a storage device, by sending a firmware activation instruction to the storage device, so that the storage device is prepared before activation, and after the preparation is completed, a response message is fed back to the control device, The response message is used to indicate that the storage device will activate the new firmware at the next reset, and after receiving the response message, the control device sends a reset instruction to the storage device to reset the storage device, and finally the storage device upgrade is completed. After that, establish a communication connection with the storage device. In this way, the response message fed back by the storage device can be used, so that after the control device sends a reset command to the storage device, the firmware upgrade of the storage device can be completed online without powering on and off again, which improves work efficiency.
  • Fig. 2 is a schematic flowchart of another embodiment of a firmware upgrade method for a storage device provided by the present application.
  • the present embodiment is applied to a control device, and the method specifically includes:
  • Step 21 Send the new firmware to the storage device, so that the storage device stores the new firmware.
  • the new firmware is sent by the control device using the upgrade tool through the standard management command (admin command) Firmware Image Download, and the upgrade tool is used to download the new firmware to the storage device in sequence, and the storage device then writes the new firmware into the power-down protection. stored in the chip.
  • the Firmware Image Download sub-packet size cannot exceed the maximum reported value, and requires 4-byte alignment, otherwise the download data packet will be abnormal.
  • firmware slot 1 firmware slot 2
  • firmware slot 3 firmware slot 4
  • the storage device receives the new firmware, it can store the new firmware in the specified firmware slot according to the instruction of the control device.
  • the corresponding firmware slot can be loaded according to the instruction. new firmware inside.
  • the same new firmware can be saved and written into multiple firmware slots at the same time, so that when a failure occurs in one or more firmware slots, it can still be obtained from other firmware slots. Running valid new firmware.
  • the storage device can also judge the integrity of the new firmware, and can utilize a CRC check (Cyclic Redundancy Check, cyclic redundancy check code), a parity check method and a cumulative sum.
  • CRC check Cyclic Redundancy Check, cyclic redundancy check code
  • the verification method, etc. executes the algorithm calculation on the new firmware to obtain a result, and then compares the result with the result obtained by the calculation when the control device is downloaded. If the results are consistent, it indicates that the new firmware is complete, and the storable device can store it.
  • step 21 it is also possible to compare the firmware version of the current firmware of the storage device with the new firmware stored in the upgrade server corresponding to the control device, so as to determine whether the storage device needs to be upgraded. If the two are different, it means that the storage device needs to perform firmware upgrade, and then sends new firmware to the storage device; if the two are the same, it means that the storage device does not need to perform firmware upgrade.
  • Step 22 Send a firmware activation instruction to the storage device, so that the storage device prepares before activation, and feeds back response information to the control device after the preparation is completed, and the response information is used to indicate that the storage device will activate the new firmware at the next reset.
  • the firmware activation instruction is used by the control device to instruct the firmware slot to be used when the storage device is reset next time, that is, which new firmware is specifically activated for firmware upgrade.
  • firmware slot 1 and firmware slot 2 store different new firmware, and through the instruction of the firmware activation command, the storage device can select the new firmware corresponding to the firmware slot to be used for subsequent firmware upgrade.
  • the storage device after receiving the firmware activation instruction sent by the control device, the storage device will prepare for new firmware activation, by closing some of its own idle processing (such as balancing wear, garbage collection, etc.), so that the storage device can The device is in an idle state, after which, the storage device provides feedback through a standard protocol in the status field of the completion command queue responding to Firmware Active, indicating that the storage device will activate the new firmware at the next reset.
  • some of its own idle processing such as balancing wear, garbage collection, etc.
  • Step 23 After receiving the response information, clear the enable field of the controller configuration register of the storage device to 0 to reset the storage device and clear the ready field of the controller status register of the storage device to 0.
  • the control device When the control device receives the response information fed back by the storage device through the status field of the completion command queue, it immediately issues an instruction to clear the enable field of the controller configuration (CC) register of the storage device to 0, that is, CC.
  • EN Controller Configuration Enable
  • the control device suspends all command communications with the storage device, and only issues an instruction to reset the storage device, so that the storage device can directly perform firmware operations in the online state.
  • the upgrade operation does not need to perform the reset action of power-on and power-off again, which can realize the upgrade operation of the storage device under the condition of power-off, and ensure the continuity of transaction processing.
  • the storage device needs to clear the CSTS.RDY register to 0 immediately, because the control device will soon enable the CC.EN register, and query The status of the CSTS.RDY register, if the CSTS.RDY register is not cleared to 0 in time, the storage device will not be fully prepared, but the control device has already started a new queue creation, which will eventually cause the upgrade to fail.
  • Step 24 Set the enable field of the controller configuration register of the storage device to 1, so that the storage device is loaded with new firmware.
  • the storage device will generate an interrupt. It is assumed that the interrupt occurs in the blind area of the new firmware loading (the blind area of the code reboot), that is, the interrupt is not turned on. At this time, an exception will occur in the storage device. Based on this, in this embodiment, the action of loading the storage device with new firmware, that is, the action of the reboot code, requires the control device to set the controller configuration register of the storage device. It can only be performed after the energy field is set to 1, otherwise the upgrade process will be affected.
  • the storage device can prepare to communicate with the control device, and immediately perform a firmware jump, that is, load the new firmware, and Perform initialization operations associated with new firmware and communication, including initialization operations such as PCIE and NVME, such as determining the communication properties of the PCIE layer through messages, and the mapping relationship of registers between storage devices and control devices, etc., and initializing NVME-related registers ASQ (Admin submission Queue Base Address, management command queue base address), ACQ (Admin Completion Queue Base Address, completion management command queue base address), AQA (Admin Queue Attributes, management command queue attributes) and so on.
  • initialization operations such as PCIE and NVME, such as determining the communication properties of the PCIE layer through messages, and the mapping relationship of registers between storage devices and control devices, etc.
  • initializing NVME-related registers ASQ (Admin submission Queue Base Address, management command queue base address), ACQ (Admin Completion Queue Base Address, completion management command queue base address), AQA (Admin Queue Attribu
  • the storage device can set the ready field of the controller status register to 1 to inform the control device that the new firmware has been fully loaded and is ready for communication.
  • the number of the above initialization operations is less than twice, that is, it cannot be performed again. Specifically, the number of times of initialization of the physical layer of PCIE cannot exceed two times. Otherwise, PCIE will appear link down and link disconnection will occur, so the new firmware will be loaded.
  • the storage device in the initialization operation stage, the storage device must distinguish whether it is rebooted or powered on normally, otherwise communication will fail.
  • some specific registers can be used to distinguish reboots. If there are no such registers, the characteristic memory can be used for status identification to distinguish whether it is a normal power-on or a reboot.
  • Step 25 When it is detected that the ready field of the controller status register of the storage device is set to 1, establish a communication connection with the storage device.
  • the control device identifies whether the firmware upgrade action is completed by querying whether the state of the controller state register is ready, or whether the storage device is working. When the control device detects that the ready field of the controller state register of the storage device is set to 1, it means that the storage device is stored After the new firmware of the device is activated and the firmware upgrade is completed, the control device can send a management command to recreate the read-write communication queue, thereby establishing a communication connection with the storage device.
  • control device reconfigures the NVME registers, such as resetting the admin queue, so that the admin command can re-synchronize the addressing communication, and then through the create I/Q CQ(Create I/O Completion Queue command, the creation of data read and write is completed.
  • command queue) and create I/O SQ Create I/O submission Queue command, create a data read and write command queue are used to create an IO command queue to provide a synchronous fetch base address for subsequent IO read and write commands.
  • control device resets the admin queue and recreates the IO queue, it can re-communicate with the storage device.
  • the time difference between the time when the storage device clears the preparation field of the controller status register to 0 and the time when the preparation field of the controller status register is set to 1 is less than the timeout reported by the CAP (Controller Capabilities, controller function) register. Time, that is, can not exceed CAP.TO (Controller Capabilities Timeout), when the control device queries the controller status register for too long, it will give up the query, and it will be considered that the storage device is abnormally dropped.
  • CAP Controller Capabilities, controller function
  • the present embodiment provides a firmware upgrade method for a storage device.
  • the control device downloads new firmware to the storage device through a tool and sends a firmware activation command
  • the storage device responds to the corresponding state field of the firmware activation command to update the firmware. Inform the control device that the new firmware will be loaded after the next reset, so the driver of the control device will suspend all commands to reset the storage device, and then re-handshake with the storage device to create a new communication queue, which can solve the problem.
  • there was a problem in the firmware upgrade of the storage device that needed to be powered off again or forced to jump.
  • FIG. 3 is a schematic flowchart of another embodiment of a firmware upgrade method for a storage device provided by the present application.
  • the method of this embodiment is applied to a storage device, and the method specifically includes:
  • Step 31 Receive a firmware activation instruction to prepare before activation, and feed back response information to the control device after the preparation is completed.
  • the response information is used to indicate that the storage device will activate the new firmware in the next reset.
  • the storage device After receiving the firmware activation command, the storage device responds to the command and prepares for activating the firmware by closing some idle processing. After the idle processing preparation is completed, it can send the control device to the control device through a standard protocol in the status field of the CQ responding to Firmware Active. One end feeds back the response information, which is used to indicate that the storage device will activate the new firmware in the next reset.
  • Step 32 Receive a reset instruction to reset the storage device.
  • the control device After the control device receives the response information, since the control device already knows the next action of the storage device, the control device will suspend all command communications at this time, and only send a reset command to the storage device. Therefore, under the reset instruction of the control device, the storage device can perform firmware upgrade under the condition of uninterrupted power supply, which ensures the continuity of transaction processing.
  • Step 33 After the firmware upgrade of the storage device is completed, establish a communication connection with the control device.
  • control device can re-initialize the communication to restart the establishment of a communication connection with the storage device for normal interaction.
  • FIG. 4 is a schematic flowchart of another embodiment of a firmware upgrade method for a storage device provided by the present application.
  • the method of this embodiment is applied to a storage device, and the method specifically includes:
  • Step 41 Receive and store the new firmware.
  • the new firmware is sent by the control device using the upgrade tool through the standard management command (admin command) Firmware Image Download, and the upgrade tool is used to download the new firmware to the storage device in sequence, and the storage device then writes the new firmware into the power-down protection. stored in the chip.
  • the Firmware Image Download sub-packet size cannot exceed the maximum reported value, and requires 4-byte alignment, otherwise the download data packet will be abnormal.
  • Step 42 Receive a firmware activation instruction to prepare before activation, and feed back response information to the control device after the preparation is completed.
  • the response information is used to indicate that the storage device will activate the new firmware in the next reset.
  • the storage device after receiving the firmware activation instruction sent by the control device, the storage device will prepare for new firmware activation, by closing some of its own idle processing (such as balancing wear, garbage collection, etc.), so as to make itself In the idle state, after that, the storage device sends feedback through a standard protocol in the status field of the completion command queue in response to Firmware Active, which is used to indicate that the storage device will activate the new firmware in the next reset.
  • some of its own idle processing such as balancing wear, garbage collection, etc.
  • Step 43 Receive the reset instruction, clear the enable field of the controller configuration register to 0 to reset the storage device, and clear the ready field of the controller status register to 0.
  • the storage device can clear the enable field of the controller configuration register to 0 to trigger a reset. At this time, the control device will suspend all command communication with the storage device; the storage device further Clears the ready field of the controller status register to indicate whether the state of the memory is ready.
  • the storage device since the control device suspends all command communication with the storage device after receiving the response message, the storage device can only receive the reset instruction at this time, and the storage device can directly connect to the online under the instruction of the reset instruction.
  • the state is reset without the need to perform the reset action of power-on and power-off again, which can realize the upgrade operation of the storage device under the condition of power-off, and ensure the continuity of transaction processing.
  • the storage device needs to clear the CSTS.RDY register to 0 immediately, because the control device will soon enable the CC.EN register, and query The status of the CSTS.RDY register, if the CSTS.RDY register is not cleared to 0 in time, the storage device will not be fully prepared, but the control device has already started a new queue creation, which will eventually cause the upgrade to fail.
  • Step 44 Set the enable field of the controller configuration register to 1 to load the new firmware.
  • the storage device will generate an interrupt. It is assumed that the interrupt occurs in the blind area of the new firmware loading (the blind area of the code reboot), that is, the interrupt is not turned on. At this time, an exception will occur in the storage device. Based on this, in this embodiment, the action of loading the new firmware in the storage device, that is, the action of the reboot code, can only be performed after the enable field of the controller configuration register is set to 1. , otherwise it will affect the upgrade process.
  • the number of times of the above initialization operations is less than twice, that is, the number of times of initialization of the physical layer of PCIE cannot be more than twice, otherwise the PCIE will appear link down, that is, the link will be disconnected, so
  • the storage device must distinguish whether it is rebooted or powered on normally, otherwise, communication will fail.
  • some specific registers can be used to distinguish reboots. If there are no such registers, the characteristic memory can be used for status identification to distinguish whether it is a normal power-on or a reboot.
  • Step 45 Set the ready field of the controller status register to 1, and establish a communication connection with the control device.
  • the query of the controller status register by the control device is usually intermittent, as long as the preparation field of the controller status register of the storage device is changed. If the value is 1, the upgrade of the storage device is confirmed. Further, a communication connection is established with the control device end through the re-created read-write communication queue through the management command sent by the control device end.
  • the time difference between the time when the storage device clears the preparation field of the controller status register to 0 and the time when the preparation field of the controller status register is set to 1 is less than the timeout reported by the CAP (Controller Capabilities, controller function) register. Time, that is, can not exceed CAP.TO (Controller Capabilities Timeout), when the control device queries the controller status register for too long, it will give up the query, and it will be considered that the storage device is abnormally dropped.
  • CAP Controller Capabilities, controller function
  • this embodiment provides a firmware upgrade method for a storage device.
  • the storage device receives the new firmware and the firmware activation command sent by the control device, it informs the control device of the new firmware by responding to the corresponding state field of the firmware activation command. It will be loaded after the next reset, and then the storage device and the control device will shake hands again to create a new communication queue, which can solve the problem of power-on and power-off or forced jump in the previous firmware upgrade of the storage device. .
  • FIG. 5 is a schematic structural diagram of an embodiment of a control device provided by the present application.
  • the control device 50 in this embodiment includes a control unit 51 and a storage unit 52, and the control unit 51 is coupled to the storage unit 52, wherein the storage unit 52 is used to store the computer program executed by the control unit 51, and the control unit 51 is used to execute the computer program to realize the following method steps:
  • control device 50 in this embodiment is an entity terminal based on any of the above method embodiments, and its implementation principles and steps are similar, which will not be repeated here. Therefore, when the computer program is executed by the control unit 51, other method steps in any of the foregoing embodiments can also be implemented, which will not be repeated here.
  • FIG. 6 is a schematic structural diagram of an embodiment of a storage device provided by the present application.
  • the storage device 60 in this embodiment includes a control unit 61 and a storage unit 62, and the control unit 61 is coupled to the storage unit 62, wherein the storage unit 62 is used to store the computer program executed by the control unit 61, and the control unit 61 is used to execute the computer program to realize the following method steps:
  • the storage device 60 in this embodiment is a physical terminal based on any of the above method embodiments, and its implementation principles and steps are similar, which will not be repeated here. Therefore, when the computer program is executed by the control unit 61, other method steps in any of the above-mentioned embodiments can also be implemented, which will not be repeated here.
  • FIG. 7 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided by the present application.
  • the computer-readable storage medium 70 of this embodiment is used to store a computer program 71.
  • the computer program 71 is executed by the control unit, To implement the following method steps:
  • the embodiments of the present application When the embodiments of the present application are implemented in the form of software functional units and are sold or used as independent products, they may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

La présente demande concerne un procédé de mise à niveau d'un micrologiciel d'un appareil de stockage, un dispositif de stockage et un appareil de stockage. Ledit procédé consiste à : envoyer une instruction d'activation de micrologiciel à un appareil de stockage, de sorte que l'appareil de stockage effectue des préparations avant activation, et renvoyer des informations de réponse au dispositif de commande une fois la préparation achevée, les informations de réponse étant utilisées pour indiquer que l'appareil de stockage est sur le point d'activer un nouveau micrologiciel à la prochaine réinitialisation ; lors de la réception des informations de réponse, envoyer une instruction de réinitialisation à l'appareil de stockage de façon à réinitialiser l'appareil de stockage ; et une fois que le micrologiciel de l'appareil de stockage a été mis à niveau, établir une connexion de communication avec l'appareil de stockage. De cette manière, la mise à niveau du micrologiciel d'un appareil de stockage peut être achevée en ligne, sans qu'il soit nécessaire d'effectuer à nouveau une mise sous tension ou une mise hors tension.
PCT/CN2020/129411 2020-11-17 2020-11-17 Procédé de mise à niveau de micrologiciel d'un appareil de stockage, dispositif de commande et appareil de stockage WO2022104530A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/129411 WO2022104530A1 (fr) 2020-11-17 2020-11-17 Procédé de mise à niveau de micrologiciel d'un appareil de stockage, dispositif de commande et appareil de stockage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/129411 WO2022104530A1 (fr) 2020-11-17 2020-11-17 Procédé de mise à niveau de micrologiciel d'un appareil de stockage, dispositif de commande et appareil de stockage

Publications (1)

Publication Number Publication Date
WO2022104530A1 true WO2022104530A1 (fr) 2022-05-27

Family

ID=81707916

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/129411 WO2022104530A1 (fr) 2020-11-17 2020-11-17 Procédé de mise à niveau de micrologiciel d'un appareil de stockage, dispositif de commande et appareil de stockage

Country Status (1)

Country Link
WO (1) WO2022104530A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116932009A (zh) * 2023-09-13 2023-10-24 合肥康芯威存储技术有限公司 一种存储器件的现场固件升级方法、装置及介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100281474A1 (en) * 2009-04-30 2010-11-04 Eason Patrick C Firmware updating
US20130198730A1 (en) * 2012-01-26 2013-08-01 Lsi Corporation Update systems responsive to ongoing processing at a storage system
CN103955381A (zh) * 2014-04-04 2014-07-30 京信通信系统(中国)有限公司 管理服务器对终端设备进行批量软件升级方法与系统
US20160210132A1 (en) * 2015-01-21 2016-07-21 HGST Netherlands B.V. Managing wear of system areas of storage devices
CN107066300A (zh) * 2017-04-21 2017-08-18 杭州宏杉科技股份有限公司 一种存储设备的固件升级方法和存储设备
CN108170368A (zh) * 2016-12-07 2018-06-15 北京忆恒创源科技有限公司 在线升级固件的方法及系统
US20190243637A1 (en) * 2019-03-29 2019-08-08 Intel Corporation Runtime firmware activation for memory devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100281474A1 (en) * 2009-04-30 2010-11-04 Eason Patrick C Firmware updating
US20130198730A1 (en) * 2012-01-26 2013-08-01 Lsi Corporation Update systems responsive to ongoing processing at a storage system
CN103955381A (zh) * 2014-04-04 2014-07-30 京信通信系统(中国)有限公司 管理服务器对终端设备进行批量软件升级方法与系统
US20160210132A1 (en) * 2015-01-21 2016-07-21 HGST Netherlands B.V. Managing wear of system areas of storage devices
CN108170368A (zh) * 2016-12-07 2018-06-15 北京忆恒创源科技有限公司 在线升级固件的方法及系统
CN107066300A (zh) * 2017-04-21 2017-08-18 杭州宏杉科技股份有限公司 一种存储设备的固件升级方法和存储设备
US20190243637A1 (en) * 2019-03-29 2019-08-08 Intel Corporation Runtime firmware activation for memory devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116932009A (zh) * 2023-09-13 2023-10-24 合肥康芯威存储技术有限公司 一种存储器件的现场固件升级方法、装置及介质
CN116932009B (zh) * 2023-09-13 2024-01-23 合肥康芯威存储技术有限公司 一种存储器件的现场固件升级方法、装置及介质

Similar Documents

Publication Publication Date Title
US10845868B2 (en) Methods and apparatus for running and booting an inter-processor communication link between independently operable processors
JP4205560B2 (ja) ディスクレスネットワークブータブルコンピュータにおける不揮発性メモリキャッシュを用いた信頼性の改善
US6314455B1 (en) Data processing system and method for permitting a server to remotely initiate a client's boot block recovery
CN112540785A (zh) 一种存储装置的固件升级方法、控制设备及存储装置
EP3255527B1 (fr) Technologies clavier-vidéo-souris à distance
US7840736B2 (en) Bus communication enumeration
JP4688821B2 (ja) システム構成の遠隔修正のための方法および装置
US8185759B1 (en) Methods and systems for interfacing bus powered devices with host devices providing limited power levels
US7051236B2 (en) Wirelessly network-connected, battery-powered information handling system featuring prevention of data corruption after wake-up by a network event
US9063816B2 (en) Method and apparatus for updating firmware on a storage device
WO2015100878A1 (fr) Procédé de démarrage de puces, puce de processeur multicœur et support de stockage
JP6864718B2 (ja) ハイブリッド電源のシステム及び方法
US8996730B1 (en) System and method to restore maximum payload size in a network adapter
WO2022104530A1 (fr) Procédé de mise à niveau de micrologiciel d'un appareil de stockage, dispositif de commande et appareil de stockage
US11436020B2 (en) Systems and methods to bifurcate at least one peripheral component interconnect express (PCIE) port in accordance with a user-selectable PCIE bifurcation setting
US6275851B1 (en) Data processing system and method for remotely controlling modification of a client's initialization settings
US20060149859A1 (en) Configuration data management
WO2007076644A1 (fr) Systeme informatique portable et procede de reception de paquets de donnees
US7117353B2 (en) Methods and apparatus to enable console redirection in a multiple execution environment
US10996942B1 (en) System and method for graphics processing unit firmware updates
CN115794153A (zh) 一种固件升级方法及相关设备
CN113722147A (zh) 一种保持业务连接方法及相关设备
KR20000035025A (ko) 클라이언트 전원이 오프되어 있는 동안에 클라이언트 컴퓨터 시스템의 개개의 초기화 셋팅에 원격으로 억세스하기 위한 데이터 처리 시스템 및 방법
US11755518B2 (en) Control of Thunderbolt/DisplayPort multiplexor for discrete USB-C graphics processor
US11989081B2 (en) Method for CXL fallback in a CXL system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20961822

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20961822

Country of ref document: EP

Kind code of ref document: A1