CN112835600A - Solid state drive firmware upgrading method and device and electronic equipment - Google Patents

Solid state drive firmware upgrading method and device and electronic equipment Download PDF

Info

Publication number
CN112835600A
CN112835600A CN201911165082.4A CN201911165082A CN112835600A CN 112835600 A CN112835600 A CN 112835600A CN 201911165082 A CN201911165082 A CN 201911165082A CN 112835600 A CN112835600 A CN 112835600A
Authority
CN
China
Prior art keywords
ssd
upgrading
firmware
data
embedded system
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
CN201911165082.4A
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201911165082.4A priority Critical patent/CN112835600A/en
Publication of CN112835600A publication Critical patent/CN112835600A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The embodiment of the invention provides a method and a device for upgrading firmware of a solid state drive and electronic equipment. The method is applied to the electronic equipment with the embedded system, and comprises the following steps: receiving an upgrade request; acquiring an embedded system upgrade file, wherein the file comprises embedded system upgrade data and SSD firmware upgrade data; analyzing the embedded system upgrading data and the SSD firmware upgrading data from the embedded system upgrading file; carrying out upgrading processing on the embedded system according to the embedded system upgrading data; and performing firmware upgrading treatment on the SSD connected with the SSD interface according to the SSD firmware upgrading data. The embodiment of the invention improves the upgrading efficiency of the SSD firmware.

Description

Solid state drive firmware upgrading method and device and electronic equipment
Technical Field
The present invention relates to the technical field of SSD (Solid State Disk or Solid State Drive), and in particular, to a method and an apparatus for upgrading SSD firmware, and an electronic device.
Background
SSD (Solid State Disk or Solid State Drive) is commonly referred to as a Solid State Disk, which is a hard Disk made of an array of Solid State electronic memory chips. The SSD is composed of a control unit and a storage unit (FLASH chip, DRAM chip).
The existing method for upgrading the SSD firmware mainly comprises the following three methods:
the method I comprises the steps of dismantling the SSD and upgrading the firmware of the SSD by using a corresponding upgrading tool and a corresponding upgrading device.
The disadvantage of this method is that it is not automated and requires a lot of manpower.
And secondly, the firmware to be refreshed and the refreshing toolkit are placed in the same path folder, and the script file of the refreshing toolkit is operated to realize the upgrading of the SSD firmware.
The disadvantages of this method are as follows:
1. the upgrading efficiency is low, and mistakes are easy to make: the whole upgrading process is firstly completed by manually placing the firmware to be upgraded under the Linux and still performing the operation of a Linux command line, so that errors are easily generated in the middle, and the implementation cost is high.
2. The implementation difficulty is high: particularly, for the hard disk video recorder, the hard disk video recorder needs to be dismounted or remotely logged into a Linux console, and the implementation difficulty of operators in a client site and a maintenance scene is high.
And thirdly, acquiring the firmware file of the latest version corresponding to the hard disk of the firmware to be upgraded and the required firmware upgrading tool from the central server.
The disadvantages of this method are as follows:
1. the cost is high: a central server needs to be erected and a database for managing the hard disk firmware is maintained.
2. The application scene is narrow: the erection center server scenario is only suitable for research and development and production. Particularly, for the hard disk video recorder, besides supporting research and development and production scenes, more client sites and maintenance scenes need to be supported.
And fourthly, directly putting the corresponding SSD firmware into the system, and finishing upgrading the SSD firmware through the upgrading program/script. Specifically, after the host is started and connected with the upgrade server, if an NVMe SSD whose firmware version is inconsistent with a corresponding firmware version in the upgrade server exists, the corresponding firmware file is downloaded to upgrade the corresponding NVMe SSD to be upgraded.
The disadvantages of this method are as follows:
1. the difficulty of firmware version maintenance is large: and a specially-assigned person is required to maintain each firmware version on the server, the management of the firmware model and version is related, and the management cost is high.
2. Involving server protocol interactions: in the whole firmware upgrading process, version selection, matching and verification need to be participated in a service program on a server, a special upgrading service program or protocol needs to be developed during implementation, and the client is difficult to deploy on site and needs to consider safety.
Disclosure of Invention
The embodiment of the invention provides an SSD firmware upgrading method, an SSD firmware upgrading device and electronic equipment, and aims to improve SSD firmware upgrading efficiency.
The technical scheme of the embodiment of the invention is realized as follows:
a Solid State Drive (SSD) firmware upgrading method is applied to an electronic device with an embedded system, and comprises the following steps:
receiving an upgrade request;
acquiring an embedded system upgrade file, wherein the file comprises embedded system upgrade data and SSD firmware upgrade data;
analyzing the embedded system upgrading data and the SSD firmware upgrading data from the embedded system upgrading file;
carrying out upgrading processing on the embedded system according to the embedded system upgrading data;
and performing firmware upgrading processing on the SSD connected with the SSD interface according to the SSD firmware upgrading data, wherein the electronic equipment is provided with the SSD interface.
The SSD firmware upgrade data comprises: at least one SSD firmware upgrade data, each SSD firmware upgrade data having a unique SSD identification, the SSD identification being represented by a model of the SSD or by a model and version of the SSD;
after the embedded system upgrade data and the SSD firmware upgrade data are analyzed from the embedded system upgrade file, the method further comprises the following steps:
sequentially acquiring SSD identifiers of SSDs connected with each SSD interface, and searching SSD firmware upgrading data matched with the SSD identifiers in the SSD firmware upgrading data according to the acquired SSD identifiers;
the firmware upgrading processing of the SSD connected with the SSD interface according to the SSD firmware upgrading data comprises the following steps:
and performing firmware upgrading treatment on the SSD corresponding to the obtained SSD identifier according to the matched SSD firmware upgrading data.
When the SSD identifier is represented by the model and version of the SSD, the searching for the SSD firmware upgrade data matching the SSD identifier in the SSD firmware upgrade data includes:
looking up in SSD firmware upgrade data: SSD firmware upgrade data having a model identical to that of the SSD and a version higher than that of the SSD.
The embedded system is upgraded according to the embedded system upgrading data; the firmware upgrading treatment of the SSD connected with the SSD interface according to the SSD firmware upgrading data comprises the following steps:
carrying out upgrading processing on the embedded system according to the embedded system upgrading data; and meanwhile, performing firmware upgrading treatment on the SSD connected with the SSD interface according to the SSD firmware upgrading data.
After the embedded system upgrade data and the SSD firmware upgrade data are analyzed from the embedded system upgrade file, the embedded system is upgraded according to the embedded system upgrade data, and the method further comprises the following steps:
saving the SSD firmware upgrade data to a nonvolatile storage medium;
the step of performing firmware upgrade processing on the SSD connected to the SSD interface according to the SSD firmware upgrade data after performing upgrade processing on the embedded system according to the embedded system upgrade data further includes:
restarting the embedded system;
the firmware upgrading processing of the SSD connected with the SSD interface according to the SSD firmware upgrading data comprises the following steps:
and reading the SSD firmware upgrading data from the nonvolatile storage medium, and performing firmware upgrading processing on the SSD connected with the SSD interface according to the read SSD firmware upgrading data.
A solid state drive SSD firmware upgrading device is applied to an electronic device with an embedded system, the electronic device is provided with an SSD interface, and the device comprises:
the upgrading file acquisition module is used for receiving the upgrading request and acquiring an embedded system upgrading file, wherein the file comprises embedded system upgrading data and SSD firmware upgrading data;
the upgrade file analyzing module is used for analyzing the upgrade data of the embedded system and the upgrade data of the SSD firmware from the upgrade file of the embedded system;
the embedded system upgrading processing module is used for upgrading the embedded system according to the embedded system upgrading data;
and the SSD upgrading processing module is used for carrying out firmware upgrading processing on the SSD connected with the SSD interface according to the SSD firmware upgrading data.
The SSD upgrading processing module is specifically used for sequentially acquiring the SSD identifier of each SSD connected with the SSD interface, and searching SSD firmware upgrading data matched with the SSD identifier in the SSD firmware upgrading data according to the acquired SSD identifier; and performing firmware upgrading treatment on the SSD corresponding to the obtained SSD identifier according to the matched SSD firmware upgrading data.
The SSD identifier is represented by the type and the version of the SSD, and the SSD updating processing module searches the SSD firmware updating data matched with the SSD identifier in the SSD firmware updating data and comprises the following steps:
looking up in SSD firmware upgrade data: SSD firmware upgrade data having a model identical to that of the SSD and a version higher than that of the SSD.
The electronic equipment is a hard disk video recorder.
An electronic device comprising a Solid State Drive (SSD) firmware upgrade apparatus as described in any one of the above.
In the embodiment of the invention, the embedded system upgrading file not only contains the upgrading data of the embedded system, but also comprises the SSD firmware upgrading data, after the embedded system upgrading file is obtained, the embedded system is upgraded according to the embedded system upgrading data, and the SSD connected with the SSD interface is upgraded according to the SSD firmware upgrading data, so that manual participation is not needed, a special SSD firmware upgrading server and a special SSD firmware upgrading database are not needed to be erected, the cost is reduced, and the SSD firmware upgrading efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of an SSD firmware upgrade system according to an embodiment of the present invention;
FIG. 2 is a flowchart of an SSD firmware upgrade method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a SSD firmware upgrade method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an upgrade file of an embedded system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an SSD firmware upgrading device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic structural diagram of an SSD firmware upgrade system according to an embodiment of the present invention, which mainly includes: electronic equipment with embedded system and SSD of mounting on electronic equipment's SSD interface, wherein:
the embedded system has a master control module and an SSD controller having one or more SSD interfaces. Each SSD interface can access one SSD, or each SSD interface can access a plurality of SSDs through a port expansion chip.
Electronic devices such as: hard disk video recorder. The hard disk recorder may be a DVR (Digital Video recorder), or a NVR (Net Video recorder).
The main control module is as follows: the master control SOC (System of Chip, Chip System).
The SSD interface may be a SATA (Serial Advanced Technology Attachment) interface or a PCIE (Peripheral Component Interconnect) interface, and the like.
Fig. 2 is a flowchart of an SSD firmware upgrading method according to an embodiment of the present invention, where the method is applied to an electronic device with an embedded system, and the method includes the following specific steps:
step 201: an upgrade request is received.
The embodiment of the present invention is not limited to the upgrade triggering method for the embedded system. The upgrade triggering mode mainly comprises the following steps: the triggering is carried out at this time and remotely. The local triggering mode is as follows: serial port triggering of an embedded system, GUI (Graphical User Interface) operation triggering, and the like; the remote triggering mode comprises the following steps: web operation trigger, client trigger such as SDK (Software Development Kit), cloud push trigger, and the like.
Step 202: and acquiring an embedded system upgrading file, wherein the file comprises embedded system upgrading data and SSD firmware upgrading data.
Step 203: and analyzing the embedded system upgrading data and the SSD firmware upgrading data from the embedded system upgrading file.
Step 204: and carrying out upgrading treatment on the embedded system according to the upgrading data of the embedded system.
The embedded system mainly comprises: the system comprises a main control module, an SSD controller and the like, wherein the embedded system upgrading data comprises upgrading data of all components (the main control module, the SSD controller and the like) of the embedded system.
Step 205: and performing firmware upgrading processing on the SSD connected with the SSD interface according to the SSD firmware upgrading data, wherein the electronic equipment is provided with the SSD interface.
Through the embodiment, the embedded system upgrade file not only contains the embedded system upgrade data, but also contains the SSD firmware upgrade data, so that when the embedded system is upgraded by triggering, the embedded system upgrade data and the SSD firmware upgrade data can be simultaneously obtained, and when the embedded system is upgraded, the firmware upgrade of the SSD connected with the embedded system is completed together, so that:
firstly), the whole process does not need manual participation, the SSD does not need to be disassembled, the operation habit of a user does not need to be changed, the operation is simple, the user only needs to trigger the upgrading request of the embedded system to simultaneously complete the upgrading operation of the embedded system and all SSD firmware, errors are avoided, and the upgrading efficiency is improved;
secondly), a server is not specially erected for SSD firmware upgrading, and a circuit and a physical interface for supporting SSD firmware upgrading are not additionally arranged on hardware, so that the hardware cost is reduced; the whole SSD firmware upgrading process is completed on the embedded system, the interaction of version selection, matching and the like with a server is not needed, and the upgrading safety is improved;
thirdly), an operation mode special for upgrading the SSD firmware is not required to be added to the embedded system, and further a mode of independently packaging, updating and transmitting the SSD firmware is not required to be specially maintained;
and fourthly) the whole upgrading process is transparent to the user, so that excessive worry and unnecessary misunderstanding of the user on the safety of the SSD storage data can not be caused, and the user experience is improved.
Consider that: what is how to ensure that accurate SSD firmware upgrade data can be obtained when upgrading the firmware of each SSD? The embodiment of the invention provides the following solution:
in an alternative embodiment, the SSD firmware upgrade data comprises: at least one SSD firmware upgrade data, wherein each SSD firmware upgrade data has a unique SSD identification, and the SSD identification is represented by the type of the SSD or the type and the version of the SSD;
step 205 specifically comprises: sequentially acquiring SSD identifiers of SSDs connected with each SSD interface, and searching SSD firmware upgrading data matched with the SSD identifiers in the SSD firmware upgrading data according to the acquired SSD identifiers; and performing firmware upgrading treatment on the SSD corresponding to the obtained SSD identifier according to the matched SSD firmware upgrading data.
When the SSD identifier is represented by the model and version of the SSD, searching the SSD firmware upgrade data matched with the SSD identifier in the SSD firmware upgrade data includes: looking up in SSD firmware upgrade data: SSD firmware upgrade data having a model identical to that of the SSD and a version higher than that of the SSD. Through the embodiment, when the electronic equipment is provided with or expanded with the plurality of SSD interfaces, the SSD connected with each SSD interface can be matched with correct SSD firmware upgrading data in the embedded system upgrading file, so that smooth completion of SSD firmware upgrading is ensured.
Considering different designs or requirements of the electronic equipment, the upgrading process of the embedded system and the firmware upgrading process of the SSD can be carried out simultaneously, or if the electronic equipment has a nonvolatile storage medium, only the embedded system is upgraded immediately when the embedded system upgrading file is obtained, the SSD firmware upgrading data is stored in the nonvolatile storage medium, and after the embedded system is started next time, the SSD firmware upgrading data is read from the nonvolatile storage medium, so that the SSD firmware upgrading is completed.
That is to say that the first and second electrodes,
in an alternative embodiment, step 204 and step 205 are performed simultaneously and in parallel;
in another optional embodiment, in step 203, after the embedded system upgrade data and the SSD firmware upgrade data are parsed from the embedded system upgrade file, the SSD firmware upgrade data are stored in the nonvolatile storage medium;
after step 204, when the embedded system is restarted, step 205 is executed;
and, step 205 specifically comprises: and reading the SSD firmware upgrading data from the nonvolatile storage medium, and performing firmware upgrading processing on the SSD connected with the SSD interface according to the read SSD firmware upgrading data.
The two embodiments give consideration to the situation that the electronic device does not have or has the nonvolatile storage medium, and provide the corresponding SSD firmware upgrading mode aiming at the two situations, thereby expanding the application range of the embodiments of the invention.
Fig. 3 is a flowchart of an SSD firmware upgrading method according to another embodiment of the present invention, which includes the following specific steps:
step 301: when the server constructs the upgrade file of the embedded system, the upgrade data of the embedded system and one or more SSD firmware upgrade data are packaged into the upgrade file of the embedded system.
Fig. 4 is a schematic structural diagram of an upgrade file of an embedded system, which mainly includes:
1) fixing the head;
saving the version of the upgrading data of the embedded system and the model of the applicable embedded system;
and storing the version of each SSD firmware upgrading data and the applicable SSD model, wherein each SSD firmware upgrading data corresponds to the SSD model and the SSD version thereof, and the SSD models and the SSDs corresponding to different SSD firmware upgrading data are different.
2) A master control head;
and storing the position information of the upgrade data of the embedded system in the whole upgrade file.
3) SSD 1-SSDn header;
and respectively storing the position information of the SSD 1-SSDn firmware upgrade data in the whole upgrade file.
Wherein n is the number of SSD firmware upgrade data, and n is a positive integer.
4) Upgrading data of the embedded system;
5) SSD1 SSDn firmware upgrade data.
Step 302: the main control module of the embedded system receives the upgrading request and acquires the upgrading file of the embedded system from the server, and the server receives the upgrading request and returns the upgrading file of the embedded system to the main control module of the embedded system.
Step 303: and the main control module of the embedded system receives the upgrade file of the embedded system and stores the file into a local storage medium.
The storage medium herein may be a volatile storage medium such as: SDRAM (Synchronous Dynamic Random-access Memory), which may also be a nonvolatile storage medium such as: FLASH (FLASH memory).
Step 304: the main control module of the embedded system reads the embedded system upgrading file from the local storage medium, analyzes the embedded system upgrading data and each SSD firmware upgrading data from the file, and puts the embedded system upgrading data and each SSD firmware upgrading data into the local storage medium.
Step 305: and the main control module of the embedded system reads the upgrading data of the embedded system from the local storage medium and adopts the upgrading data of the embedded system to upgrade the embedded system.
Step 306: and the main control module of the embedded system sequentially acquires the model and the version of the SSD accessed by each SSD interface from the SSD controller.
Step 307: for the type and the version of the SSD which are obtained currently, the main control module of the embedded system searches SSD firmware upgrading data matched with the type and the version of the SSD in each SSD firmware upgrading data stored in the local storage medium, sends the matched SSD firmware upgrading data to the SSD controller, and the SSD controller carries out firmware upgrading processing on the SSD which is connected with the SSD interface currently according to the matched SSD firmware upgrading data.
Step 308: step 306 and step 307 are repeatedly executed until the firmware upgrade of all the SSDs connected to the SSD interface is completed.
It should be noted that the steps 306-308 can be executed immediately after the step 305, or the steps 305 and the steps 306-308 can be executed in parallel. In addition, if the local storage medium is a nonvolatile storage medium, the local storage medium may further include: step 305 is executed immediately after step 304, and step 306 and step 308 are executed after the embedded system is started next time.
The SSD controller of the electronic device may have a plurality of SSD interfaces, and the model and/or version of the SSD accessed by each SSD interface may be different, so that when the firmware of the SSD is upgraded, the SSD firmware upgrade data needs to be searched according to the model and version of the SSD. The specific needs are met: the SSD firmware upgrade data must be applicable to the same model as the SSD, and the version of the SSD firmware upgrade data must be higher than the version of the SSD. For example:
if the type of the SSD is ABCDEFGH, the version is 12345677; the SSD model applicable to the SSD firmware upgrading data is ABCDEFGH, and the SSD model is 12345678, so that the SSD model and the SSD model are matched;
if the model of the SSD is ABCDEFGH and the version is 12345677, the following SSD firmware upgrade data do not match:
1) the SSD model applicable to the SSD firmware upgrading data is ABCDEFGH, and the version is 12345676;
2) the SSD model for SSD firmware upgrade data is AAAAAAAA, and the version is 12345678.
Fig. 5 is a schematic structural diagram of an SSD firmware upgrading device according to an embodiment of the present invention, where the device is applied to an electronic device with an embedded system, and the electronic device has an SSD interface, and the device mainly includes: an upgrade file acquisition module 51, an upgrade file parsing module 52, an embedded system upgrade processing module 53 and an SSD upgrade processing module 54, wherein:
the upgrade file obtaining module 51 is configured to receive the upgrade request, obtain an upgrade file of the embedded system, where the upgrade file includes embedded system upgrade data and SSD firmware upgrade data, and store the upgrade file of the embedded system in a local storage medium.
The upgrade file parsing module 52 is configured to read the embedded system upgrade file from the local storage medium, parse the embedded system upgrade data and the SSD firmware upgrade data from the embedded system upgrade file, and store the embedded system upgrade data and the SSD firmware upgrade data in the local storage medium.
And the embedded system upgrade processing module 53 is configured to perform upgrade processing on the embedded system according to the embedded system upgrade data in the local storage medium.
And the SSD upgrading processing module 54 is configured to perform firmware upgrading processing on the SSD connected to the SSD interface according to the SSD firmware upgrading data in the local storage medium.
In an optional embodiment, the SSD upgrading processing module 54 is specifically configured to sequentially obtain an SSD identifier of each SSD connected to each SSD interface, and search, according to the obtained SSD identifier, SSD firmware upgrading data matched with the SSD identifier in the SSD firmware upgrading data; and performing firmware upgrading treatment on the SSD corresponding to the obtained SSD identifier according to the matched SSD firmware upgrading data.
In an optional embodiment, the SSD identifier is represented by a model and a version of the SSD, and the SSD upgrade processing module 54 searches the SSD firmware upgrade data matching the SSD identifier in the SSD firmware upgrade data includes: looking up in SSD firmware upgrade data: SSD firmware upgrade data having a model identical to that of the SSD and a version higher than that of the SSD.
In an optional embodiment, the upgrade file parsing module 52 is configured to store the SSD firmware upgrade data in a local nonvolatile storage medium;
the SSD upgrade processing module 54 is specifically configured to: and after the embedded system is restarted, reading SSD firmware upgrading data from the local nonvolatile storage medium, and performing firmware upgrading processing on the SSD connected with the SSD interface according to the read SSD firmware upgrading data.
In an alternative embodiment, the electronic device is a hard disk video recorder.
The embodiment of the invention also provides electronic equipment which comprises the SSD firmware upgrading device.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A Solid State Drive (SSD) firmware upgrading method is applied to electronic equipment with an embedded system, and is characterized by comprising the following steps:
receiving an upgrade request; acquiring an embedded system upgrade file, wherein the file comprises embedded system upgrade data and SSD firmware upgrade data;
analyzing the embedded system upgrading data and the SSD firmware upgrading data from the embedded system upgrading file;
carrying out upgrading processing on the embedded system according to the embedded system upgrading data;
and performing firmware upgrading processing on the SSD connected with the SSD interface according to the SSD firmware upgrading data, wherein the electronic equipment is provided with the SSD interface.
2. The method of claim 1, wherein the SSD firmware upgrade data comprises: at least one SSD firmware upgrade data, each SSD firmware upgrade data having a unique SSD identification, the SSD identification being represented by a model of the SSD or by a model and version of the SSD;
after the embedded system upgrade data and the SSD firmware upgrade data are analyzed from the embedded system upgrade file, the method further comprises the following steps:
sequentially acquiring SSD identifiers of SSDs connected with each SSD interface, and searching SSD firmware upgrading data matched with the SSD identifiers in the SSD firmware upgrading data according to the acquired SSD identifiers;
the firmware upgrading processing of the SSD connected with the SSD interface according to the SSD firmware upgrading data comprises the following steps:
and performing firmware upgrading treatment on the SSD corresponding to the obtained SSD identifier according to the matched SSD firmware upgrading data.
3. The method of claim 2, wherein when the SSD identification is represented by the model and version of the SSD, the searching for SSD firmware upgrade data matching the SSD identification in the SSD firmware upgrade data comprises:
looking up in SSD firmware upgrade data: SSD firmware upgrade data having a model identical to that of the SSD and a version higher than that of the SSD.
4. The method according to claim 1, wherein the embedded system is upgraded according to the embedded system upgrade data; the firmware upgrading treatment of the SSD connected with the SSD interface according to the SSD firmware upgrading data comprises the following steps:
carrying out upgrading processing on the embedded system according to the embedded system upgrading data; and meanwhile, performing firmware upgrading treatment on the SSD connected with the SSD interface according to the SSD firmware upgrading data.
5. The method of claim 1, wherein after parsing the embedded system upgrade data and the SSD firmware upgrade data from the embedded system upgrade file, the upgrading the embedded system according to the embedded system upgrade data further comprises:
saving the SSD firmware upgrade data to a nonvolatile storage medium;
the step of performing firmware upgrade processing on the SSD connected to the SSD interface according to the SSD firmware upgrade data after performing upgrade processing on the embedded system according to the embedded system upgrade data further includes:
restarting the embedded system;
the firmware upgrading processing of the SSD connected with the SSD interface according to the SSD firmware upgrading data comprises the following steps:
and reading the SSD firmware upgrading data from the nonvolatile storage medium, and performing firmware upgrading processing on the SSD connected with the SSD interface according to the read SSD firmware upgrading data.
6. A solid state drive SSD firmware upgrading device is applied to an electronic device with an embedded system, and the electronic device is provided with an SSD interface, and the device comprises:
the upgrading file acquisition module is used for receiving the upgrading request and acquiring an embedded system upgrading file, wherein the file comprises embedded system upgrading data and SSD firmware upgrading data;
the upgrade file analyzing module is used for analyzing the upgrade data of the embedded system and the upgrade data of the SSD firmware from the upgrade file of the embedded system;
the embedded system upgrading processing module is used for upgrading the embedded system according to the embedded system upgrading data;
and the SSD upgrading processing module is used for carrying out firmware upgrading processing on the SSD connected with the SSD interface according to the SSD firmware upgrading data.
7. The apparatus of claim 6,
the SSD upgrading processing module is specifically used for sequentially acquiring the SSD identifier of each SSD connected with the SSD interface, and searching SSD firmware upgrading data matched with the SSD identifier in the SSD firmware upgrading data according to the acquired SSD identifier; and performing firmware upgrading treatment on the SSD corresponding to the obtained SSD identifier according to the matched SSD firmware upgrading data.
8. The apparatus of claim 7, wherein the SSD identification is represented by a model and a version of the SSD, and the SSD upgrade processing module finding the SSD firmware upgrade data matching the SSD identification in the SSD firmware upgrade data comprises:
looking up in SSD firmware upgrade data: SSD firmware upgrade data having a model identical to that of the SSD and a version higher than that of the SSD.
9. The apparatus of claim 6, wherein the electronic device is a hard disk video recorder.
10. An electronic device comprising the solid state drive SSD firmware upgrade apparatus of any of claims 6 to 9.
CN201911165082.4A 2019-11-25 2019-11-25 Solid state drive firmware upgrading method and device and electronic equipment Pending CN112835600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911165082.4A CN112835600A (en) 2019-11-25 2019-11-25 Solid state drive firmware upgrading method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911165082.4A CN112835600A (en) 2019-11-25 2019-11-25 Solid state drive firmware upgrading method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112835600A true CN112835600A (en) 2021-05-25

Family

ID=75922839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911165082.4A Pending CN112835600A (en) 2019-11-25 2019-11-25 Solid state drive firmware upgrading method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112835600A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218244A (en) * 2013-05-17 2013-07-24 烽火通信科技股份有限公司 Software updating and upgrading method of communication equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218244A (en) * 2013-05-17 2013-07-24 烽火通信科技股份有限公司 Software updating and upgrading method of communication equipment

Similar Documents

Publication Publication Date Title
CN112131099B (en) Version upgrading test method and device
CN107783777A (en) A kind of upgrade method, equipment and the system of vehicle-mounted integral machine
US20190213171A1 (en) Directory Deletion Method and Apparatus, and Storage Server
CN108650287B (en) Upgrading method and device for terminal device in Internet of things and computer readable medium
CN104461611A (en) Method for refreshing node BIOSes of RACK cabinet in batches
CN105119732A (en) Device and method for distributing hosts in cluster environment
CN102981949A (en) Method for on-line automatic tests of server
CN107632901A (en) A kind of self-repair method and device of application program operation exception
CN109144799A (en) Integrated testing method, apparatus, computer equipment and storage medium
CN112416803A (en) Automatic testing method and device
CN111124603A (en) CD-ROM mounting method, device and related equipment
CN109840103B (en) Method and device for updating application program container and storage medium
CN110941520B (en) Hardware function test system and method based on two-out-of-two safety control unit
CN109660386B (en) Software upgrading method for semiconductor memory aging test system
CN111651237A (en) Method and device for acquiring monitoring data of virtual machine in Docker container
CN113190241B (en) Method and device for expanding capacity of data partition, electronic equipment and storage medium
CN103530142A (en) Android system upgrading method and system based on storage device
CN103645895A (en) Automatic configuration method and cloud compiling system
CN112835600A (en) Solid state drive firmware upgrading method and device and electronic equipment
CN109660392B (en) Hardware unification self-adaptive management deployment method and system under Linux system
CN108415711B (en) Method for burning MAC address on line
CN110674171A (en) Script generation method and device and data processing method and device
CN113992739B (en) Local area network OTA firmware upgrading device, method and system
CN113821438A (en) Application response performance test method and system and computing equipment
CN107436790A (en) A kind of component upgrade management method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210525