CN112825054B - Data processing method and electronic equipment - Google Patents

Data processing method and electronic equipment Download PDF

Info

Publication number
CN112825054B
CN112825054B CN201911148747.0A CN201911148747A CN112825054B CN 112825054 B CN112825054 B CN 112825054B CN 201911148747 A CN201911148747 A CN 201911148747A CN 112825054 B CN112825054 B CN 112825054B
Authority
CN
China
Prior art keywords
data
chip
processor
memory
starting
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
CN201911148747.0A
Other languages
Chinese (zh)
Other versions
CN112825054A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201911148747.0A priority Critical patent/CN112825054B/en
Publication of CN112825054A publication Critical patent/CN112825054A/en
Application granted granted Critical
Publication of CN112825054B publication Critical patent/CN112825054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides a data processing method and electronic equipment, wherein the electronic equipment comprises a processor, a starting chip, a restoring chip and a memory, wherein the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data. The processor may receive the boot data, the system data of the second operating system, and the program data of the application program after the first port is connected to the restoration chip, then perform system initialization based on the boot data, and load the second operating system based on the received second system data after the system initialization is completed. After the second operating system is loaded, an application program is installed based on the program data, and the stored first system data is replaced by the application program by using the first system backup data stored in the memory. The method and the device can solve the problem that normal operation of the electronic equipment cannot be ensured based on UEFI firmware.

Description

Data processing method and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method and an electronic device.
Background
An operating system and a BIOS (Basic Input Output System, basic input/output system) can be installed in the electronic device, wherein the operating system can be an x86 system such as Windows, linux, and the electronic device can realize backup and restoration of the BIOS and the operating system through UEFI (Unified Extensible Firmware Interface ) firmware contained in the electronic device.
In the related art, during the working process of the electronic device, if a processor in the electronic device receives a backup instruction for backing up system data of an operating system, the processor may backup the system data of the operating system through UEFI firmware, so as to obtain backup data of the operating system. When the electronic device fails in operation, for example, when the BIOS fails in the process of starting the electronic device, the electronic device can acquire backup data of the operating system stored in advance locally through the UEFI firmware, and then restore the operating system according to the backup data. Similarly, the electronic device may backup and restore boot data for the BIOS.
However, when the UEFI firmware is damaged, the electronic device cannot restore the system data of the operating system through the UEFI firmware, so that the electronic device cannot operate normally.
Disclosure of Invention
The embodiment of the application aims to provide a data processing method and electronic equipment, which are used for solving the problem that normal operation of the electronic equipment cannot be ensured based on UEFI firmware. The specific technical scheme is as follows:
in order to achieve the above object, an embodiment of the present application discloses an electronic device, including a processor, a start chip, a restore chip, and a memory, where the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data;
the first port of the processor is connected with the starting chip, and after the starting chip is started, the starting chip is used for acquiring the first system data from the memory and sending the first system data to the processor through the first port;
the processor is used for loading the first operating system based on the first system data after receiving the first system data;
after the first port of the processor is disconnected from the starting chip and the first port of the processor is connected with the restoring chip, the restoring chip is used for sending guide data, system data of a second operating system and program data of an application program to the processor, wherein the system data of the second operating system is used as second system data;
The processor is further used for carrying out system initialization based on the received guide data; loading the second operating system based on the received second system data after system initialization is completed; and after the second operating system is loaded, installing the application program based on the program data, and replacing the stored first system data by using the first system backup data stored in the memory through the application program.
Optionally, the processor is further configured to display, by the application program, a system data restore option for prompting a system data restore operation and a system data backup option for prompting a system data backup operation after the application program is installed based on the program data, execute the step of using the first system backup data stored in the memory to replace the stored first system data after the system data restore option is triggered, and back up the first system data stored in the memory after the system data restore option is triggered.
Optionally, in a case that the first port of the processor is disconnected from the start-up chip and the first port of the processor is connected to the restore chip, the second port of the processor is connected to the start-up chip;
The memory also stores starting backup data;
the processor is further configured to replace, by the application program, the startup data stored in the startup chip with the startup backup data stored in the memory after the application program is installed based on the program data.
Optionally, the processor is further configured to display, by the application program after the application program is installed based on the program data, a system data restoration option for prompting a system data restoration operation, and a startup data restoration option for prompting a startup data restoration operation, and execute the step of using the first system backup data stored in the memory to replace the stored first system data after the system data restoration option is triggered, and execute the step of using the startup backup data stored in the memory to replace the startup data stored in the startup chip after the startup data restoration option is triggered.
Optionally, the processor is further configured to display, through the application program after the application program is installed based on the program data, a system data backup option for prompting a system data backup operation, and a startup data backup option for prompting a startup data backup operation, and back up the first system data stored in the memory after the system data backup option is triggered, and back up startup data stored in the startup chip after the startup data backup option is triggered.
Optionally, the second system data is stored in the memory, or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
Optionally, the method further comprises: a micro control unit;
and the micro control unit is used for controlling the disconnection between the first port of the processor and the starting chip after the micro control unit is started, and the first port of the processor is connected with the reduction chip.
Optionally, the method further comprises: a micro control unit;
and the micro control unit is used for controlling the disconnection between the first port of the processor and the starting chip after the micro control unit is started, wherein the first port of the processor is connected with the reduction chip, and the second port of the processor is connected with the starting chip.
Optionally, the method further comprises: a restore button;
and the reduction button is used for starting the micro control unit.
In order to achieve the above object, an embodiment of the present application discloses an electronic device, including a processor, a start-up chip, a restore chip, and a memory, where the memory stores system data of a first operating system as first system data, and the memory also stores start-up backup data;
The first port of the processor is connected with the starting chip, and after the starting chip is started, the starting chip is used for acquiring the first system data from the memory and sending the first system data to the processor through the first port;
the processor is used for loading the first operating system based on the first system data after receiving the first system data;
after the first port of the processor is disconnected from the starting chip, the first port of the processor is connected with the restoring chip, and the second port of the processor is connected with the starting chip, the restoring chip is used for sending boot data, system data of a second operating system and program data of an application program to the processor, wherein the system data of the second operating system is used as second system data;
the processor is further used for carrying out system initialization based on the received guide data; loading the second operating system based on the received second system data after system initialization is completed; and after the second operating system is loaded, installing the application program based on the program data, and replacing the starting data stored in the starting chip by using the starting backup data stored in the memory through the application program.
Optionally, the second system data is stored in the memory, or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
Optionally, the method further comprises: a micro control unit;
and the micro control unit is used for controlling the disconnection between the first port of the processor and the starting chip after the micro control unit is started, wherein the first port of the processor is connected with the reduction chip, and the second port of the processor is connected with the starting chip.
Optionally, the method further comprises: a restore button;
and the reduction button is used for starting the micro control unit.
In order to achieve the above object, an embodiment of the present application discloses a data processing method, where the method is applied to a restoration chip in an electronic device, the electronic device further includes a processor, a memory, and a startup chip, where the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data, and the method includes:
After the system initialization is completed, the application program is installed based on the received program data, and the first system backup data stored in the memory is used for replacing the stored first system data by the application program, wherein the system data of the second operating system is used as second system data.
Optionally, the second system data is stored in the memory, or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
In order to achieve the above object, an embodiment of the present application discloses a data processing method, where the method is applied to a processor in an electronic device, the electronic device further includes a memory, a start chip, and a restore chip, where the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data, and the method includes:
After a first port of the processor is connected with the starting chip and the starting chip is started, receiving the first system data, and loading the first operating system based on the first system data;
after the first port of the processor is disconnected from the starting chip and the first port of the processor is connected with the restoring chip, receiving guide data sent by the restoring chip, system data of a second operating system and program data of an application program, wherein the system data of the second operating system is used as second system data;
initializing a system based on the received guide data;
loading the second operating system based on the received second system data after system initialization is completed;
and after the second operating system is loaded, installing the application program based on the program data, and replacing the stored first system data by using the first system backup data stored in the memory through the application program.
Optionally, after installing the application program based on the program data, the method further includes:
displaying a system data restoration option for prompting system data restoration operation and a system data backup option for prompting system data backup operation through the application program;
After the system data restore option is triggered, executing the step of replacing the stored first system data with the first system backup data stored in the memory;
and after the system data backup option is triggered, the first system data stored in the memory is backed up.
Optionally, in a case where the first port of the processor is disconnected from the start chip and the first port of the processor is connected to the restore chip, the second port of the processor is connected to the start chip, and start backup data is stored in the memory, the method further includes:
after the application program is installed based on the program data, the starting backup data stored in the memory is used for replacing the starting data stored in the starting chip through the application program.
Optionally, the method further comprises:
after the application program is installed based on the program data, displaying a system data reduction option for prompting a system data reduction operation and a starting data reduction option for prompting a starting data reduction operation through the application program;
After the system data restore option is triggered, executing the step of replacing the stored first system data with the first system backup data stored in the memory;
and after the startup data restoring option is triggered, executing the step of replacing the startup data stored in the startup chip by using the startup backup data stored in the memory.
Optionally, the method further comprises:
after the application program is installed based on the program data, displaying a system data backup option for prompting the system data backup operation and a starting data backup option for prompting the starting data backup operation through the application program;
after the system data backup option is triggered, the first system data stored in the memory is backed up;
and after the starting data backup option is triggered, backing up the starting data stored in the starting chip.
Optionally, the second system data is stored in the memory, or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
The program data is stored in the memory or in the restoration chip.
Optionally, the electronic device further includes a micro control unit, and the method further includes:
and starting the micro control unit so that the micro control unit controls the first port of the processor to be disconnected from the starting chip, and the first port of the processor is connected with the restoring chip.
In order to achieve the above object, an embodiment of the present application discloses a data processing method, where the method is applied to a restoration chip in an electronic device, the electronic device further includes a processor, a memory, and a startup chip, where the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data, and the method includes:
and after the system initialization is completed, the application program is installed based on the received program data, and the starting backup data stored in the memory is used for replacing the starting data stored in the starting chip through the application program.
Optionally, the second system data is stored in the memory, or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
In order to achieve the above object, an embodiment of the present application discloses a data processing method, where the method is applied to a processor in an electronic device, the electronic device further includes a memory, a start-up chip, and a restore chip, where the memory stores system data of a first operating system as first system data, and the memory also stores start-up backup data, and the method includes:
after a first port of the processor is connected with the starting chip and the starting chip is started, loading the first operating system based on the first system data after receiving the first system data;
after the first port of the processor is disconnected from the starting chip, the first port of the processor is connected with the restoring chip, and the second port of the processor is connected with the starting chip, receiving guide data sent by the restoring chip, system data of a second operating system and program data of an application program, wherein the system data of the second operating system is used as second system data;
Initializing a system based on the received guide data;
loading the second operating system based on the received second system data after system initialization is completed;
and after the second operating system is loaded, installing the application program based on the program data, and replacing the starting data stored in the starting chip by using the starting backup data stored in the memory through the application program.
Optionally, the second system data is stored in the memory, or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
Optionally, the electronic device further includes a micro control unit, and the method further includes:
and starting the micro control unit so that the micro control unit controls the first port of the processor to be disconnected from the starting chip, and the first port of the processor is connected with the restoring chip.
In order to achieve the above objective, in a seventh aspect, an embodiment of the present application discloses a restoration chip, where an electronic device where the restoration chip is located further includes a processor, a memory, and a start chip, where the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data;
The reduction chip has a computer readable storage medium, in which a computer program is stored, which when executed by the reduction chip implements the method steps of any of the third or fifth aspects above.
In order to achieve the above object, an embodiment of the present application discloses a processor, where an electronic device where the processor is located further includes a memory, a start chip, and a restore chip, where the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data;
the processor has a computer readable storage medium having a computer program stored therein, which when executed by the processor, implements the method steps of any of the fourth or sixth aspects described above.
In a ninth aspect, in order to achieve the above object, an embodiment of the present application discloses a computer readable storage medium, in which a computer program is stored, which when executed by a processor, implements the method steps of any of the third, fourth, fifth or sixth aspects.
In a tenth aspect, to achieve the above object, an embodiment of the present application discloses a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method steps of any of the third, fourth, fifth or sixth aspects described above.
The electronic device comprises a processor, a starting chip, a restoring chip and a memory, wherein system data of a first operating system is stored in the memory and used as first system data, and system backup data of the first operating system is also stored in the memory and used as first system backup data. The processor may receive the boot data, the system data of the second operating system, and the program data of the application program after the first port is connected to the restoration chip, then perform system initialization based on the boot data, and load the second operating system based on the received second system data after the system initialization is completed. After the second operating system is loaded, an application program is installed based on the program data, and the stored first system data is replaced by the application program by using the first system backup data stored in the memory.
Because the first system data of the first operating system is not required to be restored through the UEFI firmware which is easy to damage, the problem that the normal operation of the electronic equipment cannot be ensured based on the UEFI firmware can be solved.
Of course, it is not necessary for any one product or method of practicing the application to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 5 is a flowchart of a data processing method according to an embodiment of the present application;
FIG. 6 is a flowchart of a data processing method according to an embodiment of the present application;
FIG. 7 is a flowchart of a data processing method according to an embodiment of the present application;
fig. 8 is a flowchart of a data processing method according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to solve the technical problem that normal operation of electronic equipment cannot be ensured based on UEFI firmware in the related art, the embodiment of the application provides a data processing method and the electronic equipment.
In a first aspect, an electronic device provided by an embodiment of the present application is generally described. In the embodiment of the present application, the electronic device may be a device having a data processing function, for example, a computer, a mobile terminal, a monitor, and the like, which is not particularly limited.
As shown in fig. 1, an electronic device provided in an embodiment of the present application includes: the system comprises a processor 110, a starting chip 120, a restoring chip 130 and a memory 140, wherein the memory 140 stores system data of a first operating system as first system data, and the memory 140 also stores system backup data of the first operating system as first system backup data.
In the embodiment of the present application, the first operating system may be a computer program for managing various hardware and software resources in the electronic device, for example, WINDOWS, IOS, mac OS X system, etc. The first system backup data may be initial system data stored during installation of the first operating system, or may be generated by the processor 110 by backing up the system data of the current first operating system according to the received backup instruction, which is not limited in detail. Taking an electronic device as an example of a computer, the processor 110 may be a CPU, the boot chip 120 may be a chip with a BIOS cured, and the memory 140 may be a hard disk.
The second operating system may be an operating system having an application program embedding function, the second operating system may be Linux, and the application program may be an application program having a data restoring function, for example, a one-touch restoring application program.
Alternatively, the storage locations of the second system data, the program data, and the guidance data may be various, for example: the second system data is stored in the memory, or in the restoration chip; the boot data is stored in the memory, or in the restore chip; the program data is stored in the memory or in the restoration chip.
The second system data, the program data, and the guidance data may also be stored in other components having a storage function within the electronic device, and embodiments of the present application are not particularly limited.
In the embodiment of the application, when any data of the data is stored in the restoration chip, the restoration chip can directly send the data to the processor.
When the second system data, the program data, and the boot data are stored in the memory, the memory space of the restoration chip can be saved. When the second system data, the program data and the guide data are stored in the restoring chip, the restoring chip is convenient to directly send the data to the processor, and the data processing efficiency is improved.
The first port 111 of the processor 110 is connected to the start-up chip 120, and after the start-up chip 120 is started, the start-up chip 120 is configured to obtain the first system data from the memory 140, and send the first system data to the processor 110 through the first port 111;
The processor 110 is configured to load the first operating system based on the first system data after receiving the first system data.
After the first port of the processor 110 is disconnected from the start chip 120 and the first port of the processor 110 is connected to the restore chip 130, the restore chip 130 is configured to send boot data, system data of a second operating system, and program data of an application program to the processor 110, where the system data of the second operating system is used as second system data;
a processor 110 for system initialization based on the received boot data; loading a second operating system based on the received second system data after the system initialization is completed; after the second operating system is loaded, an application program is installed based on the program data, and the stored first system data is replaced by the application program using the first system backup data stored in the memory 140.
In practice, the first port 111 of the processor 110 is typically connected to the start-up chip 120, and when the user wants to start up the electronic device, the user can press a power key, then the start-up chip 120 can be started, and then the start-up chip can obtain the first system data from the memory 140 and send the first system data to the processor 110 through the first port 111.
After the processor 110 receives the first system data, the first operating system may be loaded based on the first system data, so that the display component of the electronic device may display an operation interface of the first operating system, and the user may operate the electronic device.
When the first system data is damaged, and the processor 110 cannot successfully load the first operating system, the connection between the first port 111 of the processor 110 and the boot chip 120 may be disconnected, and the first port 111 of the processor 110 and the restore chip 130 may be connected, and the specific process of switching the connection relationship between the processor 110 and the boot chip 120 and the restore chip 130 will be described in detail later.
After being connected to the first port 111 of the processor 110, the reduction chip 130 may transmit boot data to the processor 110, and the processor 110 may then perform system initialization based on the received boot data. After the system initialization is completed, the restoration chip 130 may transmit second system data of the second operating system to the processor 110, and then the processor 110 may load the second operating system based on the received second system data. After loading the second operating system, the reduction chip 130 may transmit program data of the application program to the processor 110, and then the processor 110 may install the application program based on the program data and replace the stored first system data with the first system backup data stored in the memory 140 through the application program.
In the embodiment of the application, the electronic equipment comprises a processor, a starting chip, a restoring chip and a memory, wherein the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data. The processor may receive the boot data, the system data of the second operating system, and the program data of the application program after the first port is connected to the restoration chip, then perform system initialization based on the boot data, and load the second operating system based on the received second system data after the system initialization is completed. After the second operating system is loaded, an application program is installed based on the program data, and the stored first system data is replaced by the application program by using the first system backup data stored in the memory.
Because the first system data of the first operating system is not required to be restored through the UEFI firmware which is easy to damage, the problem that the normal operation of the electronic equipment cannot be ensured based on the UEFI firmware can be solved.
As an implementation manner of the embodiment of the application, the electronic device can also realize the data backup function of the first system data through the processor. Specifically, the processor is further configured to display, through the application program after the application program is installed based on the program data, a system data restoration option for prompting a system data restoration operation and a system data backup option for prompting a system data backup operation, execute a step of using the first system backup data stored in the memory to replace the stored first system data after the system data restoration option is triggered, and back up the first system data stored in the memory after the system data backup option is triggered.
In an implementation, after the processor installs the application program based on the program data, the processor may display, through the application program, a system data restoration option for prompting a system data restoration operation and a system data backup option for prompting a system data backup operation in a preset display interface. The user may then trigger a system data backup option or a system data restore option based on the actual data processing requirements.
When the system data restore option is triggered, the processor may acquire the first system backup data stored in the memory and then replace the stored first system data with the first system backup data.
When the system data backup option is triggered, the processor may copy the first system data stored in the memory to obtain backup data of the first system data. Since the data of the first operating system is changed during the process of using the first operating system by the user, the backup data of the first system is different from the backup data of the first operating system. In one possible implementation, the processor may use the backup data of the first system data as the first system backup data, and replace the first system backup data originally stored in the memory with the backup data of the first system data.
In another possible implementation, the processor may store the backup data and the backup time of the first system data in the memory, respectively. Therefore, after the subsequent system data restoration option is triggered, the processor can display the backup time and the system data restoration option of the first system backup data, and the backup time and the system data restoration option of the backup data of the first system data, so that a user can select which backup data is used for restoring the system data of the first operating system according to actual requirements.
In the embodiment of the application, the electronic device can further comprise a display component, and the processor can display a system data restoration option for prompting the system data restoration operation and a system data backup option for prompting the system data backup operation through the display component.
In the embodiment of the application, the processor can display the system data restoration option for prompting the system data restoration operation and the system data backup option for prompting the system data backup operation through the application program after installing the application program based on the program data. After the system data backup option is triggered, the processor can backup the first system data stored in the memory, so that the processor can realize a data backup function of backing up the system data of the first operating system, and the processor can conveniently restore the data based on backup data obtained by backup after the system data restoration option is triggered.
As an implementation manner of the embodiment of the application, the electronic device may provide a function of restoring the startup data through the processor. Specifically, when the first port of the processor is disconnected from the starting chip and the first port of the processor is connected with the restoring chip, the second port of the processor is connected with the starting chip;
the memory also stores starting backup data; and the processor is also used for replacing the starting data stored in the starting chip by the application program through the starting backup data stored in the memory after the application program is installed based on the program data.
In implementation, when the boot data is damaged, resulting in that the boot chip 120 cannot be booted, the second port of the processor may be connected to the boot chip 120 while disconnecting the first port 111 of the processor 110 from the boot chip 120 and connecting the first port 111 of the processor 110 to the restore chip 130. The specific process of switching the connection between the processor 110 and the start chip 120 and the restore chip 130 will be described in detail later.
After connecting to the start-up chip 120, the processor may replace the start-up data stored in the start-up chip with the start-up backup data stored in the memory by the application after installing the application based on the program data.
In the embodiment of the application, when the starting data is damaged, the first port is disconnected from the starting chip, and the second port of the processor is connected with the starting chip under the condition that the first port of the processor is connected with the restoring chip, and the processor can replace the starting data stored in the starting chip by using the starting backup data stored in the memory through the application program after installing the application program based on the program data, thereby realizing data restoration of the starting data.
As an implementation manner of the embodiment of the present application, the electronic device may provide a data restoration function of the startup data through the processor. Specifically, the processor is further configured to display, through the application program after the application program is installed based on the program data, a system data restoration option for prompting a system data restoration operation, and a startup data restoration option for prompting a startup data restoration operation, execute a step of using first system backup data stored in the memory to replace the stored first system data after the system data restoration option is triggered, and execute a step of using the startup backup data stored in the memory to replace startup data stored in the startup chip after the startup data restoration option is triggered.
In implementation, after the processor installs the application program based on the program data, the processor may display, through the application program, a system data restoration option for prompting a system data restoration operation and a startup data restoration option for prompting a startup data restoration operation in a preset display interface. The user may then trigger the system data restore option or initiate the data restore option based on the actual data processing requirements.
When the system data restore option is triggered, the processor may acquire the first system backup data stored in the memory and then replace the stored first system data with the first system backup data.
When the boot data restore option is triggered, the processor may obtain boot backup data stored in the memory and then replace the boot data stored in the boot chip with the boot backup data.
In the embodiment of the application, after the application program is installed based on the program data, the processor can display the system data reduction options for prompting the system data reduction operation and the starting data reduction options for prompting the starting data reduction operation through the application program. After the boot data restore option is triggered, the processor may obtain boot backup data stored in the memory and then replace the boot data stored in the boot chip with the boot backup data. Thus, the processor can restore the startup data based on the startup backup data.
Because the startup data does not need to be restored through the UEFI firmware which is easy to damage, the problem that the normal operation of the electronic equipment cannot be ensured based on the UEFI firmware can be solved.
As an implementation manner of the embodiment of the present application, the electronic device may further provide a data backup function of the startup data through the processor. Specifically, the processor is further configured to display, through the application program after the application program is installed based on the program data, a system data backup option for prompting a system data backup operation, and a startup data backup option for prompting a startup data backup operation, and back up the first system data stored in the memory after the system data backup option is triggered, and back up startup data stored in the startup chip after the startup data backup option is triggered.
In an implementation, after the processor installs the application program based on the program data, the processor may display, through the application program, a system data backup option for prompting a system data backup operation and a startup data backup option for prompting a startup data backup operation in a preset display interface. The user may then trigger a system data backup option or initiate a data backup option based on actual data processing requirements.
When the system data backup option is triggered, the processor may copy the first system data stored in the memory to obtain backup data of the first system data.
When the startup data backup option is triggered, the processor may copy the startup data stored in the startup chip to obtain backup data of the startup data, and then store the startup backup data in the memory. It can be understood that the startup data will change during the process of using the electronic device by the user, so that the processor can acquire and store the backup data of the latest startup data at regular intervals.
In the embodiment of the application, the processor can display the system data backup option for prompting the system data backup operation and the startup data backup option for prompting the startup data backup operation through the application program after installing the application program based on the program data. After the startup data backup option is triggered, the processor can backup the startup data stored in the startup chip to obtain startup backup data. Therefore, the processor can realize the data backup function of backing up the starting data, and is convenient for the processor to restore the data based on the starting backup data obtained by backup after the starting data backup option is triggered.
As an implementation manner of the embodiment of the present application, the electronic device may further include a micro control unit, where the electronic device may switch, through the micro control unit, a connection relationship between the processor and the starting chip, and between the processor and the restoring chip, and specifically, the micro control unit is configured to control, after being started by itself, disconnection between the first port of the processor and the starting chip, where the first port of the processor is connected to the restoring chip.
In an implementation, the micro-control unit may be connected to a processor, where the processor may send a micro-control unit start signal to the micro-control unit to start the micro-control unit when it detects that the first operating system fails to load or the start chip is abnormal. Or, the processor may send a micro control unit start signal to the micro control unit after the user performs the data backup operation, so as to start the micro control unit, where the data backup operation may be clicking a preset data backup icon or sending a preset data backup voice command.
The micro control unit may disconnect the connection between the first port of the processor and the start chip after receiving the start signal, and connect the first port of the processor and the restore chip.
As shown in fig. 2, a schematic structural diagram of another electronic device according to an embodiment of the present application includes: processor 210, start-up chip 220, restore chip 230, memory 240, and micro-control unit 250. The micro control unit 250 may be disconnected between the first port 211 of the control processor 210 and the start chip 220 after being started up, the first port 211 of the control processor 210 is connected to the reduction chip 230, the broken line indicates in the disconnected state, and the solid line indicates in the connected state.
In the embodiment of the application, the electronic device further comprises a micro control unit, wherein the micro control unit can control the first port of the processor to be disconnected from the starting chip after being started, and the first port of the processor is connected with the restoring chip. Based on the micro control unit, the connection relation between the processor and the starting chip and the connection relation between the processor and the restoring chip can be conveniently and rapidly switched, and the processor can conveniently realize the functions of data restoration, data backup and the like through the restoring chip connected with the processor.
As an implementation manner of the embodiment of the present application, the electronic device may further include a micro control unit, where the electronic device may switch, through the micro control unit, a connection relationship between the processor and the starting chip and between the electronic device and the electronic device may be specifically configured to control, after the electronic device is started by itself, disconnection between the first port of the processor and the starting chip, where the first port of the processor is connected to the electronic device and the second port 212 of the electronic device is connected to the starting chip.
In an implementation, the micro control unit may disconnect the first port of the processor from the start chip after receiving the start signal, and connect the first port of the processor with the restore chip. The above description of the specific implementation manner of receiving the start signal by the micro control unit has been described, and will not be repeated here.
As shown in fig. 3, a schematic structural diagram of another electronic device according to an embodiment of the present application includes: processor 310, start chip 320, restore chip 330, memory 340, micro control unit 350, and restore button 360. The micro control unit 350 may be disconnected between the first port 311 of the control processor 310 and the start chip 320 after being started, the first port 311 of the control processor 310 is connected to the restore chip 330, and the second port 312 of the control processor 310 is connected to the start chip 320.
In the embodiment of the application, the electronic device further comprises a micro control unit, wherein the micro control unit can control the first port of the processor to be disconnected from the starting chip after being started, the first port of the processor is connected with the restoring chip, and the second port of the processor is connected with the starting chip. Based on the micro control unit, the connection relation between the processor and the starting chip and between the processor and the starting chip can be conveniently and rapidly switched, and the processor can conveniently backup or restore the starting data stored in the starting chip through the connected starting chip and the starting chip.
As an implementation manner of the embodiment of the present application, in the case that the electronic device includes the micro control unit, the electronic device may further include a restore button for activating the micro control unit.
In practice, after power-up, the micro-control unit may detect whether the restore button is triggered. When the user finds that the loading of the first operating system fails or the starting chip works abnormally, or when the user wants to back up the system data or the starting data of the first operating system, the user can trigger a restore button. When it is detected that the restore button is triggered, the micro-control unit may be activated to perform the related process.
As shown in fig. 3, when it is detected that the restore button 360 is triggered, the micro control unit 350 may control the disconnection between the first port 311 of the processor 310 and the start chip 330, the first port 311 of the control processor 310 is connected to the restore chip 330, and the second port 312 of the control processor 310 is connected to the start chip 330.
In the embodiment of the present application, the restore button may be an electronic component with a switch function, for example, the restore button may be a physical key preset in the electronic device. Alternatively, the restore button may be a virtual button.
In the embodiment of the application, the electronic equipment comprises the reset button for starting the micro-control unit, so that a user can conveniently and quickly start the micro-control unit by triggering the reset button so as to perform data processing operation or data reset operation, and the user experience can be improved.
As an implementation manner of the embodiment of the present application, an electronic device is provided, as shown in fig. 4, including a processor 410, a start chip 420, a restore chip 430, and a memory 440, where the memory 440 stores system data of a first operating system, as first system data, and the memory 440 stores start backup data;
the first port of the processor is connected with the starting chip, and after the starting chip is started, the starting chip is used for acquiring first system data from the memory and sending the first system data to the processor through the first port;
the processor is used for loading a first operating system based on the first system data after receiving the first system data;
the method comprises the steps that the first port of the processor is disconnected from the starting chip, the first port of the processor is connected with the restoring chip, and after the second port of the processor is connected with the starting chip, the restoring chip is used for sending guide data, system data of a second operating system and program data of an application program to the processor, and the system data of the second operating system is used as second system data;
The processor is also used for initializing the system based on the received guide data; loading a second operating system based on the received second system data after the system initialization is completed; after the second operating system is loaded, an application program is installed based on the program data, and the starting backup data stored in the memory is used for replacing the starting data stored in the starting chip through the application program.
In practice, the first port 411 of the processor 410 is typically connected to the start-up chip 420, and when the user wants to start the electronic device, the user can press a power key, then the start-up chip 420 can be started, and then the start-up chip 420 can obtain the first system data from the memory 440 and send the first system data to the processor 410 through the first port 411.
After receiving the first system data, the processor 410 may load the first operating system based on the first system data, so that the display unit of the electronic device may display an operation interface of the first operating system, and the user may operate the electronic device.
When the boot data is corrupted, such that the processor 410 cannot successfully load the first operating system, the connection between the first port 411 of the processor 410 and the boot chip 420 may be disconnected, and the first port 411 of the processor 410 and the restore chip 430, and the second port 412 of the processor 410 and the restore chip 430 may be connected.
After being connected to the first port 411 of the processor 410, the restoration chip 430 may send boot data to the processor 410, and the processor 410 may then perform system initialization based on the received boot data. After the system initialization is completed, the restoration chip 430 may transmit second system data of the second operating system to the processor 410, and then the processor 410 may load the second operating system based on the received second system data. After loading the second operating system, the restore chip 430 may send the program data of the application program to the processor 410, and then the processor 410 may install the application program based on the program data and replace the startup data stored in the startup chip with the startup backup data stored in the memory 440 by the application program.
In the embodiment of the application, the electronic equipment comprises a processor, a starting chip, a restoring chip and a memory, wherein starting backup data are stored in the memory. The processor may receive the boot data, the system data of the second operating system, and the program data of the application program in a state in which the first port is connected to the restoration chip and the second port is connected to the start-up chip, then perform system initialization based on the boot data, and load the second operating system based on the received second system data after the system initialization is completed. After the second operating system is loaded, an application program is installed based on the program data, and the starting backup data stored in the memory is used for replacing the starting data stored in the starting chip through the application program.
Because the first system data of the first operating system is not required to be restored through the UEFI firmware which is easy to damage, the problem that the normal operation of the electronic equipment cannot be ensured based on the UEFI firmware can be solved.
As an implementation manner of the embodiment of the present application, the second system data is stored in the memory, or is stored in the restoration chip; the boot data is stored in the memory, or in the restore chip; the program data is stored in the memory or in the restoration chip.
In the embodiment of the application, when the second system data, the program data and the guide data are stored in the memory, the memory space of the restoring chip can be saved. When the second system data, the program data and the guide data are stored in the restoring chip, the restoring chip is convenient to directly send the data to the processor, and the data processing efficiency is improved.
As an implementation manner of the embodiment of the present application, the electronic device may further include a micro control unit;
and the micro control unit is used for controlling the disconnection between the first port of the processor and the starting chip after the micro control unit is started, wherein the first port of the processor is connected with the restoring chip, and the second port of the processor is connected with the starting chip.
In an implementation, the micro control unit may disconnect the first port of the processor from the start chip after receiving the start signal, and connect the first port of the processor with the restore chip. The above description of the specific implementation manner of receiving the start signal by the micro control unit has been described, and will not be repeated here.
In the embodiment of the application, the electronic device further comprises a micro control unit, wherein the micro control unit can control the first port of the processor to be disconnected from the starting chip after being started, the first port of the processor is connected with the restoring chip, and the second port of the processor is connected with the starting chip. Based on the micro control unit, the connection relation between the processor and the starting chip and between the processor and the starting chip can be conveniently and rapidly switched, and the processor can conveniently backup or restore the starting data stored in the starting chip through the connected starting chip and the starting chip.
As an implementation manner of the embodiment of the present application, the method further includes: in case the electronic device comprises a micro-control unit, the electronic device may further comprise a restore button for activating the micro-control unit.
The description of the restore button may refer to the related content of the restore button, which is not described herein.
In the embodiment of the application, the electronic equipment comprises the reset button for starting the micro-control unit, so that a user can conveniently and quickly start the micro-control unit by triggering the reset button so as to perform data processing operation or data reset operation, and the user experience can be improved.
In a second aspect, a data processing method provided by an embodiment of the present application is described. In the embodiment of the present application, the electronic device may be a device having a data processing function, for example, a computer, a mobile terminal, a monitor, and the like, which is not particularly limited.
The embodiment of the application provides a data processing method, which is applied to a restoring chip in electronic equipment, wherein the electronic equipment also comprises a processor, a memory and a starting chip, wherein the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data, and the specific processing procedure of the method comprises the following steps:
step 501, after connecting with the first port of the processor, sending boot data, system data of the second operating system and program data of the application program to the processor, so that the processor performs system initialization based on the received boot data, installing the application program based on the received program data after the system initialization is completed, and using the first system backup data stored in the memory to replace the stored first system data by the application program, wherein the system data of the second operating system is used as the second system data.
As an implementation manner of the embodiment of the present application, the second system data is stored in the memory, or is stored in the restoration chip; the boot data is stored in the memory, or in the restore chip; the program data is stored in the memory or in the restoration chip.
In the embodiment of the application, when the second system data, the program data and the guide data are stored in the memory, the memory space of the restoring chip can be saved. When the second system data, the program data and the guide data are stored in the restoring chip, the restoring chip is convenient to directly send the data to the processor, and the data processing efficiency is improved.
The embodiment of the application also provides a data processing method, which is applied to a processor in electronic equipment, the electronic equipment further comprises a memory, a starting chip and a restoring chip, wherein the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data, as shown in fig. 6, and the specific processing procedure of the method comprises the following steps:
in step 601, after the first port of the processor is connected to the start-up chip and the start-up chip is started, the first system data is received, and the first operating system is loaded based on the first system data.
Step 602, after the first port of the processor is disconnected from the starting chip and the first port of the processor is connected to the restoring chip, the guiding data sent by the restoring chip, the system data of the second operating system and the program data of the application program are received, and the system data of the second operating system is used as the second system data.
Step 603, performing system initialization based on the received boot data.
Step 604, after the system initialization is completed, loads the second operating system based on the received second system data.
Step 605, after loading the second operating system, installing the application program based on the program data, and replacing the stored first system data by the application program using the first system backup data stored in the memory.
As an implementation manner of the embodiment of the present application, after installing an application program based on program data, the method further includes:
displaying a system data restoration option for prompting system data restoration operation and a system data backup option for prompting system data backup operation through an application program;
after the system data restore option is triggered, executing the step of replacing the stored first system data by using the first system backup data stored in the memory;
And after the system data backup option is triggered, backing up the first system data stored in the memory.
As an implementation manner of the embodiment of the present application, when the first port of the processor is disconnected from the start chip and the first port of the processor is connected to the restore chip, the second port of the processor is connected to the start chip, and the memory further stores start backup data, where the method further includes:
after the application program is installed based on the program data, the startup data stored in the startup chip is replaced by the application program using the startup backup data stored in the memory.
As an implementation manner of the embodiment of the present application, the method further includes:
after the application program is installed based on the program data, displaying a system data reduction option for prompting the system data reduction operation and a starting data reduction option for prompting the starting data reduction operation through the application program;
after the system data restore option is triggered, executing the step of replacing the stored first system data by using the first system backup data stored in the memory;
after the startup data restore option is triggered, the step of replacing startup data stored in the startup chip with startup backup data stored in the memory is performed.
As an implementation manner of the embodiment of the present application, the method further includes:
after installing an application program based on program data, displaying a system data backup option for prompting a system data backup operation and a starting data backup option for prompting a starting data backup operation through the application program;
after the system data backup option is triggered, the first system data stored in the memory is backed up;
and after the starting data backup option is triggered, backing up the starting data stored in the starting chip.
As an implementation manner of the embodiment of the present application, the second system data is stored in the memory, or is stored in the restoration chip;
the boot data is stored in the memory, or in the restore chip;
the program data is stored in the memory or in the restoration chip.
As an implementation manner of the embodiment of the present application, the electronic device further includes a micro control unit, and the method further includes:
the micro control unit is started so that the micro control unit controls the first port of the processor to be disconnected from the starting chip, and the first port of the processor is connected with the restoring chip.
The embodiment of the application also provides a data processing method, which is applied to a restoring chip in electronic equipment, the electronic equipment further comprises a processor, a memory and a starting chip, wherein the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data, and the specific processing procedure of the method comprises the following steps:
and step 701, after the system is connected with the first port of the processor, sending the boot data, the system data of the second operating system and the program data of the application program to the processor, so that the processor performs system initialization based on the received boot data, after the system initialization is completed, installing the application program based on the received program data, and replacing the startup data stored in the startup chip by using the startup backup data stored in the memory through the application program.
As an implementation manner of the embodiment of the present application, the second system data is stored in the memory, or is stored in the restoration chip;
the boot data is stored in the memory, or in the restore chip;
The program data is stored in the memory or in the restoration chip.
The embodiment of the application also provides a data processing method, which is applied to a processor in electronic equipment, the electronic equipment further comprises a memory, a starting chip and a restoring chip, wherein the memory stores system data of a first operating system as first system data, and the memory also stores starting backup data, as shown in fig. 8, and the specific processing procedure of the method comprises the following steps:
in step 801, after the first port of the processor is connected to the boot chip and the boot chip is started, the first operating system is loaded based on the first system data after the first system data is received.
Step 802, after the first port of the processor is disconnected from the starting chip, the first port of the processor is connected to the restoring chip, and the second port of the processor is connected to the starting chip, the boot data sent by the restoring chip, the system data of the second operating system and the program data of the application program are received, and the system data of the second operating system is used as the second system data.
Step 803, system initialization is performed based on the received boot data.
Step 804, after the system initialization is completed, loads the second operating system based on the received second system data.
Step 805, after loading the second operating system, installing an application program based on the program data, and replacing the startup data stored in the startup chip with the startup backup data stored in the memory by the application program.
As an implementation manner of the embodiment of the present application, the second system data is stored in the memory, or is stored in the restoration chip;
the boot data is stored in the memory, or in the restore chip;
the program data is stored in the memory or in the restoration chip.
As an implementation manner of the embodiment of the present application, the electronic device further includes a micro control unit, and the method further includes:
the micro control unit is started so that the micro control unit controls the first port of the processor to be disconnected from the starting chip, and the first port of the processor is connected with the restoring chip.
In still another embodiment of the present application, a restoration chip is further provided, where an electronic device where the restoration chip is located further includes a processor, a memory, and a starting chip, where the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data;
The restoration chip is provided with a computer readable storage medium, and a computer program is stored in the computer readable storage medium, and when the computer program is executed by the restoration chip, the steps of any data processing method applied to the restoration chip are realized.
In still another embodiment of the present application, a processor is further provided, where an electronic device where the processor is located further includes a memory, a start chip, and a restore chip, where the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data;
the processor has a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program when executed by the processor realizes the steps of any data processing method applied to the processor.
In yet another embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program which when executed by a processor implements the steps of any of the data processing methods described above.
In a further embodiment of the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the data processing methods of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the method, the reduction chip, the processor, the computer readable storage medium, the computer program product embodiments, the description is relatively simple, as it is substantially similar to the electronic device embodiments, and relevant places are referred to in the section of the electronic device embodiments.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (30)

1. The electronic equipment is characterized by comprising a processor, a starting chip, a restoring chip and a memory, wherein the memory is used for storing system data of a first operating system and is also used as first system data, and the memory is used for storing system backup data of the first operating system and is used as first system backup data;
the first port of the processor is connected with the starting chip, and after the starting chip is started, the starting chip is used for acquiring the first system data from the memory and sending the first system data to the processor through the first port;
the processor is used for loading the first operating system based on the first system data after receiving the first system data;
after the first port of the processor is disconnected from the starting chip and the first port of the processor is connected with the restoring chip, the restoring chip is used for sending guide data, system data of a second operating system and program data of an application program to the processor, wherein the system data of the second operating system is used as second system data;
The processor is further used for carrying out system initialization based on the received guide data; loading the second operating system based on the received second system data after system initialization is completed; and after the second operating system is loaded, installing the application program based on the program data, and replacing the stored first system data by using the first system backup data stored in the memory through the application program.
2. The electronic device of claim 1, wherein the processor is further configured to, after installing the application based on the program data, display, by the application, a system data restore option prompting a system data restore operation and a system data backup option prompting a system data backup operation, and perform the step of replacing the stored first system data using the first system backup data stored in the memory after the system data restore option is triggered, and back up the first system data stored in the memory after the system data restore option is triggered.
3. The electronic device of claim 1, wherein a second port of the processor is connected to the boot chip with the first port of the processor disconnected from the boot chip and the first port of the processor connected to the restore chip;
the memory also stores starting backup data;
the processor is further configured to replace, by the application program, the startup data stored in the startup chip with the startup backup data stored in the memory after the application program is installed based on the program data.
4. The electronic device of claim 3, wherein the processor is further configured to, after installing the application based on the program data, display, by the application, a system data restore option prompting a system data restore operation, and a startup data restore option prompting a startup data restore operation, and after the system data restore option is triggered, execute the step of using the first system backup data stored in the memory to replace the stored first system data, and after the startup data restore option is triggered, execute the step of using the startup backup data stored in the memory to replace the startup data stored in the startup chip.
5. The electronic device of claim 4, wherein the processor is further configured to display, by the application program, a system data backup option for prompting a system data backup operation to be performed and a startup data backup option for prompting a startup data backup operation to be performed after the application program is installed based on the program data, and to backup the first system data stored in the memory after the system data backup option is triggered, and to backup startup data stored in the startup chip after the startup data backup option is triggered.
6. The electronic device of claim 1, wherein the second system data is stored in the memory or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
7. The electronic device of claim 1, further comprising: a micro control unit;
and the micro control unit is used for controlling the disconnection between the first port of the processor and the starting chip after the micro control unit is started, and the first port of the processor is connected with the reduction chip.
8. The electronic device of claim 3, further comprising: a micro control unit;
and the micro control unit is used for controlling the disconnection between the first port of the processor and the starting chip after the micro control unit is started, wherein the first port of the processor is connected with the reduction chip, and the second port of the processor is connected with the starting chip.
9. The electronic device of claim 7 or 8, further comprising: a restore button;
and the reduction button is used for starting the micro control unit.
10. The electronic equipment is characterized by comprising a processor, a starting chip, a restoring chip and a memory, wherein the memory is used for storing system data of a first operating system and is also used as first system data, and the memory is used for storing starting backup data;
the first port of the processor is connected with the starting chip, and after the starting chip is started, the starting chip is used for acquiring the first system data from the memory and sending the first system data to the processor through the first port;
the processor is used for loading the first operating system based on the first system data after receiving the first system data;
After the first port of the processor is disconnected from the starting chip, the first port of the processor is connected with the restoring chip, and the second port of the processor is connected with the starting chip, the restoring chip is used for sending boot data, system data of a second operating system and program data of an application program to the processor, wherein the system data of the second operating system is used as second system data;
the processor is further used for carrying out system initialization based on the received guide data; loading the second operating system based on the received second system data after system initialization is completed; and after the second operating system is loaded, installing the application program based on the program data, and replacing the starting data stored in the starting chip by using the starting backup data stored in the memory through the application program.
11. The electronic device of claim 10, wherein the second system data is stored in the memory or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
The program data is stored in the memory or in the restoration chip.
12. The electronic device of claim 10, further comprising: a micro control unit;
and the micro control unit is used for controlling the disconnection between the first port of the processor and the starting chip after the micro control unit is started, wherein the first port of the processor is connected with the reduction chip, and the second port of the processor is connected with the starting chip.
13. The electronic device of claim 12, further comprising: a restore button;
and the reduction button is used for starting the micro control unit.
14. The data processing method is characterized in that the method is applied to a restoration chip in an electronic device, the electronic device further comprises a processor, a memory and a starting chip, wherein the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data, and the method comprises the following steps:
after the restoration chip is connected with the first port of the processor, the restoration chip sends the boot data, the system data of the second operating system and the program data of the application program to the processor so that the processor performs system initialization based on the received boot data, after the system initialization is completed, the application program is installed based on the received program data, and the first system backup data stored in the memory is used for replacing the stored first system data by the application program, and the system data of the second operating system is used as the second system data.
15. The method of claim 14, wherein the second system data is stored in the memory or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
16. The data processing method is characterized in that the method is applied to a processor in an electronic device, the electronic device further comprises a memory, a starting chip and a restoring chip, wherein the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data, and the method comprises the following steps:
after a first port of the processor is connected with the starting chip and the starting chip is started, receiving the first system data, and loading the first operating system based on the first system data;
after the first port of the processor is disconnected from the starting chip and the first port of the processor is connected with the restoring chip, receiving guide data sent by the restoring chip, system data of a second operating system and program data of an application program, wherein the system data of the second operating system is used as second system data;
Initializing a system based on the received guide data;
loading the second operating system based on the received second system data after system initialization is completed;
and after the second operating system is loaded, installing the application program based on the program data, and replacing the stored first system data by using the first system backup data stored in the memory through the application program.
17. The method of claim 16, wherein after installing the application based on the program data, the method further comprises:
displaying a system data restoration option for prompting system data restoration operation and a system data backup option for prompting system data backup operation through the application program;
after the system data restore option is triggered, executing the step of replacing the stored first system data with the first system backup data stored in the memory;
and after the system data backup option is triggered, the first system data stored in the memory is backed up.
18. The method of claim 16, wherein, with the first port of the processor disconnected from the boot chip and the first port of the processor connected to the restore chip, the second port of the processor is connected to the boot chip, the memory further having boot backup data stored therein, the method further comprising:
After the application program is installed based on the program data, the starting backup data stored in the memory is used for replacing the starting data stored in the starting chip through the application program.
19. The method of claim 18, wherein the method further comprises:
after the application program is installed based on the program data, displaying a system data reduction option for prompting a system data reduction operation and a starting data reduction option for prompting a starting data reduction operation through the application program;
after the system data restore option is triggered, executing the step of replacing the stored first system data with the first system backup data stored in the memory;
and after the startup data restoring option is triggered, executing the step of replacing the startup data stored in the startup chip by using the startup backup data stored in the memory.
20. The method of claim 19, wherein the method further comprises:
after the application program is installed based on the program data, displaying a system data backup option for prompting the system data backup operation and a starting data backup option for prompting the starting data backup operation through the application program;
After the system data backup option is triggered, the first system data stored in the memory is backed up;
and after the starting data backup option is triggered, backing up the starting data stored in the starting chip.
21. The method of claim 16, wherein the second system data is stored in the memory or in the restoration chip;
the guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
22. The method of claim 16, wherein the electronic device further comprises a micro control unit, the method further comprising:
and starting the micro control unit so that the micro control unit controls the first port of the processor to be disconnected from the starting chip, and the first port of the processor is connected with the restoring chip.
23. The data processing method is characterized in that the method is applied to a restoration chip in an electronic device, the electronic device further comprises a processor, a memory and a starting chip, wherein the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data, and the method comprises the following steps:
After the restoring chip is connected with the first port of the processor, the restoring chip sends the boot data, the system data of the second operating system and the program data of the application program to the processor so that the processor carries out system initialization based on the received boot data, after the system initialization is completed, the application program is installed based on the received program data, and the starting backup data stored in the memory is used for replacing the starting data stored in the starting chip through the application program.
24. The method of claim 23, wherein system data of the second operating system is stored in the memory or in the restore chip;
the guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
25. The data processing method is characterized in that the method is applied to a processor in an electronic device, the electronic device further comprises a memory, a starting chip and a restoring chip, wherein the memory stores system data of a first operating system as first system data, and the memory also stores starting backup data, and the method comprises the following steps:
After a first port of the processor is connected with the starting chip and the starting chip is started, loading the first operating system based on the first system data after receiving the first system data;
after the first port of the processor is disconnected from the starting chip, the first port of the processor is connected with the restoring chip, and the second port of the processor is connected with the starting chip, receiving guide data sent by the restoring chip, system data of a second operating system and program data of an application program, wherein the system data of the second operating system is used as second system data;
initializing a system based on the received guide data;
loading the second operating system based on the received second system data after system initialization is completed;
and after the second operating system is loaded, installing the application program based on the program data, and replacing the starting data stored in the starting chip by using the starting backup data stored in the memory through the application program.
26. The method of claim 25, wherein the second system data is stored in the memory or in the restoration chip;
The guiding data is stored in the memory or the restoring chip;
the program data is stored in the memory or in the restoration chip.
27. The method of claim 25, wherein the electronic device further comprises a micro control unit, the method further comprising:
and starting the micro control unit so that the micro control unit controls the first port of the processor to be disconnected from the starting chip, and the first port of the processor is connected with the restoring chip.
28. The electronic equipment with the restoration chip is characterized by further comprising a processor, a memory and a starting chip, wherein the memory stores system data of a first operating system as first system data, and the memory also stores system backup data of the first operating system as first system backup data;
the reduction chip has a computer readable storage medium in which a computer program is stored, which when executed by the reduction chip implements the method steps of any of claims 14-15 or claims 23-24.
29. The processor is characterized in that the electronic equipment where the processor is located also comprises a memory, a starting chip and a restoring chip, wherein the memory is used for storing system data of a first operating system as first system data, and the memory is used for storing system backup data of the first operating system as first system backup data;
the processor has a computer readable storage medium having a computer program stored therein, which when executed by the processor, implements the method steps of any of claims 16-22 or claims 25-27.
30. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 14-15, or claims 16-22, or claims 23-24, or claims 25-27.
CN201911148747.0A 2019-11-21 2019-11-21 Data processing method and electronic equipment Active CN112825054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911148747.0A CN112825054B (en) 2019-11-21 2019-11-21 Data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911148747.0A CN112825054B (en) 2019-11-21 2019-11-21 Data processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN112825054A CN112825054A (en) 2021-05-21
CN112825054B true CN112825054B (en) 2023-09-05

Family

ID=75907478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911148747.0A Active CN112825054B (en) 2019-11-21 2019-11-21 Data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112825054B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1621997A (en) * 2003-11-26 2005-06-01 中国科学院空间科学与应用研究中心 System mainboard for embedded computer systems
WO2006110669A2 (en) * 2005-04-08 2006-10-19 Vir2Us, Inc. Computer and method for safe usage of documents, email attachments and other content that may contain virus, spy-ware, or malicious code
CN101167107A (en) * 2005-03-09 2008-04-23 Igt公司 MRAM as nonvolatile safe storage for power hit and ESD tolerance in gaming machines
CN101232397A (en) * 2008-02-22 2008-07-30 华为技术有限公司 Apparatus and method for renovating multi controller systems
CN101366011A (en) * 2005-10-12 2009-02-11 存储器械有限公司 Data backup devices and methods for backing up data
EP2779174A1 (en) * 2013-03-14 2014-09-17 Crossbar, Inc. Non-volatile memory with overwrite capability and low write amplification
CN104461767A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104503870A (en) * 2015-01-19 2015-04-08 联想(北京)有限公司 Electronic device and data processing method
CN106775610A (en) * 2016-03-22 2017-05-31 新华三技术有限公司 A kind of electronic equipment starts method and a kind of electronic equipment
CN207281744U (en) * 2017-08-30 2018-04-27 深圳市恒扬数据股份有限公司 Os starting device and system mainboard
CN109643285A (en) * 2016-09-15 2019-04-16 美商纳兹控股有限责任公司 The user data transmission and storage of encryption
CN110083404A (en) * 2019-04-23 2019-08-02 深圳昆仑通态科技有限责任公司 The data processing method and system and human interface devices of human interface devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190163595A1 (en) * 2017-11-30 2019-05-30 Rustin B. Penland System and method for providing network access in the event of a computer system failure

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1621997A (en) * 2003-11-26 2005-06-01 中国科学院空间科学与应用研究中心 System mainboard for embedded computer systems
CN101167107A (en) * 2005-03-09 2008-04-23 Igt公司 MRAM as nonvolatile safe storage for power hit and ESD tolerance in gaming machines
WO2006110669A2 (en) * 2005-04-08 2006-10-19 Vir2Us, Inc. Computer and method for safe usage of documents, email attachments and other content that may contain virus, spy-ware, or malicious code
CN101366011A (en) * 2005-10-12 2009-02-11 存储器械有限公司 Data backup devices and methods for backing up data
CN101232397A (en) * 2008-02-22 2008-07-30 华为技术有限公司 Apparatus and method for renovating multi controller systems
EP2779174A1 (en) * 2013-03-14 2014-09-17 Crossbar, Inc. Non-volatile memory with overwrite capability and low write amplification
CN104461767A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104503870A (en) * 2015-01-19 2015-04-08 联想(北京)有限公司 Electronic device and data processing method
CN106775610A (en) * 2016-03-22 2017-05-31 新华三技术有限公司 A kind of electronic equipment starts method and a kind of electronic equipment
CN109643285A (en) * 2016-09-15 2019-04-16 美商纳兹控股有限责任公司 The user data transmission and storage of encryption
CN207281744U (en) * 2017-08-30 2018-04-27 深圳市恒扬数据股份有限公司 Os starting device and system mainboard
CN110083404A (en) * 2019-04-23 2019-08-02 深圳昆仑通态科技有限责任公司 The data processing method and system and human interface devices of human interface devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
下一代网络可靠性分析与研究;张军伟;《中国优秀硕士学位论文全文数据库信息科技辑》(第5期);第I136-294页 *

Also Published As

Publication number Publication date
CN112825054A (en) 2021-05-21

Similar Documents

Publication Publication Date Title
US8930769B2 (en) Managing operating system deployment failure
US10331458B2 (en) Techniques for computer system recovery
TWI633487B (en) Method and computer system for automatically recovering the bios image file
EP3399408B1 (en) Information processing apparatus and computer readable storage medium
CN108874459B (en) Rapid starting method and device based on virtualization technology
EP2372491B1 (en) Power lock-up setting method and electronic apparatus using the same
KR100952585B1 (en) Method and system for automatic recovery of an embedded operating system
CN110442426B (en) Password resetting method, device and storage medium
CN109582372B (en) System starting method and device
US10089162B2 (en) Method for maintaining file system of computer system
CN106681813B (en) System management method and device
CN101207519A (en) Version server, operation maintenance unit and method for restoring failure
CN109976886B (en) Kernel remote switching method and device
TWI764454B (en) Firmware corruption recovery
CN112825054B (en) Data processing method and electronic equipment
EP3260981B1 (en) Information processing apparatus, information processing system, and information processing method for updating firmware
US20190354392A1 (en) Preventing interruption during virtual machine reboot
US10509646B2 (en) Software update rollbacks using file system volume snapshots
US7991390B2 (en) Program updating method of wireless communication terminal and wireless communication terminal using the same
CN111209143B (en) Recovery method and device of embedded system, embedded device and storage medium
CN114356855A (en) File management method, file management device, electronic device and readable storage medium
CN113721959A (en) Information processing method and device and electronic equipment
CN112579348A (en) Method for restoring factory settings by counting system starting times
TWI742430B (en) Method of recovering firmware of baseboard management controller automatically
CN108770042B (en) Network connection method, terminal device and computer storage medium

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