CN108509215B - System software replacing method and device, terminal equipment and storage medium - Google Patents

System software replacing method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN108509215B
CN108509215B CN201810240841.8A CN201810240841A CN108509215B CN 108509215 B CN108509215 B CN 108509215B CN 201810240841 A CN201810240841 A CN 201810240841A CN 108509215 B CN108509215 B CN 108509215B
Authority
CN
China
Prior art keywords
resource file
original
system software
file
original resource
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
Application number
CN201810240841.8A
Other languages
Chinese (zh)
Other versions
CN108509215A (en
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810240841.8A priority Critical patent/CN108509215B/en
Publication of CN108509215A publication Critical patent/CN108509215A/en
Application granted granted Critical
Publication of CN108509215B publication Critical patent/CN108509215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

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 invention discloses a method and a device for replacing system software, terminal equipment and a storage medium, wherein the method comprises the following steps: detecting and acquiring an original resource file of system software, and storing the original resource file to a first preset directory; saving the running resource file of the system software in a second preset directory as a backup resource file; the operating resource file is configured according to the requirement of a user on the system; and replacing the operating resource file with an original resource file in a first preset directory. The invention solves the problem that the whole mirror image file of the system software needs to be refreshed, and realizes the effect that the system software customized by a user can be replaced by the original system software without upgrading the system software again.

Description

System software replacing method and device, terminal equipment and storage medium
Technical Field
The embodiment of the invention relates to application software technology, in particular to a method and a device for replacing system software, terminal equipment and a storage medium.
Background
Along with the development of science and technology, intelligent terminal's function is more and more diversified. The intelligent terminal is provided with an independent mobile operating system, and the functions of the terminal can be expanded by installing programs such as application software, games and the like.
At present, an Android system is used as an open-source operating system, many manufacturers develop the Android system for the second time on the basis of the open-source operating system, and customize functions with own characteristics, but in order to meet specific scene requirements, system software customized by the manufacturers needs to be replaced by original system software. In the prior art, the most common flashing mode is a system recovery mode of a terminal, and when a user selects to recover the system or upgrade the system according to a prompt, system software in a flashing package provided by the user is written into a system partition of a built-in memory of an intelligent terminal in an Over-the-Air Technology (OTA) or line flashing (a terminal is connected to a computer through a data line and flashing is performed through flashing software) mode, so that the original system is covered.
However, in the process of implementing the above scheme, the inventor finds that the entire image file of the system software needs to be refreshed by adopting the current OTA or line refresh mode, that is, the system software needs to be restored or upgraded again.
Disclosure of Invention
The invention provides a method and a device for replacing system software, terminal equipment and a storage medium, which can replace system software customized by a user with original system software without upgrading the system software again.
In a first aspect, an embodiment of the present invention provides a method for replacing system software, where the method includes:
detecting and acquiring an original resource file of system software, and storing the original resource file to a first preset directory;
saving the running resource file of the system software in a second preset directory as a backup resource file; the running resource file is a resource file configured according to the requirement of a user on the system;
and replacing the operating resource file with an original resource file in the first preset directory.
In a second aspect, an embodiment of the present invention further provides a device for replacing system software, where the device includes:
the system comprises a detection acquisition module, a first storage module and a second storage module, wherein the detection acquisition module is used for detecting and acquiring an original resource file of system software and storing the original resource file to a first preset directory;
the saving module is used for saving the running resource file of the system software in a second preset directory as a backup resource file; the running resource file is a resource file configured according to the requirement of a user on the system;
and the replacing module is used for replacing the running resource file with an original resource file in the first preset directory.
In a third aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of replacing system software as described in any one of the above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for replacing system software as described in any one of the above.
The method comprises the steps of detecting and acquiring an original resource file of system software, and storing the original resource file to a first preset directory; saving the running resource file of the system software in a second preset directory as a backup resource file; the operating resource file is replaced by the original resource file in the first preset directory, the problem that the whole mirror image file of the system software needs to be written by a flash is solved, and the effect that the system software customized by a user can be replaced by the original system software without upgrading the system software again is achieved.
Drawings
Fig. 1 is a flowchart of a method for replacing system software according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method for replacing system software according to a second embodiment of the present invention.
Fig. 3 is a flowchart of another method for replacing system software according to the second embodiment of the present invention.
Fig. 4 is a flowchart of a method for replacing system software according to a third embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a system software replacing apparatus according to a fourth embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a terminal device in a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
In each embodiment of the present invention, the whole terminal device may have a MCU (micro controller Unit) and a main chip for matching. When the terminal equipment is in a standby state, only the MCU works, and the main chip is in a shutdown state at the moment, namely all the complete machines are in a low power consumption stage. After the whole machine is started, the MCU shares part of function processing for the main chip. Illustratively, the functions of the MCU processing may include: power control, combined key function of a key board, coding format of infrared remote control, RS232 protocol customization and the like. The combined key function of the key board, the coding format of the infrared remote control and the protocol customization of the RS232 can be upgraded or restored according to the needs of users.
Example one
Fig. 1 is a flowchart of a method for replacing system software according to an embodiment of the present invention, where the embodiment is applicable to a situation of replacing system software of a mobile terminal, and the method can be executed by a device for replacing system software according to an embodiment of the present invention, and the device can be implemented in a software and/or hardware manner and can be generally integrated in a terminal device. The method for replacing the system software specifically comprises the following steps:
s110, detecting and acquiring an original resource file of the system software, and storing the original resource file to a first preset directory. Specifically, the system software refers to a system for controlling and coordinating computers and external devices and supporting development and operation of application software. In the scheme, the system software is applied to the intelligent terminal, such as a notebook, a tablet computer, a mobile phone and the like. Certainly, the scheme does not limit the intelligent terminal, and is applicable to replacing system software of the intelligent terminal equipment provided with the Android system.
Of course, the original resource file is a resource file for the user to finally replace the system software of the intelligent terminal device with the system software, and may include: an apk file and a bin file. The Android Application package file (apk) is an Application installation file format on the Android operating system, and the Android Application package file (apk) is called an Application package file in English.
Specifically, in practical applications, after a user (which may be a manufacturer of the intelligent terminal device or an individual who changes system software of the intelligent terminal device by himself or herself) takes an application apk provided by a third-party company, the user decompresses the apk, then compiles an android.mk file for the apk, and then source code compiling is performed on the compiled android.mk file.
Before a user writes an apk file, original resource files of system software, such as the apk file and a bin file, are saved in a specified directory for backup in order to replace the system software of the intelligent terminal system. Of course, the original resource file of the system software may be the system software configured by the factory of the system software, or may be a version of the system software that has been reconfigured by the user. The original resource file of the system software is not limited herein, and may be backed up according to the selection of the user.
For example, in order to upgrade or restore system software of an intelligent terminal device, in this scheme, taking the intelligent terminal device as a tablet computer as an example, an original resource file of the system software acquired from a mobile storage device or a system partition may be copied to a system/tmp directory to prevent a failure of upgrading the system software due to plugging and unplugging of the mobile storage device or communication abnormality during upgrading.
The mobile storage device may be a usb disk, or may be a mobile hard disk, as long as it is an external storage device of the terminal device, and this is not limited.
S120, storing the running resource file of the system software in a second preset directory as a backup resource file; the running resource file is a resource file configured according to the requirement of a user on the system.
In this solution, the application apk can be reconfigured according to the needs of the user for the system, so-called secondary development. In order to facilitate the user to replace the customized system software, the running resource file of the Android system software which is adopted by the intelligent terminal equipment is backed up and stored in the specified directory.
For example, when the system of the tablet computer used by the user is the Android system, and the system software run by the Android system is customized again for the user according to the user's own needs. Now, in order to bid for use, the user needs to replace the system software, and in order to facilitate the user to replace the customized system software again, the customized apk file and bin file need to be backed up to the place under the system/vendor/customer.
The name of the/system/vendor/customer directory involved in the scheme is only based on the currently commonly used name, and is not limited, and the file itself is within the protection scope of the present invention as long as the essence and function of the file are consistent with the original resource file and the running resource file in the scheme.
And S130, replacing the running resource file with an original resource file in a first preset directory.
In this scheme, when the system memory is large enough, a method of independent partition of multi-user programs can be used, or a method of initializing variables by configuration. When the method of independent partitioning of the multi-user program is adopted, assuming that system resources are divided into a user A, a user B, a user C and a user D, the system resources are divided into a boot loader partition, a user A main program partition, a user B main program partition, a user C main program partition and a user D main program partition, and when user identification information is read in the starting stage of the boot loader partition, the partition running main program corresponding to the user is skipped to so as to realize the replacement between the original resource file and the running resource file; when the file is replaced by the method for configuring the initialization variable, as the system stores the main program partitions required by all users, when the dynamic replacement of the system software is triggered, the Android system sends the user information of the current replacement of the system software, and the MCU loads the global variable corresponding to the user running condition, and each module of the terminal equipment calls different running mechanisms according to the running condition to realize the replacement of the resource file of the system software.
It should be noted that, when the system software is replaced by a script, the original resource file and the running resource file need to be compared and analyzed. Specifically, when the apk file, the bin file and other files in the original resource file and the operating resource file have the same resource file, the same resource file is not updated, and only the resource files in the original resource file and the operating resource file are required to be operated, for example, if the bin files in the original resource file and the operating resource file contain the bin files but the resource files in the directories are different, the bin file of the operating resource file is replaced by the bin file of the original resource file, and the operating resource file is customized by a client according to the requirement of the client and contains more folders, when the operating resource file is used for replacing system software, redundant customized resource files are required to be deleted, so that the system software is replaced.
The script can adopt a shell script, a Python script and a ruby script, and the script is not limited as long as the system software can be replaced.
Specifically, after the operating resource file of the system software in the intelligent terminal device is replaced by the original resource file, the authority is re-managed according to the configuration of the original resource file, and the historical application related file is removed. Of course, it is optional to clear the history application related files, and some ROM (read only memory) software can be directly replaced without clearing, but some ROM software must be completely cleared to perform the flash.
According to the technical scheme of the embodiment, original resource files of system software are detected and obtained, and the original resource files are stored in a first preset directory; saving the running resource file of the system software in a second preset directory as a backup resource file; the technical means of replacing the running resource file with the original resource file in the first preset directory solves the problem that the whole mirror image file of the system software needs to be written over, and achieves the effect that the system software customized by a user can be replaced with the original system software without updating the system software again.
Example two
Fig. 2 is a flowchart of a method for replacing system software according to a second embodiment of the present invention, which is applicable to a situation of replacing system software of a terminal device. In this embodiment, based on the first embodiment, further optimization is performed on detecting and acquiring an original resource file of system software, saving the original resource file to a first preset directory, and replacing an operating resource file with the original resource file in the first preset directory, which specifically includes the following steps:
s210, storing the original apk file and the original bin file of the system software into an Android system partition, and packaging the original apk file and the original bin file to generate an original resource file of the system software.
In the scheme, the original apk file and the original bin file of the system software are stored in the appointed directory and packaged to generate the mirror image file of the original resource file of the system software, so that the system software of the intelligent terminal equipment can be replaced in the follow-up process. The image file refers to the same original content as the carrier such as the optical disc, that is, the file structure, the hidden file, and the like, even including the encryption information of the optical disc, and the like, can be completely copied.
Illustratively, the original setting.apk is packaged into/system/vendor/general/apk/directory, and the user customized setting.apk is packaged into/system/app/directory. Likewise, original logo.bin files can be packaged under a/system/vendor/general/bin/directory, while user customized logo.bin files can be packaged under a/system/app/directory.
Specifically, before updating the system software of the intelligent terminal, resource files of the system software need to be packaged, and illustratively, a user-customized apk file is copied to/system/app/directory, and a user-customized bin file is copied to/system/app/directory. The bin file customized by the user can be boot music, boot animation and the like.
The method comprises the following specific operations that the user customized apk file can be copied to a system/app/directory through an RE manager: before operation, mounting/system/app/directory as read-write; moreover, the system software name cannot have Chinese characters, spaces, other special characters and the like; if the mobile terminal cannot move and the display space is insufficient, the mobile terminal can move to the data/app first and then move to the system/app/directory, and partial resource files which are not needed by currently running system software can also be deleted.
S220, detecting the mobile storage device associated with the terminal device, and judging whether the original resource file of the system software is copied in the mobile storage device.
Specifically, if the original resource file is detected in the mobile storage device associated with the terminal device, step S230 is executed; if the original resource file is not detected, step S240 is executed. In the scheme, before detecting the mobile storage device associated with the intelligent terminal device, preparation needs to be made for replacing system software, for example, permission management and partition read-write mounting are performed through instructions. Illustratively, changes to operating permissions may be made by running "chmod 777 file" using the bash shell command; the reads and writes for the partition are re-mounted, and a bash shell command can be used to run "mount-o-remount, rw/system". Meanwhile, in order to prevent the mobile storage device from being plugged or abnormally causing failure in replacing or upgrading system software in the replacement process of the resource files, the original resource files are copied to a specified directory in advance, and before judging whether the original resource files of the system software are copied in the mobile storage device, a folder is created in advance for copying the original resource files to the specified directory, for example, a bash shell command is used for running 'busy shell mkdir-p $ TEMP _ APK'.
The reason why the mobile storage device is preferentially detected and whether the image file of the original resource file is stored is to save the space of the emmc (embedded Multi Media card) of the Android system. The backup data stored in the system partition obviously occupies a part of the eMMC space, but in order to save the eMMC space and quickly replace the system software customized by the user, the original resource file of the system software can be stored in the mobile storage device.
For example, if A, B, C and D four custom system software needs to be added and the backup data for each custom system software occupies 100M, 400M of eMMC storage space needs to be consumed. However, if the backup data of the system software is stored in the removable storage device, the removable storage device only needs to store 100M of a certain user (for example, a user a), and the 400M space saved by the eMMC can be reserved for the user to use.
Meanwhile, the original resource file is placed in the mobile storage device, and the corresponding version can be updated conveniently. For example, if a user's system software (e.g., user a) is kept in an old version in the system partition, the entire system is upgraded (including normal data and backup A, B, C and user D data) in the normal process to ensure that the user a is a new version. If the mobile storage device is provided, the backup data (for example, the latest version of the user a) of the original resource file of the mobile storage device is preferentially used for replacement, and the latest version can be used after the whole device is restarted. And after the mobile storage device is replaced, judging that the software of the current client A is latest, and then restoring the current latest data to the system partition.
Meanwhile, the original resource files of the system software are stored in the mobile storage device and the resource files of the system partitions are the same, and only the stored paths are different from the system. For example: path of the mobile storage device in the system: /mnt/sda 1/; and stored in the system partition: system.
And S230, storing the original resource file to a first preset directory.
In the scheme, in order to prevent the upgrading process from failing due to plugging and unplugging of a mobile storage device or a communication system in the process of upgrading the system software, the original resource file of the system software is firstly copied to a system/tmp directory, and the resource file is verified after the copying is completed, namely whether the verification value of the resource file in the system/tmp directory is consistent with the verification value of the resource file stored in the mobile storage device is compared, if the verification fails, the data of the resource file is defaulted to be invalid data, and the upgrading or restoring of the system software to the intelligent terminal device is not performed.
S240, detecting the Android system partition to obtain an original resource file, and storing the original resource file in a first preset directory.
Specifically, when the original resource file of the system software is not detected in the mobile storage device, the Android system partition is detected, and the detected original resource file is saved in a/system/tmp directory. The/system/tmp directory is a mapping of the memory, and basically, the same as reading the mobile storage device or reading the system partition, the contents are copied to the DDR memory first. The memory is DDR (Double Data Rate ) instead of eMMC.
On one hand, the original resource files of the mobile storage device and the system partition are provided with a unified outlet, namely, an inlet of the original resource files of the system software is replaced, and attention does not need to be paid to the processing procedures of S250-S280; on the other hand, the mobile storage device is prevented from being unstable in communication and being accidentally pulled out in the communication process, so that the replacement of system software is failed.
S250, storing the running resource file of the system software in a second preset directory as a backup resource file; the running resource file is a resource file configured according to the requirement of a user on the system.
S260, comparing and analyzing the running resource files and the original resource files in the first preset directory, and identifying and extracting the same resource files.
In the scheme, the original resource files in the/system/tmp directory and the resource files of the system software which is installed with the intelligent terminal equipment of the Android system and runs are compared and analyzed, the same files contained in the two resource files are identified and extracted, and when the same files are replaced in S280, the same files are not replaced.
For example, assuming that a user customizes the startup music and the startup animation of the smartphone by himself, the operating resource file of the smartphone includes a Boot Setting folder, and the related instructions for the startup music and the startup animation of the smartphone are included in the folder. However, the operating resource file of the smart phone needs to be replaced by the original resource file, and the Boot Setting folder is not needed in the original resource file. Meanwhile, the original resource file is provided with a resource file related to the default Ring tone of the smart phone, namely a Ring folder, and the folder for operating the Ring tone in the resource file is named as Custom Ring, so that the resource files except the Boot Setting file, the Ring folder and the Custom Ring folder can be extracted and used as the same resource file.
S270, the same resource files are removed from the running resource files and the original resource files to respectively obtain the first resource files and the second resource files.
Specifically, after the same resource files in the running resource file and the original resource file are removed, a Boot Setting file, a Ring folder and a Custom Ring folder are respectively obtained, wherein the Boot Setting folder and the Custom Ring folder are used as first resource files; and the Ring folder as the second resource file.
And S280, replacing the first resource file with a second resource file.
Illustratively, the Boot Setting folder and the related content in the folder are deleted, the related content in the Custom Ring folder is replaced by the related content in the Ring folder, and the naming of the folder is changed into the Ring folder, so that the operating resource file of the smart phone is replaced by the original resource file.
According to the technical scheme of the embodiment, the original resource file of the system software is further obtained by detecting the mobile storage device and the system partition which are associated with the terminal device, and is stored in the first preset directory; saving the running resource file of the system software in a second preset directory as a backup resource file; the operating resource file is configured according to the requirement of a user on the system; comparing and analyzing the operating resource file and the original resource file in the first preset directory, and identifying and extracting the same resource file; the method comprises the steps that identical resource files are removed from an operating resource file and an original resource file, so that a first resource file and a second resource file are obtained respectively; the technical means of replacing the first resource file with the second resource file solves the problem of failed replacement caused by plugging and unplugging or communication abnormity of the mobile storage device in the replacement process of the system software, thereby achieving the purpose of conveniently and reliably replacing the system software.
On the basis of the above embodiment, steps S260, S270 and S280 are replaced with the following steps S261, S271 and S281, respectively, as shown in fig. 3, and the specific steps are as follows:
s261, the original resource files in the first preset directory are verified, and a first verification value corresponding to the original resource files is obtained.
Before upgrading the MCU system software, packaging the resource files of the MCU system software, storing the packaged files to the Android system, and replacing the Android system. The specific replacement step may include: firstly, when an instruction or a signal for triggering dynamic switching of user system software is received, replacing or deleting an application and a resource file of an Android system is started, a recovery mode is restarted, formatting/data/and/cache partitions are started, finally the Android system is restarted, and a user configures and loads the resource file of the replaced system software. And when the user configuration of the resource file of the loaded system software is finished, the resource file of the MCU system software is replaced or deleted, so that the MCU system software is replaced.
In the scheme, as the MCU of the terminal equipment adopts an STM32 chip, namely the hardware of the terminal equipment supports CRC32 calculation. Therefore, in the scheme, when the check value of the original resource file is obtained through calculation, the CRC32 check value of the original resource file can be obtained directly through an arithmetic unit of the CRC32, and the calculation of the check value is not required to be realized through software.
Certainly, the CRC16 check value of the original resource file may also be calculated, but in order to make the complexity and accuracy of the check algorithm better and the operation efficiency higher, the scheme uses an STM32 chip, and the check value of the original resource file is directly calculated by hardware to obtain the CRC32 check value of the original resource file.
Specifically, in the scheme, a method for configuring initialization variables is adopted to replace resource files of system software, that is, original resource files corresponding to clients in a first preset directory are obtained according to current user information sent by an Android system, a binary file of the original resource files to be replaced is read into an MCU system memory, and ready-made CRC32 types of java are called to obtain a CRC32 check value of the original resource files.
The original resource file is composed of a plurality of data packets, so the CRC32 check value of the original resource file may be the check value of the entire original resource file, or the check value of each data packet of the original resource file, for example, if the original resource file to be replaced by the user a includes 4 data packets, each data packet includes a corresponding CRC32 check value, so that when the data packets are replaced, only the corresponding data packets with different check values need to be replaced, and all the data packets do not need to be replaced.
S271, calculating and acquiring a second check value corresponding to the running resource file.
Similarly, when the resource file of the system software currently operated by the MCU system is checked and calculated, the checking value corresponding to the main program currently operated by the MCU is obtained directly through communication with the MCU. Similarly, the second check value corresponding to the running resource file is also the CRC32 check value.
And S281, comparing the first check value with the second check value, and replacing the operating resource file with the original resource file through an upgrading protocol when the first check value is different from the second check value.
It should be noted that, when the first check value of the original resource file is different from the second check value of the running resource file, it indicates that the currently running system software of the MCU of the terminal device is not the version corresponding to the user, and needs to be replaced correspondingly. Furthermore, each data packet of the original resource file is verified, and is compared with the verification value of each data packet of the operating resource file for analysis, and the corresponding data packets with different verification values are replaced, and the data packets are the same and do not need to be replaced again.
Illustratively, the terminal device of user A has an original resource file containing four data packages a, b, c, d, and a running resource file containing five data packages a1, b1, c1, d1, and e 1. Wherein, a corresponds to a1, b corresponds to b1, c corresponds to c1, and d corresponds to d1, and the correspondence indicates that the functions, functions or names to be realized by the data packets are the same. And only if the check values corresponding to the data packets a and a1 are the same and the check values of other data packets are not the same, the data packets b1, c1 and d1 are replaced by the data packets b, c and d, and because the original resource file does not have the data packet e, the data packet e1 in the running resource file is correspondingly deleted, so that the system software can be upgraded or restored without updating the system software again.
Wherein, the fixed-length upgrading protocol is adopted in the scheme, the meaning of each byte of the upgrading protocol is shown in table 1,
TABLE 1 table of meaning information for each byte of the upgrade protocol
Wrapping head Packet sequence number Bag identification Checksum Data of
ID NUM CMD CRC DATA[0…59]
Wherein, the packet header ID: when the communication adopts USB communication, the ID is a Report ID in the USB descriptor, for example, the protocol ID is 0 xFC; NUM is the packet sequence number, and the counting is carried out from 0 to 255 circularly; CMD, transmitting command, and marking of each packet; CRC, the checksum of the DATA, i.e., the sum of DATA [0] + DATA [1] +. + DATA [59 ]; data: is 60 bytes, from 0-59, denoted DATA [0.. 59], representing the DATA content.
Illustratively, the upgrade process may specifically include four steps: firstly, a host (an Android main system) sends a CMD (CMD-UPDATE _ START protocol packet as a data packet for starting an upgrading process to a slave (an MCU system to be replaced), and when the slave receives data, a CMD-UPDATE _ ACK protocol packet is returned as a normal response signal to the host; then, the host sends a CMD-UPDATE _ SOL protocol packet as a data packet of the total length of the upgrade file according to the response signal, and the slave feeds back the CMD-UPDATE _ ACK protocol packet as a normal response signal; then, the host sends a CMD (UPDATE _ SOD) protocol packet as a data packet of the content of the upgrade file, the slave also feeds back the CMD (UPDATE _ ACK) protocol packet as normal response information, and the host transmits the content of the upgrade file; and finally, the host sends a CMD (command UPDATE _ EOT) protocol packet as a data packet for sending the content of the upgrade file, and after the slave receives the data packet, the slave takes a feedback CMD (command UPDATE _ NAK) protocol packet as a signal that the slave finishes upgrading.
During the upgrade process, processing may be performed via a fault tolerance mechanism. Specifically, when the length of the original resource file exceeds the length confirmed by the upgrade protocol, the original resource file is stopped to be replaced by the original resource file, and when the original resource file transmission exceeds the maximum duration confirmed by the upgrade protocol, a transmission error, a check error and/or a lack of a data packet, the data of the original resource file is retransmitted.
Illustratively, when the CMD _ UPDATE _ SOL protocol packet is sent as a packet for upgrading the total length of the file at the master, but the file length is in error, the upgrade will be terminated, and the slave will return the CMD _ UPDATE _ CA protocol packet as a signal for terminating the upgrade.
Similarly, when the host sends a CMD _ UPDATE _ SOD protocol packet as a data packet of the content of the upgrade file, since the transmission duration of the content of the original resource file stored in the host exceeds the maximum duration confirmed by the upgrade protocol during the transmission process, the slave returns the CMD _ UPDATE _ NAK protocol packet as a signal for returning after timeout. Meanwhile, when the data packet of the original resource file is in transmission error, check error and/or lack of the data packet, the slave machine returns a CMD _ UPDATE _ SOD protocol packet as a feedback signal, when the host machine receives the protocol packet, the data packet is retransmitted, and the CMD _ UPDATE _ SOD protocol packet contains the sequence number of the data packet in transmission error, check error and/or lack. That is, the host retransmits the data packet with the corresponding sequence number according to the sequence number of the data packet, but not all the data packets of the original resource file.
And when the current running resource file of the MCU system software is replaced by the original resource file, restarting the MCU system, and after the MCU system is restarted, replacing the MCU system software.
In the technical scheme of this embodiment, check values of data packets of an original resource file and an operating resource file are obtained respectively, and the corresponding check values are compared and analyzed, and when the check values of the data packets are different, the data packets with different check values in the operating resource file are replaced with the data packets corresponding to the original resource file, so that the software version of the MCU system can be updated without replacing all the data packets of the operating resource file.
EXAMPLE III
Fig. 4 is a flowchart of a method for replacing system software according to a third embodiment of the present invention, and as shown in fig. 4, the method for replacing system software specifically includes the following steps:
s310, initializing original resource files and environments of system software.
The original resource file and the environment of the system software can be initialized by changing the operation authority and reading, writing and mounting the partitions. Of course, in the scheme, the change of the operation permission and the read-write mounting of the partitions can be realized through the shell script. Illustratively, using the bash shell command to run the "chmod 777 file", the change of the operation authority can be realized; and running 'mount-order, rw/system' by using a bash shell command to realize the reinstallation of the partition.
S320, detecting whether the original resource file of the system software exists in the USB flash disk, and executing the step S350 if the original resource file exists; if there is no original resource file, step S330 is executed.
Specifically, in this embodiment, the removable storage device is assumed to be a usb disk, but this is not limited thereto. Meanwhile, the name of the folder in the usb disk is also assumed to be general file, and is not limited to this, and only the original resource file of the system software is contained in the folder.
S330, detecting whether the system partition system/vector has the original resource file of the system software.
If the original resource file exists, step S350 is executed; if the original resource file does not exist, step S340 is executed.
And S340, terminating the one-key replacing system software.
S350, copying the original resource file of the system software to a/system/tmp directory.
And S360, backing up resources such as/system/app.bin and the like, and saving the resources to a/system/vendor directory.
S370, replace or delete the resource file such as/system/app.bin by using the resource file in the/system/tmp directory.
And S380, managing the authority of the resource files of the replaced system software, and clearing the related resource files under the data/system/tmp/directory.
And S390, restarting the system of the intelligent terminal equipment.
According to the technical scheme of the embodiment, the original resource file of system software is obtained by detecting the U disk and the system partition and is copied to a/system/tmp directory; and resource files in a/system/tmp directory are replaced or deleted, and the resource files of the system software are managed and cleared again, so that one-key replacement of the system software of the intelligent terminal equipment provided with the Android system is realized.
Example four
Fig. 5 is a schematic structural diagram of a system software replacing device according to a fourth embodiment of the present invention, which is applicable to a situation of replacing system software, and the device can be implemented in a software and/or hardware manner, as shown in fig. 5, the system software replacing device specifically includes: a detection acquisition module 410, a save module 420, and a replace module 430.
The detection obtaining module 410 is configured to detect and obtain an original resource file of the system software, and store the original resource file in a first preset directory;
the saving module 420 is configured to save the running resource file of the system software in a second preset directory as a backup resource file; the operating resource file is configured according to the requirement of a user on the system;
the replacing module 430 is configured to replace the running resource file with an original resource file in the first preset directory.
According to the technical scheme of the embodiment, original resource files of system software are detected and obtained, and the original resource files are stored in a first preset directory; saving the running resource file of the system software in a second preset directory as a backup resource file; the technical means of replacing the running resource file with the original resource file in the first preset directory solves the problem that the whole mirror image file of the system software needs to be written over, and the effect that the system software customized by a user can be replaced with the original system software without updating the system software again is achieved.
Further, the replacing device of the system software further comprises:
the original resource file generating module 440 is configured to store an original apk file and an original bin file of the system software into an Android system partition, and package the original apk file and the original bin file to generate an original resource file of the system software.
Further, the detection obtaining module 410 includes:
a determining unit 411, configured to detect a mobile storage device associated with a terminal device, and determine whether an original resource file of system software is copied in the mobile storage device;
the first saving unit 412 is configured to, if the original resource file is detected, save the original resource file to a first preset directory;
the second saving unit 413 is configured to, if the original resource file is not detected, detect the Android system partition to obtain the original resource file, and save the original resource file to the first preset directory.
Further, the replacement module 430 includes:
the comparison and analysis unit 431 is used for performing comparison and analysis on the running resource file and the original resource file in the first preset directory, and identifying and extracting the same resource file;
an obtaining unit 432, configured to remove the same resource file from the running resource file and the original resource file to obtain a first resource file and a second resource file, respectively;
a replacing unit 433, configured to replace the first resource file with a second resource file.
Further, the comparison and analysis unit, the obtaining unit and the replacing unit in the replacing module can be respectively and correspondingly replaced by the first verifying unit, the second verifying unit and the comparison and replacing unit.
The first checking unit is used for checking an original resource file in a first preset directory and acquiring a first checking value corresponding to the original resource file;
the second checking unit is used for calculating and acquiring a second checking value corresponding to the running resource file;
and the comparison and replacement unit is used for comparing the first check value with the second check value and replacing the operating resource file with the original resource file through the upgrading protocol when the first check value is different from the second check value.
The system software replacing device can execute the system software replacing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the executing method.
EXAMPLE five
Fig. 6 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary computer device 512 suitable for use in implementing embodiments of the present invention. The computer device 512 shown in FIG. 6 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 6, computer device 512 is in the form of a general purpose computing device. Components of computer device 512 may include, but are not limited to: one or more processors or processing units 516, a system memory 528, and a bus 518 that couples the various system components including the system memory 528 and the processing unit 516.
Bus 518 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 512 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 512 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 528 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)530 and/or cache memory 532. The computer device 512 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 534 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 518 through one or more data media interfaces. System memory 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 540 having a set (at least one) of program modules 542 may be stored, for example, in system memory 528, such program modules 542 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 542 generally perform the functions and/or methods of the described embodiments of the invention.
The computer device 512 may also communicate with one or more external devices 514 (e.g., keyboard, pointing device, display 524, etc.), with one or more devices that enable a user to interact with the computer device 512, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 512 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 522. Also, computer device 512 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 520. As shown, the network adapter 520 communicates with the other modules of the computer device 512 via the bus 518. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the computer device 512, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 516 executes various functional applications and data processing by running programs stored in the system memory 528, for example, implementing a method for replacing system software provided by the embodiment of the present invention, including:
detecting and acquiring an original resource file of system software, and storing the original resource file to a first preset directory;
saving the running resource file of the system software in a second preset directory as a backup resource file; the operating resource file is configured according to the requirement of a user on the system;
and replacing the operating resource file with an original resource file in a first preset directory.
EXAMPLE six
The sixth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for replacing system software, which is provided in all embodiments of the present invention, and includes:
detecting and acquiring an original resource file of system software, and storing the original resource file to a first preset directory;
saving the running resource file of the system software in a second preset directory as a backup resource file; the operating resource file is configured according to the requirement of a user on the system;
and replacing the operating resource file with an original resource file in a first preset directory.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A method for replacing system software, comprising:
detecting and acquiring an original resource file of system software, and storing the original resource file to a first preset directory; the system software comprises system software of intelligent terminal equipment provided with an Android system;
saving the running resource file of the system software in a second preset directory as a backup resource file; the running resource file is a resource file configured according to the requirement of a user on the system;
replacing the operating resource file with an original resource file in the first preset directory;
wherein the replacing the operating resource file with the original resource file in the first preset directory includes:
verifying the original resource file in the first preset directory, and acquiring a first verification value corresponding to the original resource file;
calculating and acquiring a second check value corresponding to the running resource file;
comparing the first check value with the second check value, and replacing the operating resource file with the original resource file through an upgrading protocol when the first check value is different from the second check value;
and verifying each data packet in the original resource file, comparing and analyzing the data packet with the verification value of each data packet in the operating resource file, and replacing the corresponding data packets with different verification values.
2. The method according to claim 1, before the detecting and obtaining an original resource file of the system software and saving the original resource file to the first preset directory, further comprising:
and storing an original apk file and an original bin file of system software into an Android system partition, and packaging the original apk file and the original bin file to generate an original resource file of the system software.
3. The method of claim 1, wherein the detecting and obtaining an original resource file of the system software and saving the original resource file to a first preset directory comprises:
detecting mobile storage equipment associated with terminal equipment, and judging whether original resource files of system software are copied in the mobile storage equipment;
if the original resource file is detected, storing the original resource file to a first preset directory;
and if the original resource file is not detected, detecting the Android system partition to obtain the original resource file, and storing the original resource file in a first preset directory.
4. The method according to claim 1, wherein replacing the running resource file with an original resource file in the first preset directory comprises:
comparing and analyzing the operating resource file and the original resource file in the first preset directory, and identifying and extracting the same resource file;
the same resource file is removed from the running resource file and the original resource file to respectively obtain a first resource file and a second resource file;
and replacing the first resource file with the second resource file.
5. The method of claim 1, wherein replacing the running resource file with the original resource file via an upgrade protocol comprises:
when the length of the original resource file exceeds the length confirmed by the upgrading protocol, the original resource file is stopped to be replaced by the original resource file;
and when the original resource file transmission exceeds the maximum duration confirmed by the upgrading protocol, transmission errors, check errors and/or lack of data packets, retransmitting the data of the original resource file.
6. An apparatus for replacing system software, comprising:
the system comprises a detection acquisition module, a first storage module and a second storage module, wherein the detection acquisition module is used for detecting and acquiring an original resource file of system software and storing the original resource file to a first preset directory; the system software comprises system software of intelligent terminal equipment provided with an Android system;
the saving module is used for saving the running resource file of the system software in a second preset directory as a backup resource file; the running resource file is a resource file configured according to the requirement of a user on the system;
the replacing module is used for replacing the running resource file with an original resource file in the first preset directory;
wherein the replacement module comprises: the first checking unit is used for checking the original resource file in the first preset directory and acquiring a first checking value corresponding to the original resource file;
the second checking unit is used for calculating and acquiring a second checking value corresponding to the running resource file;
the comparison and replacement unit is used for comparing the first check value with the second check value and replacing the operating resource file with the original resource file through the upgrading protocol when the first check value is different from the second check value;
and verifying each data packet in the original resource file, comparing and analyzing the data packet with the verification value of each data packet in the operating resource file, and replacing the corresponding data packets with different verification values.
7. The apparatus of claim 6, further comprising:
and the original resource file generation module is used for storing the original apk file and the original bin file of the system software into the Android system partition, and packaging the original apk file and the original bin file to generate the original resource file of the system software.
8. A terminal device, characterized in that the device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of replacing system software as claimed in any one of claims 1-5.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of replacing system software according to any one of claims 1 to 5.
CN201810240841.8A 2018-03-22 2018-03-22 System software replacing method and device, terminal equipment and storage medium Active CN108509215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810240841.8A CN108509215B (en) 2018-03-22 2018-03-22 System software replacing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810240841.8A CN108509215B (en) 2018-03-22 2018-03-22 System software replacing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108509215A CN108509215A (en) 2018-09-07
CN108509215B true CN108509215B (en) 2022-03-29

Family

ID=63378111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810240841.8A Active CN108509215B (en) 2018-03-22 2018-03-22 System software replacing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108509215B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096293A (en) * 2019-04-30 2019-08-06 上海睿赛德电子科技有限公司 A kind of general Bootloader implementation method based on STM32 with OTA upgrade function
CN110580169A (en) * 2019-08-16 2019-12-17 深圳市同洲电子股份有限公司 method for copying and rewriting android system through USB storage equipment
CN110673827B (en) * 2019-08-27 2022-12-20 广州视源电子科技股份有限公司 Resource calling method and device based on android system and electronic equipment
CN110865796B (en) * 2019-09-29 2023-07-25 深圳市火乐科技发展有限公司 Software customization method and device for projection equipment
CN111240738B (en) * 2020-01-20 2023-11-21 北京有竹居网络技术有限公司 File processing method, device, equipment and medium
CN113852717B (en) * 2021-09-27 2024-03-19 努比亚技术有限公司 Wallpaper module position migration method, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377744A (en) * 2008-09-24 2009-03-04 深圳华为通信技术有限公司 Method and apparatus for recovering terminal equipment software upgrade
CN101409074A (en) * 2008-11-24 2009-04-15 杭州鑫方软件有限公司 Method for updating embedded speech identification system function
WO2013138895A1 (en) * 2012-03-22 2013-09-26 Irdeto Canada Corporation Updating software components
CN105824722A (en) * 2016-03-18 2016-08-03 苏州三星电子电脑有限公司 Backup restoring system for computer cloud

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8869138B2 (en) * 2011-11-11 2014-10-21 Wyse Technology L.L.C. Robust firmware update with recovery logic
CN102360299B (en) * 2011-09-30 2015-08-26 奇智软件(北京)有限公司 Software system resetting method, server and client
CN102650947B (en) * 2012-04-01 2015-06-24 广东欧珀移动通信有限公司 Continuous increment over-the-air upgrade method of Android handheld equipment
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN106155729B (en) * 2015-04-21 2020-02-14 阿里巴巴集团控股有限公司 Lua script hot updating method, device and system
AU2017262647A1 (en) * 2016-05-09 2018-12-20 Rapidsos, Inc. Systems and methods for emergency communications
CN106528086A (en) * 2016-10-10 2017-03-22 广州视源电子科技股份有限公司 Method and system for upgrading Android software
CN106911502B (en) * 2017-02-22 2019-11-12 烽火通信科技股份有限公司 A kind of upgrade method and system of intelligent home gateway equipment
CN107783778B (en) * 2017-10-30 2020-04-10 厦门亿联网络技术股份有限公司 Increment upgrading method based on characteristic value table look-up method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377744A (en) * 2008-09-24 2009-03-04 深圳华为通信技术有限公司 Method and apparatus for recovering terminal equipment software upgrade
CN101409074A (en) * 2008-11-24 2009-04-15 杭州鑫方软件有限公司 Method for updating embedded speech identification system function
WO2013138895A1 (en) * 2012-03-22 2013-09-26 Irdeto Canada Corporation Updating software components
CN105824722A (en) * 2016-03-18 2016-08-03 苏州三星电子电脑有限公司 Backup restoring system for computer cloud

Also Published As

Publication number Publication date
CN108509215A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
KR101143112B1 (en) Applying custom software image updates to non-volatile storage in a failsafe manner
CN112328435B (en) Method, device, equipment and storage medium for backing up and recovering target data
US10303459B2 (en) Electronic system with update control mechanism and method of operation thereof
CN109710317B (en) System starting method and device, electronic equipment and storage medium
US10228993B2 (en) Data dump for a memory in a data processing system
CN108733311B (en) Method and apparatus for managing storage system
CN111813428A (en) Method and device for upgrading terminal firmware, electronic equipment and storage medium
US11886886B2 (en) System and method for runtime synchronization and authentication of pre-boot device drivers for a rescue operating system
US11531498B2 (en) Peer storage device messaging over control bus
CN111104201A (en) System migration method and device, electronic equipment and storage medium
US11989548B2 (en) Pushing a firmware update patch to a computing device via an out-of-band path
CN113672270A (en) Upgrading method, computer system and remote upgrading device
CN111459524A (en) Software upgrading method, device and system
US11861349B2 (en) Modular firmware updates in an information handling system
US11226755B1 (en) Core dump in a storage device
WO2021129331A1 (en) Control method and control device for enabling operations of application program in multiple systems
WO2023198056A1 (en) Firmware update method for embedded device, and embedded device
US10572166B1 (en) Firmware download for a solid state storage card
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
US9971532B2 (en) GUID partition table based hidden data store system
US11231940B2 (en) System and method for automatic recovery of information handling systems
US20240020032A1 (en) Option read-only memory firmware-based remediation
CN114443582B (en) File system mounting method, device, equipment and medium on operating system
US20230350755A1 (en) Coordinated operating system rollback

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