CN110806884A - Method and device for repairing operating system fault - Google Patents

Method and device for repairing operating system fault Download PDF

Info

Publication number
CN110806884A
CN110806884A CN201810887213.9A CN201810887213A CN110806884A CN 110806884 A CN110806884 A CN 110806884A CN 201810887213 A CN201810887213 A CN 201810887213A CN 110806884 A CN110806884 A CN 110806884A
Authority
CN
China
Prior art keywords
operating system
application
repair
repairing
upgrade package
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
CN201810887213.9A
Other languages
Chinese (zh)
Inventor
孙家洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201810887213.9A priority Critical patent/CN110806884A/en
Priority to PCT/CN2019/099488 priority patent/WO2020029967A1/en
Publication of CN110806884A publication Critical patent/CN110806884A/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 discloses a method and a device for repairing operating system faults, application generation equipment, an application upgrading server and an operating system terminal, wherein the method comprises the following steps: running a repair application, and extracting a secure digital Storage (SD) card offline upgrade package in the repair application, wherein the repair application is an application program for repairing an operating system; and calling a system recovery interface, and repairing the operating system file through the SD card offline upgrade package. By the embodiment of the invention, the directional and patch type repairing of major problems can be realized by utilizing the repairing application, the working flow range is not expanded, and the maintenance cost of old projects is saved. And the system fault repairing method can quickly respond to market problems and shorten the period of repairing system-level faults.

Description

Method and device for repairing operating system fault
Technical Field
The present application relates to, but not limited to, the field of communications, and in particular, to a method and an apparatus for repairing an operating system fault, an application generation device, an application upgrade server, and an operating system terminal.
Background
The operating system can be upgraded in an FOTA (Firmware Over-The-Air) online upgrade mode, an SD Card (Secure Digital Memory Card) offline upgrade package mode, and The like. When some kind of system-level fault occurs (e.g., Kernel layer, Native layer of operating system framework, so library generated by writing and compiling in the underlying programming and development language, etc.), the upgrade is usually completed through the above FOTA online upgrade or SD card offline upgrade package. Both upgrading modes belong to a conventional upgrading scheme, and are also schemes supported by a common operating system by default.
The production processes of the two upgrading mode versions are that a complete large version of the software project needs to be constructed, and latest security patches need to be incorporated during the construction of the versions. In practice, especially some old-fashioned projects which have been shipped for a long time may not be maintained any more, and Compatibility risks due to the incorporation of new security patches (which may be mandatory requirements) and also require a long-period CTS (Compatibility Test Suite) Test (which may be mandatory requirements) and the like, which all result in a long version period, are difficult to respond to market problems quickly, and may result in a time-consuming repair for the system level.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a method and a device for repairing operating system faults, application generation equipment, an application upgrade server and an operating system terminal, so as to quickly and effectively repair system-level faults
The embodiment of the invention provides a method for repairing operating system faults, which comprises the following steps:
running a repair application, and extracting a secure digital Storage (SD) card offline upgrade package in the repair application, wherein the repair application is an application program for repairing an operating system;
and calling a system recovery interface, and repairing the operating system file through the SD card offline upgrade package.
The embodiment of the invention also provides a method for repairing the fault of the operating system, which comprises the following steps:
packaging an SD card offline upgrade package into a repair application, wherein the SD card offline upgrade package is used for repairing an operating system file, and the repair application is an application program used for repairing the operating system;
and sending the repair application to an application upgrading server so that an operating system terminal downloads and installs the repair application through the application upgrading server to repair operating system files.
The embodiment of the invention also provides a method for repairing the fault of the operating system, which comprises the following steps:
acquiring a repair application, wherein the repair application is an application program for repairing an operating system, the repair application comprises an SD card offline upgrade package, and the SD card offline upgrade package is used for repairing an operating system file;
and releasing the repair application so that the operating system terminal can install the repair application and repair the operating system file.
An embodiment of the present invention further provides a device for repairing an operating system fault, including:
the system comprises an extraction module, a storage module and a processing module, wherein the extraction module is used for running a repair application and extracting an SD card offline upgrade package in the repair application, and the repair application is an application program for repairing an operating system;
and the repair module is used for calling a system recovery interface and repairing the operating system file through the SD card offline upgrade package.
An embodiment of the present invention further provides a device for repairing an operating system fault, including:
the SD card off-line upgrading system comprises a packaging module, a recovery module and a recovery module, wherein the packaging module is used for packaging an SD card off-line upgrading package into a recovery application, the SD card off-line upgrading package is used for recovering an operating system file, and the recovery application is an application program used for recovering an operating system;
and the sending module is used for sending the repair application to an application upgrading server so that an operating system terminal downloads and installs the repair application through the application upgrading server and repairs operating system files.
An embodiment of the present invention further provides a device for repairing an operating system fault, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a repair application, the repair application is an application program for repairing an operating system, the repair application comprises an SD card offline upgrade package, and the SD card offline upgrade package is used for repairing operating system files;
and the releasing module is used for releasing the repair application so that the operating system terminal can install the repair application and repair the operating system file.
The embodiment of the invention also provides an operating system terminal which comprises a memory, a processor and a computer program which is stored on the memory and can be run on the processor, wherein when the processor executes the program, the method for repairing the operating system fault is realized.
The embodiment of the invention also provides application generation equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the method for repairing the operating system fault is realized.
The embodiment of the invention also provides an application upgrading server which comprises a memory, a processor and a computer program which is stored on the memory and can be run on the processor, wherein when the processor executes the program, the method for repairing the operating system fault is realized.
The embodiment of the invention also provides a computer-readable storage medium, which stores computer-executable instructions, wherein the computer-executable instructions are used for executing the method for repairing the operating system fault.
By the embodiment of the invention, the directional and patch type repairing of major problems can be realized by utilizing the repairing application, the working flow range is not expanded, and the maintenance cost of old projects is saved. And the system fault repairing method can quickly respond to market problems and shorten the period of repairing system-level faults.
Other aspects will be apparent upon reading and understanding the attached drawings and detailed description.
Drawings
Fig. 1 is a flowchart of a method for repairing an operating system fault (applied to an application generating device) according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for repairing operating system failures (applied to an application generating device) according to another embodiment of the present invention;
FIG. 3 is a flowchart of a method for repairing an operating system failure (applied to an application upgrade server) according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for repairing an operating system fault according to an embodiment of the present invention (applied to an operating system terminal);
FIG. 5 is a flowchart of a method for repairing an operating system fault according to another embodiment of the present invention (applied to an operating system terminal);
FIG. 6 is a flow chart of step 401 of an embodiment of the present invention;
FIG. 7 is a flowchart of a method for repairing an operating system fault according to another embodiment of the present invention (applied to an operating system terminal);
FIG. 8 is a flowchart of a method for repairing an operating system fault according to yet another embodiment of the present invention (applied to an operating system terminal);
FIG. 9 is a flow diagram of the generation and publication of a repair application of an application instance of the present invention;
FIG. 10 is a system architecture diagram of an example of an application of the present invention;
FIG. 11 is a flowchart of an operating system terminal performing system failover;
FIG. 12 is a schematic diagram of a device for repairing an operating system fault according to an embodiment of the present invention (applied to an operating system terminal);
FIG. 13 is a schematic diagram of a device for repairing operating system failures (applied to an application generating apparatus) according to an embodiment of the present invention;
FIG. 14 is a schematic diagram of a device for repairing operating system failures (applied to an application upgrade server) according to an embodiment of the present invention;
FIG. 15 is a schematic diagram of an application generation apparatus configuration according to an embodiment of the present invention;
FIG. 16 is a schematic diagram of an application upgrade server composition according to an embodiment of the present invention;
fig. 17 is a schematic diagram of an operating system terminal according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
In the embodiment of the invention, a special application program called as 'repair application' is provided, and system fault repair is completed in an application upgrading mode.
As shown in fig. 1, the method for repairing an operating system fault according to an embodiment of the present invention is applicable to an application generating device, and includes:
step 101, packaging an SD card offline upgrade package into a repair application, wherein the SD card offline upgrade package is used for repairing an operating system file, and the repair application is an application program used for repairing the operating system.
The repair application contains all the characteristics of a common installation package (for example, an APK (Android package)) application, and contains the SD card offline upgrade package.
As shown in fig. 2, in an embodiment, before the step 101, the method further includes:
step 201, arranging the operating system file after fault directional repair in an SD card offline upgrade package; and the SD card offline upgrade package restores the operating system file by replacing the operating system file with the defective operating system file with the operating system file subjected to fault directional repair.
The SD card offline upgrade package can be regarded as an upgrade package with customized functions and is packaged into a repair application. The customized function-containing finger comprises the following steps: the SD card offline upgrade package comprises operating system files subjected to fault directional repair; the internal execution logic replaces and covers the original system file with the system file.
And 102, sending the repair application to an application upgrade server so that an operating system terminal downloads and installs the repair application through the application upgrade server to repair an operating system file.
In this step, a repair application is deployed to an application upgrade server (e.g., an application store), and the SD card offline upgrade package is issued along with the repair application.
The operating system terminal may be a mobile terminal, or a terminal using an operating system, such as a television, a Digital camera, a game machine, and the like, and the mobile terminal may include, for example, a mobile phone, a smart phone, a notebook computer, a Digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (tablet computer), a PMP (Portable Media Player), a navigation device, and the like.
As shown in fig. 3, the method for repairing an operating system failure according to an embodiment of the present invention may be applied to an application upgrade server, and includes:
step 301, a repair application is obtained, wherein the repair application includes an SD card offline upgrade package, and the SD card offline upgrade package is used for repairing an operating system file.
Wherein the repair application is retrievable from an application generation device.
The SD card offline upgrade package comprises an operating system file subjected to fault directional repair, and the operating system file is repaired by replacing the operating system file with a defect with the operating system file subjected to fault directional repair.
And 302, releasing the repair application so that the operating system terminal can install the repair application to repair the operating system file.
Wherein, step 302 may include: and sending the push message corresponding to the repair application to an operating system terminal.
Wherein the push message may be an application upgrade message.
As shown in fig. 4, the method for repairing an operating system fault according to an embodiment of the present invention may be applied to an operating system terminal, and includes:
step 401, running a repair application, and extracting an SD card offline upgrade package in the repair application, where the repair application is an application program for repairing an operating system.
In an embodiment, the extracting the SD card offline upgrade package in the repair application includes: and storing the SD card offline upgrade package in a preset directory.
As shown in fig. 5, in an embodiment, before the running the repair application, the method may further include:
step 501, downloading the repair application.
Receiving a push message corresponding to the repair application, and downloading the repair application; or receiving an instruction for downloading the repair application, and downloading the repair application.
That is, the operating system terminal may download the repair application from the application upgrade server according to the push message, or the operating system terminal may download the repair application from the application upgrade server according to a selection of the user.
In an embodiment, before downloading the repair application, it may be determined whether the repair application has been installed, and when it is determined that the repair application has been installed and the repair application is not uninstalled, the repair application may be uninstalled.
The method comprises the steps of judging whether the repair application is installed or not according to the version of the repair application, and unloading the repair application to avoid occupying the storage space of the terminal when the repair application is installed and indicates that the operating system file is repaired.
Or after downloading the repair application, determining whether the repair application has been installed before, and uninstalling the repair application when it is determined that the repair application has been installed and the repair application has not been uninstalled.
Step 502, installing the repair application.
Wherein, in an embodiment, the repair application is installed in the background of the operating system in a silent mode.
Through background silent installation, the interference to the daily use machine of the user can be reduced.
In another embodiment, the user may also be prompted to install the remediation application with user confirmation.
In an embodiment, after the repairing application is run, a checking step may be further included, as shown in fig. 6, step 401 may include:
step 601, running a repair application;
step 602, checking the terminal model of the operating system;
step 603, determining that the terminal model of the operating system is matched with the SD card offline upgrade package, and extracting the SD card offline upgrade package in the repair application;
step 604, determining that the operating system terminal model is not matched with the SD card offline upgrade package, and ending the process.
Step 402, calling a system Recovery (Recovery) interface, and repairing an operating system file through the SD card offline upgrade package.
After the Recovery interface is called, the method may further include: and checking the SD card offline upgrade package, and entering an SD card offline upgrade mode after the check is passed.
As described above, in an embodiment, the step of repairing the operating system file by the SD card offline upgrade package includes:
and replacing the original operating system file with the defect with the operating system file after the fault directional repair.
As shown in fig. 7, in an embodiment, after the step 402, the method may further include:
step 701, restarting an operating system;
step 702, automatically uninstalling the repair application.
Wherein, when the repair application is automatically uninstalled, the residual data is also automatically cleared.
By automatically unloading the repair application, the storage space of the terminal can be saved, and the interference to the daily use machine of the user can be reduced.
As shown in fig. 8, in an embodiment, after the step 402, the method may further include:
step 801, recovering to the FOTA upgrading mode by performing FOTA upgrading of the full version.
After the system is successfully repaired by the repairing application, the original FOTA mode can be recovered only by carrying out FOTA upgrading of the full version once again in order to not influence the original FOTA version differential upgrading mode.
By the embodiment of the invention, the directional and patch type repair of major problems can be realized, the working flow range is not expanded, and the maintenance cost of old projects is saved. And the system fault repairing method can quickly respond to market problems and shorten the period of repairing system-level faults.
The following is an explanation of an application example.
As shown in fig. 9, generating and publishing the repair application may include the steps of:
step 901, a preparation step, namely manufacturing an SD card offline upgrade package.
The operating system file after fault directional repair is manufactured into the SD card offline upgrade package;
in the execution logic of the off-line upgrade package, the original operating system file with the defect is replaced by the operating system file after the fault directional repair.
Step 902, a build step, making a repair application.
And packaging the SD card offline upgrade package into an operation application, wherein the operation application is called a repair application.
The design logic may include:
checking the target machine type information;
decompressing and extracting an SD card offline upgrade package;
and calling a system Recovery interface, starting an SD card offline upgrade mode, and calling an SD card offline upgrade package execution logic (completing system file repair).
Restarting the system;
and (4) self-unloading.
Step 903, a deployment step, in which the repair application is deployed to an application upgrade server and pushed to an operating system terminal.
As shown in fig. 10, in the application example of the present invention, the application upgrade server 1010 pushes the repair application 1030 to the operating system terminal 1020, the application upgrade client 1021 in the operating system terminal 1020 installs the repair application 1030 including the SD card offline upgrade package 1031, and the operating system fault repair is implemented through the mutual cooperation of the operating system (Recovery) 1022.
As shown in fig. 11, for the operating system terminal 1020, performing system fault repair may include the steps of:
step 1101, receiving a push message corresponding to the repair application sent by an application server.
Step 1102, determine whether the repair application has been installed and is not unloaded, if yes, go to step 1110, if no, go to step 1104.
Step 1103, the application upgrade client in the operating system terminal downloads the repair application.
And step 1104, the application upgrading client automatically and silently installs the repair application.
Step 1105, the repair application is started.
Step 1106, checking whether the terminal model of the operating system is matched with the off-line upgrade package of the SD card, if so, executing step 1107, and if not, ending the process.
Step 1107, releasing the SD card offline upgrade package inside the repair application to a preset directory, and then calling a Recovery interface provided by the operating system to execute Recovery upgrade; when Recovery is upgraded, the SD offline upgrade package is checked; and after the verification is passed, entering an SD offline upgrading mode.
Step 1108, starting the execution logic preset by the SD offline upgrade package: and replacing the original operating system file with the defect with the operating system file after the fault is repaired.
And step 1109, restarting the operating system terminal.
Step 1110, automatically uninstall the repair application.
After step 1109, the repair application is run again after the system is powered on, and at this time, the repair application is automatically unloaded and the residual data is removed. When the repair application is determined to have been installed in step 1103, the repair application is also uninstalled and the data is cleared.
From the above description, it can be seen that the embodiment of the present invention solves the system-level fault repairing problem that can only be solved by FOTA upgrade originally by applying an upgrade method. Different from the FOTA upgrading process, the FOTA upgrading package needs to be manufactured into a binary differential package to be placed in a server for pushing, and system fault repair is completed; the embodiment of the invention completes system fault repair through a special application, namely a repair application, in an application upgrading mode; the embodiment of the invention realizes patch-type and surgical defect repair by innovatively combining different processes such as application upgrade, SD card off-line upgrade and the like, can realize old machine type system level fault repair, and can also be used as a sudden and urgent system problem repair supplementary means to achieve the technical effect of repairing system level faults.
As shown in fig. 12, an embodiment of the present invention further provides an apparatus for repairing an operating system fault, which is applied to an operating system terminal, and includes:
an extraction module 1201, configured to run a repair application, and extract an SD card offline upgrade package in the repair application;
and a repair module 1202, configured to invoke a system recovery interface, and repair the operating system file through the SD card offline upgrade package, where the repair application is an application program for repairing the operating system.
By the embodiment of the invention, the directional and patch type repair of major problems can be realized, the working flow range is not expanded, and the maintenance cost of old projects is saved. And the system fault repairing method can quickly respond to market problems and shorten the period of repairing system-level faults.
In an embodiment, the extracting module 1201 is further configured to, after the repair application is run, check a terminal model of the operating system, and execute a step of extracting the SD card offline upgrade package in the repair application when it is determined that the terminal model of the operating system matches the SD card offline upgrade package.
In an embodiment, the SD card offline upgrade package includes an operating system file after fault-oriented repair, and the repair module 1202 is configured to replace an original operating system file with a defect with the operating system file after fault-oriented repair.
In one embodiment, the apparatus further comprises:
the restarting module is used for restarting the operating system after the operating system file is repaired through the SD card offline upgrade package;
and the unloading module is used for automatically unloading the repair application after restarting the operating system.
In one embodiment, the apparatus further comprises:
the FOTA upgrading module is used for restoring the FOTA upgrading mode by carrying out full-version FOTA upgrading after the SD card offline upgrading package restores the operating system file
As shown in fig. 13, an embodiment of the present invention further provides a device for repairing an operating system fault, which is applied to an application generating device, and includes:
a packaging module 1301, configured to package an SD card offline upgrade package into a repair application, where the repair application is an application program for repairing an operating system, and the SD card offline upgrade package is used to repair an operating system file;
a sending module 1302, configured to send the repair application to an application upgrade server, so that an operating system terminal downloads and installs the repair application through the application upgrade server, and repairs an operating system file.
In one embodiment, the apparatus further comprises:
the setting module is used for setting the operating system file subjected to fault directional repair into an SD card offline upgrade package; and the SD card offline upgrade package restores the operating system file by replacing the operating system file with the defective operating system file with the operating system file subjected to fault directional repair.
As shown in fig. 14, an embodiment of the present invention further provides an apparatus for repairing an operating system failure, which is applied to an application upgrade server, and includes:
an obtaining module 1401, configured to obtain a repair application, where the repair application is an application program for repairing an operating system, and the repair application includes an SD card offline upgrade package, and the SD card offline upgrade package is used for repairing an operating system file;
the publishing module 1402 is configured to publish the repair application, so that the operating system terminal installs the repair application and repairs the operating system file.
In an embodiment, the publishing module 1402 is configured to send a push message corresponding to the repair application to an operating system terminal.
As shown in fig. 15, an embodiment of the present invention further provides an operating system terminal, which includes a memory 1501, a processor 1502, and a computer program 1503 stored in the memory 1501 and executable on the processor 1502, where the processor 1502 implements the method for repairing the operating system fault shown in fig. 1 when executing the program.
As shown in fig. 16, an embodiment of the present invention further provides an application generating apparatus, which includes a memory 1601, a processor 1602, and a computer program 1603 stored on the memory 1601 and capable of running on the processor 1602, where the processor 1602 executes the program to implement the method for repairing the operating system fault shown in fig. 3.
As shown in fig. 17, an embodiment of the present invention further provides an application upgrade server, which includes a memory 1701, a processor 1702 and a computer program 1703 stored in the memory 1701 and executable on the processor 1702, where the processor 1702, when executing the program, implements the method for repairing the operating system fault as shown in fig. 4.
The embodiment of the invention also provides a computer-readable storage medium, which stores computer-executable instructions, wherein the computer-executable instructions are used for the method for repairing the operating system fault.
In this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (17)

1. A method of repairing an operating system failure, comprising:
running a repair application, and extracting a secure digital Storage (SD) card offline upgrade package in the repair application, wherein the repair application is an application program for repairing an operating system;
and calling a system recovery interface, and repairing the operating system file through the SD card offline upgrade package.
2. The method of claim 1, wherein after the running the repair application, further comprising:
checking the terminal machine type of the operating system, and executing the step of extracting the SD card offline upgrade package in the repair application when the terminal machine type of the operating system is determined to be matched with the SD card offline upgrade package.
3. The method of claim 1, wherein the SD card offline upgrade package contains operating system files after fault-directed repair, and the repairing of the operating system files by the SD card offline upgrade package comprises:
and replacing the original operating system file with the defect with the operating system file after the fault directional repair.
4. The method of claim 1, wherein after repairing operating system files via the SD card offline upgrade package, further comprising:
restarting the operating system;
automatically uninstalling the repair application.
5. The method according to any one of claims 1 to 4, wherein after the operating system file is repaired by the SD card offline upgrade package, the method further comprises:
and recovering to the FOTA upgrading mode by downloading FOTA upgrading through the full-version over-the-air firmware.
6. A method of repairing an operating system failure, comprising:
packaging an SD card offline upgrade package into a repair application, wherein the SD card offline upgrade package is used for repairing an operating system file, and the repair application is an application program used for repairing the operating system;
and sending the repair application to an application upgrading server so that an operating system terminal downloads and installs the repair application through the application upgrading server to repair operating system files.
7. The method of claim 6, wherein before packaging the SD card offline upgrade package into the repair application, further comprising:
arranging the operating system file subjected to fault directional repair in an SD card offline upgrade package; and the SD card offline upgrade package restores the operating system file by replacing the operating system file with the defective operating system file with the operating system file subjected to fault directional repair.
8. A method of repairing an operating system failure, comprising:
acquiring a repair application, wherein the repair application is an application program for repairing an operating system, the repair application comprises an SD card offline upgrade package, and the SD card offline upgrade package is used for repairing an operating system file;
and releasing the repair application so that the operating system terminal can install the repair application and repair the operating system file.
9. The method of claim 8,
the SD card offline upgrade package comprises an operating system file subjected to fault directional repair, and the SD card offline upgrade package repairs the operating system file by replacing the operating system file with a defect with the operating system file subjected to fault directional repair.
10. The method of claim 8 or 9, wherein said publishing the repair application comprises:
and sending the push message corresponding to the repair application to an operating system terminal.
11. An apparatus for repairing an operating system failure, comprising:
the system comprises an extraction module, a storage module and a processing module, wherein the extraction module is used for running a repair application and extracting an SD card offline upgrade package in the repair application, and the repair application is an application program for repairing an operating system;
and the repair module is used for calling a system recovery interface and repairing the operating system file through the SD card offline upgrade package.
12. An apparatus for repairing an operating system failure, comprising:
the SD card off-line upgrading system comprises a packaging module, a recovery module and a recovery module, wherein the packaging module is used for packaging an SD card off-line upgrading package into a recovery application, the SD card off-line upgrading package is used for recovering an operating system file, and the recovery application is an application program used for recovering an operating system;
and the sending module is used for sending the repair application to an application upgrading server so that an operating system terminal downloads and installs the repair application through the application upgrading server and repairs operating system files.
13. An apparatus for repairing an operating system failure, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a repair application, the repair application is an application program for repairing an operating system, the repair application comprises an SD card offline upgrade package, and the SD card offline upgrade package is used for repairing operating system files;
and the releasing module is used for releasing the repair application so that the operating system terminal can install the repair application and repair the operating system file.
14. An operating system terminal comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the method for repairing the operating system fault according to any one of claims 1 to 5.
15. An application generating device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for repairing the operating system failure according to claim 6 or 7 when executing the program.
16. An application upgrade server, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the method for repairing the operating system fault according to any one of claims 8 to 10.
17. A computer-readable storage medium storing computer-executable instructions for performing the method for repairing the operating system fault according to any one of claims 1 to 10.
CN201810887213.9A 2018-08-06 2018-08-06 Method and device for repairing operating system fault Pending CN110806884A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810887213.9A CN110806884A (en) 2018-08-06 2018-08-06 Method and device for repairing operating system fault
PCT/CN2019/099488 WO2020029967A1 (en) 2018-08-06 2019-08-06 Method and apparatus for repairing fault in operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810887213.9A CN110806884A (en) 2018-08-06 2018-08-06 Method and device for repairing operating system fault

Publications (1)

Publication Number Publication Date
CN110806884A true CN110806884A (en) 2020-02-18

Family

ID=69414544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810887213.9A Pending CN110806884A (en) 2018-08-06 2018-08-06 Method and device for repairing operating system fault

Country Status (2)

Country Link
CN (1) CN110806884A (en)
WO (1) WO2020029967A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905222A (en) * 2021-03-31 2021-06-04 读书郎教育科技有限公司 Method and system for repairing upgrade exception of Android terminal system
CN114244705A (en) * 2021-11-18 2022-03-25 武汉迈威通信股份有限公司 Switch data safety reading and writing method and safety reading and writing system
CN116418655A (en) * 2023-06-12 2023-07-11 广汽埃安新能源汽车股份有限公司 TBOX fault repairing method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698559A (en) * 2020-06-08 2020-09-22 深圳创维-Rgb电子有限公司 Storage method, television and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164247A (en) * 2013-03-21 2013-06-19 东莞宇龙通信科技有限公司 Method and device for automatically repairing system application
CN103699416A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Detection method and detection device of intelligent device offline upgrade packs
CN104899108A (en) * 2014-12-26 2015-09-09 北京奇虎科技有限公司 Browser restoring method and browser restoring system
CN105094873A (en) * 2014-05-19 2015-11-25 中兴通讯股份有限公司 Handheld terminal system switching method and device
CN105786636A (en) * 2016-03-10 2016-07-20 广东欧珀移动通信有限公司 System repairing method and device
CN106155705A (en) * 2015-03-22 2016-11-23 联想(北京)有限公司 Electronic equipment and OTA restorative procedure
US20170171034A1 (en) * 2015-12-15 2017-06-15 Microsoft Technology Licensing, Llc Dynamic/on-demand packaging as part of deployment
CN107273151A (en) * 2017-05-25 2017-10-20 西安理工大学 A kind of safe Android App feature card methods

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110055841A (en) * 2009-11-20 2011-05-26 삼성전자주식회사 Recovery method of system and apparatus for supplying the same
CN104049999A (en) * 2014-06-19 2014-09-17 福建星网视易信息***有限公司 Automatic storage device repair system based on network and method thereof
CN108319520A (en) * 2018-01-25 2018-07-24 张志和 Mobile device alternate operating system based on secure storage

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164247A (en) * 2013-03-21 2013-06-19 东莞宇龙通信科技有限公司 Method and device for automatically repairing system application
CN103699416A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Detection method and detection device of intelligent device offline upgrade packs
CN105094873A (en) * 2014-05-19 2015-11-25 中兴通讯股份有限公司 Handheld terminal system switching method and device
CN104899108A (en) * 2014-12-26 2015-09-09 北京奇虎科技有限公司 Browser restoring method and browser restoring system
CN106155705A (en) * 2015-03-22 2016-11-23 联想(北京)有限公司 Electronic equipment and OTA restorative procedure
US20170171034A1 (en) * 2015-12-15 2017-06-15 Microsoft Technology Licensing, Llc Dynamic/on-demand packaging as part of deployment
CN105786636A (en) * 2016-03-10 2016-07-20 广东欧珀移动通信有限公司 System repairing method and device
CN107273151A (en) * 2017-05-25 2017-10-20 西安理工大学 A kind of safe Android App feature card methods

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ALRIGHT: "驱动精灵补丁修复模块介绍", 《HTTP://WWW.DRIVERGENIUS.COM/ARTICLES/48.SHTML》 *
SK: "怎样完整地离线更新并升级基于Debian的操作***", 《HTTPS://LINUX.CN/ARTICLE-9305-1.HTML》 *
佚名: "在win10***里面如何使用驱动精灵?", 《HTTPS://WWW.PCONLINE.COM.CN/WIN10/1113/11134562.HTML》 *
佚名: "驱动精灵Win7 32/64位离线版2018官方版", 《HTTP://WWW.BKILL.COM/DOWNLOAD/138391.HTML》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905222A (en) * 2021-03-31 2021-06-04 读书郎教育科技有限公司 Method and system for repairing upgrade exception of Android terminal system
CN112905222B (en) * 2021-03-31 2022-03-11 读书郎教育科技有限公司 Method and system for repairing upgrade exception of Android terminal system
CN114244705A (en) * 2021-11-18 2022-03-25 武汉迈威通信股份有限公司 Switch data safety reading and writing method and safety reading and writing system
CN114244705B (en) * 2021-11-18 2023-09-29 武汉迈威通信股份有限公司 Switch data safety read-write method and safety read-write system
CN116418655A (en) * 2023-06-12 2023-07-11 广汽埃安新能源汽车股份有限公司 TBOX fault repairing method and system
CN116418655B (en) * 2023-06-12 2023-08-08 广汽埃安新能源汽车股份有限公司 TBOX fault repairing method and system

Also Published As

Publication number Publication date
WO2020029967A1 (en) 2020-02-13

Similar Documents

Publication Publication Date Title
CN110806884A (en) Method and device for repairing operating system fault
KR101003888B1 (en) Tri-phase boot process in electronic devices
US8539471B2 (en) Updating firmware of an electronic device
US20100169709A1 (en) System Of Updating Firmware And Method Thereof, And Method Of Creating Firmware
TWI533216B (en) Operating system updating method
CN102334100A (en) Program update device, program update method, and information processing device
CN110333891A (en) The method of enhanced OTA upgrading based on Internet of Things
CN112416406B (en) Terminal equipment upgrading method, device, terminal equipment and medium
CN105511911A (en) System firmware upgrade package generation method and device
CN107220074B (en) Method and device for accessing and upgrading supporting layer software function
CN104007992A (en) Methods and devices for program updating and starting
US20170052779A1 (en) Method and Device for Running Version File
CN106210877A (en) The method for upgrading system of intelligent television and device
KR20170067826A (en) Updating of firmware
CN110597544A (en) Software system upgrading method and device
CN106775874B (en) System upgrading method of terminal equipment
CN114741096A (en) Upgrade processing method, device and storage medium
WO2015184732A1 (en) Bootstrap storage method, bootstrap fault recovery method and device, and computer storage medium
CN111273928B (en) Bootloader design method for self-upgrading
CN113867768A (en) Operating system processing method and device, electronic equipment and storage medium
CN113032183A (en) System management method, device, computer equipment and storage medium
CN110333882B (en) System upgrading method, device, equipment and computer readable medium
CN115951920A (en) Mobile equipment upgrading method and device, storage unit and mobile equipment
CN112395130A (en) System backup method and device
CN110659052B (en) Method and system for updating system software in network equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
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: 20200218