CN100474246C - Computer system, method and medium for switching operation system - Google Patents

Computer system, method and medium for switching operation system Download PDF

Info

Publication number
CN100474246C
CN100474246C CNB2005100710410A CN200510071041A CN100474246C CN 100474246 C CN100474246 C CN 100474246C CN B2005100710410 A CNB2005100710410 A CN B2005100710410A CN 200510071041 A CN200510071041 A CN 200510071041A CN 100474246 C CN100474246 C CN 100474246C
Authority
CN
China
Prior art keywords
operating system
information
computer system
switching method
state
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.)
Expired - Fee Related
Application number
CNB2005100710410A
Other languages
Chinese (zh)
Other versions
CN1700175A (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.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of CN1700175A publication Critical patent/CN1700175A/en
Application granted granted Critical
Publication of CN100474246C publication Critical patent/CN100474246C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/46Multiprogramming arrangements

Abstract

An operating system switching method in a computer system having at least two operating systems is provided. The operating system switching method may include receiving a command of switching a first operating system that is currently running to a second operating system, causing the computer system to make a transition to a low-power sleeping state in response to the command, and booting the computer system using the second operating system in the transitioned state.

Description

The computer system, method and the medium that are used for switching operating system
Technical field
The present invention relates to a kind of multiple operating system, relate in particular to the operating system switching method in a kind of computer system with multiple operating system mounted thereto.
Background technology
Although single operating system of past is installed in the computer system, development of computer has made two or more operating systems can be installed on the computer system.Have the operating system configuration therein of two or more operating system installation and be known as multiple operating system.
Thereby, in case the multiple operating system configuration of expectation be fabricated, then the user become can be in appropriate operating system the calculation task of carry out desired.During calculation task, carry out different calculation tasks if desired, then computer system must switch to another operating system from an operating system.Thereby the computer system with multiple operating system typically provides the operating system handoff functionality.
Fig. 1 is the process flow diagram that traditional operating system switching method is shown.Explain for convenience, be equipped with therein shown in Fig. 1
Figure C200510071041D00061
With
Figure C200510071041D00062
Operating system switching method in the computer system of operating system.
At step S100, suppose Operating system is directed and is just moving normally.In the case, at step S110 and S120, when the user want to use predetermined short key (short key) from
Figure C200510071041D00064
Operating system switches to
Figure C200510071041D00065
Operating system,
Figure C200510071041D00066
Operating system switches to soft-off state S5 with the power management states of computer system, and it is done in more detail with reference to Fig. 2 and describes.In other words, computer system uses power management function to be used for switching operating system.
When switching traditional operating system, at step S120, power management states is gone to and the corresponding power management states 240 of S5 state (Fig. 2), thereby
Figure C200510071041D00067
Operating system is terminated.During when power-on, at step S140, bios guides startup at step S130.In the case, power supply can automatically be activated by user's power supply load button or by computer system.When the bios system bootstrap was performed, the user was inquired at step S150 computer system will by which booting operating system.The user selects
Figure C200510071041D00068
Operating system, thereafter, computer system step S160 by
Figure C200510071041D00069
Operating system guides.Here, certainly, if the user selects
Figure C200510071041D000610
Operating system, then computer system will step S100 by
Figure C200510071041D00071
Operating system guides.
In order to understand traditional operating system switching method better, the power management function of computer system is once now described roughly.
The power-supply management system of computer system is the function that strengthens by initial simple function development.Recently, Intel company, Microsoft and Toshiba proposed advanced configuration and power interface (ACPI) standard.According to the ACPI standard, power management is not to be carried out by BIOS (Basic Input or Output System (BIOS)), but is carried out by operating system.The detailed content of ACPI standard is disclosed in " ACPI standard 1.0 editions ".
Fig. 2 is the state diagram that illustrates according to the transformation of the various states of the computer system of ACPI standard and each state.
As shown in Figure 2, whole states of computer system have 5: traditional state 210, G0 state 220, G1 state 230, G2 state 240 and G3 state 250.
In traditional state 210, the ACPI function is under an embargo and power management is not performed.In G0 state 220, the computer system operate as normal.In G1 state 230, that is, in the dormant state, power consumption is reduced gradually.In G2 state 240, that is, the soft-off state has only minimal power to be consumed with induction soft handover (being used for the switching of the computer system of electric power on/off).In G3 state 250, that is, mechanical off-mode, power supply is cut off.
In the state that the ACPI function is used and electricity is supplied to, computer system has 6 rank dormant state: S0 to S5.The S0 state is equivalent to G0 state 220.State S1 to S4232,234,236 and 238 (below, be called low power sleep state) corresponding with G1 state 230.The S5 state is corresponding with G2 state 240.In low power sleep state 232,234,236 and 238, reduced gradually according to the running status power consumption of computer system.In this state, S1 state 232 is low power sleep state, all states of computer system are stored in wherein, and S2 state 234 is the low power sleep state that are similar to S1 state 232, but CPU high-speed cache and system cache are not stored in the S2 state 234.S3 state 236 is the low power states that are similar to S1 state 232, but the losing except that memorizer information about hardware information.In S4 state 238, that is, in the low power sleep state, hardware quits work.In S4 state 238, power supply almost is cut off, thereby, spended time to reuse S4 state 238.Yet the previous environment of the operating system of being moved is stored in the hard disk such as the information or the data message of memorizer information, multiple application program, and it is known as mirror back-up.
As illustrated in fig. 1 and 2, in traditional operating system switching method, after current operating system was fully stopped, bios guided the guiding that is performed and is undertaken by the operating system that will be switched to be performed thereafter.In case of necessity, when bios guides or thereafter, can carry out please user's selection operation system processing.
In other words, in stopping the process of current operation system, the All Time that switching operating system needs is extended and is required such as unnecessary user's operation of user's selection operation system.For the multiple operating system of the quicker guiding of needs, need address these problems.
In addition, when current operation system was switched to the operating system that is used for specific purpose, other processing or the hardware that are not used to this specific purpose were also moved, and it causes the unnecessary consumption of system resource or power.Therefore, in order to save system resource and power, what need is that only operation is used to carry out needed processing of this specific purpose or hardware.
Summary of the invention
Inventing other aspect and/or advantage will partly set forth in the following description, can partly become clear from describe, and perhaps can obtain by the practice to invention.
The invention provides a kind of operating system switching method, pass through the method, when in the computer system that multiple operating system is being installed during switching operating system, the state of computer system is diverted particular state and in transition state, operating system is switched the operating system to needs, thereby, reduced time that switching operating system needs and the operation bidirectional that does not need the user.
The present invention also provides a kind of operating system switching method, by the method, between transfer period, the environmental information of the operating system of previous operation is stored in operating system, even thereby current operating system is resumed the operating system into previous operation, the environment of the system of previous operation also is held.
The present invention also provides a kind of operating system switching method, and by the method, when current operating system was switched the operating system of most specific purpose installation, the low power state of system optimization was held.
With reference to following description, accompanying drawing and appended claim, it is clear that above-mentioned purpose of the present invention and other purpose, feature and advantage will become for those skilled in the art.
According to an aspect of the present invention, a kind of operating system switching method in having the computer system of at least two operating systems is provided, and this operating system switching method comprises: receive the order that first operating system of current operation is switched to second operating system; Make computer system in response to this command conversion to low power sleep state; And the second booting operating system computer system in the state of utilization conversion.
The reception of order can comprise that utilizing the input block that provides in the computer system to receive orders.Input block can comprise: the user input apparatus, wireless signal receiver module and the Network Interface Module that are used for switching operating system.
Low power sleep state can comprise the S3 power management states according to ACPI (ACPI) standard.
The step that makes computer system be converted to low power sleep state can comprise: the operating system handover information of the guiding of the power management states information of low power sleep state of indication conversion and the computer system that indication utilizes second operating system is set, and utilizes the guiding of the computing machine of second operating system can comprise according to power management states information and operating system handover information in the state of conversion and utilize the second booting operating system computer system.
The step that makes computer system be converted to low power sleep state can comprise that storage is about the information of the environment of first operating system when when predetermined storage area receives order.This information can comprise: system resource information, program information or data message.In the S4 power management states according to the ACPI standard, this information can be stored in the predetermined storage area.
Utilize the step of the second booting operating system computer system in the state of conversion can comprise from predetermined storage area and extract about the information of the environment of operating system and utilize the information of this extraction that the environment of second operating system is provided, the information of extraction comprises the information about the environment of second operating system of moving before second operating system is switched to first operating system.In the S4 power management states according to the ACPI standard, this information can be stored in the predetermined storage area.
According to a further aspect in the invention, provide a kind of computer system with at least two operating systems, this computer system comprises: receiver module, and it receives the order that first operating system of current operation is switched to second operating system; Status control module, its make computer system in response to this command conversion to low power sleep state; And the operating system handover module, it utilizes the second booting operating system computer system in the state of changing.
Low power sleep state can comprise the S3 power management states according to ACPI (ACPI) standard.
The operating system handover information of the guiding of the computer system that the power management states information of the low power sleep state that status control module can be changed indication and indication utilize second operating system is sent to the operating system handover module, and the operating system handover module can utilize the second booting operating system computer system according to power management states information and operating system handover information.
The operating system handover module is carried out the operating system that comprises bios ROM and is switched.
Computer system can also comprise memory module, its storage is about the information of the environment of second operating system, wherein, this computer system is moved being switched to first operating system, wherein, the operating system handover module switches so that the environment of second operating system to be provided from the information and executing operating system of memory module information extraction and utilization extraction.According to the ACPI standard, memory module can be with information stores in the S4 power management states.
According to a further aspect in the invention, a kind of operating system switching method in having the computer system of at least two operating systems is provided, and this operating system switching method comprises: guide first operating system to the second operating system of current operation to provide content of multimedia to the user through low power sleep state; Type according to content of multimedia is controlled at least two kinds of hardware states that are included in the computer system; And in check hardware state, provide content of multimedia to the user.
According to a further aspect in the invention, a kind of operating system switching method in having the computer system of at least two operating systems is provided, and this operating system switching method comprises: guide first operating system to the second operating system of current operation to provide content of multimedia to the user through low power sleep state; Provide user interface so that the tabulation of content of multimedia to be provided to the user; Make computer system be set to the low power state pattern so that the content of multimedia that operation is selected from tabulation by the user; And the content of multimedia that operation is selected under the low power state pattern.
According to a further aspect in the invention, at least a computer-readable medium is provided, its at least one processor of storage control is to carry out the instruction of following method, and this method comprises: receive the order that first operating system of current operation in the computer system is switched to second operating system; Make computer system in response to this command conversion to low power sleep state; And utilize the second booting operating system computer system.
According to a further aspect in the invention, at least a computer-readable medium is provided, its at least one processor of storage control is to carry out the instruction of following method, and this method comprises: first operating system to the second operating system that guides current operation is to provide content of multimedia to the user; Type according to content of multimedia is controlled at least two kinds of hardware states that are included in the computer system; And in check hardware state, provide content of multimedia to the user.
According to a further aspect in the invention, at least a computer-readable medium is provided, its at least one processor of storage control is to carry out the instruction of following method, and this method comprises: first operating system to the second operating system that guides current operation is to provide content of multimedia to the user; Provide user interface so that the tabulation of content of multimedia to be provided to the user; Make computer system be set to the low power state pattern so that the content of multimedia that operation is selected from tabulation by the user; And the content of multimedia that operation is selected under the low power state pattern.
Description of drawings
By the following description of carrying out in conjunction with the accompanying drawings to embodiment, above-mentioned and/or others of the present invention and advantage will become apparent, wherein:
Fig. 1 is the process flow diagram that traditional operating system switching method is shown;
Fig. 2 illustrates according to the state of the computer system of ACPI standard and the state diagram of each state exchange;
Fig. 3 is the block scheme that illustrates according to the computer system that is used for the executive operating system switching of exemplary embodiment of the present invention;
Fig. 4 illustrates according to the operating system of exemplary embodiment of the present invention to switch, that is, and and the state diagram of the first operating system switch mode;
Fig. 5 is the process flow diagram that operating system switching method as shown in Figure 4 is shown;
Fig. 6 illustrates according to the operating system of another exemplary embodiment of the present invention to switch, that is, and and the state diagram of the second operating system switch mode;
Fig. 7 is the process flow diagram that operating system switching method as shown in Figure 6 is shown;
Fig. 8 is the process flow diagram that illustrates according to the operating system switching method of another exemplary embodiment of the present invention;
Fig. 9 is the process flow diagram that illustrates according to the operating system switching method of another exemplary embodiment of the present invention;
Figure 10 is the block scheme of computer system that is used to control low power state that illustrates according to another exemplary embodiment of the present invention;
Figure 11 is the process flow diagram that illustrates according to the method for the control low power state of another exemplary embodiment of the present invention;
Figure 12 illustrates the basis exemplary diagram of the user interface of structure as shown in figure 10.
Embodiment
To describe embodiments of the invention in detail now, the example is illustrated by accompanying drawing, and wherein, identical label refers to identical parts all the time.Below, exemplary embodiment is described to explain the present invention with reference to the accompanying drawings.
According to exemplary embodiment of the present invention, the process flow diagram of reference method is described the present invention hereinafter.Should understand each square frame of process flow diagram and the combination of the square frame in the process flow diagram can be realized by computer program instructions.These computer program instructions can be provided for multi-purpose computer, special purpose computer or other programmable data processing device to produce the processor of machine, thereby the function of the processor execution of computing machine or other programmable data processing device with the appointment in realization flow square frame or the square frame combination passed through in these instructions.These computer program instructions also can be stored in computing machine can with or computer-readable storer in, but its instruct computer or other programmable data processing device are moved in a particular manner, thereby, be stored in computing machine can with or computer-readable memory in instruction produce to make thing with realization flow square frame or square frame in conjunction with in the function of appointment.Computer program instructions also can be loaded on computing machine or other programmable data processing device so that the sequence of operations step is performed on computing machine or other programmable device producing the processing that computing machine is carried out, thus the instruction of on computing machine or other programmable device, carrying out provide realization flow square frame or square frame in conjunction with in the function of appointment.
In addition, but each square frame representation module, program segment or the partial code of process flow diagram, and it comprises that one or more executable instructions are to realize specific logic function.It should be noted that equally in some realization that substitutes, the function shown in the square frame can take place unusually.For example, continuously in fact two square frames shown in can be performed or square frame can be carried out with opposite order sometimes in fact simultaneously, and this depends on function associated.
Simultaneously,, suppose according to the present invention for for better understanding of the present invention, With
Figure C200510071041D00122
Operating system is installed in the computer system.Yet the present invention is not limited to
Figure C200510071041D00123
With
Figure C200510071041D00124
Operating system and can comprise except
Figure C200510071041D00125
With
Figure C200510071041D00126
Other operating system of part or any combination of system are to replace With
Figure C200510071041D00128
In addition, although following Example point out
Figure C200510071041D00129
Operating system is the operating system of acquiescence, but such as
Figure C200510071041D001210
Operating system can be designated as the operating system of acquiescence.
Fig. 3 is the block scheme that illustrates according to the computer system 300 that is used for the executive operating system switching of exemplary embodiment of the present invention.This computer system 300 comprises: receiver module 330, and it receives the operating system switching command from the user; Status control module 310, it is in response to the state of order control computer system 300; Operating system handover module 320, it switches to different operating system in response to order with current operation system; And memory module 340, when switching operating system, it stores the information about the environment of the operating system of before having been moved.
Here, term ' module ' is commonly referred to as used herein, but is not limited to, and such as the software or the hardware component of field programmable gate array (FPGA) or special IC (ASIC), it carries out some task.Module can be configured to reside in the addressable storage medium easily and be configured to carry out one or more processors.Therefore, module can comprise, for example, such as parts such as software part, OO software part, base part and task parts, process, function, attribute, process, subroutine, procedure code section, driving, firmware, microcoding, circuit, data, database, data structure, tabulation, array and variablees.What be used for being provided with in parts and module functionally is combined into less components and module or further is separated into other parts and module.In addition, parts and module can be implemented so that they can be carried out by one or more computing machines in communication system.
Now, the operation of module will be described in greater detail below.
If be operated in User under the operating system utilizes predetermined input block executive operating system switching command so that current operating system is switched to
Figure C200510071041D00132
Operating system, then receiver module 330 receives this operating system switching command.In this case, the user input apparatus such as mouse, keyboard and touch-screen etc. can be used as input block.As selection, when the user utilized the telepilot switching operating system, the wireless signal receiver module that is used to receive the wireless signal that sends from telepilot can be used as input block.In addition, when the user was switched by wired or wireless network executive operating system, then input block can comprise Network Interface Module.
Receiver module 330 will be treated to ' generation of incident ' from the operating system switching command that input block receives and will be sent to status control module 310 about the information of this incident.In this case, status control module 310 is sent to operating system handover module 320 with power management states information and operating system handover information, wherein, the power management states of power management states information instruct computer system 300, the indication of operating system handover information utilizes
Figure C200510071041D00133
The guiding that operating system is carried out.In one example, power management states information can indicate power wherein partly to be supplied with the state of computer system 300.In this example, wherein power can be that wherein power is supplied to all system resources of computer system 300 and is installed in all devices on this computer system so that system resource and the device state that can move by the part condition of supplying, perhaps can be that wherein power is not supplied to the state of computer system 300, for example, previously described ' low power sleep state '.Power management message also can be indicated the state such as " system closure ".
Simultaneously, power management states information and operating system handover information can be sent out by message format.
Operating system handover module 320 comprises each variable of indication power management states information and operating system handover information, and to the information of variable setting from status control module 310 receptions.Below, for better understanding of the present invention, the variable of indication power management states information is known as ' Power_state_var ', and the variable of indication operating system handover information is known as ' InstantOn_var '.Even because the power supply of computer system 300 is closed, the value that is set to variable preferably also is held, thus handover module 320 can use such as bios ROM by the additional supply operation device and or the program in this device, moved realize.Variable ' Power_state_var ' can be indicated the power management states about each operating system in a variable.
When variable ' Power_state_var ' and variable ' InstantOn_var ' when being changed, operating system handover module 320 becomes the power management states of computer system 300 into the power management states that is provided with in variable ' Power_state_var '.Then, be provided with in variable ' InstantOn_var ' by utilization
Figure C200510071041D00141
Operating system begins guiding.In this case, power management states can be restricted to the power management states S1 to S4 according to the ACPI standard, that is, and and previously described low power sleep state, and, preferably, S3 or S4 state.
Work as switching During operating system, the user may still want to keep
Figure C200510071041D00143
The environment of operating system.So, about
Figure C200510071041D00144
The information of the environment of operating system is stored in the memory module 340.In this example, memory module 340 can be the non-volatile memory medium such as hard disk etc.About
Figure C200510071041D00145
The information of the environment of operating system can be the system resource information such as storer, as the application program of storehouse in storer or carry out the program information and the data message relevant with program of the multiple processing of background work.In addition, this information can be stored in the memory module 340 to be stored in according to the mode in the S4 power management states of ACPI standard.In this example, as the user general Operating system switches to
Figure C200510071041D00147
Operating system also will Operating system switches to once more
Figure C200510071041D00149
During operating system,
Figure C200510071041D001410
The environment of operating system can be resumed.Determine by the value that is arranged in the variable ' Power_state_var ' whether operating system handover module 320 recovers to be stored in the information about operating system environment in the memory module 340.
For example, when the user want with
Figure C200510071041D001411
Operating system switches to
Figure C200510071041D001412
Operating system keeps simultaneously
Figure C200510071041D001413
During the environment of operating system, the value that is provided with in variable ' Power_state_var ' is set up under ' S4 power management states ', and about
Figure C200510071041D001414
The information of the environment of operating system is stored in memory module 340.Thereafter, when returning to
Figure C200510071041D001414
During operating system, operating system handover module 320 finds that the value that is provided with is set up under ' S4 power management states ' in variable ' Power_state_var ', extract the information that before had been stored in the memory module 340, and recover
Figure C200510071041D001416
The environment of operating system.
In this case, when user's executive operating system switching command, can utilize the interface inquiry user such as graphic user interface (GUI), whether the user stores the information about the environment of current operation system in memory module 340.In addition, the code of indication operating system switching can change according to operating system switching method.
For better understanding of the present invention, wherein operating system between transfer period the not stored situation of information about the environment of operating system be known as ' the first operating system switch mode ', and wherein in operating system between transfer period, be known as ' the second operating system switch mode ' about the stored situation of information of the environment of operating system.
Fig. 4 illustrates according to the operating system of exemplary embodiment of the present invention to switch, that is, and and the state diagram of the first operating system switch mode.
For example, suppose in step 410, current
Figure C200510071041D00151
Operating system is by normal boot and operation.The S0 power management states of this state and ACPI standard is corresponding.In this example, in step 420, when taking place about the incident from user's operating system handoff request, then in step 430, power management states is switched the S3 power management states to the ACPI standard.Thereafter, current Operating system by
Figure C200510071041D00153
Booting operating system is so that set up in step 440
Figure C200510071041D00154
The environment of operating system.Two kinds of situations can be arranged in the state of step 440: a kind of in step 450 by the situation of user with the power-off of computer system; With a kind of in step 470,
Figure C200510071041D00155
Operating system be switched to
Figure C200510071041D00156
The situation of operating system.
The power supply of system and in step 460 power-on once more, then computer system is by predetermined booting operating system if the user shuts down computer.Fig. 4 illustrate computer system by
Figure C200510071041D00157
Booting operating system.
In step 470, if the user will
Figure C200510071041D00158
Operating system is switched back
Figure C200510071041D00159
Operating system, then in step 480, power management states is switched the S3 power management states to the ACPI standard, and in step 410, this computer system by Booting operating system is so that set up
Figure C200510071041D001511
The environment of operating system.
Fig. 5 is the process flow diagram that operating system switching method shown in Figure 4 is shown.
For example, suppose at step S505, current
Figure C200510071041D001512
Operating system is by normal boot and operation.In this case, when the incident of indication user switching operating system took place, at step S510 and S515, the value of the S3 power management states of indication ACPI standard was set in the variable ' Power_state_var '.Then, at step S520, variable ' InstantOn_var ' is set to value of true, and at step S525, bios guides beginning.Simultaneously, wherein variable ' InstantOn_var ' the current operating system of situation indication that is set to value of true is switched to also off-duty operating system now, and wherein variable ' InstantOn_var ' the current operating system of situation indication that is set to value of false is not switched to present off-duty operating system, that is, the current operating system of just moving is held.Preferably, the initial value of variable ' InstantOn_var ' is set to value of false, and variable ' Power_state_var ' and variable ' InstantOn_var ' are stored among the bios ROM.
At step S525, when bios when beginning guiding, if variable ' InstantOn_var ' is set to value of true, then current operating system be switched to Operating system.In this case, at step S535, the value of the S0 power management states of indication ACPI standard is set to variable ' Power_state_var '.Then, at step S540, computer system by
Figure C200510071041D00161
Booting operating system, and variable ' InstantOn_var ' is set to value of false.This be because, if variable ' InstantOn_var ' is set to value of true, then operating system should be switched to
Figure C200510071041D00162
Operating system.Then, at step S550,
Figure C200510071041D00163
Operating system.
Simultaneously, at step S555, can move computer system by the power knob of pressing pent computer system.In this case, at step S525, bios guides as beginning in classic method.In this case, suppose that the operating system that guides is initially set to
Figure C200510071041D00164
Operating system.Therefore because variable ' InstantOn_var ' is set to value of false, so current operating system be not switched to
Figure C200510071041D00165
Operating system.
At step S560, when variable ' Power_state_var ' is set to indicate value with the corresponding state of S3 power management states of ACPI standard, at step S565, variable ' Power_state_var ' should be set to be worth accordingly with the S0 power management states of ACPI standard.This is because computer system is prevented from remaining on the S3 power management states of ACPI standard.
Fig. 6 illustrates according to the operating system of another exemplary embodiment of the present invention to switch, that is, and and the state diagram that second operating system is switched.
For example, suppose at step S610, current
Figure C200510071041D00166
Operating system is by normal boot and operation.The S0 power management states of this state and ACPI standard is corresponding.In this case, in step 620, when taking place about the incident from user's operating system handoff request, then in step 630, power management states is switched the S4 power management states to the ACPI standard.Thereafter, at step S635, about
Figure C200510071041D00167
The information of the environment of operating system by mirror image and the storage, and computer system by Booting operating system is so that set up in step 640
Figure C200510071041D00169
The environment of operating system.Two kinds of situations can be arranged in the state of step 640: a kind of in step 650 by the situation of user with the power-off of computer system; With a kind of in step 670, Operating system be switched to
Figure C200510071041D001611
The situation of operating system.
The power supply of system and in step 660 power-on once more, then computer system is by predetermined booting operating system if the user shuts down computer.
Fig. 6 illustrate computer system by
Figure C200510071041D001612
Booting operating system.In this case, the mirror image in step S635 storage is resumed at step S665.
At step S670, if the user will
Figure C200510071041D001613
Operating system is switched back
Figure C200510071041D001614
Operating system, then at step S680, power management states is switched the S4 power management states to the ACPI standard, and in step 610, computer system by
Figure C200510071041D001615
Booting operating system is so that set up
Figure C200510071041D00171
The environment of operating system.Even in this case, the mirror image in step 635 storage is resumed in step 685.
Fig. 7 is the process flow diagram that exemplary operation system switching method shown in Figure 6 is shown.
For example, suppose at step S705, current
Figure C200510071041D00172
Operating system is by normal boot and operation.In this case, when the incident of indication user switching operating system took place, at step S710 and S715, the value of the S4 power management states of indication ACPI standard was set in the variable ' Power_state_var '.Then, at step S720, variable ' InstantOn_var ' is set to value of true.
Then, at step S722, about
Figure C200510071041D00173
The information of the environment of operating system is by mirror image and storage, and at step S725, bios guides beginning.
Simultaneously, wherein variable ' InstantOn_var ' the current operating system of situation indication that is set to value of true is switched to also off-duty operating system now, and wherein variable ' InstantOn_var ' the current operating system of situation indication that is set to value of false is not switched to present off-duty operating system, that is, the current operating system of just moving is held.Preferably, the initial value of variable ' InstantOn_var ' is set to value of false, and variable ' Power_state_var ' and variable ' InstantOn_var ' are stored among the bios ROM.
At step S725, when bios when beginning guiding, at step S740, computer system by
Figure C200510071041D00174
Booting operating system, and variable ' InstantOn_var ' is set to value of false.This be because, if variable ' InstantOn_var ' is set to value of true, then operating system be switched to Operating system.Then, at step S750,
Figure C200510071041D00176
Operating system.
Simultaneously, at step S755, can move computer system by the power knob of pressing pent computer system.In this case, at step S725, bios guides as beginning in classic method.In this case, suppose that the operating system that guides is initially set to
Figure C200510071041D00177
Operating system.Therefore because variable ' InstantOn_var ' is set to value of false, so current operating system be not switched to
Figure C200510071041D00178
Operating system.
When variable ' Power_state_var ' is set to indicate value with the corresponding state of S4 power management states of ACPI standard (at step S760), at step S765, variable ' Power_state_var ' should be set to be worth accordingly with the S0 power management states of ACPI standard.This is because computer system is prevented from remaining on the S4 power management states of ACPI standard.Then, the mirror image in step S722 storage is resumed at step S767.
Simultaneously, suppose
Figure C200510071041D00179
Operating system is used to specific purpose, for example, and in order to see a film, to listen to the music or using multiple image file to browse the purpose of photo or picture.In this case, be not allowed to continuous operation, then cause the unnecessary consumption of system resource and power if be used for the multiple processing or the hardware of above-mentioned purpose.Therefore, when
Figure C200510071041D00181
Operating system be switched to
Figure C200510071041D00182
During operating system, need allow to have only the process of required processing of above-mentioned purpose or hardware operation (below, be called ' low power state pattern ').
Fig. 8 is the operating system switching method that illustrates according to another exemplary embodiment of the present invention,, the process flow diagram of the operation of low power state is set between transfer period in operating system shown in Figure 5 that is.The step S805 to S835 of Fig. 8 is corresponding with the step S505 to S535 of Fig. 5 usually.The step S840 to S865 of Fig. 8 is corresponding with the step S540 to S565 of Fig. 5 usually.
When
Figure C200510071041D00183
Operating system be switched to
Figure C200510071041D00184
During operating system, the low power state pattern can be set.For example, when the variable of the effective and non-effective status of indication low power state pattern is ' PowerSavingMode ', if the value of this variable is set to ' opening ' at step S837, then at step S840, when computer system by
Figure C200510071041D00185
During booting operating system, the environment of low power state is established.Yet, when computer system by
Figure C200510071041D00186
During booting operating system, at step S870, the value of variable ' PowerSavingMode ' is set to ' pass ', so that the low power state pattern is cancelled.Simultaneously, now with reference to Figure 10 and 11 describe when computer system by
Figure C200510071041D00187
During booting operating system, the value by variable ' PowerSavingMode ' is set is ' opening ' method with the environment of setting up system in low power state.
Fig. 9 is the operating system switching method that illustrates according to another exemplary embodiment of the present invention,, the process flow diagram of the operation of low power state is set between transfer period in operating system shown in Figure 7 that is.The step S905 to S930 of Fig. 9 is corresponding with the step S705 to S730 of Fig. 7 usually.The step S940 to S967 of Fig. 9 is corresponding with the step S740 to S767 of Fig. 7 usually.
When at step S935,
Figure C200510071041D00188
Operating system be switched to
Figure C200510071041D00189
During operating system, be set up as the low power state pattern among Fig. 8.When at step S940, computer system by
Figure C200510071041D001810
During booting operating system, the environment of the system in the low power state is established.Yet, when computer system by
Figure C200510071041D001811
During booting operating system, at step S969, the value of variable ' PowerSavingMode ' is set to ' pass ', so that cancellation low power state pattern.
Figure 10 is the block scheme of computer system that is used to control low power state that illustrates according to another exemplary embodiment of the present invention.Computer system 300 comprises: CPU1010, storer 1020, bios1030 and application program 1040, its visit are placed in the passage that is used for control hardware in the storer 1020 (below, be called ' application program ').Simultaneously, for better understanding of the present invention, suppose
Figure C200510071041D001812
Operating system is used as sees a film, listens to the music or use multiple image file to browse photo or picture, that is,
Figure C200510071041D00191
Operating system only is used to provide content of multimedia.Yet any other operating system can replace
Figure C200510071041D00192
Application program 1040 comprises such as being used to reproduce the program of film or music or the program of image viewer, and the object of selecting according to the user moves corresponding program.
Now, with reference to the process flow diagram of Figure 11, describe the operation shown in Figure 10 in detail.
Figure 11 is the process flow diagram that illustrates according to the method for the control low power state of another exemplary embodiment of the present invention.
When the user will
Figure C200510071041D00193
Operating system switches to
Figure C200510071041D00194
During operating system, at step S1110,
Figure C200510071041D00195
Operating system begins guiding.In this case, the value of variable ' PowerSavingMode ' is set to ' opening ', so that activate the low power state pattern.Application program 1040 exists
Figure C200510071041D00196
The top position operation of operating system.In this case, at step S1120, other application program except application program 1040 or processing do not move.
Then, at step S1130, application program 1040 provides the user interface 1200 shown in Figure 12 to the user, so that the user can select one of content such as film 1220, music 1240 and photograph/picture 1260.In this case, can change the shape of user interface 1200 according to the design of application program 1040, and the user can select with
Figure C200510071041D00197
Carry out specific content in the environment of operating system.
If the user thinks
Figure C200510071041D00198
See a film in the environment of operating system, then the user selects film 1220 from user interface 1200.Then, application program 1040 begins to set up the environment of the low power system that is used for movie.In other words, be set to the optimum state of movie such as the state that is installed in the hardware in the system of CPU 1010, CD drive, hard disk drive, LCDs (LCD) panel and wireless LAN module etc.For this reason, need utilize the method for the above-mentioned hardware of application program 1040 controls.In the exemplary embodiment, at step S1140, the passage that is used for control hardware forms at storer 1020.Usually, the code that is used for control hardware is recorded in bios 1030.The specific region of storer 1020 is mapped to code and application program 1040 these specific regions of visit, so that at step S1150, the code that is used for control hardware that is recorded among the bios 1030 is written into storer 1020.In this case, interrupt generation and CPU1010 and carry out the code that is written into storer 1020, so that at step S1160, application program 1040 control hardwares.For example, when the user wants to watch the film that is stored on the CD drive, the power supply of supplying with hard disk drive is cut off, and when the speed of clock is adjusted so that the function of CPU 1010 execution 75% and the brightness of LCD panel (for example are divided into 10 grades, the brightest state is set to level 10) time, the brightness of LCD panel can be set to 7 grades and power supply can be prevented from supplying with wireless LAN module.This information can be preset in bios 1030, and according to film 1220, music 1240 and photograph/picture 1260 that the user selects, the degree of controlling each hardware can be different.For example, when the user wanted to listen the music be stored on the hard disk drive, the brightness of LCD panel can be set to be lower than 7 grades 3 to 4 grades, and power supply is prevented from supplying with CD drive, and the speed of clock can be provided so that CPU 1010 carries out 50% function.
CPU 1010 carries out the code that is written into storer 1020, thus the relevant hardware of control.Therefore, at step S1170, application program 1040 is responsible for control and is carried out film so that the user can watch the film that is stored on the CD drive.
According to the present invention, in computer system, when operating system is switched, need not user's operation bidirectional with at least two operating systems, operating system can be switched quickly.In addition, the environment of previous operated system can be resumed.
Although with reference to some exemplary embodiments of the present invention, the present invention is significantly illustrated and is described, but one skilled in the art should appreciate that without departing from the principles and spirit of the present invention, variation on the various ways and details can add in these exemplary embodiments, and scope of the present invention is limited by claim and equivalent thereof.

Claims (27)

1, a kind of operating system switching method in having the computer system of at least two operating systems, this operating system switching method comprises:
Reception switches to first operating system of current operation the order of second operating system;
Make computer system in response to this command conversion to low power sleep state; And
Utilize the second booting operating system computer system.
2, operating system switching method as claimed in claim 1, wherein, the receiving step of order comprises that utilizing the input block that is provided with in the computer system to receive orders.
3, operating system switching method as claimed in claim 2, wherein, input block comprises the user input apparatus that is used for switching operating system.
4, operating system switching method as claimed in claim 2, wherein, input block comprises the wireless signal receiver module.
5, operating system switching method as claimed in claim 2, wherein, input block comprises Network Interface Module.
6, operating system switching method as claimed in claim 1, wherein, low power sleep state comprises the S3 power management states according to ACPI ACPI standard.
7, operating system switching method as claimed in claim 1, wherein,
The step that makes computer system be converted to low power sleep state comprises: the power management states information of the low power sleep state of indicating conversion and the operating system handover information that indication utilizes the second booting operating system computer system are set; And
Utilize the step of the second booting operating system computer system to comprise:, to utilize the second booting operating system computer system according to power management states information and operating system handover information.
8, operating system switching method as claimed in claim 1, wherein, the step that makes computer system be converted to low power sleep state comprises when receiving order, will be about the information stores of the environment of first operating system in predetermined storage area.
9, operating system switching method as claimed in claim 8, wherein, this information comprises: system resource information, program information or data message.
10, operating system switching method as claimed in claim 8, wherein, in the S4 power management states according to the ACPI standard, information is stored in the predetermined storage area.
11, operating system switching method as claimed in claim 1, wherein, utilize the step of the second booting operating system computer system to comprise: from the information of predetermined storage area extraction about the environment of operating system, and utilize the information of extracting that the environment of second operating system is provided, the information of this extraction comprises the information about the environment of second operating system of moving before second operating system is switched to first operating system.
12, operating system switching method as claimed in claim 11, wherein, in the S4 power management states according to the ACPI standard, information is stored in the predetermined storage area.
13, a kind of computer system with at least two operating systems, this computer system comprises:
Receiver module, it receives the order that first operating system of current operation is switched to second operating system;
Status control module, its make computer system in response to this command conversion to low power sleep state; And
The operating system handover module, it utilizes the second booting operating system computer system.
14, computer system as claimed in claim 13, wherein, according to ACPI ACPI standard, low power sleep state comprises the S3 power management states.
15, computer system as claimed in claim 13, wherein:
The power management states information and the indication of the low power sleep state that status control module can be changed indication utilize the operating system handover information of the second booting operating system computer system to be sent to the operating system handover module; And
The operating system handover module can utilize the second booting operating system computer system according to power management states information and operating system handover information.
16, computer system as claimed in claim 13, wherein, the operating system handover module is carried out the operating system that comprises bios ROM and is switched.
17, computer system as claimed in claim 13, also comprise: memory module, its storage is about the information of the environment of second operating system, wherein, this computer system is moved being switched to first operating system, wherein, the operating system handover module switches so that the environment of second operating system to be provided from the information and executing operating system of memory module information extraction and utilization extraction.
18, computer system as claimed in claim 17, wherein, memory module can be with information stores in the S4 power management states according to the ACPI standard.
19, a kind of operating system switching method in having the computer system of at least two operating systems, this operating system switching method comprises:
Make first operating system of current operation be converted to low power sleep state, change into second operating system then to provide content of multimedia to the user;
According to the type of content of multimedia, control is included at least two hardware states in the computer system; And
In in check hardware state, provide content of multimedia to the user.
20, operating system switching method as claimed in claim 19, wherein, hardware state comprises the state of cpu clock speed.
21, operating system switching method as claimed in claim 19, wherein, hardware state comprises: the state of the electric power on/off state of CD drive, the electric power on/off state of hard disk drive and brightness of display screen and the electric power on/off state of wireless LAN module.
22, operating system switching method as claimed in claim 19 wherein, makes first operating system be converted to low power sleep state, and the step of changing into second operating system then comprises:
Reception switches to first operating system order of second operating system;
In response to this order, make computer system be converted to low power sleep state and power to be under the low power sleep state with the permission computer system; And
Guide first operating system to the second operating system.
23, operating system switching method as claimed in claim 22, wherein, guide the step of first operating system to the second operating system to comprise: from the information of predetermined storage area extraction about the environment of second operating system, and utilize the information of extracting that the environment of second operating system is provided, the information of this extraction comprises the information that operates in second operating system environment wherein about computer system before switching to first operating system.
24, a kind of operating system switching method in having the computer system of at least two operating systems, this operating system switching method comprises:
Make first operating system of current operation be converted to low power sleep state, change into second operating system then to provide content of multimedia to the user;
Provide user interface so that the tabulation of content of multimedia to be provided to the user;
Make computer system be set to the low power state pattern so that carry out the content of multimedia of from tabulation, selecting by the user; And
Under the low power state pattern, carry out the content of multimedia of selecting.
25, operating system switching method as claimed in claim 24 wherein, makes first operating system be converted to low power sleep state, and the step of changing into second operating system then comprises:
Reception switches to first operating system order of second operating system;
In response to this order, make computer system be converted to low power sleep state and power to be under the low power sleep state with the permission computer system; And
Guide first operating system to the second operating system.
26, operating system switching method as claimed in claim 25, wherein, guide the step of first operating system to the second operating system to comprise: from the information of predetermined storage area extraction about the environment of second operating system, and utilize the information of extracting that the environment of second operating system is provided, the information of this extraction comprises the information that operates in second operating system environment wherein about computer system before switching to first operating system.
27, operating system switching method as claimed in claim 24, wherein, the step that makes computer system be set to the low power state pattern comprises:
Be written into the hardware controls code to carry out the content of multimedia of selecting from bios; And
The control routine that execution is written into is the low power state pattern so that computer system to be set.
28, operating system switching method as claimed in claim 24, wherein, user interface comprises: the zone that the user selects the various content of multimedia in the tabulation of described content of multimedia.
CNB2005100710410A 2004-05-21 2005-05-23 Computer system, method and medium for switching operation system Expired - Fee Related CN100474246C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
KR20040036400 2004-05-21
KR1020040036400 2004-05-21
KR1020040058266 2004-07-26

Publications (2)

Publication Number Publication Date
CN1700175A CN1700175A (en) 2005-11-23
CN100474246C true CN100474246C (en) 2009-04-01

Family

ID=35476250

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100710410A Expired - Fee Related CN100474246C (en) 2004-05-21 2005-05-23 Computer system, method and medium for switching operation system

Country Status (2)

Country Link
KR (1) KR100714677B1 (en)
CN (1) CN100474246C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077185A (en) * 2013-03-27 2014-10-01 联想(北京)有限公司 Shared device switching method and electronic equipment

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359313B (en) * 2006-01-17 2010-04-14 株式会社Ntt都科摩 Input/output control apparatus
KR101026397B1 (en) * 2006-11-16 2011-04-07 삼성전자주식회사 Display apparatus and control method thereof
TWI393114B (en) * 2007-09-05 2013-04-11 Htc Corp Mehtod for gradually adjusting screen brightness when switching operating system
CN102023887B (en) * 2009-09-21 2015-01-28 联想(北京)有限公司 Power supply management method of computer system and computer system
CN102043670A (en) * 2009-10-22 2011-05-04 系微股份有限公司 Method for switching different operation systems by computer
CN102135910B (en) * 2011-03-03 2014-05-14 威盛电子股份有限公司 Method for switching operating systems and electronic device using same
CN103064645A (en) * 2011-10-21 2013-04-24 联想(北京)有限公司 Display method and electronic equipment
CN103150210A (en) * 2011-12-07 2013-06-12 宏碁股份有限公司 Electronic device and operating system switching method thereof
CN103150209A (en) * 2011-12-07 2013-06-12 文晔科技股份有限公司 Portable type tablet computer with double operation systems and control method thereof
KR20130116599A (en) * 2012-04-16 2013-10-24 삼성전자주식회사 Electronic apparatus, method for controlling the same and computer-readable recording medium
CN103886267B (en) * 2012-12-20 2017-06-27 联想(北京)有限公司 Tertiary-structure network changing method, device, chip, computer motherboard and computer
CN103902322B (en) * 2012-12-28 2017-06-27 联想(北京)有限公司 System switching method and electronic equipment
US9934047B2 (en) * 2014-03-20 2018-04-03 Intel Corporation Techniques for switching between operating systems
CN111142651B (en) * 2019-05-09 2021-07-23 广东小天才科技有限公司 System switching method of communication terminal and communication terminal
CN115033092A (en) * 2021-03-05 2022-09-09 Oppo广东移动通信有限公司 Screen-off display control method and device, mobile equipment and computer storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3149904B2 (en) * 1995-06-14 2001-03-26 日本電気株式会社 OS switching device
KR20010012032A (en) * 1999-07-19 2001-02-15 유춘열 Devices for using Multi OSs
JP2001256066A (en) * 2000-02-29 2001-09-21 Internatl Business Mach Corp <Ibm> Computer system, switching system of operating system, mounting method of operating system, switching method of operating system, storage medium and program transmitter
US7522964B2 (en) * 2000-12-01 2009-04-21 O2Micro International Limited Low power digital audio decoding/playing system for computing devices
KR100626361B1 (en) * 2000-12-16 2006-09-20 삼성전자주식회사 Computer system including multi operating system and method for changing into other operating system without reboot of the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077185A (en) * 2013-03-27 2014-10-01 联想(北京)有限公司 Shared device switching method and electronic equipment
CN104077185B (en) * 2013-03-27 2017-12-29 联想(北京)有限公司 A kind of switching method and electronic equipment of shared equipment

Also Published As

Publication number Publication date
KR20050111512A (en) 2005-11-25
KR100714677B1 (en) 2007-05-07
CN1700175A (en) 2005-11-23

Similar Documents

Publication Publication Date Title
CN100474246C (en) Computer system, method and medium for switching operation system
US8826055B2 (en) Computer system and control method thereof
US7886136B2 (en) Computer system, method, and medium for switching operating system
US8970606B2 (en) Facilitating use of multiple graphics chips
CN1584788B (en) Computer system power policy adjustment method and apparatus, and related computer system
CN101359273B (en) Mode-switching in ultra mobile devices
US20050246565A1 (en) Information processing apparatus, method of starting up the same, and startup program of the same
CN101526901B (en) Method and device for viewing files in computer
US20080065917A1 (en) Information Processing Apparatus and Resume Control Method
US20040039950A1 (en) Electronic apparatus having two systems each with CPU
JP4996721B2 (en) Luminance control device, luminance control method, and luminance control program
US10101875B2 (en) Computer system and control method thereof capable of changing performance mode using dedicated button
MX2015005394A (en) Electronic device and control method thereof.
JP2006031560A (en) Information processor, method for controlling operation screen, and program
GB2457171A (en) Control of power in an integrated circuit which has power domains having power islands
EP3535655A1 (en) Thread importance based processor core parking and frequency selection
CN101017439A (en) Computer and control method thereof
CN100374984C (en) Method and device for switching video card working frequency
KR20000014377A (en) Computer system having a power managing mode and control method therefor
US9600002B2 (en) Method and electronic device for controlling driving condition based on operating state
JP2010231626A (en) Information processing apparatus
CN101093416A (en) Computer and energy saving method
CN110324714A (en) Television set and its TV control method, control device and readable storage medium storing program for executing
US20130275739A1 (en) Electronic apparatus, method of controlling the same, and computer-readable recording medium
KR101811215B1 (en) Method and mobile device for reducing power consumption

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090401

Termination date: 20190523