CN105786569A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105786569A
CN105786569A CN201610109252.7A CN201610109252A CN105786569A CN 105786569 A CN105786569 A CN 105786569A CN 201610109252 A CN201610109252 A CN 201610109252A CN 105786569 A CN105786569 A CN 105786569A
Authority
CN
China
Prior art keywords
operating system
subregion
electronic equipment
message
log
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
Application number
CN201610109252.7A
Other languages
Chinese (zh)
Other versions
CN105786569B (en
Inventor
刘继新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610109252.7A priority Critical patent/CN105786569B/en
Publication of CN105786569A publication Critical patent/CN105786569A/en
Application granted granted Critical
Publication of CN105786569B publication Critical patent/CN105786569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions
    • G06F9/44542Retargetable

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an information processing method and electronic equipment.The information processing method includes the steps that it is determined that the electronic equipment is provided with at least two operating systems, wherein the operating systems are installed in at least two different zones in the electronic equipment; it is determined that an operating system needing to be started is the first operating system in the operating systems; based on the corresponding relation between zone tables and the operating systems, first zone table information corresponding to the first operating system is determined; based on the first zone table information, the first operating system is started.According to the technical scheme, the technical problem that when electronic equipment in the prior art is provided with multiple operating systems, the process of starting the operating systems is complex is solved.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly to a kind of information processing method and electronic equipment.
Background technology
Along with science and technology development, various electronic equipments as: smart mobile phone, notebook computer, panel computer etc. are also at development.
Along with the continuous renewal of electronic equipment is regenerated, function is from strength to strength, meanwhile, in order to meet the demand of different user, present electronic equipment supports that multisystem is run, the different user making same electronic equipment can both have one's own operating system, at present, when electronic equipment is provided with multiple operating system, to realize starting, then need to relate to the amendment of the kernel to operating system or bootstrap, it is achieved process is complex.
Present inventor is in invention the embodiment of the present application in the process of technical scheme, it has been found that above-mentioned prior art at least exists following technical problem:
When being provided with multiple operating system, there is the technical problem that the process realizing starting the operating system is complex in electronic equipment of the prior art.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, is used for realizing electronic equipment when being provided with multiple operating system, conveniently realizes the technique effect of the process started the operating system.
A kind of information processing method, comprises the following steps:
Determining that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;
Determine that the operating system needing to start is the first operating system in described at least two operating system;
Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;
Based on described first partition table information, start described first operating system.
Optionally, described determine that electronic equipment is provided with at least two operating system before, described method also includes:
Detection obtains an installation operation;
Installing operation based on described, the first subregion in described at least two subregion installs described first operating system;
Based on described first operating system, in described at least two subregion, in the second subregion except described first subregion, the second operating system is installed.
Optionally, described in described at least two subregion, in the second subregion except described first subregion, the second operating system is installed based on described first operating system, including:
Obtaining the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;
Using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.
Optionally, after in described the second subregion described the first system file and described first log-on message being stored in described at least two subregion except described first subregion as Copy Info, described method includes:
Amendment is arranged in described first log-on message of described second subregion, obtain the second log-on message, wherein, the storage position of the second system file corresponding with described second operating system can be obtained based on described second log-on message, so that after the basic input output system of described electronic equipment initializes, described electronic equipment can start described second operating system according to described second log-on message.
Optionally, described amendment is arranged in described first log-on message of described second subregion, it is thus achieved that the second log-on message, including:
Amendment is arranged in the partition table information of the first partition table corresponding with described first operating system in described first log-on message of described second subregion and the driving fileinfo of the corresponding with described first operating system first driving file, it is thus achieved that the second log-on message.
Optionally, described at least two subregion is the subregion on the same hard disk of described electronic equipment.
On the other hand, the embodiment of the present application also provides for a kind of electronic equipment, including:
Housing;
Storage device, is arranged in described housing;
Basic input output system, it is arranged in described housing, is connected with described storage device, be used for determining that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;Determine that the operating system needing to start is the first operating system in described at least two operating system;Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;And based on described first partition table information, start described first operating system.
Optionally, described determine that electronic equipment is provided with at least two operating system before, described electronic equipment also includes:
Sensing device, is used for detecting acquisition one installation operation;
After detection obtains an installation operation, described electronic equipment also includes:
Processing device, for installing operation based on described, the first subregion in described at least two subregion installs described first operating system;And based on described first operating system, in described at least two subregion, in the second subregion except described first subregion, the second operating system is installed.
Optionally, described process device is used for:
Obtaining the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;
Using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.
Optionally, after in described the second subregion described the first system file and described first log-on message being stored in described at least two subregion except described first subregion as Copy Info, described control device is additionally operable to:
Amendment is arranged in described first log-on message of described second subregion, obtain the second log-on message, wherein, the storage position of the second system file corresponding with described second operating system can be obtained based on described second log-on message, so that after the basic input output system of described electronic equipment initializes, described electronic equipment can start described second operating system according to described second log-on message.
Optionally, described process device is used for:
Amendment is arranged in the partition table information of the first partition table corresponding with described first operating system in described first log-on message of described second subregion and the driving fileinfo of the corresponding with described first operating system first driving file, it is thus achieved that the second log-on message.
On the other hand, the embodiment of the present application also provides for a kind of electronic equipment, including:
First determines unit, is used for determining that electronic equipment is provided with at least two operating system, and wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;
Second determines unit, is the first operating system in described at least two operating system for determining the operating system needing to start;
3rd determines unit, for based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;
First start unit, for based on described first partition table information, starting described first operating system.
Said one in the embodiment of the present application or multiple technical scheme, at least have one or more technique effects following:
One, due to the technical scheme in the embodiment of the present application, determining that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;Determine that the operating system needing to start is the first operating system in described at least two operating system;Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;Based on described first partition table information, start described first operating system.Namely will not as in prior art, when electronic equipment is provided with multiple operating system, to realize starting, also relate to the amendment of the kernel to operating system or bootstrap, realize process complex, and in the technical program, it is can realize calling of multiple operating system by the partition table corresponding with operating system, so, can effectively solve the problem that electronic equipment of the prior art is when being provided with multiple operating system, there is the technical problem that the process realizing starting the operating system is complex, and then reach when electronic equipment is provided with multiple operating system, conveniently realize the technique effect of the process started the operating system.
Two, owing to the technical scheme in the embodiment of the present application is, obtain the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;Using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.Namely will not as in prior art, to install multiple operating system on same electronic equipment, then to install one by one, operating process is complex, spended time is longer, and the technical program is to be realized the installation of multiple operating system by the mode cloned, and operating process is simple, spended time is less, and then reaches to improve the technique effect of user experience.
Three, owing to the technical scheme in the embodiment of the present application is, amendment is arranged in the partition table information of the first partition table corresponding with described first operating system in described first log-on message of described second subregion and the driving fileinfo of the corresponding with described first operating system first driving file, it is thus achieved that the second log-on message.Namely in the technical program, it is not only able to ensure the Fast Installation of multiple operating system, and after passing through the amendment to log-on message, additionally it is possible to ensure the normal startup of multiple operating system, whole to realize process relatively simple, and then reaches to improve the technique effect of user experience.
Accompanying drawing explanation
A kind of information processing method that Fig. 1 provides for the embodiment of the present application one implement flow chart;
What also include step in a kind of information processing method that Fig. 2 provides for the embodiment of the present application one before step S101 implements flow chart;
In a kind of information processing method that Fig. 3 provides for the embodiment of the present application one, step S203's implements flow chart;
A kind of electronic equipment that Fig. 4 provides for the embodiment of the present application two;
A kind of electronic equipment that Fig. 5 provides for the embodiment of the present application three.
Detailed description of the invention
In the technical scheme that the embodiment of the present application provides, for solving electronic equipment of the prior art when being provided with multiple operating system, exist and realize the technical problem that the process that starts the operating system is complex, to reach conveniently to realize the technique effect of process started the operating system.
Technical scheme in the embodiment of the present application is for solving above-mentioned technical problem, and general thought is as follows:
Determining that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;
Determine that the operating system needing to start is the first operating system in described at least two operating system;
Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;
Based on described first partition table information, start described first operating system.
In technique scheme, it is determined that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;Determine that the operating system needing to start is the first operating system in described at least two operating system;Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;Based on described first partition table information, start described first operating system.Namely will not as in prior art, when electronic equipment is provided with multiple operating system, to realize starting, also relate to the amendment of the kernel to operating system or bootstrap, realize process complex, and in the technical program, it is can realize calling of multiple operating system by the partition table corresponding with operating system, so, can effectively solve the problem that electronic equipment of the prior art is when being provided with multiple operating system, there is the technical problem that the process realizing starting the operating system is complex, and then reach when electronic equipment is provided with multiple operating system, conveniently realize the technique effect of the process started the operating system.
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme is carried out clear, complete description.Obviously, described embodiment is a part of embodiment of technical solution of the present invention, rather than whole embodiment.Based on the embodiment recorded in present specification, those of ordinary skill in the art are obtained all other embodiments under the premise not making creative work, broadly fall into the scope of technical solution of the present invention protection.
Embodiment one
Refer to Fig. 1, for the embodiment of the present application provide a kind of information processing method, including:
S101: determine that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;
S102: determine that the operating system needing to start is the first operating system in described at least two operating system;
S103: based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;
S104: based on described first partition table information, starts described first operating system.
A kind of information processing method that the embodiment of the present application provides can apply to an electronic equipment, as: smart mobile phone, notebook computer, computer with integrated, net book etc., or other electronic equipment;In the embodiment of the present application, above-mentioned electronic equipment is provided with multiple operating system, each operating system correspondence has the partition table for guiding this operating system, and the partition table that therefore each operating system is corresponding is different, effectively avoids the interference problem in bootup process.
In the embodiment of the present application, before performing step S101, refer to Fig. 2, described method also includes:
S201: detection obtains an installation operation;
S202: install operation based on described, the first subregion in described at least two subregion installs described first operating system;
S203: based on described first operating system, install the second operating system in the second subregion except described first subregion in described at least two subregion.
In implementing process, as: for the electronic equipment in educational system, the operating system that different teachers install is likely same operating system, but the application software installed on operating system can be different, the data message preserved also differs, so in order to ensure that each teacher can both have one's own application software and data message, not by others' interference, multiple identical operating system then can be installed on same computer, as: Windows, DOS, UNIX, Linux etc., or other operating system, it is not especially limited in the embodiment of the present application, so different teachers can have one's own operating system.
And prior art is installed multiple operating system system on computers, need to install one by one, operating process is complex, spended time is also longer, poor to the experience effect of user, and in the technical program, be then the installation being realized multiple operating system by the mode cloned, whole operating process is relatively simple, it is possible to save the substantial amounts of set-up time to user.
In implementing process, it is possible to by making USB flash disk boot disk, operating system is installed;By hard disk erector, operating system it is installed or by CD, operating system is installed, or installing by another way, being not especially limited in the embodiment of the present application.
In the embodiment of the present application, step S201 is first carried out: detection obtains an installation operation.
In implementing process, it is possible to detect and obtain installation operation by the sensor installed in the electronic device, concrete, it is possible to by pressure transducer, as: the touch-control pressing operation that user carries out on the display unit of electronic equipment;Can be voice collecting sensor, as: the voice-controlled operations that user carries out for electronic equipment;Can be range sensor, as: distance of display unit of user distance electronic equipment etc. detected, or by other sensor, as long as being able to detect that the operation that user carries out, be not construed as limiting in the embodiment of the present application.
After detection obtains an installation operation, then performing step S202: install operation based on described, the first subregion in described at least two subregion installs described first operating system.
In the embodiment of the present application, in order to ensure that the operating system after installing can by normal call, then need to be arranged on the different subregions of electronic equipment by different operating system, in implementing process, operating system to be installed is arranged on first subregion of storage device of electronic equipment, as: from 180 sectors, sector-250.Storage device in the embodiment of the present application can be hard disk, as: solid state hard disc (SSD dish), mechanical hard disk (HDD dish) or hybrid hard disk (HHD dish) etc., or other type of hard disk, it is not especially limited in the embodiment of the present application.
After installing the first operating system, then perform step S203: based on described first operating system, in described at least two subregion, in the second subregion except described first subregion, the second operating system is installed.
In the embodiment of the present application, process is implemented for step S203, refer to Fig. 3, including:
S301: obtaining the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;
S302: using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.
Implementing in process, in the first operating system installation, and after powering on to electronic equipment, the basic input output system (BIOS) of electronic equipment starts to initialize.So after BIOS completes initialization, electronic equipment is then guided to enter unified extended firmware shell side sequence (UFFIShell) or Windows shell side sequence (WindowsShell) or Linux shell side sequence (LinuxShell) etc., or other shell side sequence, as long as shell side sequence can be passed through provide the interface for user, it is not especially limited in the embodiment of the present application.
After the display unit of electronic equipment shows above-mentioned interface, then can input the program name running program on the surface, then this program is run, in implementing process, the title of program of file copy is inputted by this interface, run this program of file copy, then can realize the copy of related data to the first operating system installed.
In implementing process, copy to the first operating system installed, can be copy in the second positions different from primary importance on hard disk from the primary importance the hard disk of this electronic equipment, as copied to from 180-250 sector, sector on the 350-420 sector on this hard disk;Can also be copy on the hard disk of another electronic equipment from the hard disk of this electronic equipment, as: copy on the hard disk of B electronic equipment from the hard disk of A electronic equipment, for above two implementation, those of ordinary skill in the art can select according to actual needs, all can realize the clone to operating system.
In the embodiment of the present application, when copy procedure is to copy in the second positions different from primary importance on hard disk from the primary importance hard disk, described at least two subregion is the subregion on the same hard disk of described electronic equipment.
nullIn the embodiment of the present application,Obtained and the first corresponding the first system file of operating system and the first log-on message being used for starting the first operating system by the program of file copy run,In implementing process,If the first operating system is Window8 operating system,What the first system file was corresponding is then the system file of Win8,First log-on message is then for the information for starting Win8 operating system,In implementing process,Log-on message includes two parts,Part I is bootstrap+partition table,Another part is BCD (BootConfigurationData,Start and data are set),In the embodiment of the present application,Partition table is broadly divided into two classes,As: MBR partition table and GPT partition table,The information of the multiple subregions obtained it is divided for certain big tables of data that the storage device of recorded electronic equipment is corresponding,That is the data message of each sector storage of storage device can be known by partition table,Therefore electronic equipment can read data based on partition table from storage device,Wherein,The information of partition table includes: the original position of sector and end position、Zoned format,The original position of described sector and end position are used for indicating which sector subregion from which sector starts to terminate,Zoned format then refers to for indicating the data type of storage in sector,So can read data from corresponding sector based on the partition information of each subregion.
In the embodiment of the present application, copy procedure is to copy in the second position different from primary importance from the primary importance on hard disk, so after obtaining the first system file corresponding with the first operating system and the first log-on message of being used for starting the first operating system, then the first system file and the first log-on message are stored on the second subregion as Copy Info, such as above-mentioned example, the first system file and the first log-on message are copied on 350-420 sector from the 180-250 sector hard disk.
After execution of step S203, described method also comprises the steps:
Amendment is arranged in described first log-on message of described second subregion, obtain the second log-on message, wherein, the storage position of the second system file corresponding with described second operating system can be obtained based on described second log-on message, so that after the basic input output system of described electronic equipment initializes, described electronic equipment can start described second operating system according to described second log-on message.
Process is implemented for above-mentioned steps, specifically includes following steps:
Amendment is arranged in the partition table information of the first partition table corresponding with described first operating system in described first log-on message of described second subregion and the driving fileinfo of the corresponding with described first operating system first driving file, it is thus achieved that the second log-on message.
In the embodiment of the present application, after the operating system installed is completed clone, in order to ensure at electronic equipment when normally starting, it still is able to call corresponding operating system, then corresponding the first log-on message after amendment clone, in implementing process, revise the activation bit that the first log-on message is then partition table information and the first driving file revising the first corresponding partition table, in the embodiment of the present application, the amendment of partition table information is original position and the final position of the sector in amendment the first partition table, namely for storing original position and the final position of the first system file of copy, as: when the first operating system is arranged on the 180-250 sector of hard disk, in first partition table, the original position of sector is 180, final position is 250;So after copy, the second subregion is 350-420 sector, then the sector original position in the first partition table after copy and final position are revised as 350 and 420.The same storage position also revising startup file in BCD, to ensure when electronic equipment starts, it is possible to call corresponding operating system according to the needs of user.Then multisystem invoked procedure is illustrated below, namely from step S101-step S104.
In implementing process, electricity or when restarting on an electronic device, the basic input output system of electronic equipment can initialize, after basic input output system completes initialization, one action pane then can occur on the display interface of electronic equipment, this window can show tetra-options of A, B, C, D, namely show that this electronic equipment is provided with tetra-operating systems of A, B, C, D.At this moment, user then to select oneself operating system to be mounted current for which, if user have selected C, electronic equipment is then based on the corresponding relation between partition table and operating system, determine the partition table corresponding with operating system C, based on a determination that partition table, each byte in the partition table determined is resolved one by one, obtain partition information, then from corresponding storage device, read data, then loading the guidance code corresponding with operating system C to perform in the internal memory of electronic equipment, operating system C starts normal boot.So by the technical scheme in the embodiment of the present application, when electronic equipment is provided with multiple operating system, still can read data based on the partition table of self correspondence, reduce because operating system switches the loss of data caused, reformat storage device particularly without based on operating system.
In the embodiment of the present application, when electronic equipment is provided with multiple operating system, can also be according to actual needs, arrange acquiescence to start the operating system, so on an electronic device electricity or when restarting, it is possible to automatically start corresponding operating system according to default option, without by the intervention of user, for above two implementation, it is possible to select according to being actually needed of user, be not especially limited in the embodiment of the present application.
Embodiment two
The embodiment of the present application also provides for a kind of electronic equipment, refer to Fig. 4, including:
Housing 40;
Storage device 41, is arranged in described housing 40;
Input-output system 42, it is arranged in described housing 40, is connected with described storage device 41, be used for determining that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;Determine that the operating system needing to start is the first operating system in described at least two operating system;Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;And based on described first partition table information, start described first operating system.
Optionally, described determine that electronic equipment is provided with at least two operating system before, described electronic equipment also includes:
Sensing device 43, is used for detecting acquisition one installation operation;
After detection obtains an installation operation, described electronic equipment also includes:
Processing device 44, for installing operation based on described, the first subregion in described at least two subregion installs described first operating system;Based on described first operating system, in described at least two subregion, in the second subregion except described first subregion, the second operating system is installed.
Optionally, described process device 44 is used for:
Obtaining the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;
Using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.
Optionally, after in described the second subregion described the first system file and described first log-on message being stored in described at least two subregion except described first subregion as Copy Info, described process device 44 is additionally operable to:
Amendment is arranged in described first log-on message of described second subregion, obtain the second log-on message, wherein, the storage position of the second system file corresponding with described second operating system can be obtained based on described second log-on message, so that after the basic input output system of described electronic equipment initializes, described electronic equipment can start described second operating system according to described second log-on message.
Optionally, described process device 44 is used for:
Amendment is arranged in the partition table information of the first partition table corresponding with described first operating system in described first log-on message of described second subregion and the driving fileinfo of the corresponding with described first operating system first driving file, it is thus achieved that the second log-on message.
Embodiment three
The embodiment of the present application also provides for a kind of electronic equipment, refer to Fig. 5, including:
First determines unit 50, is used for determining that electronic equipment is provided with at least two operating system, and wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;
Second determines unit 51, is the first operating system in described at least two operating system for determining the operating system needing to start;
3rd determines unit 52, for based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;
First start unit 53, for based on described first partition table information, starting described first operating system.
Optionally, described determine that electronic equipment is provided with at least two operating system before, described electronic equipment also includes:
First detection unit 54, is used for detecting acquisition one installation operation;
First installation unit 55, for installing operation based on described, the first subregion in described at least two subregion installs described first operating system;
Second installation unit 56, for based on described first operating system, installing the second operating system in the second subregion except described first subregion in described at least two subregion.
Optionally, described second installation unit 56, including:
First acquisition module, for obtaining the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;
First memory module, for using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.
Optionally, after in described the second subregion described the first system file and described first log-on message being stored in described at least two subregion except described first subregion as Copy Info, described electronic equipment also includes:
First modified module, for revising described first log-on message being arranged in described second subregion, obtain the second log-on message, wherein, the storage position of the second system file corresponding with described second operating system can be obtained based on described second log-on message, so that after the basic input output system of described electronic equipment initializes, described electronic equipment can start described second operating system according to described second log-on message.
Optionally, described first modified module includes:
First amendment submodule, the driving fileinfo of file is driven, it is thus achieved that the second log-on message for revising the partition table information being arranged in the first partition table corresponding with described first operating system in described first log-on message of described second subregion and corresponding with described first operating system first.
By the one or more technical schemes in the embodiment of the present application, it is possible to achieve following one or more technique effects:
One, due to the technical scheme in the embodiment of the present application, determining that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;Determine that the operating system needing to start is the first operating system in described at least two operating system;Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;Based on described first partition table information, start described first operating system.Namely will not as in prior art, when electronic equipment is provided with multiple operating system, to realize starting, also relate to the amendment of the kernel to operating system or bootstrap, realize process complex, and in the technical program, it is can realize calling of multiple operating system by the partition table corresponding with operating system, so, can effectively solve the problem that electronic equipment of the prior art is when being provided with multiple operating system, there is the technical problem that the process realizing starting the operating system is complex, and then reach when electronic equipment is provided with multiple operating system, conveniently realize the technique effect of the process started the operating system.
Two, owing to the technical scheme in the embodiment of the present application is, obtain the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;Using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.Namely will not as in prior art, to install multiple operating system on same electronic equipment, then to install one by one, operating process is complex, spended time is longer, and the technical program is to be realized the installation of multiple operating system by the mode cloned, and operating process is simple, spended time is less, and then reaches to improve the technique effect of user experience.
Three, owing to the technical scheme in the embodiment of the present application is, amendment is arranged in the partition table information of the first partition table corresponding with described first operating system in described first log-on message of described second subregion and the driving fileinfo of the corresponding with described first operating system first driving file, it is thus achieved that the second log-on message.Namely in the technical program, it is not only able to ensure the Fast Installation of multiple operating system, and after passing through the amendment to log-on message, additionally it is possible to ensure the normal startup of multiple operating system, whole to realize process relatively simple, and then reaches to improve the technique effect of user experience.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Specifically, the computer program instructions that information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with information processing method in storage medium is read by an electronic equipment or be performed, comprise the steps:
Determining that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;
Determine that the operating system needing to start is the first operating system in described at least two operating system;
Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;
Based on described first partition table information, start described first operating system.
Optionally, described storage medium also includes other computer instruction, described, this other computer program is determining that electronic equipment is provided with computer instruction corresponding at least two operating system and is performed before being performed with step, this computer instruction is performed in process, comprises the steps:
Detection obtains an installation operation;
Installing operation based on described, the first subregion in described at least two subregion installs described first operating system;
Based on described first operating system, in described at least two subregion, in the second subregion except described first subregion, the second operating system is installed.
Optionally, in described storage medium storage and step: described based on described first operating system, described at least two subregion is installed computer instruction corresponding to the second operating system in the second subregion except described first subregion in being performed process, comprise the steps:
Obtaining the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;
Using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.
Optionally, described storage medium also includes other computer instruction, this other computer instruction is performed at the computer instruction corresponding in described the second subregion described the first system file and described first log-on message being stored in described at least two subregion except described first subregion as Copy Info with step and is performed afterwards, this other computer instruction in the process of implementation, comprises the steps:
Amendment is arranged in described first log-on message of described second subregion, obtain the second log-on message, wherein, the storage position of the second system file corresponding with described second operating system can be obtained based on described second log-on message, so that after the basic input output system of described electronic equipment initializes, described electronic equipment can start described second operating system according to described second log-on message.
Optionally, in described storage medium storage and step: described amendment is arranged in described first log-on message of described second subregion, it is thus achieved that computer instruction corresponding to the second log-on message in the process of implementation, comprises the steps:
Amendment is arranged in the partition table information of the first partition table corresponding with described first operating system in described first log-on message of described second subregion and the driving fileinfo of the corresponding with described first operating system first driving file, it is thus achieved that the second log-on message.
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (12)

1. an information processing method, including:
Determining that electronic equipment is provided with at least two operating system, wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;
Determine that the operating system needing to start is the first operating system in described at least two operating system;
Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;
Based on described first partition table information, start described first operating system.
2. the method for claim 1, it is characterised in that described determine that electronic equipment is provided with at least two operating system before, described method also includes:
Detection obtains an installation operation;
Installing operation based on described, the first subregion in described at least two subregion installs described first operating system;
Based on described first operating system, in described at least two subregion, in the second subregion except described first subregion, the second operating system is installed.
3. method as claimed in claim 2, it is characterised in that described install second operating system in the second subregion except described first subregion based on described first operating system in described at least two subregion, including:
Obtaining the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;
Using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.
4. method as claimed in claim 3, it is characterized in that, after in described the second subregion described the first system file and described first log-on message being stored in described at least two subregion except described first subregion as Copy Info, described method includes:
Amendment is arranged in described first log-on message of described second subregion, obtain the second log-on message, wherein, the storage position of the second system file corresponding with described second operating system can be obtained based on described second log-on message, so that after the basic input output system of described electronic equipment initializes, described electronic equipment can start described second operating system according to described second log-on message.
5. method as claimed in claim 6, it is characterised in that described amendment is arranged in described first log-on message of described second subregion, it is thus achieved that the second log-on message, including:
Amendment is arranged in the partition table information of the first partition table corresponding with described first operating system in described first log-on message of described second subregion and the driving fileinfo of the corresponding with described first operating system first driving file, it is thus achieved that the second log-on message.
6. the method as described in claim as arbitrary in claim 1-5, it is characterised in that described at least two subregion is the subregion on the same hard disk of described electronic equipment.
7. an electronic equipment, including:
Housing;
Storage device, is arranged in described housing;
Input-output system, is arranged in described housing, is connected with described storage device, is used for determining that electronic equipment is provided with at least two operating system, and wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;Determine that the operating system needing to start is the first operating system in described at least two operating system;Based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;And based on described first partition table information, start described first operating system.
8. electronic equipment as claimed in claim 7, it is characterised in that described determine that electronic equipment is provided with at least two operating system before, described electronic equipment also includes:
Sensing device, is used for detecting acquisition one installation operation;
After detection obtains an installation operation, described electronic equipment also includes:
Processing device, for installing operation based on described, the first subregion in described at least two subregion installs described first operating system;And based on described first operating system, in described at least two subregion, in the second subregion except described first subregion, the second operating system is installed.
9. electronic equipment as claimed in claim 8, it is characterised in that described process device is used for:
Obtaining the first system file corresponding with described first operating system and for starting the first log-on message of described first operating system, wherein, described the first system file and described first log-on message are stored in described first subregion;
Using described the first system file and described first log-on message as in the second subregion that Copy Info is stored in described at least two subregion except described first subregion, to install the second operating system in described second subregion.
10. electronic equipment as claimed in claim 9, it is characterized in that, after in described the second subregion described the first system file and described first log-on message being stored in described at least two subregion except described first subregion as Copy Info, described process device is additionally operable to:
Amendment is arranged in described first log-on message of described second subregion, obtain the second log-on message, wherein, the storage position of the second system file corresponding with described second operating system can be obtained based on described second log-on message, so that after the basic input output system of described electronic equipment initializes, described electronic equipment can start described second operating system according to described second log-on message.
11. electronic equipment as claimed in claim 10, it is characterised in that described process device is used for:
Amendment is arranged in the partition table information of the first partition table corresponding with described first operating system in described first log-on message of described second subregion and the driving fileinfo of the corresponding with described first operating system first driving file, it is thus achieved that the second log-on message.
12. an electronic equipment, including:
First determines unit, is used for determining that electronic equipment is provided with at least two operating system, and wherein, described at least two operating system is arranged in the mutually different at least two subregion in described electronic equipment;
Second determines unit, is the first operating system in described at least two operating system for determining the operating system needing to start;
3rd determines unit, for based on the corresponding relation between partition table and operating system, it is determined that first partition table information corresponding with described first operating system;
First start unit, for based on described first partition table information, starting described first operating system.
CN201610109252.7A 2016-02-26 2016-02-26 A kind of information processing method and electronic equipment Active CN105786569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610109252.7A CN105786569B (en) 2016-02-26 2016-02-26 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610109252.7A CN105786569B (en) 2016-02-26 2016-02-26 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105786569A true CN105786569A (en) 2016-07-20
CN105786569B CN105786569B (en) 2019-07-26

Family

ID=56403874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610109252.7A Active CN105786569B (en) 2016-02-26 2016-02-26 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105786569B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967141A (en) * 2017-11-27 2018-04-27 北京小米移动软件有限公司 Operating system update method, apparatus and terminal
CN114546505A (en) * 2022-02-22 2022-05-27 联想开天科技有限公司 Method for filling multiple operating systems and electronic equipment
WO2024022176A1 (en) * 2022-07-28 2024-02-01 华为技术有限公司 System operation method and terminal apparatus

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073019A1 (en) * 1989-05-01 2002-06-13 David W. Deaton System, method, and database for processing transactions
CN1570884A (en) * 2003-07-18 2005-01-26 英业达股份有限公司 Multiple operating system boot loading method
CN1841323A (en) * 2005-03-31 2006-10-04 鸿富锦精密工业(深圳)有限公司 Method for switching operating system by hot key
CN101114228A (en) * 2006-07-25 2008-01-30 华为技术有限公司 Method for rapid installing operating system and system thereof
US20090282198A1 (en) * 2008-05-08 2009-11-12 Texas Instruments Incorporated Systems and methods for optimizing buffer sharing between cache-incoherent cores
CN102799484A (en) * 2012-07-11 2012-11-28 中兴通讯股份有限公司 Method and device for running multiple operating systems by mobile terminal
CN103377054A (en) * 2012-04-16 2013-10-30 联想(北京)有限公司 Starting method and starting device
CN103777985A (en) * 2014-01-26 2014-05-07 宝龙计算机系统(湖南)有限公司 Method and device for installing several multiple operating systems on one partition of storage medium
CN103853664A (en) * 2012-11-28 2014-06-11 联想(北京)有限公司 Method and electronic device for achieving multiple operating systems
CN104866431A (en) * 2015-06-12 2015-08-26 联想(北京)有限公司 Data processing method and device
CN104978231A (en) * 2015-07-10 2015-10-14 上海斐讯数据通信技术有限公司 Multisystem device based on internal storage partitions and loading and switching method thereof
CN105320558A (en) * 2014-06-30 2016-02-10 青岛海信移动通信技术股份有限公司 Mobile terminal and start method thereof

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073019A1 (en) * 1989-05-01 2002-06-13 David W. Deaton System, method, and database for processing transactions
CN1570884A (en) * 2003-07-18 2005-01-26 英业达股份有限公司 Multiple operating system boot loading method
CN1841323A (en) * 2005-03-31 2006-10-04 鸿富锦精密工业(深圳)有限公司 Method for switching operating system by hot key
CN101114228A (en) * 2006-07-25 2008-01-30 华为技术有限公司 Method for rapid installing operating system and system thereof
US20090282198A1 (en) * 2008-05-08 2009-11-12 Texas Instruments Incorporated Systems and methods for optimizing buffer sharing between cache-incoherent cores
CN103377054A (en) * 2012-04-16 2013-10-30 联想(北京)有限公司 Starting method and starting device
CN102799484A (en) * 2012-07-11 2012-11-28 中兴通讯股份有限公司 Method and device for running multiple operating systems by mobile terminal
CN103853664A (en) * 2012-11-28 2014-06-11 联想(北京)有限公司 Method and electronic device for achieving multiple operating systems
CN103777985A (en) * 2014-01-26 2014-05-07 宝龙计算机系统(湖南)有限公司 Method and device for installing several multiple operating systems on one partition of storage medium
CN105320558A (en) * 2014-06-30 2016-02-10 青岛海信移动通信技术股份有限公司 Mobile terminal and start method thereof
CN104866431A (en) * 2015-06-12 2015-08-26 联想(北京)有限公司 Data processing method and device
CN104978231A (en) * 2015-07-10 2015-10-14 上海斐讯数据通信技术有限公司 Multisystem device based on internal storage partitions and loading and switching method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967141A (en) * 2017-11-27 2018-04-27 北京小米移动软件有限公司 Operating system update method, apparatus and terminal
CN107967141B (en) * 2017-11-27 2021-04-13 北京小米移动软件有限公司 Operating system upgrading method and device and terminal
CN114546505A (en) * 2022-02-22 2022-05-27 联想开天科技有限公司 Method for filling multiple operating systems and electronic equipment
CN114546505B (en) * 2022-02-22 2023-07-14 联想开天科技有限公司 Method for filling multiple operating systems and electronic equipment
WO2024022176A1 (en) * 2022-07-28 2024-02-01 华为技术有限公司 System operation method and terminal apparatus

Also Published As

Publication number Publication date
CN105786569B (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN107193577B (en) Application starting method and device and intelligent terminal
CN104516782B (en) Method and equipment for switching operating environments of intelligent system
US20130247021A1 (en) Electronic device, system and method for updating and uninstalling software
CN104794014A (en) System operation method and intelligent terminal
CN108241550B (en) Backup and restoration method for operating system
CN105446772A (en) System upgrading method and apparatus
CN105814541A (en) Computer device and memory starting method for computer device
CN105786569A (en) Information processing method and electronic equipment
CN101169729A (en) Embedded type system and method for renewing application program
CN103744708A (en) Method of fixing disk device names in Linux operating system
US20140280262A1 (en) Electronic device with a funiction of applying applications of different operating systems and method thereof
WO2014173211A1 (en) Code coverage testing method, device and system
CN105446739A (en) UI interface setting method and apparatus
CN105094623A (en) Information processing method and electronic device
CN104536788A (en) System and method enabling installation of application to be automatic
CN114691300A (en) Hot migration method of virtual machine instance
CN103049376B (en) A kind of internal memory overflow test method of process, device and equipment
CN104915228A (en) Application program language setting method and device
CN105607869B (en) A kind of quick formatting and the method using magnetic disk of virtual machine
EP2835737A1 (en) Data terminal running mode switching method, device, and data terminal
CN104461603A (en) Information processing method and electronic equipment
US20140280263A1 (en) Electronic device with a funiction of applying applications of different operating systems and method thereof
CN104407698A (en) Projecting method and electronic equipment
US20140129957A1 (en) Personalized user interface on mobile information device
CN104298618A (en) Instruction processing method and device for intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant