CN103294571A - Operating system application recovery method and related electronic equipment - Google Patents
Operating system application recovery method and related electronic equipment Download PDFInfo
- Publication number
- CN103294571A CN103294571A CN2012100481233A CN201210048123A CN103294571A CN 103294571 A CN103294571 A CN 103294571A CN 2012100481233 A CN2012100481233 A CN 2012100481233A CN 201210048123 A CN201210048123 A CN 201210048123A CN 103294571 A CN103294571 A CN 103294571A
- Authority
- CN
- China
- Prior art keywords
- operating system
- application
- list
- transmission channel
- hardware platform
- 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.)
- Granted
Links
- 238000011084 recovery Methods 0.000 title claims abstract description 53
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000005540 biological transmission Effects 0.000 claims abstract description 90
- 238000009434 installation Methods 0.000 claims abstract description 69
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses an operating system application recovery method and related electronic equipment, and aims to achieve the purposes that after one operating system in a multi- operating system computer is installed again, another operating system recovers each application and/or configuration before the installation of the operating system and the efficiency is improved. The operating system application recovery method is applied to a hybrid system provided with a first system and a second system, wherein the first system comprises a first hardware platform and a first operating system operating on the first hardware platform; and the second system comprises a second hardware platform and a second operating system operating on the second hardware platform. The method comprises the steps that after installation of the first operating system is finished and operates in the hybrid system, a data transmission channel and an instruction transmission channel connected with the second operating system are recovered; and the first operating system instructs the second operating system to install and/or configure each application of the first operating system through the data transmission channel and the instruction transmission channel.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to an operating system application recovery method and a related electronic device.
Background
With the rapid development of computer technology, computers have been widely used in various industries, and more application software applied to computers in various fields, such as office software, game software, download software, graphic image processing software, audio/video playing software, and the like, are applied to the computers.
Moreover, as the performance of computer hardware is gradually improved, two operating systems may exist on one computer, that is, a Hybrid (Hybrid) operating system formed by combining two operating systems is adopted on the computer, and the two operating systems are relatively independent. For example, a computer may have both a Linux operating system and a Windows operating system installed thereon, and the computer may include two hardware platforms, each of which runs one operating system.
With the advent of various application software, the number of software installed on a computer is increasing, which requires a user to manually install each application software after the operating system of the computer is crashed and reinstalled, and generally, tens of application software are installed on a personal computer of the user, which requires a long time for the user to install, brings great inconvenience to the user, and wastes a lot of time and energy of the user.
Generally, after the computer reinstalls the operating system, the user is required to manually install various drivers, such as a sound card driver, which also causes great inconvenience for the user. Meanwhile, in the process of using the personal computer for a long time, a user can modify some default configuration information of the computer to meet personal requirements and realize personalized setting of the computer, but after the operating system is reinstalled, the personalized setting information of the user is lost and the user needs to manually set the information. For example, after the operating system is reinstalled on the computer, the configuration information such as resolution, wallpaper, volume, etc. set by the user is lost, and the default configuration of the operating system is adopted.
Disclosure of Invention
The invention provides an operating system application recovery method and related electronic equipment, which are used for realizing that after a multi-operating system computer reinstalls one operating system, another operating system automatically recovers each application and/or configuration before the operating system is installed, and the efficiency is improved.
The embodiment of the invention provides the following specific technical scheme:
an operating system application recovery method applied to a hybrid system having a first system and a second system, wherein the first system comprises a first hardware platform and a first operating system running on the first hardware platform, and the second system comprises a second hardware platform and a second operating system running on the second hardware platform, the method comprising:
after the first operating system is installed, when the first operating system is determined to run in the hybrid system, recovering a data transmission channel and an instruction transmission channel which are connected with the second operating system;
and the first operating system instructs the second operating system to install and/or configure each application of the first operating system through the data transmission channel and the instruction transmission channel.
An operating system application recovery method, applied to a hybrid system having a first operating system and a second operating system, the first operating system and the second operating system sharing a same hardware platform, the method comprising:
after the first operating system is installed, storing application recovery indication information in a shared storage area of the first operating system and the second operating system, and switching to the second operating system;
after acquiring the application recovery indication information from the shared storage area, the second operating system acquires installation programs and/or configuration information required by each application according to the application recovery indication information, stores the installation programs and/or the configuration information into the shared storage area, and switches to the first operating system;
and the first operating system acquires installation programs and/or configuration information required by each application from the shared storage area, and installs and/or configures the installation programs and/or the configuration information.
An electronic device includes a first system and a second system;
the first system comprises a first hardware platform and a first operating system running on the first hardware platform;
the second system comprises a second hardware platform and a second operating system running on the second hardware platform;
the first system is used for recovering a data transmission channel and an instruction transmission channel connected with the second system when the first operating system is determined to run in a hybrid system comprising the first system and the second system after the installation of the first operating system is finished, and indicating the second system to install and/or configure each application of the first system through the data transmission channel and the instruction transmission channel.
An electronic device comprising a first system and a second system, the first system comprising a hardware platform and a first operating system running on the hardware platform, the second system comprising the hardware platform and a second operating system running on the hardware platform;
the first system is used for storing application recovery indication information in a shared storage area of the first system and the second system after the installation of the first operating system is completed, and switching to the second system; the shared storage area is used for storing installation programs and/or configuration information required by the applications;
and the second system is used for acquiring installation programs and/or configuration information required by each application according to the application recovery indication information after acquiring the application recovery indication information from the shared storage area, storing the installation programs and/or the configuration information to the shared storage area, and switching to the first system.
Based on the above technical solution, in an embodiment of the present invention, in a hybrid system having a first system and a second system, the first system includes a first hardware platform and a first operating system running on the first hardware platform, the second system includes a second hardware platform and a second operating system running on the second hardware platform, after the first operating system is installed and is determined to run in the hybrid system, a data transmission channel and an instruction transmission channel connected to the second operating system are recovered, and the first operating system instructs the second operating system to install and/or configure each application of the first operating system through the data transmission channel and the instruction transmission channel, so that each application of the first operating system can be automatically recovered by using the second operating system after the first operating system is installed, and system recovery efficiency is improved. In addition, in a hybrid system having a first operating system and a second operating system, when the first operating system and the second operating system share the same hardware platform, after the installation of the first operating system is completed, application recovery instruction information is stored in a memory area shared by the first operating system and the second operating system, and the second operating system is switched to the second operating system, and after the application recovery instruction information is acquired from the shared memory area by the second operating system, installation programs and/or configuration information required by each application is acquired according to the application recovery instruction information, the installation programs and/or configuration information required by each application are stored in the memory area, and the first operating system is switched to the first operating system, and then the installation programs and/or configuration information required by each application are acquired from the memory area by the first operating system, and installation and/or configuration are performed, so that each application of the first operating system can be automatically recovered by the second operating system after the installation of the first operating system is completed, the system recovery efficiency is improved.
Drawings
FIG. 1 is a flowchart of a method for restoring operating system applications according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for recovering an operating system application according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the invention.
Detailed Description
In order to implement that after a multi-operating system computer re-installs one operating system, another operating system automatically restores each application and/or configuration before the operating system is installed, and improve efficiency, embodiments of the present invention provide a method and an apparatus for restoring an operating system application in a multi-operating system computer.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
In a first embodiment provided by the present invention, a method for recovering an operating system application is provided, and the method is applied to a hybrid system having a first system and a second system, where the first system includes a first hardware platform and a first operating system running on the first hardware platform, and the second system includes a second hardware platform and a second operating system running on the second hardware platform, as shown in fig. 1, in the embodiment of the present invention, a detailed method flow for recovering an operating system application is as follows:
step 101: and after the first operating system is installed, when the first operating system is determined to run in the hybrid system, recovering the data transmission channel and the instruction transmission channel which are connected with the second operating system.
In the embodiment of the invention, after the first operating system is installed, the level state output by the preset position of the first hardware platform is detected, and when the level state is determined to be the preset state, the first operating system is determined to run in the hybrid system.
In practical applications, the first hardware platform and the second hardware platform respectively include a master processor and a slave processor, for example, the master processor of the first system is a processor of an X86 architecture, the master processor of the second system is a processor of an ARM architecture, and the slave processors are both Embedded Controllers (ECs) or Microcontrollers (MCUs). A first transmission channel exists between the master processor of the first system and the master processor of the second system, and a second transmission channel exists between the slave processor of the first system and the slave processor of the second system. The slave processors can be in a working state for a long time due to extremely low power consumption, namely, the second transmission channel between the two slave processors is always in a working state. A first transmission channel between a main processor of the first system and a main processor of the second system is generally a high-speed channel and is used as a data transmission channel; the second transmission channel between the slave processors of the first system and the second system is generally a low-speed channel, and is used as an instruction transmission channel because the two slave processors are always in an operating state, namely the second transmission channel between the slave processors is always in an operable state.
When the first operating system recovers the data transmission channel and the instruction transmission channel connected with the second operating system, the method specifically comprises the following steps: and respectively acquiring the driving programs corresponding to the data transmission channel and the instruction transmission channel from a preset storage position, operating and installing the driving programs, and then recovering the data transmission channel and the instruction transmission channel which are connected with the second operating system.
In practical application, after the first operating system is installed, the first operating system may obtain a driver of a data transmission channel and an instruction transmission channel connected between the first operating system and the second operating system from the second operating system through the instruction transmission channel between the first system slave processor and the second system slave processor, where the second operating system may obtain the driver from a predetermined location of a storage area corresponding to the second operating system, or obtain the driver from a network; when the first operating system determines to run in the hybrid system, the driver of the data transmission channel and the instruction transmission channel connected between the first operating system and the second operating system may be acquired from a predetermined location of the memory area corresponding to the first operating system.
Step 102: the first operating system instructs the second operating system to install and/or configure each application of the first operating system through the data transmission channel and the instruction transmission channel.
The first operating system detects a running first hardware platform, acquires a first application list needing to be installed, and sends the first application list to a second operating system through a data transmission channel, wherein the first application list comprises a driver sequence list and/or a first configuration list; and/or the second operating system acquires a second application list needing to be installed from a preset storage position, wherein the second application list at least comprises an application program list and a second configuration list; and the second operating system acquires installation programs and/or configuration information required by each application according to the first application list and/or the second application list, and sends the installation programs and/or the configuration information to the first operating system for installation through a data transmission channel.
In actual application, the second application list further stores storage locations or network addresses of installation programs and/or configuration information required by each application, and the application list may store the names of each application and the local storage locations of required installation data and/or configuration information, or the names of each application and the network addresses of required installation data and/or configuration information; the second configuration list stores the identification of each configuration parameter and the local storage position.
Specifically, the first operating system instructs the second operating system to install and/or configure various specific implementations for applications of the first operating system through the data transmission channel and the instruction transmission channel.
In a first specific implementation, when shared hardware devices exist in a first operating system and a second operating system (that is, shared hardware devices exist in the first hardware platform and the second hardware platform), after the second operating system releases occupied shared hardware devices, the first operating system detects a running first hardware platform and acquires a first application list to be installed, and transmits the first application list to the second operating system through a data transmission channel, where the application list includes a driver sequence list and/or a first configuration list (for example, the driver list includes a sound card driver, a network card driver, and the like, and the first configuration list includes a display resolution, a desktop background picture, and the like); the second operating system obtains the driver and/or configuration information needed by each application from a preset storage position or from a network according to the first application list, and sends the driver and/or configuration information to the first operating system through a data transmission channel, and the first operating system carries out installation and/or configuration according to each received driver and/or configuration information.
In a second specific implementation, when shared hardware equipment exists in a first operating system and a second operating system, and after the second operating system releases the occupied shared hardware equipment, the first operating system detects a running first hardware platform and acquires a first application list to be installed, and transmits the first application list to the second operating system through a data transmission channel, wherein the application list comprises a driver sequence list and/or a first configuration list; the second operating system then obtains a second application list to be installed from a predetermined storage location, where the second application list at least includes an application program list and a second configuration list (including office software, video playing software, and the like, for example), and obtains installation programs and/or configuration information required by applications according to the first application list and the second application list, and sends the installation programs and/or configuration information to the first operating system through a data transmission channel for installation.
In a third specific implementation, the first operating system sends an application recovery instruction to the second operating system only through the instruction transmission channel, the second operating system obtains an application list from a predetermined storage location according to the application recovery instruction, the application list includes a driver list, an application list, and a configuration list, obtains installation programs and configuration information required by each application from the predetermined storage location or from the network according to the application list, sends the installation programs and the configuration information to the first operating system through the data transmission channel, and installs the installation programs by the first operating system.
In practical applications, when the first hardware platform and the second hardware platform include shared hardware devices, the second operating system may release the occupied shared hardware devices, and then the first operating system detects the running first hardware platform, and because the second operating system has released the occupied shared hardware devices, the first operating system may detect shared hardware devices (e.g., input devices, display devices, etc.) included in the first hardware platform, so that the driver list and the configuration list corresponding to the shared hardware devices may be included in the obtained first application list. Meanwhile, when the first hardware platform and the second hardware platform include shared hardware devices, the second operating system may set an identification bit for the shared hardware devices, and when the second operating system sets the identification bit to be in an unoccupied state of the shared hardware devices, the first operating system detects the running first hardware platform again.
In a second embodiment, the present invention provides a method for recovering an operating system application, where the method is applied to a hybrid system having a first operating system and a second operating system, and the first operating system and the second operating system share a same hardware platform, as shown in fig. 2, in the embodiment of the present invention, a detailed method flow for recovering an operating system application is as follows:
step 201: and after the first operating system is installed, storing application recovery indication information in a shared storage area of the first operating system and the second operating system, and switching to the second operating system.
In a specific implementation, after the first operating system is installed, when the application recovery indication information is stored in the shared storage area of the first operating system and the second operating system, a hardware platform run by the first operating system is detected, a driver list and/or a first configuration list to be installed are/is acquired, and the driver list and/or the first configuration list are/is stored in the shared storage area.
Step 202: and after acquiring the application recovery indication information from the shared storage area, the second operating system acquires installation programs and/or configuration information required by each application according to the application recovery indication information, stores the installation programs and/or the configuration information into the shared storage area, and switches to the first operating system.
After acquiring the application recovery indication information from the shared storage area, the second operating system acquires an application program list and/or a second configuration list which need to be installed from a preset storage position.
Specifically, after acquiring the application recovery instruction information from the shared storage area, the second operating system may acquire the application program list and/or the second configuration list that needs to be installed from a local predetermined storage location, or acquire the application program list and/or the second configuration list that needs to be installed from the network according to the network address stored this time.
In this embodiment of the present invention, the second operating system obtains the installation program and/or the configuration information required by each application according to the application recovery instruction, and stores the installation program and/or the configuration information in the shared storage area, specifically: the second operating system acquires the required installation program and/or the first configuration information according to the drive program sequence list and/or the first configuration list stored in the shared storage area, and stores the installation program and/or the first configuration information in the shared storage area; and/or acquiring the required installation program and/or second configuration information according to the application program list and/or the second configuration list, and storing the required installation program and/or second configuration information to the shared storage area.
Specifically, there are various implementation manners for the second operating system to obtain the installation program and/or configuration information required by each application according to the application recovery indication.
In a first implementation manner, when a driver list and/or a first configuration list acquired by a hardware platform, which is detected to run by a first operating system, is stored in a shared storage area, a second operating system acquires a required installation program and/or first configuration information from a predetermined storage location or a network according to the driver list and/or the first configuration list, and stores the required installation program and/or first configuration information in the shared storage area.
In a second implementation manner, when a driver list and/or a first configuration list acquired by a hardware platform, which is detected to run by a first operating system, is stored in a shared storage area, a second operating system acquires a required installer and/or first configuration information from a predetermined storage location or a network according to the driver list and/or the first configuration list and stores the acquired installer and/or first configuration information in the shared storage area, and meanwhile, the second operating system acquires an application list and/or a second configuration list required to be installed from the predetermined storage location and/or the network according to the application list and/or the second configuration list and acquires the required installer and/or second configuration information from the predetermined storage location or the network according to the application list and/or the second configuration list and stores the acquired installer and/or second configuration information in the shared storage area.
In a third implementation manner, after the first operating system is installed, the application recovery indication information is only stored in the shared storage area, after the second operating system is switched to the second operating system, the second operating system acquires an application list from a predetermined storage location according to the application recovery indication information, the application list includes a driver list, an application list and a configuration list, and then acquires an application program and configuration information to be installed from the predetermined storage location or a network according to the application list and stores the application program and configuration information to the shared storage area.
Step 203: and the first operating system acquires installation programs and/or configuration information required by each application from the shared storage area, and installs and/or configures the installation programs and/or the configuration information.
In practical applications, the first operating system and the second operating system need to share a memory, and at least two specific implementations can be made for implementing the switching between the first operating system and the second operating system: the first method is to divide the memory into two areas, wherein the first operating system uses the first area of the memory, and the second operating system uses the second area of the memory, so that the fast switching between the first operating system and the second operating system can be realized; the second method is that when the first operating system is switched to the second operating system, the data in the memory is firstly stored to the specific storage position of the first operating system, then the second operating system is switched to, the pre-stored data in the memory before the second operating system is switched is obtained from the specific storage position of the second operating system and is stored to the memory, and therefore the switched second operating system can normally run.
In a specific embodiment, when the first operating system crashes or needs to be reinstalled, the system is restarted and enters the second operating system; starting a task for installing the first operating system by the second operating system, and entering an installation environment under the first operating system for installation; when the first operating system is determined to run in the hybrid system by inquiring the BIOS after the first operating system is installed, storing application recovery indication information in a shared storage area of the first operating system and a shared storage area of a second operating system, scanning to obtain a driver list and a configuration list which need to be installed, and storing the driver list and the configuration list to the shared storage area; the first operating system enters a dormant state and is switched to a second operating system at the same time; the second operating system acquires the driver sequence list and the configuration list from the shared storage area, and acquires the corresponding driver and the configuration information from the network downloading resource and stores the driver and the configuration information in the shared storage area; the second operating system enters a dormant state and is switched to the first operating system at the same time; the first operating system obtains the driver and the configuration information from the shared memory area, and performs installation and configuration.
In the first and second embodiments of the present invention, the first operating system is a large-sized Windows operating system, and the second operating system is a small-sized embedded operating system. Specifically, the second operating system may be an embedded operating system employing an ARM architecture. For example, the second operating system is a Linux operating system or an Android operating system.
Preferably, in the first embodiment of the present invention, in a normal operation process of the first operating system, if the first operating system is performing operations such as changing a driver version, an application (installation, uninstallation, or upgrade), modifying a configuration parameter, and the like, the operation information is sent to the second operating system through a data transmission channel between the first operating system and the second operating system, and the second operating system backs up or updates the stored application list of the first operating system, where the application list includes a driver list, an application list, and a configuration parameter list, so that when the first operating system is reinstalled, the second operating system restores the application of the first operating system according to the stored application list. Similarly, in the second embodiment of the present invention, in a normal operation process of the first operating system, if the first operating system is performing operations such as changing a driver version, an application (installation, uninstallation, or upgrade), and modifying a configuration parameter, the operating information is saved in the shared storage area of the first operating system and the second operating system, and when the first operating system is switched to the second operating system, the second operating system backs up or updates the stored application list of the first operating system according to the operating information saved in the shared storage area, where the application list includes a driver list, an application list, and a configuration parameter list, so that when the first operating system is reinstalled, the second operating system restores the application of the first operating system according to the saved application list.
In a third embodiment of the present invention, an electronic device is provided, as shown in fig. 3, and the electronic device includes a first system 31 and a second system 32, where the first system 31 includes a first hardware platform 310 and a first operating system running on the first hardware platform 310, and the second system 32 includes a second hardware platform 320 and a second operating system running on the second hardware platform 320; the first system 31 is configured to, after the installation of the first operating system is completed, restore the data transmission channel and the instruction transmission channel connected to the second system 32 when the first operating system is determined to run in a hybrid system including the first system 31 and the second system 32, and instruct the second system 32 to install and/or configure each application of the first system 31 through the data transmission channel and the instruction transmission channel.
The second system 32 is specifically configured to detect a level state output by a preset position of the first hardware platform after the first operating system is installed, and determine to operate in the hybrid system when the level state is determined to be the preset state.
The first system 31 is specifically configured to obtain drivers corresponding to the data transmission channel and the instruction transmission channel from preset storage locations, and restore the data transmission channel and the instruction transmission channel connected to the second system 32 after running and installing the drivers.
In this embodiment of the present invention, the first system 31 is further configured to detect a running first hardware platform, obtain a first application list to be installed, and send the first application list to the second system 32 through a data transmission channel, where the first application list includes a driver sequence list and/or a first configuration list; the second system 32 is further configured to obtain a second application list to be installed from a preset storage location, where the second application list at least includes an application list and a second configuration list; the second system 32 is further configured to obtain installation programs and/or configuration information required by the applications according to the first application list and/or the second application list, and send the installation programs and/or configuration information to the first system 31 through the data transmission channel for installation.
Specifically, the electronic device further includes shared hardware of the first system 31 and the second system 32; the second system 32 is further configured to release the occupied shared hardware before the first system 31 detects the running first hardware platform and obtains the first application list that needs to be installed.
In this embodiment of the present invention, a specific structure of an electronic device is shown in fig. 4, where the electronic device includes a first system 31 and a second system 32, a first hardware platform in the first system 31 mainly includes a first master processor 401, a first slave processor 402, and a first battery 403 connected in sequence, a second hardware platform in the second system 32 mainly includes a second master processor 404, a second slave processor 405, and a second battery 406 connected in sequence, and the electronic device further includes a shared hardware 407 connected to both the first system 31 and the second system 32, where the first master processor 401 and the second master processor 404 are connected to form a first transmission channel (i.e., a data transmission channel), and the first slave processor 402 and the second slave processor 405 are connected to form a second transmission channel (i.e., an instruction transmission channel).
In a specific implementation, the first host processor 401 is a processor of an X86 architecture, the second host processor 404 is a processor of an ARM architecture, the first host processor 401 runs a Windows operating system, and the second host processor 404 runs an Android operating system.
In a fourth embodiment of the present invention, an electronic device is correspondingly provided, as shown in fig. 5, the electronic device includes a first system 51 and a second system 52, where the first system 51 includes a hardware platform and a first operating system running on the hardware platform, and the second system 52 includes the same hardware platform and a second operating system running on the hardware platform; wherein,
the first system 51 is used for saving the application recovery indication information in the shared storage area 53 of the first system 51 and the second system 52 after the installation of the first operating system is completed, and switching to the second system 52; the first system 51 is further configured to obtain installation programs and/or configuration information required by each application from the shared storage area 53, and perform installation and/or configuration;
the second system 52 is configured to obtain the application recovery instruction information from the shared storage area 53, obtain the installation program and/or configuration information required by each application according to the application recovery instruction information, store the installation program and/or configuration information in the shared storage area 53, and switch to the first system 51.
In a specific implementation, the first system 51 is further configured to, when the application recovery indication information is stored in the shared storage area 53 of the first system 51 and the second system 52, detect a hardware platform on which the first system operates, obtain a driver list and/or a first configuration list that needs to be installed, and store the driver list and/or the first configuration list in the shared storage area 53.
In another specific implementation, the second system 52 is further configured to obtain the list of applications and/or the second configuration list that need to be installed from a predetermined storage location after obtaining the application recovery indication information from the shared storage area 53.
In this embodiment of the present invention, the second system 52 is specifically configured to obtain a required installation program and/or first configuration information according to a drive program sequence list and/or a first configuration list stored in the shared storage area 53, and store the required installation program and/or first configuration information in the shared storage area 53; and/or acquiring the required installation program and/or second configuration information according to the application program list and/or the second configuration list, and storing the required installation program and/or second configuration information to the shared storage area.
Based on the above technical solution, in an embodiment of the present invention, in a hybrid system having a first system and a second system, the first system includes a first hardware platform and a first operating system running on the first hardware platform, the second system includes a second hardware platform and a second operating system running on the second hardware platform, after the first operating system is installed and is determined to run in the hybrid system, a data transmission channel and an instruction transmission channel connected to the second operating system are recovered, and the first operating system instructs the second operating system to install and/or configure each application of the first operating system through the data transmission channel and the instruction transmission channel, so that each application of the first operating system can be automatically recovered by using the second operating system after the first operating system is installed, and system recovery efficiency is improved. In addition, in a hybrid system having a first operating system and a second operating system, when the first operating system and the second operating system share the same hardware platform, after the installation of the first operating system is completed, application recovery instruction information is stored in a memory area shared by the first operating system and the second operating system, and the second operating system is switched to the second operating system, and after the application recovery instruction information is acquired from the shared memory area by the second operating system, installation programs and/or configuration information required by each application is acquired according to the application recovery instruction information, the installation programs and/or configuration information required by each application are stored in the memory area, and the first operating system is switched to the first operating system, and then the installation programs and/or configuration information required by each application are acquired from the memory area by the first operating system, and installation and/or configuration are performed, so that each application of the first operating system can be automatically recovered by the second operating system after the installation of the first operating system is completed, the system recovery efficiency is improved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (17)
1. An operating system application recovery method applied to a hybrid system having a first system and a second system, wherein the first system comprises a first hardware platform and a first operating system running on the first hardware platform, and the second system comprises a second hardware platform and a second operating system running on the second hardware platform, the method comprising:
after the first operating system is installed, when the first operating system is determined to run in the hybrid system, recovering a data transmission channel and an instruction transmission channel which are connected with the second operating system;
and the first operating system instructs the second operating system to install and/or configure each application of the first operating system through the data transmission channel and the instruction transmission channel.
2. The method of claim 1, wherein the determining operates in a hybrid system, comprising:
after the first operating system is installed, detecting a level state output by a preset position of the first hardware platform, and determining to run in a hybrid system when the level state is determined to be the preset state.
3. The method of claim 2, wherein the restoring the data transfer path and the command transfer path connected to the second operating system comprises:
and respectively acquiring the driving programs corresponding to the data transmission channel and the instruction transmission channel from a preset storage position, operating and installing the driving programs, and then recovering the data transmission channel and the instruction transmission channel which are connected with the second operating system.
4. The method of claim 1, 2 or 3, wherein the first operating system instructing the second operating system to install and/or configure applications of the first operating system through the data transmission channel and the instruction transmission channel comprises:
the first operating system detects a running first hardware platform, acquires a first application list needing to be installed, and sends the first application list to the second operating system through the data transmission channel, wherein the first application list comprises a driver sequence list and/or a first configuration list;
and/or the second operating system acquires a second application list needing to be installed from a preset storage position, wherein the second application list at least comprises an application program list and a second configuration list;
and the second operating system acquires installation programs and/or configuration information required by each application according to the first application list and/or the second application list, and sends the installation programs and/or the configuration information to the first operating system for installation through the data transmission channel.
5. An operating system application recovery method applied to a hybrid system having a first operating system and a second operating system, wherein the first operating system and the second operating system share the same hardware platform, the method comprising:
after the first operating system is installed, storing application recovery indication information in a shared storage area of the first operating system and the second operating system, and switching to the second operating system;
after acquiring the application recovery indication information from the shared storage area, the second operating system acquires installation programs and/or configuration information required by each application according to the application recovery indication information, stores the installation programs and/or the configuration information into the shared storage area, and switches to the first operating system;
and the first operating system acquires installation programs and/or configuration information required by each application from the shared storage area, and installs and/or configures the installation programs and/or the configuration information.
6. The method of claim 5, wherein after the installation of the first operating system is completed, when application resume indication information is saved in the shared storage area of the first operating system and the second operating system, the method further comprises:
and detecting a hardware platform operated by the first operating system, acquiring a driver list and/or a first configuration list which need to be installed, and storing the driver list and/or the first configuration list to the shared storage area.
7. The method of claim 5 or 6, wherein after the second operating system obtains the application resume indication information from the shared storage area, the method further comprises:
and acquiring the application program list and/or the second configuration list needing to be installed from a preset storage position.
8. The method of claim 7, wherein obtaining and saving to the shared storage area the installation program and/or configuration information required by each application according to the application recovery indication comprises:
the second operating system acquires a required installation program and/or first configuration information according to a drive program sequence list and/or a first configuration list stored in the shared storage area, and stores the required installation program and/or first configuration information in the shared storage area;
and/or acquiring the required installation program and/or second configuration information according to the application program list and/or second configuration list, and storing the required installation program and/or second configuration information to the shared storage area.
9. An electronic device comprising a first system and a second system;
the first system comprises a first hardware platform and a first operating system running on the first hardware platform;
the second system comprises a second hardware platform and a second operating system running on the second hardware platform;
the first system is used for recovering a data transmission channel and an instruction transmission channel connected with the second system when the first operating system is determined to run in a hybrid system comprising the first system and the second system after the installation of the first operating system is finished, and indicating the second system to install and/or configure each application of the first system through the data transmission channel and the instruction transmission channel.
10. The device of claim 9, wherein the first system is specifically configured to detect a level status output from a preset location of the first hardware platform after the installation of the first operating system is completed, and determine to run in the hybrid system when the level status is determined to be the preset status.
11. The device according to claim 10, wherein the first system is specifically configured to obtain drivers corresponding to the data transmission channel and the instruction transmission channel from preset storage locations, respectively, and recover the data transmission channel and the instruction transmission channel connected to the second system after running and installing the drivers.
12. The apparatus according to claim 9, 10 or 11, wherein the first system is further configured to detect a running first hardware platform and obtain a first application list to be installed, and send the first application list to the second system through the data transmission channel, where the first application list includes a driver sequence list and/or a first configuration list;
the second system is further configured to obtain a second application list to be installed from a preset storage location, where the second application list at least includes an application program list and a second configuration list; and the system is further used for acquiring installation programs and/or configuration information required by each application according to the first application list and/or the second application list, and sending the installation programs and/or the configuration information to the first system for installation through the data transmission channel.
13. The apparatus of claim 12, further comprising shared hardware of the first system and second system;
the second system is further configured to release the occupied shared hardware before the first system detects the running first hardware platform and acquires the first application list that needs to be installed.
14. An electronic device, comprising a first system and a second system, wherein the first system comprises a hardware platform and a first operating system running on the hardware platform, and the second system comprises the hardware platform and a second operating system running on the hardware platform;
the first system is used for storing application recovery indication information in a shared storage area of the first system and the second system after the installation of the first operating system is completed, and switching to the second system; the shared storage area is used for storing installation programs and/or configuration information required by the applications;
and the second system is used for acquiring installation programs and/or configuration information required by each application according to the application recovery indication information after acquiring the application recovery indication information from the shared storage area, storing the installation programs and/or the configuration information to the shared storage area, and switching to the first system.
15. The device of claim 14, wherein the first system is further configured to, when the application recovery indication information is saved in the shared storage area of the first system and the second system, detect a hardware platform on which the first system is running, obtain a list of drivers to be installed and/or a first configuration list, and save the list to the shared storage area.
16. The apparatus according to claim 14 or 15, wherein the second system is further configured to, after acquiring the application recovery indication information from the shared storage area, acquire a list of applications that need to be installed and/or a second configuration list from a predetermined storage location.
17. The device according to claim 16, wherein the second system is specifically configured to obtain a required installer and/or first configuration information according to a driver sequence table and/or a first configuration table stored in the storage area, and store the required installer and/or first configuration information in the shared storage area; and/or acquiring the required installation program and/or second configuration information according to the application program list and/or second configuration list, and storing the required installation program and/or second configuration information to the shared storage area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210048123.3A CN103294571B (en) | 2012-02-27 | A kind of operating system application recovery method and associated electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210048123.3A CN103294571B (en) | 2012-02-27 | A kind of operating system application recovery method and associated electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103294571A true CN103294571A (en) | 2013-09-11 |
CN103294571B CN103294571B (en) | 2016-11-30 |
Family
ID=
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103777962A (en) * | 2014-02-21 | 2014-05-07 | 联想(北京)有限公司 | Method and device for processing information |
CN104516779A (en) * | 2013-09-27 | 2015-04-15 | 联想(北京)有限公司 | System switching method and chip |
CN104680089A (en) * | 2013-11-29 | 2015-06-03 | 联想(北京)有限公司 | Electronic device and system switching method |
CN104732165A (en) * | 2015-03-06 | 2015-06-24 | 西安酷派软件科技有限公司 | Management method of applications and terminal |
CN106028152A (en) * | 2016-06-13 | 2016-10-12 | 天脉聚源(北京)传媒科技有限公司 | Method and device for upgrading set top box operating system |
WO2016161680A1 (en) * | 2015-04-08 | 2016-10-13 | 宇龙计算机通信科技(深圳)有限公司 | Traffic data update method, traffic data update system and terminal |
CN106502653A (en) * | 2016-09-29 | 2017-03-15 | 北京珠穆朗玛移动通信有限公司 | Application management method and its mobile terminal based on dual system |
CN106548097A (en) * | 2015-09-23 | 2017-03-29 | 深圳市全智达科技有限公司 | The operation method and device of network device software |
CN107678846A (en) * | 2017-10-12 | 2018-02-09 | 北京元心科技有限公司 | The management method of application program, device and terminal in multisystem |
CN108566492A (en) * | 2018-04-26 | 2018-09-21 | 三星电子(中国)研发中心 | A kind of method and apparatus for the system level setting restoring APP |
CN112732483A (en) * | 2020-12-31 | 2021-04-30 | 联想(北京)有限公司 | Data recovery method, device and system |
CN115080158A (en) * | 2021-03-12 | 2022-09-20 | Oppo广东移动通信有限公司 | Interface display method and device, terminal equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005052816A2 (en) * | 2003-07-25 | 2005-06-09 | Honeywell International Inc. | Multiple system compatible database system and method |
US7356677B1 (en) * | 2001-10-19 | 2008-04-08 | Flash Vos, Inc. | Computer system capable of fast switching between multiple operating systems and applications |
TW201106271A (en) * | 2009-08-14 | 2011-02-16 | Insyde Software Corp | Method of switching different operating systems in computer |
CN102043662A (en) * | 2009-10-23 | 2011-05-04 | 伟视科技股份有限公司 | Data modification method for multiple operation systems |
CN102063447A (en) * | 2009-11-16 | 2011-05-18 | 联想(北京)有限公司 | Method for presenting file when switching system states and portable terminal |
CN102163167A (en) * | 2011-03-02 | 2011-08-24 | 奇智软件(北京)有限公司 | Method and device for rescuing system |
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7356677B1 (en) * | 2001-10-19 | 2008-04-08 | Flash Vos, Inc. | Computer system capable of fast switching between multiple operating systems and applications |
WO2005052816A2 (en) * | 2003-07-25 | 2005-06-09 | Honeywell International Inc. | Multiple system compatible database system and method |
TW201106271A (en) * | 2009-08-14 | 2011-02-16 | Insyde Software Corp | Method of switching different operating systems in computer |
CN102043662A (en) * | 2009-10-23 | 2011-05-04 | 伟视科技股份有限公司 | Data modification method for multiple operation systems |
CN102063447A (en) * | 2009-11-16 | 2011-05-18 | 联想(北京)有限公司 | Method for presenting file when switching system states and portable terminal |
CN102163167A (en) * | 2011-03-02 | 2011-08-24 | 奇智软件(北京)有限公司 | Method and device for rescuing system |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104516779A (en) * | 2013-09-27 | 2015-04-15 | 联想(北京)有限公司 | System switching method and chip |
CN104516779B (en) * | 2013-09-27 | 2020-03-24 | 联想(北京)有限公司 | System switching method and chip |
CN104680089A (en) * | 2013-11-29 | 2015-06-03 | 联想(北京)有限公司 | Electronic device and system switching method |
CN104680089B (en) * | 2013-11-29 | 2019-02-05 | 联想(北京)有限公司 | A kind of electronic equipment and system switching method |
CN103777962A (en) * | 2014-02-21 | 2014-05-07 | 联想(北京)有限公司 | Method and device for processing information |
CN104732165B (en) * | 2015-03-06 | 2018-11-06 | 西安酷派软件科技有限公司 | A kind of management method and terminal of application |
CN104732165A (en) * | 2015-03-06 | 2015-06-24 | 西安酷派软件科技有限公司 | Management method of applications and terminal |
WO2016161680A1 (en) * | 2015-04-08 | 2016-10-13 | 宇龙计算机通信科技(深圳)有限公司 | Traffic data update method, traffic data update system and terminal |
CN106548097A (en) * | 2015-09-23 | 2017-03-29 | 深圳市全智达科技有限公司 | The operation method and device of network device software |
CN106028152A (en) * | 2016-06-13 | 2016-10-12 | 天脉聚源(北京)传媒科技有限公司 | Method and device for upgrading set top box operating system |
CN106502653A (en) * | 2016-09-29 | 2017-03-15 | 北京珠穆朗玛移动通信有限公司 | Application management method and its mobile terminal based on dual system |
CN107678846A (en) * | 2017-10-12 | 2018-02-09 | 北京元心科技有限公司 | The management method of application program, device and terminal in multisystem |
CN108566492A (en) * | 2018-04-26 | 2018-09-21 | 三星电子(中国)研发中心 | A kind of method and apparatus for the system level setting restoring APP |
CN112732483A (en) * | 2020-12-31 | 2021-04-30 | 联想(北京)有限公司 | Data recovery method, device and system |
CN115080158A (en) * | 2021-03-12 | 2022-09-20 | Oppo广东移动通信有限公司 | Interface display method and device, terminal equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9563442B2 (en) | Baseboard management controller and method of loading firmware | |
US9600369B2 (en) | Operating system recovery method and apparatus, and terminal device | |
CN104794014B (en) | System operation method and intelligent terminal | |
CN110780890A (en) | System upgrading method and device, electronic equipment and medium | |
EP2905700B1 (en) | Operating system recovery method, apparatus and terminal device | |
CN101788845B (en) | For performing the method and system of computer task reducing power consumption state | |
EP2474913A1 (en) | USB device switching working mode | |
CN105940375B (en) | Dynamic reassignment for multiple operating system devices | |
CN104252203B (en) | Electronic device, method for controlling electronic device, and program | |
US20140244822A1 (en) | Management apparatus and method of managing server node | |
CN110968392A (en) | Method and device for upgrading virtualization simulator | |
CN102169390B (en) | Information terminal and touch control method thereof | |
EP2466459A1 (en) | Seamless application integration apparatus and method | |
US11366679B2 (en) | Guest operating system wake-up method, device, electronic apparatus, and readable medium | |
JP2013025426A (en) | Image output device and program therefor | |
CN103729219A (en) | Method and system for framing UEFI BIOS (unified extensible firmware interface basic input/output system) | |
EP2835737A1 (en) | Data terminal running mode switching method, device, and data terminal | |
CN102135896B (en) | A kind of method and system based on Implementation of Embedded System software upgrading | |
CN103294571B (en) | A kind of operating system application recovery method and associated electronic device | |
CN103064696B (en) | Starting method and electronic equipment | |
CN103294571A (en) | Operating system application recovery method and related electronic equipment | |
CN112083964B (en) | Method for deploying an operating system | |
CN106843952B (en) | Method and device for updating function module in application | |
CN114416188B (en) | Data processing system and ARM core board starting method | |
KR101974974B1 (en) | Apparatus and method for switching system based container technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |