CN102043662A - Data modification method for multiple operation systems - Google Patents
Data modification method for multiple operation systems Download PDFInfo
- Publication number
- CN102043662A CN102043662A CN200910207102XA CN200910207102A CN102043662A CN 102043662 A CN102043662 A CN 102043662A CN 200910207102X A CN200910207102X A CN 200910207102XA CN 200910207102 A CN200910207102 A CN 200910207102A CN 102043662 A CN102043662 A CN 102043662A
- Authority
- CN
- China
- Prior art keywords
- operating system
- program
- instruction
- data
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000002715 modification method Methods 0.000 title abstract description 11
- 238000000034 method Methods 0.000 claims abstract description 37
- 230000004048 modification Effects 0.000 claims description 8
- 238000012986 modification Methods 0.000 claims description 8
- 241000700605 Viruses Species 0.000 claims description 3
- 230000008859 change Effects 0.000 description 10
- 238000005192 partition Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 7
- 238000009434 installation Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 238000011017 operating method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a data modification method for multiple operation systems. The method is applicable to an electronic device, wherein the electronic device comprises a first operation system and a second operation system. The method comprises the following steps: under the working environment of the first operation system, detecting the working state of the second operation system, and editing a program for the second operation system if the second operation system is not in a startup state, wherein the program is composed of at least one command which can cause the second operation system to automatically execute or is executed to operate the second operation system; and when the second operation system operates, automatically executing the second operation system or executing the program, and accessing the data of the corresponding command based on the command.
Description
Technical Field
The present invention relates to a data modification method for multiple operating systems, and more particularly, to a data modification method for multiple operating systems of an electronic device having multiple operating systems.
Background
Generally, electronic devices, such as computers, are usually installed with operating systems to manage the related software and hardware of the electronic devices, and different operating systems are usually good at Time Sharing Systems (TSS), batch Processing systems (batch Processing) or Graphical User interfaces (Graphical User interfaces). Therefore, some users have installed several operating systems in the same electronic device for different purposes.
However, the operating systems are often configured to operate independently of each other, and are often configured in different storage units (e.g., hard disk and flash memory) or in different independent partitions (partitions) of a mass storage unit (e.g., hard disk) where each Partition is configured to execute a software file system format. If a user wants to install an application program or change a system in a different operating system, the user needs to perform an installation or change operation in each operating system, and cannot set software to be installed or change settings required for setting different operating systems in the current operating system environment. When a user accidentally destroys or changes the software or operating system settings of different operating systems, there is often no ability to properly process, copy, or restore the different operating systems, thereby increasing the difficulty of maintaining the system.
Disclosure of Invention
The invention aims to provide a data modification method of multiple operating systems, which detects the working state of a second operating system through a first operating system and modifies system data of the second operating system so as to complete the operation and control action on the second operating system and change the characteristics of the second operating system.
According to the objective of the present invention, a data modification method for multiple operating systems is provided, wherein in a working environment of a first operating system, a working state of a second operating system is detected, and if the second operating system is in an un-started state, a program is edited to the second operating system, the program includes at least one instruction for the second operating system to automatically execute, and when the second operating system is started, the program is automatically executed, and data corresponding to the instruction is accessed according to the instruction.
According to another aspect of the present invention, a method for modifying data of multiple operating systems is provided, wherein in an operating environment of a first operating system, an operating state of a second operating system is detected, and if the second operating system is in an un-booted state, a program is edited to the second operating system, the program including at least one instruction that changes the second operating system or a characteristic of an application of the second operating system. And correspondingly accessing the data of the second operating system or the application program according to the instruction.
In light of the above, the data modification method for multiple operating systems according to the present invention may have the following advantages:
(1) the data modification method of the multiple operating systems can set the installation application program of the second operating system under the first operating system.
(2) The data modification method of the multiple operating systems can change the characteristics of the second operating system under the first operating system, such as updating or restoring the second operating system, or modifying, adding, deleting or hiding the application program of the second operating system.
Drawings
FIG. 1 is a simplified diagram of an electronic device according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a storage unit of an electronic device according to an embodiment of the invention;
FIG. 3 is a flow chart of a method of operation according to a first embodiment of the present invention;
FIG. 4 is a flow chart of a method of operation according to a second embodiment of the present invention;
FIG. 5 is a flow chart of a method of operation according to a third embodiment of the present invention.
Wherein,
1000: an electronic device;
1100: a processing unit;
1200: a basic output/input system;
1300: a system memory;
1400: a storage device;
1410: a first disk partition;
1411: a first operating system;
1412: a first start-up procedure;
1420: a second disk partition;
1421: a second operating system;
1422: a second start-up procedure;
1430: a boot sector;
1431: starting up the program;
1432: setting a configuration;
S31-S38 a, S38 b: a step of;
S41-S46: a step of;
S51-S54: and (5) carrying out the following steps.
Detailed Description
Referring to fig. 1, fig. 1 is a simplified diagram of an electronic device according to a first embodiment of the invention. In the figure, the electronic device 1000 includes a processing unit 1100, a Basic Input/Output System 1200 (BIOS), a System memory 1300, and a storage unit 1400. The processing unit 1100 can perform related processing such as a boot process on the electronic device 1000. The bios 1200 provides basic input/output functions of the electronic device 1000, sets basic functions of the electronic device 1000, and performs Power On Reset Test (POST). The system memory 1300 may be a Random Access Memory (RAM) for storing programs executed by the electronic device and related data. The storage unit 1400 may be a hard disk, which includes a boot sector 1430, a first disk partition 1410, and a second disk partition 1420, as shown in FIG. 2.
The first disk partition 1410 includes a first operating system 1411 and a first boot program 1412. The first boot program 1412 records an instruction for automatically executing the first operating system 1411 after booting. The second disk partition 1420 includes a second operating system 1421 and a second boot program 1422. The second boot program 1422 records an instruction for automatically executing the second operating system 1421 after booting. The boot sector 1430 at least includes a boot program 1431 and a configuration setting 1432, and when the electronic device 1000 is booted, the processing unit 1410 loads and executes the boot program 1431 and the configuration setting 1432, and a user of the electronic device 1000 determines to select to enter the first operating system 1411 environment or the second operating system 1421 environment, and then executes the first boot program 1412 or the second boot program 1422.
The first operating system 1411 may be a Widnows CE or embedded Linux system from microsoft corporation, and the second operating system 1421 may be an operating system such as Windows 2000, NT, XP or Vista from microsoft corporation.
According to the data modification method of multiple operating systems of the present invention, the second boot program 1422 of the second operating system 1421 can be modified and the automatic execution file of the second operating system 1421 can be added directly under the environment of the first operating system 1411, so that the application program can be automatically installed after the second operating system 1421 is started. The method for modifying data of multiple operating systems according to the present invention can further change the characteristics of the second operating system 1421 or an application of the second operating system directly under the environment of the first operating system 1411.
Referring to fig. 3, fig. 3 is a schematic flow chart according to a first embodiment of the invention. In the figure, the first operating system is a Linux system, the second operating system is a Windows system, and the operating method includes the following steps:
in step S31, the electronic device is under the operating environment of the first operating system, and detects the operating status of the second operating system.
Step S32, determine whether the second os state is in S3, S4 or S5 state of Advanced Configuration and Power Interface (ACPI), if yes, go to step S33, otherwise go back to step S31.
Step S33, determine whether to install or copy an application into the second os, if yes, go to step S34, otherwise go back to step S31.
Step S34, determine whether the second os can read the application package from the electronic device after being started, if so, go to step S36a, otherwise, go to step S35. The format and the storage position of the application software package to be installed are both the format and the accessible position which can be read by the second operating system.
In step S35, the downloaded program of the application program is copied to the second operating system. The format and the storage position of the downloading program are both the format and the accessible position which can be read by the second operating system.
Step S36a, modify the boot program of the second operating system, so that the second operating system automatically executes the application installation file or accesses the application software package after booting. For example, a runonce.exe execution file is put in a boot program of the second operating system, and the execution file position of the application software package is written in the runonce.exe execution file.
In step S37a, the second operating system is started.
Step S38a, according to runonce.exe, accessing the application package or automatically executing the installation archive of the application package.
Step S36b, modify the boot program of the second operating system, so that the second operating system automatically executes the installation file of the application to be installed after booting. For example, a runonce.exe execution file is put in a boot program of the second operating system, and a location of the downloaded program is written in a runonce.exe execution file.
In step S37b, the second operating system is started.
Step S38b, automatically executing the downloading program according to Runonce.exe, after downloading the application software package by the network, selecting to install the application or execute the application according to the characteristics of the application.
The present invention also provides a method for editing a program or file in a first operating system environment to change the characteristics of a second operating system or an application of the second operating system, wherein the program or file contains at least one command capable of directly accessing the application, data or system configuration of the second operating system to change the characteristics of the second operating system or the application of the second operating system, such as changing the characteristics of the second operating system or the characteristics of the application thereof, or hiding the second operating system to prevent a user from unintentionally deleting files or data related to the second operating system, or directly removing malicious software or performing an offline (Off Line) virus scanning action of the second operating system by using virus protection software of the first operating system, or directly performing a maintenance (maintenance), Recovery (Recovery) or backup action on the second operating system, the second operating system may also or directly be upgraded (Upgrade), such as from Windows XP to Windows Vista. Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of the present invention. In the figure, the operation method comprises the following steps:
in step S41, the electronic device is in the operating environment of the first operating system, and detects the operating status of the second operating system.
Step S42, determine whether the state of the second os is in the S3, S4, or S5 state of the high-level configuration and power interface management apparatus, if yes, go to step S43, otherwise go back to step S41.
In step S43, it is determined whether a program or file is to be written to the second os, where the program or file includes at least one command that changes a characteristic of the second os or an application of the second os, if so, step S44a is performed, otherwise, step S41 is returned to.
Step S44a, determine whether to add data directly to the second os, if yes, go to step S45, otherwise go to step S45 b.
Step S44b, determining whether to modify the data in the second os directly, if yes, performing step S45, otherwise, performing step S45 c.
Step S44c, determine whether to delete the data in the second os directly, if yes, go to step S46, otherwise go back to step S41.
In step S46, the configuration of the second os is modified to change the characteristics of the second os after the second os is started.
In step S47, the second operating system is activated to read the changed configuration settings.
Referring to fig. 5, fig. 5 is a schematic flow chart according to a third embodiment of the invention. In the figure, the operation method comprises the following steps:
in step S51, the electronic device is under the operating environment of the first operating system, and detects the operating status of the second operating system.
Step S52, determine whether the state of the second os is in the S3, S4, or S5 state of the high-level configuration and power interface management apparatus, if yes, go to step S53, otherwise go back to step S51.
In step S53, it is determined whether to edit the program or file in the second os, wherein the program or file is a configuration file of an application program in the second os, if so, step S54 is performed, otherwise, step S51 is returned to. The setting file is preferably in an ini file format, so that one execution file of the application program correspondingly reads the setting file under the working environment of the second operating system, and the characteristics of the application program of the second operating system are changed under the working environment of the first operating system.
In step S53, the setting file of the application program is edited to change the characteristics of the application program of the second operating system under the working environment of the first operating system.
The foregoing is by way of example only, and not limiting. It is intended that all equivalent modifications or variations without departing from the spirit and scope of the present invention shall be included in the scope of the appended claims.
Claims (19)
1. A method for modifying data of multiple operating systems, the method being applied to an electronic device comprising a first operating system and a second operating system, the method comprising the steps of:
detecting the working state of the second operating system under the working environment of the first operating system;
if the second operating system is in an un-started state, editing a program to the second operating system, wherein the program comprises at least one instruction for enabling the second operating system to automatically execute or operate the second operating system to be executed;
and starting the second operating system to automatically execute or execute the program, and accessing data corresponding to the instruction according to the instruction.
2. The method of claim 1, wherein the program is an auto-execute program in an auto-execute file or auto-execute file format.
3. The method as claimed in claim 1, wherein the program is a configuration file of an application program of the second operating system, and an execution file of the application program executes the command according to the configuration file.
4. The method for data modification of multiple operating systems according to claim 1, further comprising modifying a boot program of the second operating system so that the second operating system automatically executes the program after booting the second operating system.
5. The method of claim 1, wherein the instruction is to automatically install or access at least one application program after the second operating system is started.
6. The method of claim 5, wherein the data is an application software package for the application program.
7. The method as claimed in claim 5, wherein the data is a download program of the application program, and the second operating system automatically downloads the application program according to the download program after starting up, and selects to install the application program or execute the application program according to the characteristics of the application program.
8. The method for data modification of multiple operating systems of claim 1, wherein the non-booted state is an S3, S4, or S5 state of the advanced configuration and power interface management apparatus.
9. A method for modifying data of multiple operating systems, the method being applied to an electronic device comprising a first operating system and a second operating system, the method comprising the steps of:
detecting the working state of the second operating system under the working environment of the first operating system;
if the second operating system is in an un-started state, editing a program to the second operating system, wherein the program comprises at least one instruction, and the instruction changes the characteristics of the second operating system or an application program of the second operating system;
and correspondingly accessing data of the second operating system or the application program according to the instruction.
10. The method of claim 9, wherein the instructions further comprise directly adding, modifying, or deleting the data.
11. The method of claim 9, wherein the data is a configuration setting, a file, or an instruction set.
12. The method of claim 11, wherein the instruction is to clean up at least one malware implant software of the second operating system by a virus protection software of the first operating system.
13. A method of data modification for multiple operating systems as claimed in claim 11, wherein said instruction is to directly maintain said second operating system to update said second operating system.
14. A method for data modification of a multi-operating system as recited in claim 11, wherein the instruction is a direct update of the application.
15. The method as claimed in claim 11, wherein the command directly restores the second os to a predetermined time.
16. The method of claim 11, wherein the instruction is to directly upgrade the second os to a third os.
17. A method of data modification for multiple operating systems as claimed in claim 11, wherein said instruction is to hide said second operating system.
18. A method of data modification for multiple operating systems as claimed in claim 11, wherein said instruction is a direct backup of said second operating system.
19. The method for data modification of multiple operating systems of claim 9, wherein the non-booted state is an S3, S4, or S5 state of the nic.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910207102XA CN102043662A (en) | 2009-10-23 | 2009-10-23 | Data modification method for multiple operation systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910207102XA CN102043662A (en) | 2009-10-23 | 2009-10-23 | Data modification method for multiple operation systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102043662A true CN102043662A (en) | 2011-05-04 |
Family
ID=43909820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910207102XA Pending CN102043662A (en) | 2009-10-23 | 2009-10-23 | Data modification method for multiple operation systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102043662A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984281A (en) * | 2012-12-20 | 2013-03-20 | 湖南纽曼数码科技有限公司 | Automatic upgrading method of multi-system vehicle-mounted equipment |
CN103197939A (en) * | 2012-01-05 | 2013-07-10 | 联想(新加坡)私人有限公司 | Firmware updating in a hybrid computing environment |
CN103294571A (en) * | 2012-02-27 | 2013-09-11 | 联想(北京)有限公司 | Operating system application recovery method and related electronic equipment |
CN104168557A (en) * | 2014-08-28 | 2014-11-26 | 酷派软件技术(深圳)有限公司 | Upgrading method for operating systems and upgrading device for operating systems |
CN104468558A (en) * | 2014-11-28 | 2015-03-25 | 东莞宇龙通信科技有限公司 | Data security management method, device and terminal |
CN105068897A (en) * | 2015-07-17 | 2015-11-18 | 东莞市健创电子有限公司 | Method for realizing vehicle-mounted smart dual system, dual system and dual system platform |
CN105988848A (en) * | 2015-03-06 | 2016-10-05 | 西安酷派软件科技有限公司 | Application installation method of multi-system terminal, application installation apparatus of multi-system terminal and terminal |
CN103294571B (en) * | 2012-02-27 | 2016-11-30 | 联想(北京)有限公司 | A kind of operating system application recovery method and associated electronic device |
CN106502735A (en) * | 2016-10-18 | 2017-03-15 | 北京珠穆朗玛移动通信有限公司 | The moving method that applies in dual system and its mobile terminal |
WO2017161638A1 (en) * | 2016-03-24 | 2017-09-28 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for freezing and waking up multiple systems |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7062766B2 (en) * | 1998-01-21 | 2006-06-13 | Nokia Corporation | Embedded system with interrupt handler for multiple operating systems |
CN101364186A (en) * | 2008-09-27 | 2009-02-11 | 腾讯科技(深圳)有限公司 | Data migration method, system, data migration server and data interface server |
-
2009
- 2009-10-23 CN CN200910207102XA patent/CN102043662A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7062766B2 (en) * | 1998-01-21 | 2006-06-13 | Nokia Corporation | Embedded system with interrupt handler for multiple operating systems |
CN101364186A (en) * | 2008-09-27 | 2009-02-11 | 腾讯科技(深圳)有限公司 | Data migration method, system, data migration server and data interface server |
Non-Patent Citations (1)
Title |
---|
WERNER ZIMMERMANN: ""LTOOLS-Access your linux files from windows 9x/ME and Windows NT/2000/XP"", 《LINUX JOUNAL》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197939A (en) * | 2012-01-05 | 2013-07-10 | 联想(新加坡)私人有限公司 | Firmware updating in a hybrid computing environment |
CN103294571A (en) * | 2012-02-27 | 2013-09-11 | 联想(北京)有限公司 | Operating system application recovery method and related electronic equipment |
CN103294571B (en) * | 2012-02-27 | 2016-11-30 | 联想(北京)有限公司 | A kind of operating system application recovery method and associated electronic device |
CN102984281A (en) * | 2012-12-20 | 2013-03-20 | 湖南纽曼数码科技有限公司 | Automatic upgrading method of multi-system vehicle-mounted equipment |
CN104168557A (en) * | 2014-08-28 | 2014-11-26 | 酷派软件技术(深圳)有限公司 | Upgrading method for operating systems and upgrading device for operating systems |
CN104168557B (en) * | 2014-08-28 | 2018-06-15 | 酷派软件技术(深圳)有限公司 | The upgrade method of operating system and the update device of operating system |
CN104468558A (en) * | 2014-11-28 | 2015-03-25 | 东莞宇龙通信科技有限公司 | Data security management method, device and terminal |
CN104468558B (en) * | 2014-11-28 | 2018-01-09 | 东莞宇龙通信科技有限公司 | Data security management method and device and terminal |
CN105988848A (en) * | 2015-03-06 | 2016-10-05 | 西安酷派软件科技有限公司 | Application installation method of multi-system terminal, application installation apparatus of multi-system terminal and terminal |
CN105068897A (en) * | 2015-07-17 | 2015-11-18 | 东莞市健创电子有限公司 | Method for realizing vehicle-mounted smart dual system, dual system and dual system platform |
WO2017161638A1 (en) * | 2016-03-24 | 2017-09-28 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for freezing and waking up multiple systems |
CN106502735A (en) * | 2016-10-18 | 2017-03-15 | 北京珠穆朗玛移动通信有限公司 | The moving method that applies in dual system and its mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8381231B2 (en) | Deployment and management of virtual containers | |
US6804774B1 (en) | Software image transition aid comprising building a disk image based on identified hardware | |
US6996706B1 (en) | Booting an operating system or running other pre-boot code from a file stored under a different operating system | |
JP6018590B2 (en) | Application compatibility with library operating system | |
US8266692B2 (en) | Malware automated removal system and method | |
CN102043662A (en) | Data modification method for multiple operation systems | |
KR101121641B1 (en) | Apparatus and method for controlling operation of system | |
US20170262273A1 (en) | Preinstalled Application Management Method for Mobile Terminal and Mobile Terminal | |
KR101760778B1 (en) | Computer system and method for updating program therein | |
US20010039612A1 (en) | Apparatus and method for fast booting | |
KR20040034540A (en) | Reliable and secure updating and recovery of firmware from a mass storage device | |
EP3769224B1 (en) | Configurable recovery states | |
US20080098381A1 (en) | Systems and methods for firmware update in a data processing device | |
JP5026494B2 (en) | Computer that starts at high speed | |
KR20150052107A (en) | Layout and execution of operating systems using bpram | |
KR102226558B1 (en) | Computer-readable recording having medium customized unified extensible firmware interface driver | |
TWI450090B (en) | Method and system of changing a startup list of programs to determine whether computer system performance increases | |
WO2015020661A1 (en) | Boot from modified factory image | |
KR20130068630A (en) | Method for initializing embedded device and apparatus thereof | |
CN111078469A (en) | Data processing method and data processing equipment | |
JP2007052519A (en) | Information processor, method, and program | |
JPWO2004081791A1 (en) | Virtual machine system and firmware update method in virtual machine system | |
CN106528114B (en) | Android firmware application device and android firmware upgrading method | |
JP2003296263A (en) | Method and system for automatically concealing pci extension cad in computer system | |
US8549273B1 (en) | Method and apparatus to present a unique background image on a personal computer display when the computer system is booted from an external drive |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110504 |