CN105786569B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105786569B CN105786569B CN201610109252.7A CN201610109252A CN105786569B CN 105786569 B CN105786569 B CN 105786569B CN 201610109252 A CN201610109252 A CN 201610109252A CN 105786569 B CN105786569 B CN 105786569B
- Authority
- CN
- China
- Prior art keywords
- operating system
- subregion
- electronic equipment
- information
- starting information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44536—Selecting among different versions
- G06F9/44542—Retargetable
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 a kind of information processing method and electronic equipments, comprising: determines that electronic equipment is equipped at least two operating systems, wherein at least two operating system is mounted in at least two mutually different subregions in the electronic equipment;It is the first operating system at least two operating system that determining, which needs operating system to be started,;Based on the corresponding relationship between partition table and operating system, the first partition table information corresponding with first operating system is determined;Based on first partition table information, start first operating system.The above-mentioned technical proposal provided through the invention solves electronic equipment in the prior art when being equipped with multiple operating systems, there is the technical problem for realizing that the process of start-up operation system is complex.
Description
Technical field
The present invention relates to electronic technology field, in particular to a kind of information processing method and electronic equipment.
Background technique
With the continuous development of science and technology, various electronic equipments are such as: smart phone, laptop, tablet computer
Also it is evolving.
With keeping updating for electronic equipment, function is stronger and stronger, meanwhile, in order to meet the need of different user
It asks, present electronic equipment supports multisystem operation, so that the different user of same electronic equipment can possess to one's name
Operating system start to realize, then need to be related to behaviour currently, when electronic equipment is equipped with multiple operating systems
Make the kernel of system or the modification of bootstrap, realizes that process is complex.
Present inventor during technical solution, has found the above-mentioned prior art at least in invention the embodiment of the present application
It has the following technical problems:
There is the process for realizing start-up operation system when being equipped with multiple operating systems in electronic equipment in the prior art
Complex technical problem.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for realizing electronic equipment be equipped with it is more
When a operating system, the technical effect of the process of start-up operation system is conveniently realized.
A kind of information processing method, comprising the following steps:
Determine that electronic equipment is equipped at least two operating systems, wherein at least two operating system is mounted on institute
It states in at least two mutually different subregions in electronic equipment;
It is the first operating system at least two operating system that determining, which needs operating system to be started,;
Based on the corresponding relationship between partition table and operating system, first point corresponding with first operating system is determined
Area's table information;
Based on first partition table information, start first operating system.
Optionally, before the determining electronic equipment is equipped at least two operating systems, the method also includes:
Detection obtains an installation operation;
It is operated based on the installation, the first subregion at least two subregion installs first operating system;
Based on first operating system, in the second subregion at least two subregion in addition to first subregion
Second operating system is installed.
Optionally, described to be based on first operating system, at least two subregion in addition to first subregion
The second subregion in install the second operating system, comprising:
Obtain the first system file corresponding with first operating system and for starting first operating system
First starting information, wherein the first system file and the first starting information are stored in first subregion;
Described at least two points are stored in using the first system file and the first starting information as Copy Info
In the second subregion in area in addition to first subregion, to install the second operating system in second subregion.
Optionally, described using the first system file and the first starting information as Copy Info is stored in institute
After stating in the second subregion at least two subregions in addition to first subregion, which comprises
Modification is located at the first starting information in second subregion, obtains the second starting information, wherein be based on institute
The storage location of second system file corresponding with second operating system can be obtained by stating the second starting information, so that
After the basic input output system initialization of the electronic equipment, the electronic equipment can be opened according to the second starting information
Move second operating system.
Optionally, the modification is located at the first starting information in second subregion, obtains the second starting information,
Include:
Modification is located at corresponding with first operating system the in the first starting information in second subregion
The driving the file information of the partition table information of one partition table and the first driving file corresponding with first operating system, is obtained
Obtain the second starting information.
Optionally, at least two subregion is the subregion on the same hard disk of the electronic equipment.
On the other hand, the embodiment of the present application also provides a kind of electronic equipment, comprising:
Shell;
Storage device is arranged in the shell;
Basic input output system is arranged in the shell, connect with the storage device, for determining electronic equipment
At least two operating systems are installed, wherein at least two operating system be mounted in the electronic equipment mutually not
In at least two same subregions;It is the first operation system at least two operating system that determining, which needs operating system to be started,
System;Based on the corresponding relationship between partition table and operating system, the first partition table corresponding with first operating system is determined
Information;And it is based on first partition table information, start first operating system.
Optionally, before the determining electronic equipment is equipped at least two operating systems, the electronic equipment is also wrapped
It includes:
Sensing device obtains an installation operation for detecting;
After detection obtains an installation operation, the electronic equipment further include:
Processing unit, for being operated based on the installation, described in the first subregion installation at least two subregion
First operating system;And be based on first operating system, at least two subregion in addition to first subregion the
Second operating system is installed in two subregions.
Optionally, the processing unit is used for:
Obtain the first system file corresponding with first operating system and for starting first operating system
First starting information, wherein the first system file and the first starting information are stored in first subregion;
Described at least two points are stored in using the first system file and the first starting information as Copy Info
In the second subregion in area in addition to first subregion, to install the second operating system in second subregion.
Optionally, described using the first system file and the first starting information as Copy Info is stored in institute
After stating in the second subregion at least two subregions in addition to first subregion, the control device is also used to:
Modification is located at the first starting information in second subregion, obtains the second starting information, wherein be based on institute
The storage location of second system file corresponding with second operating system can be obtained by stating the second starting information, so that
After the basic input output system initialization of the electronic equipment, the electronic equipment can be opened according to the second starting information
Move second operating system.
Optionally, the processing unit is used for:
Modification is located at corresponding with first operating system the in the first starting information in second subregion
The driving the file information of the partition table information of one partition table and the first driving file corresponding with first operating system, is obtained
Obtain the second starting information.
On the other hand, the embodiment of the present application also provides a kind of electronic equipment, comprising:
First determination unit, for determining that electronic equipment is equipped at least two operating systems, wherein described at least two
Operating system is mounted in at least two mutually different subregions in the electronic equipment;
Second determination unit, for determining that needing operating system to be started is first at least two operating system
Operating system;
Third determination unit, for based on the corresponding relationship between partition table and operating system, determining and described first behaviour
Make corresponding first partition table information of system;
First start unit starts first operating system for being based on first partition table information.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
It one, is that determining electronic equipment is equipped at least two operating systems due to the technical solution in the embodiment of the present application,
Wherein, at least two operating system is mounted in at least two mutually different subregions in the electronic equipment;It determines
Needing operating system to be started is the first operating system at least two operating system;Based on partition table and operating system
Between corresponding relationship, determine corresponding with first operating system the first partition table information;Based on first partition table
Information starts first operating system.I.e. will not as in the prior art, when electronic equipment is equipped with multiple operating systems,
Start to realize, also relate to the modification of the kernel or bootstrap to operating system, realizes that process is complex, and
It in the technical scheme, is the calling that multiple operating system can be realized by partition table corresponding with operating system, thus it is possible to
Electronic equipment in the prior art is effectively solved when being equipped with multiple operating systems, there is the process for realizing start-up operation system
Complex technical problem, and then reach when electronic equipment is equipped with multiple operating systems, conveniently realize starting
The technical effect of the process of operating system.
Two, since the technical solution in the embodiment of the present application is, the first system corresponding with first operating system is obtained
It unites file and the first starting information for starting first operating system, wherein the first system file and described the
One starting information is stored in first subregion;Believe using the first system file and the first starting information as duplication
Breath is stored in the second subregion at least two subregion in addition to first subregion, to install in second subregion
Second operating system.I.e. will not be as in the prior art, it, then will be one by one to install multiple operating systems on same electronic equipment
Installation, operating process is complex, spends the time longer, and the technical program is that multiple operating system is realized by way of clone
Installation, operating process is simple, spend the time it is less, and then reach improve user experience technical effect.
Three, it since the technical solution in the embodiment of the present application is, modifies described first be located in second subregion and opens
In dynamic information the partition table information of the first partition table corresponding with first operating system and with first operating system
The driving the file information of corresponding first driving file obtains the second starting information.I.e. in the technical scheme, it is not only able to protect
The Fast Installation of multiple operating systems is demonstrate,proved, and after through the modification to starting information, additionally it is possible to guarantee multiple operating systems
Normal starting, it is entire to realize that process is relatively simple, and then reach the technical effect for improving user experience.
Detailed description of the invention
Fig. 1 is a kind of specific implementation flow chart for information processing method that the embodiment of the present application one provides;
It further include the tool of step before step S101 in a kind of information processing method that Fig. 2 provides for the embodiment of the present application one
Body implementation flow chart;
The specific implementation flow chart of step S203 in a kind of information processing method that Fig. 3 provides for the embodiment of the present application one;
Fig. 4 is a kind of electronic equipment that the embodiment of the present application two provides;
Fig. 5 is a kind of electronic equipment that the embodiment of the present application three provides.
Specific embodiment
In technical solution provided by the embodiments of the present application, for solve electronic equipment in the prior art be equipped with it is multiple
When operating system, there is the technical problem for realizing that the process of start-up operation system is complex, conveniently realized with reaching
The technical effect of the process of start-up operation system.
Technical solution in the embodiment of the present application is in order to solve the above technical problems, general thought is as follows:
Determine that electronic equipment is equipped at least two operating systems, wherein at least two operating system is mounted on institute
It states in at least two mutually different subregions in electronic equipment;
It is the first operating system at least two operating system that determining, which needs operating system to be started,;
Based on the corresponding relationship between partition table and operating system, first point corresponding with first operating system is determined
Area's table information;
Based on first partition table information, start first operating system.
In the above-mentioned technical solutions, determine that electronic equipment is equipped at least two operating systems, wherein described at least two
Operating system is mounted in at least two mutually different subregions in the electronic equipment;Determining needs operating system to be started
For the first operating system at least two operating system;Based on the corresponding relationship between partition table and operating system, really
Fixed the first partition table information corresponding with first operating system;Based on first partition table information, starting described first
Operating system.It i.e. will not be as in the prior art, when electronic equipment is equipped with multiple operating systems, starting to realize, also wanting
It is related to the modification of the kernel or bootstrap to operating system, realizes that process is complex, and in the technical scheme, it is
The calling of multiple operating system can be realized by partition table corresponding with operating system, thus it is possible to effectively solve the prior art
In electronic equipment when being equipped with multiple operating systems, exist realize start-up operation system the more complicated technology of process ask
Topic, and then reach when electronic equipment is equipped with multiple operating systems, conveniently realize the process of start-up operation system
Technical effect.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, clear, complete description is carried out to technical solution of the present invention.Obviously, described embodiment is skill of the present invention
A part of the embodiment of art scheme, rather than whole embodiments.Based on the embodiment recorded in present specification, this field is common
Technical staff's obtained all other embodiment without creative labor, belongs to technical solution of the present invention
The range of protection.
Embodiment one
Referring to FIG. 1, being a kind of information processing method provided by the embodiments of the present application, comprising:
S101: determine that electronic equipment is equipped at least two operating systems, wherein at least two operating system installation
In at least two mutually different subregions in the electronic equipment;
S102: it is the first operating system at least two operating system that determining, which needs operating system to be started,;
S103: based on the corresponding relationship between partition table and operating system, determination is corresponding with first operating system
First partition table information;
S104: being based on first partition table information, starts first operating system.
A kind of information processing method provided by the embodiments of the present application can be applied to an electronic equipment, such as: smart phone, pen
Remember this computer, computer with integrated, net book etc. or other electronic equipments;In the embodiment of the present application, above-mentioned electronic equipment
Multiple operating systems are installed, each operating system is corresponding with the partition table for guiding the operating system, therefore each operation
The corresponding partition table of system is different, effectively avoids the interference problem in bootup process.
In the embodiment of the present application, before executing step S101, referring to FIG. 2, the method also includes:
S201: detection obtains an installation operation;
S202: being operated based on the installation, first operation of the first subregion installation at least two subregion
System;
S203: be based on first operating system, at least two subregion in addition to first subregion second
Second operating system is installed in subregion.
During specific implementation, such as: for the electronic equipment in educational system, operating system that different teachers are installed
It may be same operating system, but the application software installed on operating system will be different, the data information of preservation
Also not identical, then in order to guarantee that each teacher can possess one's own application software and data information, not by others
Interference, then multiple identical operating systems can be installed on same computer, such as: Windows, DOS, UNIX, Linux
Deng or other operating systems, be not especially limited in the embodiment of the present application, teachers different in this way can possess and belong to
The operating system of oneself.
And multiple operating system systems are installed on computers in the prior art, it needs to install one by one, operating process is more multiple
It is miscellaneous, spend the time also longer, it is poor to the experience effect of user, and in the technical scheme, then it is real by way of clone
The installation of existing multiple operating systems, whole operation process is relatively simple, can save a large amount of set-up time to user.
During specific implementation, operating system can be installed by production USB flash disk boot disk;It is installed by hard disk erector
Operating system or operating system is installed by CD, or is installed by another way, in the embodiment of the present application
It is not especially limited.
In the embodiment of the present application, step S201 is first carried out: detection obtains an installation operation.
During specific implementation, installation behaviour can be detected and obtained by installing sensor in the electronic device
Make, specifically, can be by pressure sensor, such as: the touch-control pressing operation that user carries out on the display unit of electronic equipment;
It can be voice collecting sensor, such as: user is directed to the voice-controlled operations that electronic equipment carries out;It can be range sensor,
Such as: the distance of the display unit of user distance electronic equipment is detected, or by other sensors, as long as being able to detect
The operation carried out to user, is not construed as limiting in the embodiment of the present application.
After detection obtains an installation operation, thens follow the steps S202: being operated based on the installation, described at least two
The first subregion in a subregion installs first operating system.
In the embodiment of the present application, in order to guarantee that the operating system after installation can be by normal call, then needing will be different
Operating system be mounted in the different subregions of electronic equipment, during specific implementation, operating system to be installed is installed
On the first subregion of the storage equipment of electronic equipment, such as: from -250 sector of 180 sector.Storage in the embodiment of the present application
Equipment can be hard disk, such as: solid state hard disk (SSD disk), mechanical hard disk (HDD disk) either hybrid hard disk (HHD disk), or
It is other types of hard disk, is not especially limited in the embodiment of the present application.
After installing the first operating system, then follow the steps S203: based on first operating system, it is described extremely
The second operating system is installed in the second subregion in few two subregions in addition to first subregion.
In the embodiment of the present application, for the specific implementation process of step S203, referring to FIG. 3, including:
S301: the first system file corresponding with first operating system is obtained and for starting first operation system
First starting information of system, wherein the first system file and the first starting information are stored in first subregion;
S302: described at least two are stored in using the first system file and the first starting information as Copy Info
In the second subregion in a subregion in addition to first subregion, to install the second operating system in second subregion.
During specific implementation, it is installed in the first operating system, and after electron device power, electronic equipment
Basic input output system (BIOS) starts to initialize.So after BIOS completes initialization, then electronic equipment is guided to enter system
One extended firmware shell side sequence (UFFI Shell) or Windows shell side sequence (Windows Shell) either Linux shell side
Sequence (Linux Shell) etc. or other shell side sequences, as long as the interface used for user can be provided i.e. by shell side sequence
Can, it is not especially limited in the embodiment of the present application.
After showing above-mentioned interface on the display unit of electronic equipment, then program to be run can be inputted on the surface
Program name, then run the program, during specific implementation, pass through the interface input program of file copy title, operation
The copy of the related data to the first operating system of installation then may be implemented in the program of file copy.
During specific implementation, to the copy of the first operating system of installation, the hard disk from the electronic equipment can be
On first position copy on the second position different from first position on hard disk, such as copied to from the sector sector 180-250
On the sector 350-420 on the hard disk;It is also possible to copy the hard disk of another electronic equipment to from the hard disk of the electronic equipment
On, such as: on the hard disk for copying B electronic equipment to from the hard disk of A electronic equipment, for above two implementation, this field
Those of ordinary skill can select according to actual needs, and the clone to operating system may be implemented.
In the embodiment of the present application, when copy procedure be copied to from the first position on hard disk on hard disk with first position
When on the different second positions, at least two subregion is the subregion on the same hard disk of the electronic equipment.
In the embodiment of the present application, the first system file corresponding with the first operating system is obtained by the program of file copy of operation
And the first starting information for starting the first operating system, during specific implementation, if the first operating system is Window8
Operating system, corresponding the first system file is then the system file of Win8, and the first starting information is then for starting Win8 behaviour
The information for making system, during specific implementation, starting information includes two parts, and first part is bootstrap+partition table, separately
A part is BCD (Boot Configuration Data, starting setting data), and in the embodiment of the present application, partition table is main
It is divided into two classes, such as: MBR partition table and GPT partition table, some corresponding big data of storage device for recording electronic equipment
The information for multiple subregions that table is divided, that is to say, that can know that each sector of storage device stores by partition table
Data information, therefore electronic equipment can read data based on partition table from storage device, wherein the packet of partition table
Include: the initial position of sector and end position, zoned format, the initial position of the sector and end position are used to indicate subregion
Which which terminate since sector to sector, zoned format then refers to the data type for being used to indicate and storing in sector, in this way
Partition information based on each subregion can read data from corresponding sector.
In the embodiment of the present application, copy procedure is to copy different from first position to from the first position on hard disk
For on two positions, then obtaining the first system file corresponding with the first operating system and being used to start the first operating system
The first starting information after, then the first system file and the first starting information as Copy Info are stored in the second subregion
On, such as above-mentioned example copies the first system file and the first starting information to 350-420 from the sector 180-250 on hard disk
On sector.
After executing the step S203, the method also includes following steps:
Modification is located at the first starting information in second subregion, obtains the second starting information, wherein be based on institute
The storage location of second system file corresponding with second operating system can be obtained by stating the second starting information, so that
After the basic input output system initialization of the electronic equipment, the electronic equipment can be opened according to the second starting information
Move second operating system.
For the specific implementation process of above-mentioned steps, specifically comprise the following steps:
Modification is located at corresponding with first operating system the in the first starting information in second subregion
The driving the file information of the partition table information of one partition table and the first driving file corresponding with first operating system, is obtained
Obtain the second starting information.
In the embodiment of the present application, after completing clone to the operating system of installation, in order to guarantee in electronic equipment just
It often when starting, still is able to call corresponding operation system, then the first starting information after corresponding modification clone, specific real
During now, modification the first starting information is then to modify the partition table information and the first driving file of corresponding first partition table
Activation bit, in the embodiment of the present application, the modification of partition table information be modify the first partition table in sector start bit
It sets and final position, i.e. the initial position for store the first system file copied and final position, such as: the first operating system
When being mounted on the sector 180-250 of hard disk, the initial position of sector is 180 in the first partition table, final position 250;That
Copy after, the second subregion be the sector 350-420, then by the first partition table after copy sector initial position and termination
It is revised as 350 and 420 in position.The storage location of startup file in BCD is modified, also similarly to guarantee to start in electronic equipment
When, corresponding operation system can be called according to the needs of users.Then multisystem calling process is illustrated below, i.e., from step
Rapid S101- step S104.
During specific implementation, electricity or when restarting on an electronic device, the basic input output system meeting of electronic equipment
It is initialized, after basic input output system completes initialization, then can occur a behaviour on the display interface of electronic equipment
Make window, tetra- options of A, B, C, D can be shown on the window, that is, shows that the electronic equipment is equipped with A, B, C, D tetra- behaviour
Make system.At this moment, it is which that user, which will then select oneself current operating system to be mounted, if user has selected C, electronics
Equipment determines partition table corresponding with operating system C then based on the corresponding relationship between partition table and operating system, based on true
Fixed partition table parses each byte in the partition table determined, obtains partition information, one by one then from corresponding
Data are read in storage device, guidance code corresponding with operating system C is then loaded and executes into the memory of electronic equipment, are grasped
Make system C and starts normal boot.In this way by the technical solution in the embodiment of the present application, multiple operations are installed in electronic equipment
When system, still data can be read based on itself corresponding partition table, loss of data caused by reducing because of operating system switching, especially
It is to be not necessarily based on operating system to reformat storage device.
In the embodiment of the present application, when electronic equipment is equipped with multiple operating systems, can also according to actual needs, if
Default start-up operation system is set, in this way electricity or when restarting on an electronic device, can start automatically according to default option accordingly
Operating system can select above two implementation without the intervention by user according to the actual needs of user
It selects, is not especially limited in the embodiment of the present application.
Embodiment two
The embodiment of the present application also provides a kind of electronic equipment, referring to FIG. 4, including:
Shell 40;
Storage device 41 is arranged in the shell 40;
Input-output system 42 is arranged in the shell 40, connect with the storage device 41, for determining that electronics is set
It is standby that at least two operating systems are installed, wherein at least two operating system is mounted on mutual in the electronic equipment
In at least two different subregions;It is the first operation at least two operating system that determining, which needs operating system to be started,
System;Based on the corresponding relationship between partition table and operating system, the first subregion corresponding with first operating system is determined
Table information;And it is based on first partition table information, start first operating system.
Optionally, before the determining electronic equipment is equipped at least two operating systems, the electronic equipment is also wrapped
It includes:
Sensing device 43 obtains an installation operation for detecting;
After detection obtains an installation operation, the electronic equipment further include:
Processing unit 44, for being operated based on the installation, the first subregion at least two subregion installs institute
State the first operating system;Based on first operating system, at least two subregion in addition to first subregion
Second operating system is installed in two subregions.
Optionally, the processing unit 44 is used for:
Obtain the first system file corresponding with first operating system and for starting first operating system
First starting information, wherein the first system file and the first starting information are stored in first subregion;
Described at least two points are stored in using the first system file and the first starting information as Copy Info
In the second subregion in area in addition to first subregion, to install the second operating system in second subregion.
Optionally, described using the first system file and the first starting information as Copy Info is stored in institute
After stating in the second subregion at least two subregions in addition to first subregion, the processing unit 44 is also used to:
Modification is located at the first starting information in second subregion, obtains the second starting information, wherein be based on institute
The storage location of second system file corresponding with second operating system can be obtained by stating the second starting information, so that
After the basic input output system initialization of the electronic equipment, the electronic equipment can be opened according to the second starting information
Move second operating system.
Optionally, the processing unit 44 is used for:
Modification is located at corresponding with first operating system the in the first starting information in second subregion
The driving the file information of the partition table information of one partition table and the first driving file corresponding with first operating system, is obtained
Obtain the second starting information.
Embodiment three
The embodiment of the present application also provides a kind of electronic equipment, referring to FIG. 5, including:
First determination unit 50, for determining that electronic equipment is equipped at least two operating systems, wherein described at least two
A operating system is mounted in at least two mutually different subregions in the electronic equipment;
Second determination unit 51, for determining that needing operating system to be started is at least two operating system
One operating system;
Third determination unit 52, for determining and described first based on the corresponding relationship between partition table and operating system
Corresponding first partition table information of operating system;
First start unit 53 starts first operating system for being based on first partition table information.
Optionally, before the determining electronic equipment is equipped at least two operating systems, the electronic equipment is also wrapped
It includes:
First detection unit 54 obtains an installation operation for detecting;
First installation unit 55, the first subregion peace for being operated based on the installation, at least two subregion
Fill first operating system;
Second installation unit 56, for being based on first operating system, except described at least two subregion
Second operating system is installed in the second subregion outside one subregion.
Optionally, second installation unit 56, comprising:
First obtains module, for obtaining the first system file corresponding with first operating system and for starting
State the first starting information of the first operating system, wherein the first system file and the first starting information are stored in institute
It states in the first subregion;
First memory module, for being stored using the first system file and the first starting information as Copy Info
In the second subregion at least two subregion in addition to first subregion, to install the second behaviour in second subregion
Make system.
Optionally, described using the first system file and the first starting information as Copy Info is stored in institute
After stating in the second subregion at least two subregions in addition to first subregion, the electronic equipment further include:
First modified module obtains second and opens for modifying the first starting information being located in second subregion
Dynamic information, wherein second system file corresponding with second operating system can be obtained based on the second starting information
Storage location so that the electronic equipment basic input output system initialization after, the electronic equipment being capable of root
Start second operating system according to the second starting information.
Optionally, first modified module includes:
First modification submodule starts in information for modify be located in second subregion described first with described the
The partition table information of corresponding first partition table of one operating system and the first driving text corresponding with first operating system
The driving the file information of part obtains the second starting information.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implemented
Fruit:
It one, is that determining electronic equipment is equipped at least two operating systems due to the technical solution in the embodiment of the present application,
Wherein, at least two operating system is mounted in at least two mutually different subregions in the electronic equipment;It determines
Needing operating system to be started is the first operating system at least two operating system;Based on partition table and operating system
Between corresponding relationship, determine corresponding with first operating system the first partition table information;Based on first partition table
Information starts first operating system.I.e. will not as in the prior art, when electronic equipment is equipped with multiple operating systems,
Start to realize, also relate to the modification of the kernel or bootstrap to operating system, realizes that process is complex, and
It in the technical scheme, is the calling that multiple operating system can be realized by partition table corresponding with operating system, thus it is possible to
Electronic equipment in the prior art is effectively solved when being equipped with multiple operating systems, there is the process for realizing start-up operation system
Complex technical problem, and then reach when electronic equipment is equipped with multiple operating systems, conveniently realize starting
The technical effect of the process of operating system.
Two, since the technical solution in the embodiment of the present application is, the first system corresponding with first operating system is obtained
It unites file and the first starting information for starting first operating system, wherein the first system file and described the
One starting information is stored in first subregion;Believe using the first system file and the first starting information as duplication
Breath is stored in the second subregion at least two subregion in addition to first subregion, to install in second subregion
Second operating system.I.e. will not be as in the prior art, it, then will be one by one to install multiple operating systems on same electronic equipment
Installation, operating process is complex, spends the time longer, and the technical program is that multiple operating system is realized by way of clone
Installation, operating process is simple, spend the time it is less, and then reach improve user experience technical effect.
Three, it since the technical solution in the embodiment of the present application is, modifies described first be located in second subregion and opens
In dynamic information the partition table information of the first partition table corresponding with first operating system and with first operating system
The driving the file information of corresponding first driving file obtains the second starting information.I.e. in the technical scheme, it is not only able to protect
The Fast Installation of multiple operating systems is demonstrate,proved, and after through the modification to starting information, additionally it is possible to guarantee multiple operating systems
Normal starting, it is entire to realize that process is relatively simple, and then reach the technical effect for improving user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in
CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage medium
One electronic equipment reads or is performed, and includes the following steps:
Determine that electronic equipment is equipped at least two operating systems, wherein at least two operating system is mounted on institute
It states in at least two mutually different subregions in electronic equipment;
It is the first operating system at least two operating system that determining, which needs operating system to be started,;
Based on the corresponding relationship between partition table and operating system, first point corresponding with first operating system is determined
Area's table information;
Based on first partition table information, start first operating system.
Optionally, further include having other computer instructions in the storage medium, other computer programs with step
It the corresponding computer instruction of at least two operating systems is installed is performed before in the determining electronic equipment and be performed, the meter
During the instruction of calculation machine is performed, include the following steps:
Detection obtains an installation operation;
It is operated based on the installation, the first subregion at least two subregion installs first operating system;
Based on first operating system, in the second subregion at least two subregion in addition to first subregion
Second operating system is installed.
Optionally, stored in the storage medium and step: it is described to be based on first operating system, described
The corresponding computer instruction of second operating system is installed to exist in the second subregion at least two subregions in addition to first subregion
During being performed, include the following steps:
Obtain the first system file corresponding with first operating system and for starting first operating system
First starting information, wherein the first system file and the first starting information are stored in first subregion;
Described at least two points are stored in using the first system file and the first starting information as Copy Info
In the second subregion in area in addition to first subregion, to install the second operating system in second subregion.
It optionally, further include other computer instructions in the storage medium, which exists with step
It is described to be stored in the first system file at least two subregion as Copy Info with the first starting information
Corresponding computer instruction is performed after being performed in the second subregion in addition to first subregion, other computer instructions
In the process of implementation, include the following steps:
Modification is located at the first starting information in second subregion, obtains the second starting information, wherein be based on institute
The storage location of second system file corresponding with second operating system can be obtained by stating the second starting information, so that
After the basic input output system initialization of the electronic equipment, the electronic equipment can be opened according to the second starting information
Move second operating system.
Optionally, store in the storage medium and step: the modification is located at described the in second subregion
One starting information obtains the corresponding computer instruction of the second starting information in the process of implementation, includes the following steps:
Modification is located at corresponding with first operating system the in the first starting information in second subregion
The driving the file information of the partition table information of one partition table and the first driving file corresponding with first operating system, is obtained
Obtain the second starting information.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of information processing method, comprising:
Determine that electronic equipment is equipped at least two operating systems, wherein at least two operating system is mounted on the electricity
In at least two mutually different subregions in sub- equipment;
It is the first operating system at least two operating system that determining, which needs operating system to be started,;
Based on the corresponding relationship between partition table and operating system, the first partition table corresponding with first operating system is determined
Information;
Based on first partition table information, start first operating system;Wherein,
Before the determining electronic equipment is equipped at least two operating systems, the method also includes:
Detection obtains an installation operation;
It is operated based on the installation, the first subregion at least two subregion installs first operating system;
Based on first operating system, installed in the second subregion at least two subregion in addition to first subregion
Second operating system, specifically includes;
Obtain corresponding with first operating system the first system file and for starting first operating system first
Start information, wherein the first system file and the first starting information are stored in first subregion;
It is stored at least two subregion using the first system file and the first starting information as Copy Info
In the second subregion in addition to first subregion, to install the second operating system in second subregion.
2. the method as described in claim 1, which is characterized in that start the first system file with described first described
It is described after information is stored in the second subregion at least two subregion in addition to first subregion as Copy Info
Method includes:
Modification is located at the first starting information in second subregion, obtains the second starting information, wherein based on described the
Two starting information can obtain the storage location of second system file corresponding with second operating system, so that described
After the basic input output system initialization of electronic equipment, the electronic equipment can start institute according to the second starting information
State the second operating system.
3. method according to claim 2, which is characterized in that described first modified in second subregion is opened
Dynamic information obtains the second starting information, comprising:
Modification is located at first point corresponding with first operating system in the first starting information in second subregion
The driving the file information of the partition table information of area's table and the first driving file corresponding with first operating system, obtains the
Two starting information.
4. the method as described in any claim of claim 1-3, which is characterized in that at least two subregion is that the electronics is set
Subregion on standby same hard disk.
5. a kind of electronic equipment, comprising:
Shell;
Storage device is arranged in the shell;
Input-output system, be arranged in the shell, connect with the storage device, for determine electronic equipment be equipped with to
Few two operating systems, wherein at least two operating system be mounted in the electronic equipment it is mutually different at least
In two subregions;It is the first operating system at least two operating system that determining, which needs operating system to be started,;It is based on
Corresponding relationship between partition table and operating system determines the first partition table information corresponding with first operating system;And
Based on first partition table information, start first operating system;Wherein,
Before the determining electronic equipment is equipped at least two operating systems, the electronic equipment further include:
Sensing device obtains an installation operation for detecting;
After detection obtains an installation operation, the electronic equipment further include:
Processing unit, the first subregion installation described first for being operated based on the installation, at least two subregion
Operating system;And it is based on first operating system, second point at least two subregion in addition to first subregion
Second operating system is installed in area;
The processing unit is also used to obtain corresponding with first operating system the first system file and for described in starting
First starting information of the first operating system, wherein the first system file and the first starting information are stored in described
In first subregion;
It is stored at least two subregion using the first system file and the first starting information as Copy Info
In the second subregion in addition to first subregion, to install the second operating system in second subregion.
6. electronic equipment as claimed in claim 5, which is characterized in that described by the first system file and described first
After starting information is stored in the second subregion at least two subregion in addition to first subregion as Copy Info,
The processing unit is also used to:
Modification is located at the first starting information in second subregion, obtains the second starting information, wherein based on described the
Two starting information can obtain the storage location of second system file corresponding with second operating system, so that described
After the basic input output system initialization of electronic equipment, the electronic equipment can start institute according to the second starting information
State the second operating system.
7. electronic equipment as claimed in claim 6, which is characterized in that the processing unit is used for:
Modification is located at first point corresponding with first operating system in the first starting information in second subregion
The driving the file information of the partition table information of area's table and the first driving file corresponding with first operating system, obtains the
Two starting information.
8. a kind of electronic equipment, comprising:
First determination unit, for determining that electronic equipment is equipped at least two operating systems, wherein at least two operation
System is mounted in at least two mutually different subregions in the electronic equipment;
Second determination unit, for determining that needing operating system to be started is the first operation at least two operating system
System;
Third determination unit, for based on the corresponding relationship between partition table and operating system, determining and first operation system
It unites corresponding first partition table information;
First start unit starts first operating system for being based on first partition table information;Wherein,
Before the determining electronic equipment is equipped at least two operating systems, the electronic equipment further include:
First detection unit obtains an installation operation for detecting;
First installation unit, for being operated based on the installation, described in the first subregion installation at least two subregion
First operating system;
Second installation unit removes first subregion for being based on first operating system at least two subregion
Second operating system is installed in the second outer subregion;Wherein,
Second installation unit includes:
First obtains module, for obtaining corresponding with first operating system the first system file and for starting described the
First starting information of one operating system, wherein the first system file and the first starting information are stored in described the
In one subregion;
First memory module, for being stored in institute using the first system file and the first starting information as Copy Info
It states in the second subregion at least two subregions in addition to first subregion, to install the second operation system in second subregion
System.
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 CN105786569A (en) | 2016-07-20 |
CN105786569B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107967141B (en) * | 2017-11-27 | 2021-04-13 | 北京小米移动软件有限公司 | Operating system upgrading method and device and terminal |
CN114546505B (en) * | 2022-02-22 | 2023-07-14 | 联想开天科技有限公司 | Method for filling multiple operating systems and electronic equipment |
CN117519569A (en) * | 2022-07-28 | 2024-02-06 | 华为技术有限公司 | System operation method and terminal device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8700458B2 (en) * | 1989-05-01 | 2014-04-15 | Catalina Marketing Corporation | System, method, and database for processing transactions |
US20090282198A1 (en) * | 2008-05-08 | 2009-11-12 | Texas Instruments Incorporated | Systems and methods for optimizing buffer sharing between cache-incoherent cores |
-
2016
- 2016-02-26 CN CN201610109252.7A patent/CN105786569B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105786569A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105117156B (en) | A kind of information processing method and electronic equipment | |
CN106201566B (en) | Benefit wins the hot upgrade method of big special software and equipment | |
JP2016139393A (en) | Exposing proprietary image backup to hypervisor as disk file bootable by hypervisor | |
BR112017003270B1 (en) | METHOD, SYSTEM AND COMPUTER READABLE MEDIA FOR PARAMETRIC INERTIA AND APIS | |
CN105786569B (en) | A kind of information processing method and electronic equipment | |
US9715307B1 (en) | Pressure-sensitive touch screen display and method | |
CN110415315B (en) | Method, device, terminal and storage medium for touch drawing map area | |
JP6209861B2 (en) | Extensible method and system for stored metadata | |
CN104104705B (en) | The cut-in method and equipment of distributed memory system | |
US9152552B2 (en) | Securing sensitive information in a network cloud | |
CN114691300A (en) | Hot migration method of virtual machine instance | |
US10565000B2 (en) | Method and apparatus for online upgrade of kernel-based virtual machine module | |
CN102855093B (en) | System and method for realizing automatic thin provisioning dynamic capacity expansion of storage system | |
CN106126115A (en) | A kind of method and device of the disk of EVM(extended virtual machine) | |
CN107391120A (en) | One kind starts control method, electronic equipment and computer-readable recording medium | |
US20200110666A1 (en) | Data recovery of guest virtual machines | |
CN103530144A (en) | Method for generating virtual machine images from legacy system | |
CN104461603B (en) | A kind of information processing method and electronic equipment | |
EP2835737A1 (en) | Data terminal running mode switching method, device, and data terminal | |
CN103218228B (en) | A kind of Android device built-in hard disk realizes method and the device of new technology file system | |
CN103761041A (en) | Information processing method and electronic device | |
CN111930575A (en) | Firmware acquisition method and device and electronic equipment | |
US20140258347A1 (en) | Grouping files for optimized file operations | |
CN105224295A (en) | Software running method and device | |
CN104679535A (en) | Server and identification code synchronization method |
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 |