CN100504776C - Multi-mode computer system and its operation method - Google Patents
Multi-mode computer system and its operation method Download PDFInfo
- Publication number
- CN100504776C CN100504776C CNB2005100534921A CN200510053492A CN100504776C CN 100504776 C CN100504776 C CN 100504776C CN B2005100534921 A CNB2005100534921 A CN B2005100534921A CN 200510053492 A CN200510053492 A CN 200510053492A CN 100504776 C CN100504776 C CN 100504776C
- Authority
- CN
- China
- Prior art keywords
- computer
- mode
- computer system
- file
- media mode
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a multimode computer system and the operating method thereof, and the system comprises a storage device and a startup program, where the storage device has a single partition, containing a first operating system corresponding to a computer mode, a second operating system mapping file corresponding to a media mode and a media mode file system mapping file. As receiving the indication of the computer mode, the startup program loads the first operating system to the computer system to enable the computer system to operate in the computer mode; as receiving the indication of the media mode, the startup program starts up the computer system according to the second operating system mapping file and the media mode file system mapping file to enable the computer system to operate in the media mode. The invention can reduce system building cost, and eliminates the risk that the known technique carelessly modifies or deletes the other file system in the computer mode. And the startup and executing speeds are relatively high.
Description
Technical field
The invention relates to a kind of computer system and method for operating thereof, and be particularly to a kind of multi-mode computer system and the method for operating thereof that can under different operation modes, switch.
Background technology
The computer system of a new generation also provides the function of media mode (Media Mode) except general computer patterns (PC Mode) function is provided, promptly operate under different mode in the computer system.When computer system is operated under computer patterns, then carry out the operation of general computing machine, and when computer system is operated, then can carry out dvd playback and imprinting, PVR video and audio recording under media mode, MP3 plays with record, infrared remote controller or the like function.
The design of known multi-mode computer system is with a high capacity Storage Media, and as a hard disk and a low capacity Storage Media, (Flash RAM) carries out framework as flash memory.In the high capacity Storage Media known operating system can be installed, the software of respective media pattern then is installed in the low capacity Storage Media.In this design, not only must spend extra hardware build be set to outside, owing to the access speed of low capacity Storage Media far below the high capacity Storage Media, therefore, also delay the speed of system start-up.
The design of another known multi-mode computer system is to design with single Storage Media.Wherein, Storage Media is divided into plural independent partitions (Partition).Each subregion is planned to the file system format of performed software separately.In this design, when the user damages software function accidentally,, thereby increase the degree of difficulty of system maintenance because the user does not have ability correctly to handle, duplicate, reply two parts of great file system of possibility difference usually.In addition, when operating under computer patterns, the user is easy to careless system performance and the function that changes or damage the file system of respective media pattern, thereby causes the operation exception of computer system under media mode.
Summary of the invention
In view of this, the present invention provides a kind of multi-mode computer system and the method for operating thereof that can switch under different operation modes.
Multi-mode computer system of the present invention comprises a storage device and a boot program.Storage device has a single subregion, comprise a corresponding computer patterns a computer patterns file system, one first operating system, with one second operation system image (image) file and a media mode file system image file of a corresponding media mode.One processing unit, in order to carry out a boot program, this boot program is in order to when accepting the indication of corresponding computer pattern, and boot program loads computer system with first operating system, causing computer system, and carry out this computer patterns file system in down running of computer patterns.When accepting the indication of respective media pattern, boot program starts computer system according to second mapping document of operation system and media mode file system image file, to cause computer system in media mode running down, wherein starting this computer system according to this second mapping document of operation system and this media mode file system image file decompresses this second mapping document of operation system and launches, to start one second operating system kernel in this computer system, and this media mode file system image file decompressed and launch, a media mode file system to be installed in this computer system, wherein this second operating system kernel is to call this media mode file system image file with the form of virtual disk (RamDisk).
Multi-mode computer system of the present invention, this second operating system kernel is to set up a virtual disk (RamDisk) in a system storage of this computer system, and this media mode file system image file is decompressed in this virtual disk and expansion.
Multi-mode computer system of the present invention, second operating system kernel more with a computer patterns of corresponding computer pattern file system mounted (Mount) in the media mode file system, become the place that can permanently deposit reading of data.
When multi-mode computer system of the present invention, this computer system operate under this media mode, more carry out mutually should media mode at least one application program.
The method of operating of multi-mode computer system of the present invention, wherein this computer system has a storage device of a single subregion, at least one first operating system that comprises a corresponding computer patterns in the storage device, one second mapping document of operation system of a corresponding media mode and a media mode file system image file, the method of operating of described multi-mode computer system comprises the following steps: at first, when accepting the indication of a corresponding computer patterns, one first operating system is loaded computer system, to cause computer system in computer patterns running down.When accepting the indication of a corresponding media mode, this second mapping document of operation system is decompressed and launch, to start one second operating system kernel in this computer system; And this media mode file system image file decompressed and launch, a media mode file system to be installed in this computer system; Wherein, this media mode file system image file calls with the form of virtual disk (RamDisk) through this second operating system kernel.
The method of operating of multi-mode computer system of the present invention, in a system storage of computer system, set up a virtual disk by this second operating system kernel, and media mode file system image file is decompressed in this virtual disk and expansion.
The method of operating of multi-mode computer system of the present invention, second operating system kernel are more file system mounted in the media mode file system with a computer patterns of corresponding computer pattern.
The method of operating of multi-mode computer system of the present invention more comprises when this computer system operates under this media mode, carry out mutually should media mode at least one application program.
Said method of the present invention can see through program code means and include in tangible media.When program code was loaded and carries out by machine, machine became in order to carry out device of the present invention.
Multi-mode computer system of the present invention and method of operating thereof can the minimizing system be built and are set to this, get rid of the risk of changing or deleting another part file system in the known technology under computer patterns because of carelessness, and start and execution speed are all comparatively quick.
Description of drawings
Fig. 1 is for showing the system schematic according to the computer system of the embodiment of the invention;
Fig. 2 is for showing according to the storage device synoptic diagram in the computer system of the embodiment of the invention;
Fig. 3 is for showing the computer system power-on process flow diagram according to the embodiment of the invention;
Fig. 4 is for showing the start process flow diagram according to embodiment of the invention respective media pattern.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, embodiment cited below particularly, and cooperate appended diagram, it is as follows to be elaborated.
Fig. 1 is the system schematic that shows according to the multi-mode computer system of the embodiment of the invention.
According to the computer system 1000 of the embodiment of the invention comprise a processing unit 1100, a basic input/output (Basic Input/Output System, BIOS) 1200, one system storage 1300, with a storage device 1400.What note is that computer system 1000 more can comprise other relevant apparatus, installs as CD writer, infrared receiver, USB (universal serial bus) (USB), TV channel selecting device, network video machine, infrared remote controller or the like.Computer system 1000 more can comprise an output unit, as TV and computer screen.
Comprise a boot program 1411, a computer patterns file system 1412, one first operating system 1413, one second mapping document of operation system 1414 and a media mode file system image file 1415 in the single disk partition 1410.Boot program 1411 can be a multiple operating system loading procedure (Multi-OS Loader), and it is loaded with carrying out by basic input/output 1200 and opens the beginning boot program with the beginning boot program.When computer system 1000 starts, boot program 1411 can carry out correlated judgment, enters computer patterns or media mode to cause computer system 1000.Computer patterns file system 1412 is computer system 1000 file system under computer patterns, as the form NTFS or the FAT32 file system of Microsoft.First operating system 1413 is the operating system of computer system 1000 under computer patterns, as form 32,95,98,2000, the operating systems such as NT, XP... of Microsoft.Second mapping document of operation system 1414 is an image file, and this image file can decompress and expand into one second operating system and carry out in system storage 1300.Second operating system is the operating system of computer system 1000 under media mode, as the windows ce operating system or the embedded Linux system of Microsoft.Media mode file system image file 1415 is the image file of a root file system (Root File System), and this image file can decompress and expand into a media mode file system and carry out in system storage 1300.The media mode file system is the file system of computer system 1000 under media mode, as FAT, Ext2, Ex3, Minix ... etc. file system.
It should be noted that media mode file system image file 1415 is according to the designed image file of virtual disk (RamDisk) technology.In virtual disk, can place under all media modes relevant file system, application program and system for content, thereby with this virtual disk boil down to image file of packing.In addition, because storage device 1400 only comprises single disk partition, therefore, second mapping document of operation system 1414 and media mode file system image file 1415 are that the form with ordinary file is embedded in the computer patterns file system 1412.
Fig. 3 is for showing the computer system power-on process flow diagram according to the embodiment of the invention.
At first, as step S301, judge whether computer system starts shooting.If not, then continue the judgement of step S301.(if step S301 is), as step S302, basic input/output 1200 selftest (POST) of starting shooting, and, carry out boot program as step S303.As step S304, receive the indication of certain operational modes.What note is that the indication of corresponding different operation modes can be done in fact in any way, as being selected by menu or defining corresponding operator scheme by different specific keys.
If be designated as computer patterns (step S305 is), as step S306, first operating system 1413 loaded computer system 1000, and, cause computer system 1000 in computer patterns running down as step S307.If be designated as media mode (step S305 denys), as step S308, start computer system 1000 according to second mapping document of operation system 1414 and media mode file system image file 1415, and, cause computer system 1000 in media mode running down as step S309.It should be noted that no matter be computer patterns or media mode, computer system 1000 all can load computer patterns file system 1412 and operate.
Fig. 4 is for showing the start process flow diagram according to the respective media pattern of the embodiment of the invention.
When receiving the indication of respective media pattern, as step S401, second mapping document of operation system is decompressed and launch, to start one second operating system kernel in computer system.Afterwards,, in system storage 1300, set up a virtual disk, the line correlation initialization operation of going forward side by side as step S402.Then,, in virtual disk, media mode file system image file 1415 is decompressed and launches as step S403, with installation medium schema file system in computer system 1000.As step S404, corresponding computer schema file system 1412 carries (Mount) on the media mode file system, and as step S405, are carried out at least one application program (not shown) of respective media pattern.It should be noted that by carry computer patterns file system 1412 application program of computer system 1000 can be with under the nonvolatil computer patterns file system 1412 of depositing carry so far of data under the media mode.For instance, the TV programme of recording under media mode can be stored in this.On the other hand, because media mode file system image file 1415 is according to the designed image file of virtual disk technology.Media mode file system image file can directly call with the form of virtual disk, makes the initial setting of virtual disk and image file expansion etc. finish automatically.
Therefore, by multi-mode computer system provided by the present invention and method of operating thereof, independence and the different operating system of function that computer system can utilize storage device with single subregion and a file system to deposit and manage corresponding different operation modes, thus the minimizing system builds and is set to this.In addition owing to no matter under which operator scheme, operate, in fact all be access with a file system, therefore, also got rid of the risk of under computer patterns, changing or deleting another part file system in the known technology because of carelessness.Person very, because different operation modes all is to see through the storage device operation, start is all comparatively quick with execution speed.
Method and system of the present invention, or specific kenel or its part, can be contained in tangible media with the kenel of program code, get (as embodied on computer readable) Storage Media as floppy disk, discs, hard disk or any other machine readable, wherein, when program code by machine, when loading and carrying out as computing machine, this machine becomes in order to participate in device of the present invention.Method and apparatus of the present invention also can see through some transfer mediums with the program code kenel, transmit as electric wire or cable, optical fiber or any transmission kenel, wherein, when program code by machine, when receiving, loading and carrying out as computing machine, this machine becomes in order to participate in device of the present invention.When the general service processor is done in fact, the program code associative processor provides a class of operation to be similar to the unique apparatus of using particular logic circuit.
The above only is preferred embodiment of the present invention; so it is not in order to limit scope of the present invention; any personnel that are familiar with this technology; without departing from the spirit and scope of the present invention; can do further improvement and variation on this basis, so the scope that claims were defined that protection scope of the present invention is worked as with the application is as the criterion.
Being simply described as follows of symbol in the accompanying drawing:
1000~computer system
1100~processing unit
1200~basic input/output
1300~system storage
1400~storage device
1410~single disk partition
1411~boot program
1412~computer patterns file system
1413~the first operating systems
1414~the second mapping document of operation system
1415~media mode file system image file
S301, S302 ..., S309~operation steps
S401, S402 ..., S405~operation steps
Claims (8)
1, a kind of multi-mode computer system is characterized in that described multi-mode computer system comprises:
One storage device has a single subregion, comprises a computer patterns file system, one first operating system of a corresponding computer patterns, one second mapping document of operation system and a media mode file system image file of a corresponding media mode; And
One processing unit, in order to carry out a boot program, this boot program in order to when accept mutually should computer patterns an indication time, this first operating system is loaded this computer system, to cause this computer system in the running down of this computer patterns, and carry out this computer patterns file system, and when accept mutually should media mode an indication time, start this computer system according to this second mapping document of operation system and this media mode file system image file, to cause this computer system in the running down of this media mode, wherein starting this computer system according to this second mapping document of operation system and this media mode file system image file decompresses this second mapping document of operation system and launches, to start one second operating system kernel in this computer system, and this media mode file system image file decompressed and launch, a media mode file system to be installed in this computer system, wherein this second operating system kernel is to call this media mode file system image file with the form of virtual disk.
2, multi-mode computer system according to claim 1, it is characterized in that: this second operating system kernel is to set up a virtual disk in a system storage of this computer system, and this media mode file system image file is decompressed in this virtual disk and expansion.
3, multi-mode computer system according to claim 1, it is characterized in that: this second operating system kernel more will be mutually should computer patterns this computer patterns file system mounted in this media mode file system, as this second operating system deposit data district.
4, multi-mode computer system according to claim 1 is characterized in that: when this computer system operates under this media mode, more carry out mutually should media mode at least one application program.
5, a kind of method of operating of multi-mode computer system, wherein this computer system has a storage device of a single subregion, at least comprise one second mapping document of operation system and a media mode file system image file of one first operating system of a corresponding computer patterns, a corresponding media mode in the storage device, it is characterized in that the method for operating of described multi-mode computer system comprises the following steps:
When accept mutually should computer patterns an indication time, this first operating system is loaded this computer system, to cause this computer system in the running down of this computer patterns;
When accept mutually should media mode an indication time, this second mapping document of operation system decompressed and launch, to start one second operating system kernel in this computer system; And
This media mode file system image file is decompressed and launch, a media mode file system to be installed in this computer system;
Wherein, this media mode file system image file calls with the form of virtual disk through this second operating system kernel.
6, the method for operating of multi-mode computer system according to claim 5, it is characterized in that: comprise that more seeing through this second operating system kernel sets up a virtual disk in a system storage of this computer system, and this media mode file system image file is decompressed in this virtual disk and expansion.
7, the method for operating of multi-mode computer system according to claim 5 is characterized in that: more comprise see through this second operating system kernel will be mutually should computer patterns a computer patterns file system mounted in this media mode file system.
8, the method for operating of multi-mode computer system according to claim 5 is characterized in that: more comprise when this computer system operates under this media mode, carry out mutually should media mode at least one application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100534921A CN100504776C (en) | 2005-03-15 | 2005-03-15 | Multi-mode computer system and its operation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100534921A CN100504776C (en) | 2005-03-15 | 2005-03-15 | Multi-mode computer system and its operation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1834910A CN1834910A (en) | 2006-09-20 |
CN100504776C true CN100504776C (en) | 2009-06-24 |
Family
ID=37002675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100534921A Expired - Fee Related CN100504776C (en) | 2005-03-15 | 2005-03-15 | Multi-mode computer system and its operation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100504776C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101561857B (en) * | 2009-04-28 | 2010-10-13 | 苏州国芯科技有限公司 | Multi-mode startup safety embedded system |
CN101699402B (en) * | 2009-06-12 | 2012-06-27 | 苏州国芯科技有限公司 | Multi-mode startup embedded system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6792529B1 (en) * | 2000-04-11 | 2004-09-14 | Microsoft Corporation | Common feature mode for microprocessors in a multiple microprocessor system |
CN1555010A (en) * | 2003-12-29 | 2004-12-15 | 联想(北京)有限公司 | Starting method and device for multiple mode computer system |
CN1567234A (en) * | 2003-06-26 | 2005-01-19 | 宏碁股份有限公司 | Operator schema controlling system and method |
CN1567135A (en) * | 2003-06-30 | 2005-01-19 | 青岛海信计算机有限公司 | Computer with multiple operational modes and operation method thereof |
-
2005
- 2005-03-15 CN CNB2005100534921A patent/CN100504776C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6792529B1 (en) * | 2000-04-11 | 2004-09-14 | Microsoft Corporation | Common feature mode for microprocessors in a multiple microprocessor system |
CN1567234A (en) * | 2003-06-26 | 2005-01-19 | 宏碁股份有限公司 | Operator schema controlling system and method |
CN1567135A (en) * | 2003-06-30 | 2005-01-19 | 青岛海信计算机有限公司 | Computer with multiple operational modes and operation method thereof |
CN1555010A (en) * | 2003-12-29 | 2004-12-15 | 联想(北京)有限公司 | Starting method and device for multiple mode computer system |
Also Published As
Publication number | Publication date |
---|---|
CN1834910A (en) | 2006-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7660979B2 (en) | Multi-mode computer systems and operating methods thereof | |
US8996795B2 (en) | Storage device for mounting to a host | |
CN101650660B (en) | Booting a computer system from central storage | |
US20050038934A1 (en) | USB-based peripheral device and method for starting up the USB-based peripheral device | |
CN102402442B (en) | Information processing apparatus, execution control method | |
CN102135893A (en) | Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server | |
EP1879109A1 (en) | Information processing device, program, and storage medium | |
CN102855146A (en) | Firmware updating system and method | |
US8285978B2 (en) | Storage medium storing master boot record, computer system having the same and booting method of the computer system | |
CN105183517A (en) | Method and device for mounting external storage equipment in recovery mode and electronic device | |
JP2007035010A (en) | Method for initializing instance and executing computer program by loading operation system core program from high-speed data access memory | |
CN104010022A (en) | Management apparatus and method of managing server node | |
CN113760306B (en) | Method and device for installing software, electronic equipment and storage medium | |
CN100437487C (en) | Applied system and its data processing method for computer | |
CN110399168B (en) | System starting method, device and equipment for multiple data disk storage servers | |
CN103530144A (en) | Method for generating virtual machine images from legacy system | |
CN104517067A (en) | Method, device and system for data access | |
CN100504776C (en) | Multi-mode computer system and its operation method | |
CN102135923A (en) | Method for integrating operating system into BIOS (Basic Input/Output System) chip and method for starting operating system | |
US10007529B2 (en) | Data terminal running mode switching method, device, and data terminal | |
CN1838075A (en) | Operating system selection method and computer system thereof | |
CN102799449B (en) | Multi-system starting method and system | |
KR20100050098A (en) | Image processing apparatus and control method thereof | |
CN101470676A (en) | Method for automatic management software installation and operation of USB modem | |
CN103064771A (en) | Method of conducting computer detection and image downloading synchronously and computer system there of |
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 |
Granted publication date: 20090624 Termination date: 20150315 |
|
EXPY | Termination of patent right or utility model |