CN103383652A - Switching method for operating systems of computer platform - Google Patents

Switching method for operating systems of computer platform Download PDF

Info

Publication number
CN103383652A
CN103383652A CN2013102683889A CN201310268388A CN103383652A CN 103383652 A CN103383652 A CN 103383652A CN 2013102683889 A CN2013102683889 A CN 2013102683889A CN 201310268388 A CN201310268388 A CN 201310268388A CN 103383652 A CN103383652 A CN 103383652A
Authority
CN
China
Prior art keywords
lba
block addressing
logical block
computer platform
current operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013102683889A
Other languages
Chinese (zh)
Other versions
CN103383652B (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.)
Ramaxel Technology Shenzhen Co Ltd
Original Assignee
Ramaxel Technology Shenzhen 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 Ramaxel Technology Shenzhen Co Ltd filed Critical Ramaxel Technology Shenzhen Co Ltd
Priority to CN201310268388.9A priority Critical patent/CN103383652B/en
Publication of CN103383652A publication Critical patent/CN103383652A/en
Application granted granted Critical
Publication of CN103383652B publication Critical patent/CN103383652B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention is suitable for the technical field of computers and provides a switching method for operating systems of a computer platform. The computer platform comprises an internal memory device with a plurality of physical blocks; the physical blocks map a plurality of logic blocks; each physical block and the logic block mapped by the physical block correspond to a logic block addressing system. The method comprises the following steps: establishing an associated information table for the operating systems and the logic block addressing systems; receiving a command of switching the current operating system to a target operating system, and then inquiring the logic block addressing systems corresponding to the current operating system and the target operating system according to the associated information table; switching the logic block addressing system corresponding to the current operating system to the logic block addressing system corresponding to the target operating system. Therefore, through the switching method, the operating systems can be switched conveniently through the logic block addressing systems.

Description

The changing method of a plurality of operating systems of computer platform
Technical field
The present invention relates to field of computer technology, relate in particular to the changing method of a plurality of operating systems of a kind of computer platform.
Background technology
Along with the development of computer technology, the data volume of its processing and data type are more and more, and corresponding user is also more and more.The usually corresponding a plurality of different users of public computer equipment, to process different data, therefore corresponding multisystem computer platform is consequentiality also.For most multisystem computer platform, it is to realize the storage of different operating system by the division of physical region, and only has a LBA system in the storage area of active computer platform, can not realize switching between a plurality of systems by the LBA system.
In summary, the switching of the multisystem of existing computer platform obviously exists inconvenience and defective in actual use, so be necessary to be improved.
Summary of the invention
For above-mentioned defective, the object of the present invention is to provide the changing method of a plurality of operating systems of a kind of computer platform, can realize easily switching between multiple operating system by many LBA (Logical Block Addressing) system.
To achieve these goals, the invention provides the changing method of a plurality of operating systems of a kind of computer platform, described computer platform comprises the memory device with a plurality of physical blocks, a plurality of logical blocks of described a plurality of physical blocks reflection, each described physical blocks LBA (Logical Block Addressing) system corresponding to the logical blocks of its reflection, described method comprises:
Set up the related information table of described a plurality of operating system and LBA (Logical Block Addressing) system;
Receive current operation system is switched to the instruction of destination OS after, according to the described related information table described current operation system of inquiry and LBA (Logical Block Addressing) system corresponding to destination OS;
LBA (Logical Block Addressing) that described current operation system is corresponding system switches to LBA (Logical Block Addressing) system corresponding to described destination OS.
According to the changing method of a plurality of operating systems of computer platform of the present invention, described each LBA (Logical Block Addressing) system can access mutually by predetermined manner.
According to the changing method of a plurality of operating systems of computer platform of the present invention, the step that described LBA (Logical Block Addressing) that described current operation system is corresponding system switches to LBA (Logical Block Addressing) system corresponding to described destination OS comprises:
Store a marker bit, with the current switching state of mark;
Described current operation system is carried out standby operation, and send the switching wait command of LBA (Logical Block Addressing) system;
Read described marker bit, the physical blocks of the memory device that described current operation system is corresponding is carried out the dormancy processing, and the physical blocks of the memory device that described destination OS is corresponding activates processing.
According to the changing method of a plurality of operating systems of computer platform of the present invention, described method further comprises:
After described computer platform restarted, all system datas moved in the physical blocks of memory device corresponding to described current operation system.
the present invention is by presetting the memory device with a plurality of physical blocks, and each physical blocks reflection has a plurality of logical blocks, each described physical blocks LBA (Logical Block Addressing) system corresponding to the logical blocks of its reflection, computer platform can be set up the related information table of its a plurality of operating systems and LBA (Logical Block Addressing) system, and after receiving the instruction that current operation system is switched to destination OS, inquire about respectively described current operation system and LBA (Logical Block Addressing) system corresponding to destination OS according to described related information table, and LBA (Logical Block Addressing) that described current operation system is corresponding system switches to LBA (Logical Block Addressing) system corresponding to described destination OS, switching between the complete operation system easily whereby.
Description of drawings
Fig. 1 is computer platform structural framing schematic diagram of the present invention;
Fig. 2 is the changing method process flow diagram of a plurality of operating systems of computer platform of one embodiment of the invention;
Fig. 3 is the changing method process flow diagram of a plurality of operating systems of computer platform of another embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, the invention provides a kind of computer platform with multiple operating system, this computer platform 100 has host side 10, memory device 20 and hard disk 30, wherein: memory device 20 has a plurality of independently physical blocks, and a plurality of logical blocks of described a plurality of physical blocks reflection, corresponding, an each described physical blocks LBA (Logical Block Addressing corresponding to the logical blocks of its reflection, LBA (Logical Block Addressing)) system, hard disk 30 can be mechanical hard disk or solid state hard disc.Need to prove, the memory device 20 described in the present embodiment, it can be comprised of a plurality of independently memory bars, and each memory bar is namely an independently physical blocks.
For storage device of the present invention (hard disk 30), it is to should there be a plurality of LBA system, and the LBA number of systems is identical with the number of the physical blocks of memory device 20, and separate.Simultaneously, for the computer platform 100 of multiple operating system provided by the invention, its each operating system is a corresponding LBA system independently.
Referring to Fig. 2, the invention provides a kind of changing method of multiple operating system again, they can be by computer platform shown in Figure 1 100 realizations, and the method comprises:
Step S201 sets up the related information table of described a plurality of operating system and LBA (Logical Block Addressing) system.Previous embodiment illustrates, each operating system corresponding LBA system by setting up the related information table of operating system and LBA system, can make host side 10 obtain easily operating system corresponding to LBA system.
Step S202, receive current operation system is switched to the instruction of destination OS after, according to the described related information table described current operation system of inquiry and LBA system corresponding to destination OS.Concrete, when computer platform 100 receives when switching to the order of the second operating system from the first operating system, it is inquiry two the LBA systems that operating system is corresponding, then execution in step S203 from the related information table at first.
Step S203, LBA (Logical Block Addressing) that described current operation system is corresponding system switch to LBA (Logical Block Addressing) system corresponding to described destination OS.Suppose that current operation system is the first operating system, destination OS is the second operating system, and computer platform 100 can switch to a current LBA system the 2nd LBA system of target.This moment, 100 of computer platforms were enabled the physical blocks of memory device 20 corresponding to the 2nd LBA system, and other physical blocks of memory device 20 will be in unactivated state.
Further, above-mentioned steps S203 specifically comprises:
Step S2031 stores a marker bit, with the current switching state of mark.Computer platform 100 is at marker bit of Embedded Controller the inside storage, and the mark current event is switched system.
Step S2032 carries out standby operation with described current operation system, and sends the switching wait command of LBA (Logical Block Addressing) system.Concrete, current operation system is carried out suspend to memory(equipment enter sleep state, but all data also are kept in corresponding memory block, only have some external interrupt just can wake-up device) standby operation, the physical blocks of the memory device 20 that current operation system is corresponding is arranged on unactivated state, but the maintenance data, the instruction that sends simultaneously switch LBA pending (switch and wait for) is given to hard disk 30.30 receive this instruction after, can with the instruction temporary respite of switch LBA, just carry out when waiting until next electrifying startup.
Step S2033 reads described marker bit, and the physical blocks of the memory device that described current operation system is corresponding is carried out the dormancy processing, and the physical blocks of the memory device that described destination OS is corresponding activates processing.Complete the operation of suspend to memory at computer platform 100 after, auxiliary logical block (can be Embedded Controller) removes to read marker bit, to obtain current status information, and the physical blocks of the memory device 20 that current operation system is corresponding is carried out inactive processing (standby) as requested, the physical blocks of the memory device 20 that destination OS is corresponding activates processing (waking up) simultaneously, realizes whereby the switching of internal memory.
After the internal memory of computer platform 100 switches, EC controls and restarts, computer platform 100 after startup has the physical blocks of memory device corresponding to destination OS 20 and the 2nd LBA system in corresponding hard disk 30 with it, whereby, destination OS can start in the 2nd LBA system, and all service datas all can operate in the thing 20 reason blocks of memory device corresponding to described destination OS in service.If the user continues switched system, repeat above-mentioned flow process.
in sum, the present invention is by presetting the memory device with a plurality of physical blocks, and each physical blocks reflection has a plurality of logical blocks, each described physical blocks LBA (Logical Block Addressing) system corresponding to the logical blocks of its reflection, computer platform can be set up the related information table of its a plurality of operating systems and LBA (Logical Block Addressing) system, and after receiving the instruction that current operation system is switched to destination OS, inquire about respectively described current operation system and LBA (Logical Block Addressing) system corresponding to destination OS according to described related information table, and LBA (Logical Block Addressing) that described current operation system is corresponding system switches to LBA (Logical Block Addressing) system corresponding to described destination OS, switching between the complete operation system easily whereby.
Certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (4)

1. the changing method of a plurality of operating systems of computer platform, described computer platform comprises the memory device with a plurality of physical blocks, a plurality of logical blocks of described a plurality of physical blocks reflection, it is characterized in that, each described physical blocks LBA (Logical Block Addressing) system corresponding to the logical blocks of its reflection, described method comprises:
Set up the related information table of described a plurality of operating system and LBA (Logical Block Addressing) system;
Receive current operation system is switched to the instruction of destination OS after, according to the described related information table described current operation system of inquiry and LBA (Logical Block Addressing) system corresponding to destination OS;
LBA (Logical Block Addressing) that described current operation system is corresponding system switches to LBA (Logical Block Addressing) system corresponding to described destination OS.
2. the changing method of a plurality of operating systems of computer platform according to claim 1, is characterized in that, described each LBA (Logical Block Addressing) system can access mutually by predetermined manner.
3. the changing method of a plurality of operating systems of computer platform according to claim 1, it is characterized in that, the step that described LBA (Logical Block Addressing) that described current operation system is corresponding system switches to LBA (Logical Block Addressing) system corresponding to described destination OS comprises:
Store a marker bit, with the current switching state of mark;
Described current operation system is carried out standby operation, and send the switching wait command of LBA (Logical Block Addressing) system;
Read described marker bit, the physical blocks of the memory device that described current operation system is corresponding is carried out the dormancy processing, and the physical blocks of the memory device that described destination OS is corresponding activates processing.
4. the changing method of a plurality of operating systems of computer platform according to claim 3, is characterized in that, described method further comprises:
After described computer platform restarted, all system datas moved in the physical blocks of memory device corresponding to described current operation system.
CN201310268388.9A 2013-06-28 2013-06-28 The switching method of the multiple operating systems of computer platform Expired - Fee Related CN103383652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310268388.9A CN103383652B (en) 2013-06-28 2013-06-28 The switching method of the multiple operating systems of computer platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310268388.9A CN103383652B (en) 2013-06-28 2013-06-28 The switching method of the multiple operating systems of computer platform

Publications (2)

Publication Number Publication Date
CN103383652A true CN103383652A (en) 2013-11-06
CN103383652B CN103383652B (en) 2017-08-29

Family

ID=49491451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310268388.9A Expired - Fee Related CN103383652B (en) 2013-06-28 2013-06-28 The switching method of the multiple operating systems of computer platform

Country Status (1)

Country Link
CN (1) CN103383652B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331337A (en) * 2014-11-25 2015-02-04 宇龙计算机通信科技(深圳)有限公司 System memory management method, system memory management device and terminal
CN105760776A (en) * 2016-02-04 2016-07-13 联想(北京)有限公司 Data processing method and electronic equipment
CN105809050A (en) * 2014-12-31 2016-07-27 北京元心科技有限公司 Isolation method and device for multiple operating systems
WO2016173075A1 (en) * 2015-04-28 2016-11-03 宇龙计算机通信科技(深圳)有限公司 System switching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906588A (en) * 2004-09-29 2007-01-31 索尼株式会社 Information processing device, communication processing method, and computer program
CN101667058A (en) * 2008-09-03 2010-03-10 联想(北京)有限公司 Interactive method for switching focuses among multiple systems
CN102135910A (en) * 2011-03-03 2011-07-27 威盛电子股份有限公司 Method for switching operating systems and electronic device using same
CN102609214A (en) * 2011-01-21 2012-07-25 鸿富锦精密工业(深圳)有限公司 System and method for simulating BIOS (basic input/output system) ROM (read only memory) into disk

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906588A (en) * 2004-09-29 2007-01-31 索尼株式会社 Information processing device, communication processing method, and computer program
CN101667058A (en) * 2008-09-03 2010-03-10 联想(北京)有限公司 Interactive method for switching focuses among multiple systems
CN102609214A (en) * 2011-01-21 2012-07-25 鸿富锦精密工业(深圳)有限公司 System and method for simulating BIOS (basic input/output system) ROM (read only memory) into disk
CN102135910A (en) * 2011-03-03 2011-07-27 威盛电子股份有限公司 Method for switching operating systems and electronic device using same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331337A (en) * 2014-11-25 2015-02-04 宇龙计算机通信科技(深圳)有限公司 System memory management method, system memory management device and terminal
CN105809050A (en) * 2014-12-31 2016-07-27 北京元心科技有限公司 Isolation method and device for multiple operating systems
CN105809050B (en) * 2014-12-31 2018-10-02 北京元心科技有限公司 A kind of partition method and device of multiple operating system
WO2016173075A1 (en) * 2015-04-28 2016-11-03 宇龙计算机通信科技(深圳)有限公司 System switching method and device
CN105760776A (en) * 2016-02-04 2016-07-13 联想(北京)有限公司 Data processing method and electronic equipment

Also Published As

Publication number Publication date
CN103383652B (en) 2017-08-29

Similar Documents

Publication Publication Date Title
US11782647B2 (en) Managing operational state data in memory module
CN100487632C (en) Dual media storage device
WO2019144553A1 (en) Data storage method and apparatus, and storage medium
CN102308274B (en) Method, network card and hard disk card of accessing power-off hard disk
CN106325760B (en) The method and apparatus for managing storage array configuration
CN102591593A (en) Method for switching hybrid storage modes, device and system
WO2016165597A1 (en) Processing method and device for data storage
JP2010113712A (en) Method, device and system for storing data in cache in power failure
CN103383652A (en) Switching method for operating systems of computer platform
CN104104705B (en) The cut-in method and equipment of distributed memory system
CN102981970B (en) Flash memory management method and system
CN108475230A (en) A kind of storage system and system rubbish recovering method
CN102497288A (en) Dual-server backup method and dual system implementation device
CN105335308A (en) Method, apparatus and system for processing access information of storage device
CN103324446A (en) Achieving method of high-performance elastic-capacity virtual machine disk
CN104021085A (en) Mobile terminal internal memory cleaning method and device
CN102541517A (en) Authority configuration method, device and system
CN105260266A (en) Snapshot volume writing method and dependent snapshot system
CN104503924A (en) Area distribution method and device of tiered storage system
JP2019533221A (en) Method and device for resource reconfiguration
CN103164223A (en) Method of intelligent terminal capable of achieving alarm clock and intelligent terminal under shutdown state
CN101625648B (en) Plug and play equipment, firmware upgrade method and firmware upgrade device
CN101872290A (en) USB virtual drive device capable of immediately switching virtual CD contents
CN103744718A (en) Method and system for achieving virtual desktop
CN103714022A (en) Mixed storage system based on data block

Legal Events

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

Granted publication date: 20170829