CN102810071A - Control method, control device and computer - Google Patents
Control method, control device and computer Download PDFInfo
- Publication number
- CN102810071A CN102810071A CN201110142364XA CN201110142364A CN102810071A CN 102810071 A CN102810071 A CN 102810071A CN 201110142364X A CN201110142364X A CN 201110142364XA CN 201110142364 A CN201110142364 A CN 201110142364A CN 102810071 A CN102810071 A CN 102810071A
- Authority
- CN
- China
- Prior art keywords
- storage area
- shared data
- operating system
- data storage
- store
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Hardware Redundancy (AREA)
Abstract
The invention provides a control method and a control device which are applied to a computer and the computer. According to the embodiment of the invention, the computer comprises a system memory comprising a first storage area and a second storage area; the first storage area comprises a first system storage part and a first shared data storage part; the second storage area comprises a second system storage part and a second shared data storage part; and the first and second shared data storage parts are overlapped with each other. The control method comprises the following steps of: loading a first operating system to the system memory; storing the first shared data to the first shared data storage part and storing the first system data of the first operating system to the first system storage part through the first operating system; loading a second operating system to the second system storage part through a second system switching order; and acquiring the first shared data from the second shared data storage part through the second operating system, and executing restoration operation according to the first shared data.
Description
Technical field
The present invention relates to be applied to computer control method, control device and computing machine.Particularly, the present invention relates to be used for to manage control method, control device and corresponding calculated machine with two operating systems of control computer.
Background technology
Along with development of science and technology, for example the calculation element of personal computer, portable computer, tablet computer and so on is widely used, and the user is also developed towards diverse trends for the requirement of computer installation thereupon.For example, when carrying out frequent data processing, hope that computing machine can have stronger processing power, to carry out high-speed computation.On the other hand, when need not carrying out frequent operation, and when hoping computing machine standby for a long time, then need computing machine to move with energy-conservation relatively mode.
In order to satisfy user's different demands, proposed to have the computing machine of the mutual different operating systems of two characteristics.For example; An operating system can be
operating system that has than strength reason ability; And that another operating system can be processing power is relatively poor relatively, but
operating system that resource is less and power consumption is less that needs during operation.Yet; When computing machine switches between two operating system, owing to need to preserve the scene by the operating system of current operation earlier, the application's data of for example current operation etc. is stored in the storer of computing machine; Restart another operating system; And in another operating system by the user manually to before store storer into application program recover, it is longer to cause between two operating system, switching the time that is spent, and complex operation.
Summary of the invention
The purpose of the embodiment of the invention be to provide a kind of be applied to manage with control computer in control method, control device and the corresponding calculated machine of two operating systems, to address the above problem.
One embodiment of the invention provides a kind of control method; Be applied to computing machine; Wherein computing machine comprises and comprises the Installed System Memory that is divided into two storage areas; Wherein, two storage areas are respectively first storage area and second storage area, and first storage area comprises the first system's storage area and the first shared data storage area; Second storage area comprises the second system's storage area and the second shared data storage area, and the first shared data storage area and the second shared data storage area are overlapped.Said control method comprises: first operating system is loaded into Installed System Memory; Through first operating system, store first shared data into first shared data storage area, and store first system data of first operating system into first system's storage area; According to second system's switching command, second operating system is loaded into second system's storage area; And from the second shared data storage area, obtain first shared data, and carry out corresponding recovery operation according to first shared data through second operating system.
Another embodiment of the present invention provides a kind of control device; Be applied to computing machine, wherein computing machine comprises and comprises the Installed System Memory that is divided into two storage areas, wherein; Two storage areas are respectively first storage area and second storage area; First storage area comprises the first system's storage area and the first shared data storage area, and second storage area comprises the second system's storage area and the second shared data storage area, and the first shared data storage area and the second shared data storage area are overlapped; Control device comprises: first loading unit, and configuration is loaded into Installed System Memory with first operating system; First control module, configuration come to store first shared data into first shared data storage area, and store first system data of first operating system into first system's storage area through first operating system; Second loading unit, configuration come according to second system's switching command second operating system to be loaded into second system's storage area; And second recovery unit, configuration is obtained first shared data through second operating system from the second shared data storage area, and carries out corresponding recovery operation according to first shared data.
Another embodiment of the present invention provides a kind of computing machine; Comprise: Installed System Memory; Comprise: first storage area comprises the first system's storage area and the first shared data storage area, second storage area; Comprise the second system's storage area and the second shared data storage area, wherein the first shared data storage area and the second shared data storage area are overlapped; Processing unit comprises: first load-on module, and configuration is loaded into Installed System Memory with first operating system; First control module, configuration come to store first shared data into first shared data storage area, and store first system data of first operating system into first system's storage area through first operating system; Second load-on module, configuration come according to second system's switching command second operating system to be loaded into second system's storage area; And second recover module, and configuration is obtained first shared data through second operating system from the second shared data storage area, and carries out corresponding recovery operation according to first shared data.
Through the scheme that the invention described above embodiment provides, can make computing machine between two operating system, switch effectively, improved the Installed System Memory utilization factor.In addition; Through will be in the overlapped part of two included storage areas of internal memory in the data storage of sharing between two operating system; Even carried out system's blocked operation; Operating system after shared data also can switch obtains easily, thereby has realized the data sync between two operating system.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, will do to introduce simply to the accompanying drawing of required use in the description of embodiment below.Accompanying drawing in describing below only is an exemplary embodiment of the present invention.
Fig. 1 shows the exemplary illustrated figure of system for computer internal memory according to an embodiment of the invention.
Fig. 2 is a process flow diagram of having described control method according to an embodiment of the invention.
Fig. 3 is the demonstrative structure block diagram that control device according to an embodiment of the invention is shown.
Fig. 4 is the demonstrative structure block diagram that control device according to another embodiment of the invention is shown.
Fig. 5 is the demonstrative structure block diagram that computing machine according to an embodiment of the invention is shown.
Embodiment
Hereinafter, with preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.Note, in this instructions and accompanying drawing, have substantially the same step and represent with identical Reference numeral, and will be omitted the repetition of explanation of these steps and element with element.
In following examples of the present invention, terminal device refers to the electronic equipment that can be connected to server through network.The concrete form of terminal device includes but not limited to personal computer, portable computer, tablet computer, smart mobile phone or the like.
Fig. 1 shows the exemplary illustrated figure of system for computer internal memory according to an embodiment of the invention.Fig. 2 is a process flow diagram of having described control method 200 according to an embodiment of the invention.Below, will see figures.1.and.2 and describe control method according to an embodiment of the invention.
As shown in Figure 1, system for computer internal memory 100 comprises first storage area 110 and second storage area 120.First storage area 110 comprises the first system's storage area 112 and the first shared data storage area.Second storage area 120 comprises the second system's storage area 122 and the second shared data storage area.The first shared data storage area and the second shared data storage area overlapped (shown in the dash area of Fig. 1).
Particularly, in the example depicted in fig. 1, the memory address range of the memory address of system for computer internal memory 100 is 0-w.The memory address range of the memory address of first storage area 110 is 0-n, and the memory address range of the first system's storage area 112 that wherein comprises in first storage area is 0-k, and the memory address range of the first shared data storage area is (k+1)-n.The memory address range of the memory address of second storage area 120 is (k+1)-w, and wherein second storage area comprises that the memory address range of second system's storage area 122 is (n+1)-w, and the memory address range of the second shared data storage area is (k+1)-n.That is to say that the first shared data storage area and the second shared data storage area are overlapped, the memory address range of its memory address is (k+1)-n.
Control method 200 shown in Fig. 2 can be used for computing machine as shown in fig. 1.As shown in Figure 2, in step S201, first operating system is loaded into Installed System Memory, make the user to operate computing machine through first operating system.In step S202,, store first shared data into first shared data storage area then, and store first system data of first operating system into first system's storage area through first operating system.Needed system file etc. when first system data can comprise first operating system.First shared data can comprise that first operating system and second operating system all possibly use data when operation.First shared data can be the data that generate when moving in first system.For example; When the user when using the for example text processing application of
and so on that document is edited under first operating system and hope that the document also can be used or edit under second operating system, can the document be stored in the first shared data storage area as first shared data.
According to an example of the present invention; In step S201; Can notify the memory address range of the first system's storage area and the first shared data storage area to first operating system; And when first operating system is loaded into Installed System Memory, can first operating system be loaded into first system's storage area, so that carry out data storage operations through first operating system.For example in the example depicted in fig. 1; Can be when the initialization system internal memory through BIOS; Notify the memory address range of first operating system, the first system's storage area 112 and the first shared data storage area; And first operating system is loaded in first system's storage area 112 of first storage area 110, at this moment, it is invisible second storage area 120 to be set to first operating system.
In step S202; Between first operating system runtime; When having first shared data, can first shared data be stored in the first shared data storage area according to the memory address range of the first shared data storage area of in step S201, notifying first operating system.In addition, can store in said first system's storage area according to the memory address range of first system's storage area first system data first operating system.As in example shown in Figure 1, the memory address range of the first shared data storage area is (k+1)-n, and first operating system can store first shared data that its run duration generates into the address in the Installed System Memory of (k+1)-n.On the other hand, the memory address range of first system's storage area 112 is 0-k, and first operating system can store first system data in the Installed System Memory that the address is 0-k into.
Replacedly; In step S202; Can be according to second system's switching command; According to the memory address range of the first system's storage area and the first shared data storage area, store first shared data into first shared data storage area through first operating system, and store first system data of first operating system into first system's storage area.Particularly, second system's switching command can be indicated computing machine is switched to second operating system from first operating system.Before receiving second system's switching command; Can first system data and first shared data all be stored in first system's storage area through first operating system; And when receiving the second system switching command, can first shared data of being stored be transferred to the first shared data storage area from first system's storage area through first operating system.
In addition, according to another example of the present invention, can in step S201, first operating system be loaded into the optional position in the Installed System Memory.In step S202; In the time will storing first shared data through first operating system; Inquire about the memory address range of the first shared data storage area, and, remove the first shared data storage area according to the memory address range of the first shared data storage area.Store first shared data into first shared data storage area through first operating system then.
For example in the example depicted in fig. 1; Can be when the initialization system internal memory through BIOS; Memory address range to the first operating system reporting system internal memory 100 is 0-w; That is, Installed System Memory 100 is all visible for first operating system, and first operating system is loaded into the optional position in the Installed System Memory 100.In the time will storing first shared data through first operating system; Through inquiry; First operating system can know that the memory address range of the first shared data storage area is (k+1)-n; First operating system can be removed the current address that is stored in and be the data in the Installed System Memory of (k+1)-n; For example through being stored in the address copies to Installed System Memory for the data in the Installed System Memory of (k+1)-n other storage areas with current), and store first shared data that its run duration generates into address in the Installed System Memory of (k+1)-n.
In addition; In step S201, first operating system is loaded under the situation of optional position in the total system internal memory, in step S202; Can be according to second system's switching command; Inquire about the memory address range of second system's storage area, and, remove the data in second system's storage area through first operating system according to the memory address range of second system's storage area.First system data with first operating system stores first system's storage area into then.
Next, in step S203,, second operating system is loaded into second system's storage area according to second system's switching command.As stated, second system's switching command can be indicated computing machine is switched to second operating system from first operating system.Particularly; After first shared data being stored into the first shared data storage area through first operating system and storing first system data of first operating system into first system's storage area; Can trigger the BIOS incident so that wake BIOS up, and second operating system is loaded in second system's storage area through BIOS.
In step S204, from the second shared data storage area, obtain first shared data through second operating system, and carry out corresponding recovery operation at last according to first shared data.Particularly, can notify the memory address range of second operating system, the second system's storage area and the second shared data storage area.Can from the second shared data storage area, obtain first shared data through second operating system, and carry out corresponding recovery operation according to the memory address range of the second shared data storage area according to first shared data.For example; In the example depicted in fig. 1; When receiving the second system switching command, it is (n+1)-w that BIOS notifies the memory address range of second operating system, second system's storage area 122 that second storage area comprises, and the memory address range of the second shared data storage area is (k+1)-n.Then second operating system is loaded into the address in the Installed System Memory of (n+1)-w, and obtains first shared data that is stored in the second shared data storage area, and carry out corresponding recovery operation according to first shared data through second operating system.
In addition; According to another embodiment of the present invention; Between second operating system runtime; Control method 200 shown in Fig. 2 also can comprise through second operating system and stores second shared data into second shared data storage area, and store second system data of second operating system into second system's storage area.When receive indication with computing machine when second operating system switches to the first system switching command of first operating system; Can be through for example activating BIOS, and utilize BIOS to call to be kept at first system data in first system's storage area to start first operating system.From the first shared data storage area, obtain second shared data through first operating system, and carry out corresponding recovery operation according to second shared data.
Through the control method in the present embodiment, can make computing machine between two operating system, switch effectively, improved the Installed System Memory utilization factor.In addition; Through will be in the overlapped part of two included storage areas of internal memory in the data storage of sharing between two operating system; Even carried out system's blocked operation; Operating system after shared data also can switch obtains easily, thereby has realized the data sync between two operating system.
In addition, according to another embodiment of the present invention, computing machine also can comprise storer.Under the situation of size greater than the first shared data storage area of first shared data; Can first shared data be stored in the storer; And its memory address in storer is kept in the first shared data storage area; When switching to second operating system, can pass through second operating system access, the second shared data storage area, to obtain to be kept at first shared data in the storer with box lunch.
Replacedly; Know in first operating system under the situation of memory address range of the first shared data storage area; When the size of first shared data during greater than the first shared data storage area; Can inquire about the memory address range of second system's storage area, and the memory address range of first, second shared data storage area and the memory address range of second system's storage area adjusted according to the size of first shared data.Particularly; Can be according to the memory address range of size reduction second system's storage area of first shared data; And correspondingly increase the memory address range of the first shared data storage area and the second shared data storage area, so that first shared data is stored in the adjusted first shared data storage area through first operating system.Can the memory address range of the adjusted second system's storage area and the second shared data storage area be notified to second operating system; So that control can correctly loaded second operating system when first operating system switches to second operating system; And obtain first shared data from the adjusted second shared data storage area through second operating system, to carry out recovery operation.
Below, the control device of one embodiment of the present of invention is described with reference to Fig. 3.Fig. 3 is the demonstrative structure block diagram that control device 300 according to an embodiment of the invention is shown.In the present embodiment, control device 300 can be used for comprising the computing machine that comprises the Installed System Memory that is divided into two storage areas.Particularly, as shown in Figure 1, two storage areas are respectively first storage area and second storage area.First storage area can comprise the first system's storage area and the first shared data storage area.Second storage area comprises the second system's storage area and the second shared data storage area.The first shared data storage area and the second shared data storage area are overlapped.
As shown in Figure 3, the control device 300 of present embodiment can comprise first loading unit 310, first control module 320, second loading unit 330, second recovery unit 340.Each step/function of the control method among above-mentioned Fig. 2 can be carried out in each unit of server 300, and is therefore succinct in order to describe, and no longer specifically describes.
For example, first loading unit 310 can be loaded into Installed System Memory with first operating system, makes the user to operate computing machine through first operating system.First control module 320 can pass through first operating system, stores first shared data into first shared data storage area, and stores first system data of first operating system into first system's storage area.Needed system file etc. when as stated, first system data can comprise first operating system.First shared data can comprise that first operating system and second operating system all possibly use data when operation.First shared data can the time data that generate when moving in first system.For example; When the user when using the for example text processing application of
and so on that document is edited under first operating system and hope that the document also can be used or edit under second operating system, can the document be stored in the first shared data storage area as first shared data.
According to an example of the present invention, first loading unit 310 can be notified first operating system, the memory address range of the first system's storage area and the first shared data storage area, and first operating system is loaded into first system's storage area.When first operating system; The first system's storage area that first control module 320 can be notified according to first loading unit 310 and the memory address range of the first shared data storage area; Store first shared data into first shared data storage area through first operating system, and store first system data of first operating system into first system's storage area.
Replacedly; First control module 320 can be according to second system's switching command; Memory address range according to the first system's storage area and the first shared data storage area; Store first shared data into first shared data storage area through first operating system, and store first system data of first operating system into first system's storage area.Particularly, second system's switching command can be indicated computing machine is switched to second operating system from first operating system.Before receiving second system's switching command; First control module 320 can all store first system data and first shared data in first system's storage area through first operating system; And when receiving the second system switching command, first control module 320 can be transferred to the first shared data storage area with first shared data of being stored from first system's storage area through first operating system.
In addition, according to another example of the present invention, first loading unit 310 can be loaded into the optional position in the Installed System Memory with first operating system.First control module 320 can comprise enquiry module, remove module and control store module.Particularly, in the time will storing first shared data through first operating system, enquiry module can be inquired about the memory address range of the first shared data storage area.Remove the memory address range of the first shared data storage area that module can inquire about according to enquiry module, remove the first shared data storage area.After removing the first shared data storage area, the memory address range of the first shared data storage area that the control store module can be inquired about according to enquiry module stores first shared data into first shared data storage area through first operating system.
For example in the example depicted in fig. 1; First loading unit 310 can be 0-w to the memory address range of the first operating system reporting system internal memory 100; That is, Installed System Memory 100 is all visible for first operating system, and first operating system is loaded in the Installed System Memory 100.In the time will storing first shared data through first operating system, the memory address range that the first shared data storage area could inquired about and obtain to enquiry module is (k+1)-n.Removing module and can remove the current address that is stored in and be the data in the Installed System Memory of (k+1)-n, is other storage areas that data in the Installed System Memory of (k+1)-n copy to Installed System Memory through will currently being stored in the address for example).Remove module and can first shared data that first system's run duration generates be stored into the address in the Installed System Memory of (k+1)-n.
In addition, first operating system is loaded under the situation of the optional position in the Installed System Memory at first loading unit 310, enquiry module also can be inquired about the memory address range of second system's storage area according to second system's switching command.Remove the memory address range of second system's storage area that module can inquire about according to enquiry module, remove through first operating system and be stored in the data in second system's storage area.The control store module is the memory address range of second system's storage area of inquiring about according to enquiry module of cocoa also, stores first system data of first operating system into first system's storage area.
Second loading unit 330 can be loaded into second system's storage area with second operating system according to second system's switching command.As stated, second system's switching command can be indicated computing machine is switched to second operating system from first operating system.Second recovery unit 340 can obtain first shared data through second operating system from the second shared data storage area, and carries out corresponding recovery operation according to first shared data.
Through the control device in the present embodiment, can make computing machine between two operating system, switch effectively, improved the Installed System Memory utilization factor.In addition; Through will be in the overlapped part of two included storage areas of internal memory in the data storage of sharing between two operating system; Even carried out system's blocked operation; Operating system after shared data also can switch obtains easily, thereby has realized the data sync between two operating system.
Below, the control device of an alternative embodiment of the invention is described with reference to Fig. 4.Fig. 4 is the demonstrative structure block diagram that control device 400 according to another embodiment of the invention is shown.In the present embodiment, control device 400 can be used for comprising the computing machine that comprises the Installed System Memory that is divided into two storage areas.Particularly, as shown in Figure 1, two storage areas are respectively first storage area and second storage area.First storage area can comprise the first system's storage area and the first shared data storage area.Second storage area comprises the second system's storage area and the second shared data storage area.The first shared data storage area and the second shared data storage area are overlapped.
Similar with the control device 300 shown in Fig. 3, in Fig. 4, control device 400 can comprise first loading unit 410, first control module 420, second loading unit 430, second recovery unit 440., first loading unit 410 can be loaded into Installed System Memory with first operating system, makes the user to operate computing machine through first operating system.First control module 420 can pass through first operating system, stores first shared data into first shared data storage area, and stores first system data of first operating system into first system's storage area.Second loading unit 430 can be loaded into second system's storage area with second operating system according to second system's switching command.Second recovery unit 440 can obtain first shared data through second operating system from the second shared data storage area, and carries out corresponding recovery operation according to first shared data.
Control device 400 in the present embodiment also comprises second control module 450 and first recovery unit 460.Particularly; Between second operating system runtime; Second control module 450 can store second shared data into second shared data storage area through second operating system, and stores second system data of second operating system into second system's storage area.In the present embodiment, first loading unit 410 also can be according to first system's switching command, and operation is kept at first system data in first system's storage area to start first operating system.First system's switching command can be indicated computing machine is switched to first operating system from second operating system.First recovery unit 460 can obtain second shared data through first operating system from the first shared data storage area, and carries out corresponding recovery operation according to second shared data.
Through the control device in the present embodiment, can make computing machine between two operating system, switch effectively, improved the Installed System Memory utilization factor.In addition; When first operating system or second operating system; Through will be in the overlapped part of two included storage areas of internal memory in the data storage of sharing between two operating system; Even carried out system's blocked operation, the operating system after shared data also can switch obtains easily, thereby has realized the data sync between two operating system; And the operating system after switching can be recovered the application that moves in the operating system before switching apace through being stored in the shared data of part overlapped in the Installed System Memory.
In addition, according to another embodiment of the present invention, computing machine also can comprise storer.Under the situation of size greater than the first shared data storage area of first shared data; First control module can store first shared data in the storer into; And its memory address in storer is kept in the first shared data storage area; When switching to second operating system, can pass through second operating system access, the second shared data storage area, to obtain to be kept at first shared data in the storer with box lunch.
Replacedly; Know in first operating system under the situation of memory address range of the first shared data storage area; When the size of first shared data during greater than the first shared data storage area; First control module can be inquired about the memory address range of second system's storage area, and according to the size of first shared data memory address range of first, second shared data storage area and the memory address range of second system's storage area is adjusted.Particularly; First control module can be according to the memory address range of size reduction second system's storage area of first shared data; And correspondingly increase the memory address range of the first shared data storage area and the second shared data storage area, so that first shared data is stored in the adjusted first shared data storage area through first operating system.Can the memory address range of the adjusted second system's storage area and the second shared data storage area be notified to second operating system; So that control can correctly loaded second operating system when first operating system switches to second operating system; And obtain first shared data from the adjusted second shared data storage area through second operating system, to carry out recovery operation.
Below, the computing machine of one embodiment of the present of invention is described with reference to Fig. 5.Fig. 5 is the demonstrative structure block diagram that computing machine 500 according to an embodiment of the invention is shown.As shown in Figure 5, the computing machine 500 of present embodiment can comprise Installed System Memory 510 and processing unit 520.Installed System Memory 510 can comprise first storage area 512 and second storage area 514.First storage area can comprise first system's storage area and the first shared data storage area (shown in unblanketed part in first storage area 512).Second storage area comprises second system's storage area and the second shared data storage area (shown in unblanketed part in second storage area 514).The first shared data storage area and the second shared data storage area overlapped (shown in dash area).Processing unit 520 can comprise that first load-on module 521, first control module 522, second load-on module 523 and second recover module 524.Each unit of computing machine 500 and/or module can be carried out each step/function of the control method among above-mentioned Fig. 2, and be therefore succinct in order to describe, and no longer specifically describes.
For example, first load-on module 521 can be loaded into Installed System Memory with first operating system.First control module 522 can be passed through first operating system, stores first shared data into first shared data storage area, and stores first system data of first operating system into first system's storage area.Second load-on module 523 can be loaded into second system's storage area with second operating system according to second system's switching command.Second recovers module 524 can obtain first shared data through second operating system from the second shared data storage area, and carries out corresponding recovery operation according to first shared data.
Through the computing machine in the present embodiment, can make computing machine between two operating system, switch effectively, improved the Installed System Memory utilization factor.In addition; When first operating system or second operating system; Through will be in the overlapped part of two included storage areas of internal memory in the data storage of sharing between two operating system; Even carried out system's blocked operation, the operating system after shared data also can switch obtains easily, thereby has realized the data sync between two operating system; And the operating system after switching can be recovered the application that moves in the operating system before switching apace through being stored in the shared data of part overlapped in the Installed System Memory.
Those of ordinary skills can recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.Those skilled in the art can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
It should be appreciated by those skilled in the art that can be dependent on design requirement and other factors carries out various modifications, combination, part combination and replacement to the present invention, as long as they are in the scope of appended claims and equivalent thereof.
Claims (17)
1. control method; Be applied to computing machine; Wherein said computing machine comprises and comprises the Installed System Memory that is divided into two storage areas that wherein, said two storage areas are respectively first storage area and second storage area; Said first storage area comprises the first system's storage area and the first shared data storage area; Said second storage area comprises the second system's storage area and the second shared data storage area, and said first shared data storage area and the said second shared data storage area are overlapped, and said control method comprises:
Said first operating system is loaded into said Installed System Memory;
Through said first operating system, store first shared data into the said first shared data storage area, and store first system data of said first operating system into said first system's storage area;
According to second system's switching command, said second operating system is loaded into said second system's storage area; And
From the said second shared data storage area, obtain said first shared data through said second operating system, and carry out corresponding recovery operation according to said first shared data.
2. control method according to claim 1 wherein saidly is loaded into said Installed System Memory with said first operating system and comprises:
Notify the memory address range of said first system's storage area and the said first shared data storage area to said first operating system; And
Said first operating system is loaded into said first system's storage area.
3. like the said control method of claim 2; Wherein saidly store first shared data into the said first shared data storage area, and store first system data of said first operating system into said first system's storage area and comprise through said first operating system:
According to said second system's switching command; Memory address range according to said first system's storage area and the said first shared data storage area; Store first shared data into the said first shared data storage area through said first operating system, and store first system data of said first operating system into said first system's storage area.
4. like the said control method of claim 2; Wherein saidly store first shared data into the said first shared data storage area, and store first system data of said first operating system into said first system's storage area and comprise through said first operating system:
Between said first operating system runtime; Memory address range according to said first system's storage area and the said first shared data storage area; Store first shared data into the said first shared data storage area through said first operating system, and store first system data of said first operating system into said first system's storage area.
5. control method according to claim 1, wherein saidly store first shared data into the said first shared data storage area through said first operating system and comprise:
In the time will storing said first shared data, inquire about the memory address range of the said first shared data storage area through said first operating system;
According to the memory address range of the said first shared data storage area, remove the said first shared data storage area; And
Store said first shared data into the said first shared data storage area through said first operating system.
6. control method as claimed in claim 5, wherein said first system data with said first operating system store said first system's storage area into and comprise:
According to said second system's switching command, inquire about the memory address range of said second system's storage area;
According to the memory address range of said second system's storage area, remove the data in said second system's storage area through said first operating system; And
Store first system data of said first operating system into said first system's storage area.
7. control method as claimed in claim 5 also comprises:
When the size of said first shared data during, inquire about the memory address range of said second system's storage area greater than the said first shared data storage area;
According to the memory address range of the said second system's storage area of the size reduction of said first shared data, and correspondingly increase the memory address range of said first shared data storage area and the said second shared data storage area;
Through said first operating system said first shared data is stored in the adjusted said first shared data storage area; And
The memory address range of adjusted said second system's storage area and the said second shared data storage area is notified to said second operating system.
8. control method as claimed in claim 1 also comprises:
Store second shared data into the said second shared data storage area through said second operating system, and store second system data of said second operating system into said second system's storage area;
According to first system's switching command, call said first system data that is kept in said first system's storage area to start said first operating system; And
From the said first shared data storage area, obtain said second shared data through said first operating system, and carry out corresponding recovery operation according to said second shared data.
9. control method as claimed in claim 1, wherein said computing machine also comprises storer, said method also comprises:
When the size of said first shared data during, said first shared data is stored in the said storer, and its memory address in said storer is kept in the said first shared data storage area greater than the said first shared data storage area.
10. control device; Be applied to computing machine; Wherein said computing machine comprises and comprises the Installed System Memory that is divided into two storage areas that wherein, said two storage areas are respectively first storage area and second storage area; Said first storage area comprises the first system's storage area and the first shared data storage area; Said second storage area comprises the second system's storage area and the second shared data storage area, and said first shared data storage area and the said second shared data storage area are overlapped, and said control device comprises:
First loading unit, configuration is loaded into said Installed System Memory with said first operating system;
First control module, configuration come to store first shared data into the said first shared data storage area, and store first system data of said first operating system into said first system's storage area through said first operating system;
Second loading unit, configuration come according to second system's switching command said second operating system to be loaded into said second system's storage area; And
Second recovery unit, configuration is obtained said first shared data through said second operating system from the said second shared data storage area, and carries out corresponding recovery operation according to said first shared data.
11. like the said control device of claim 10, wherein
Said first loading unit is notified the memory address range of said first system's storage area and the said first shared data storage area to said first operating system, and said first operating system is loaded into said first system's storage area.
12. like the said control device of claim 11, wherein
Said first control module is according to said second system's switching command; Memory address range according to said first system's storage area and the said first shared data storage area; Store first shared data into the said first shared data storage area through said first operating system, and store first system data of said first operating system into said first system's storage area.
13. like the said control device of claim 11, wherein
When said first operating system; Said first control module is according to the memory address range of said first system's storage area and the said first shared data storage area; Store first shared data into the said first shared data storage area through said first operating system, and store first system data of said first operating system into said first system's storage area.
14. like the said control device of claim 10, wherein said first control module comprises:
Enquiry module, configuration come in the time will storing said first shared data through said first operating system, to inquire about the memory address range of the said first shared data storage area;
Remove module, configuration comes the memory address range according to the said first shared data storage area, removes the said first shared data storage area; And
The control store module, configuration is stored said first shared data into the said first shared data storage area through said first operating system.
15. control device as claimed in claim 14, wherein
Said enquiry module also disposes according to said second system's switching command, inquires about the memory address range of said second system's storage area;
Said removing module also disposes the memory address range according to said second system's storage area, removes the data in said second system's storage area through said first operating system; And
First system data that said control store module also disposes said first operating system stores said first system's storage area into.
16. control device as claimed in claim 10 also comprises:
Second control module, configuration is stored second shared data into the said second shared data storage area through said second operating system, and stores second system data of said second operating system into said second system's storage area;
Said first loading unit also disposes and comes according to first system's switching command, and operation is kept at said first system data in said first system's storage area to start said first operating system; And
Said control device also comprises:
First recovery unit, configuration is obtained said second shared data through said first operating system from the said first shared data storage area, and carries out corresponding recovery operation according to said second shared data.
17. a computing machine comprises:
Installed System Memory comprises:
First storage area comprises the first system's storage area and the first shared data storage area,
Second storage area comprises the second system's storage area and the second shared data storage area,
Wherein said first shared data storage area and the said second shared data storage area are overlapped;
Processing unit comprises:
First load-on module, configuration is loaded into said Installed System Memory with said first operating system;
First control module, configuration come to store first shared data into the said first shared data storage area, and store first system data of said first operating system into said first system's storage area through said first operating system;
Second load-on module, configuration come according to second system's switching command said second operating system to be loaded into said second system's storage area; And
Second recovers module, and configuration is obtained said first shared data through said second operating system from the said second shared data storage area, and carries out corresponding recovery operation according to said first shared data.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110142364.XA CN102810071B (en) | 2011-05-30 | 2011-05-30 | Control method, control device and computer |
US14/122,649 US20140115308A1 (en) | 2011-05-30 | 2012-05-30 | Control method, control device and computer system |
PCT/CN2012/076266 WO2012163275A1 (en) | 2011-05-30 | 2012-05-30 | Control method, control device and computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110142364.XA CN102810071B (en) | 2011-05-30 | 2011-05-30 | Control method, control device and computer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102810071A true CN102810071A (en) | 2012-12-05 |
CN102810071B CN102810071B (en) | 2015-01-28 |
Family
ID=47233780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110142364.XA Active CN102810071B (en) | 2011-05-30 | 2011-05-30 | Control method, control device and computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102810071B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914400A (en) * | 2012-12-31 | 2014-07-09 | 联想(北京)有限公司 | Memory allocation method and electronic device |
CN104077185A (en) * | 2013-03-27 | 2014-10-01 | 联想(北京)有限公司 | Shared device switching method and electronic equipment |
CN104239165A (en) * | 2014-09-01 | 2014-12-24 | 深圳市中兴移动通信有限公司 | Mobile terminal as well as method and device for treating tasks of two systems of mobile terminal |
CN104516747A (en) * | 2013-09-27 | 2015-04-15 | 联想(北京)有限公司 | System switching method and electronic device |
CN104978231A (en) * | 2015-07-10 | 2015-10-14 | 上海斐讯数据通信技术有限公司 | Multisystem device based on internal storage partitions and loading and switching method thereof |
CN105302738A (en) * | 2015-12-09 | 2016-02-03 | 北京东土科技股份有限公司 | Method and device for distributing memory |
CN105874428A (en) * | 2014-02-06 | 2016-08-17 | 英特尔公司 | Technologies for operating system transitions in multiple-operating-system environments |
CN107193651A (en) * | 2017-04-18 | 2017-09-22 | 广州视源电子科技股份有限公司 | Dual-system memory sharing method and device |
CN107229452A (en) * | 2016-03-23 | 2017-10-03 | 单正建 | A kind of mobile intelligent terminal operating system |
CN115080158A (en) * | 2021-03-12 | 2022-09-20 | Oppo广东移动通信有限公司 | Interface display method and device, terminal equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1821539A2 (en) * | 2006-02-15 | 2007-08-22 | Matsushita Electric Industrial Co., Ltd. | Decoding apparatus and integrated circuit |
CN101615123A (en) * | 2008-06-26 | 2009-12-30 | 比亚迪股份有限公司 | A kind of bootstrap technique of mobile terminal operating system and portable terminal |
CN101667140A (en) * | 2008-09-03 | 2010-03-10 | 联想(北京)有限公司 | Method, device and system for controlling switching of operating systems |
CN101847105A (en) * | 2009-03-26 | 2010-09-29 | 联想(北京)有限公司 | Computer and internal memory sharing method of a plurality of operation systems |
-
2011
- 2011-05-30 CN CN201110142364.XA patent/CN102810071B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1821539A2 (en) * | 2006-02-15 | 2007-08-22 | Matsushita Electric Industrial Co., Ltd. | Decoding apparatus and integrated circuit |
CN101615123A (en) * | 2008-06-26 | 2009-12-30 | 比亚迪股份有限公司 | A kind of bootstrap technique of mobile terminal operating system and portable terminal |
CN101667140A (en) * | 2008-09-03 | 2010-03-10 | 联想(北京)有限公司 | Method, device and system for controlling switching of operating systems |
CN101847105A (en) * | 2009-03-26 | 2010-09-29 | 联想(北京)有限公司 | Computer and internal memory sharing method of a plurality of operation systems |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914400A (en) * | 2012-12-31 | 2014-07-09 | 联想(北京)有限公司 | Memory allocation method and electronic device |
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 |
CN104516747A (en) * | 2013-09-27 | 2015-04-15 | 联想(北京)有限公司 | System switching method and electronic device |
CN105874428B (en) * | 2014-02-06 | 2019-06-25 | 英特尔公司 | Technology for the operating system transformation in multiple operating system environments |
CN105874428A (en) * | 2014-02-06 | 2016-08-17 | 英特尔公司 | Technologies for operating system transitions in multiple-operating-system environments |
US11609767B2 (en) | 2014-02-06 | 2023-03-21 | Intel Corporation | Technologies for operating system transitions in multiple-operating-system environments |
US11182172B2 (en) | 2014-02-06 | 2021-11-23 | Intel Corporation | Technologies for operating system transitions in multiple-operating-system environments |
CN104239165A (en) * | 2014-09-01 | 2014-12-24 | 深圳市中兴移动通信有限公司 | Mobile terminal as well as method and device for treating tasks of two systems of mobile terminal |
CN104978231A (en) * | 2015-07-10 | 2015-10-14 | 上海斐讯数据通信技术有限公司 | Multisystem device based on internal storage partitions and loading and switching method thereof |
CN105302738A (en) * | 2015-12-09 | 2016-02-03 | 北京东土科技股份有限公司 | Method and device for distributing memory |
CN107229452A (en) * | 2016-03-23 | 2017-10-03 | 单正建 | A kind of mobile intelligent terminal operating system |
CN107193651B (en) * | 2017-04-18 | 2019-11-12 | 广州视源电子科技股份有限公司 | Dual-system memory sharing method and device |
WO2018192184A1 (en) * | 2017-04-18 | 2018-10-25 | 广州视源电子科技股份有限公司 | Method and device enabling two operating systems to share memory |
CN107193651A (en) * | 2017-04-18 | 2017-09-22 | 广州视源电子科技股份有限公司 | Dual-system memory sharing method and device |
CN115080158A (en) * | 2021-03-12 | 2022-09-20 | Oppo广东移动通信有限公司 | Interface display method and device, terminal equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102810071B (en) | 2015-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102810071A (en) | Control method, control device and computer | |
CN103324500B (en) | A kind of method and device reclaiming internal memory | |
CN102346725B (en) | Message notification device and method for changing equipment configuration file | |
CN103309737A (en) | Method and device for switching operating system | |
CN103810020A (en) | Virtual machine elastic scaling method and device | |
KR101780052B1 (en) | Method for switching the operating system in information processing system | |
CN102866913A (en) | Task switching on mobile devices | |
CN102346697A (en) | Method and system for backing up and recovering Android package (APK) and mobile terminal | |
CN102957806B (en) | Method and device for restarting mobile phone | |
US20140115308A1 (en) | Control method, control device and computer system | |
CN102722426A (en) | One-key backup and recovery system for mobile phone data | |
CN103500130A (en) | Method for backing up dual-computer hot standby data in real time | |
CN103324549A (en) | Method for realizing sleep standby and communication terminal | |
CN103677870A (en) | System upgrading method and system upgraded by means of method | |
CN105516086A (en) | Service processing method and apparatus | |
EP3114562A1 (en) | Dynamic reassignment for multi-operating system devices | |
CN102841807A (en) | Control method, control device and computer system | |
CN103092808B (en) | A kind of collaborative share method | |
CN110413432A (en) | A kind of information processing method, electronic equipment and storage medium | |
CN103870298B (en) | Switching method and electronic equipment | |
US10162636B2 (en) | Control apparatus, integrated circuit and management method for stack | |
CN109542829B (en) | Control method and device of GPU (graphics processing Unit) equipment in multiple systems and electronic equipment | |
CN103019833A (en) | Terminal equipment and method for enabling same to support quick switching of operating systems | |
CN105116991A (en) | Terminal power saving method and apparatus | |
CN104219453A (en) | Lens controlling method and terminal of camera module |
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 |