CN101650657B - Power on method and application thereof - Google Patents

Power on method and application thereof Download PDF

Info

Publication number
CN101650657B
CN101650657B CN200810210972A CN200810210972A CN101650657B CN 101650657 B CN101650657 B CN 101650657B CN 200810210972 A CN200810210972 A CN 200810210972A CN 200810210972 A CN200810210972 A CN 200810210972A CN 101650657 B CN101650657 B CN 101650657B
Authority
CN
China
Prior art keywords
mode
written
power
difference
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200810210972A
Other languages
Chinese (zh)
Other versions
CN101650657A (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.)
Wistron Corp
Original Assignee
Wistron Corp
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 Wistron Corp filed Critical Wistron Corp
Priority to CN200810210972A priority Critical patent/CN101650657B/en
Publication of CN101650657A publication Critical patent/CN101650657A/en
Application granted granted Critical
Publication of CN101650657B publication Critical patent/CN101650657B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

A power on method and application thereof are applicable to a computer system. The power on method comprises the following steps: loading an operating system kernel; obtaining a selected signal from a user interface after loading the operating system kernel; selecting one mode from a plurality of pre-stored modes as a power on mode according to the selected signal; and loading at least one first driver according to the power on mode.

Description

Starting-up method and application thereof
Technical field
The present invention relates to a kind of starting-up method and application thereof, particularly relate to a kind of starting-up method and application thereof that is applicable to computer system.
Background technology
Along with operating system is constantly progressive, the picture of each operating system is more and more attractive in appearance, and the function of each operating system is also more and more.Yet on the other hand, this also makes operating system also harsh day by day to the demand of hardware, and the on time also constantly increases.For instance, the present up-to-date operating system Windows Vista of Microsoft, its CPU needs more than the 800Mhz at least, and storer needs 512MB at least, and hard-disk capacity also needs more than the 20GB.If with the most basic outfit demand, till then can using a computer from the user that starts shooting, first-class a period of times such as needs.Yet the user need use the loaded all functions of operating system in each start, but must cause and need wait for one period very long on time in order to be written into these non-essential functions.
By on can know, need a kind of starting-up method, can be written into needed function according to user's demand, to shorten the on time.
Summary of the invention
Therefore of the present invention one technological aspect is a kind of starting-up method, is written into different power on mode according to user's demand, and shortens the on time.
According to one embodiment of the invention, a kind of starting-up method of computer system that is applicable to comprises:
(1) is written into an operating system kernel (kernel).
(2) after being written into operating system kernel, obtaining one from a user interface and select signal.
(3) according to selecting signal, in several pre-stored patterns, select one of which, as a power on mode.
(4), be written at least one first driver according to power on mode.
According to another embodiment of the present invention, a kind of computer system comprises that a core loader, a mode list, one select signal to obtain device, a power on mode obtains device and and drives loader.The core loader is in order to be written into a storer with an operating system kernel.Mode list is in order to store several pre-stored patterns.Select signal to obtain device, obtain one from a user interface and select signal in order to after being written into storer at operating system kernel.Power on mode obtains device in order to according to selecting signal, selects one of which from pre-stored patterns, as a power on mode.Drive loader in order to according to power on mode, at least one first driver is written into storer.
Description of drawings
For making above-mentioned and other purposes of the present invention, characteristic, advantage and the embodiment can be more obviously understandable, the detailed description of accompanying drawing be following:
Fig. 1 is the process flow diagram according to a kind of starting-up method of one embodiment of the invention.
Fig. 2 is that the start of Fig. 1 is written into the process flow diagram of (step 100).
Fig. 3 is the process flow diagram of the mode switch (step 101) of Fig. 1.
Fig. 4 shows the functional block diagram according to a kind of computer system 200 of another embodiment of the present invention.
Fig. 5 shows the functional block diagram of the starting module 201 of Fig. 4.
Fig. 6 is an embodiment of the mode list 220 of Fig. 5.
Fig. 7 shows the functional block diagram of the handover module 202 of Fig. 4.
Fig. 8 is another embodiment of the mode list 220 of Fig. 5.
The reference numeral explanation
100~124: step 270: the user interface
200: computer system 280: switch signal and obtain device
201: starting module 290: switch mode is obtained device
202: handover module 310: the pattern comparative device
210: core loader 320: difference drives loader
220: mode list 330: difference drives emptier
230: select signal to obtain device 340: the service loader
240: power on mode obtains device 350: the difference service loader
250: drive loader 360: the difference service emptier
260: storer
Embodiment
With reference to Fig. 1, Fig. 1 is the process flow diagram according to a kind of starting-up method of one embodiment of the invention.This starting-up method is applicable to a computer system, by different power on mode, decide the program that will be written into.This starting-up method comprises the step that start is written into (step 100).With reference to Fig. 2, the start of Fig. 1 is written into the process flow diagram of (step 100).The step that this start is written into (step 100) comprises:
(2.1) be written into an operating system kernel (kernel) (step 102).
(2.2) after being written into operating system kernel, obtaining one from a user interface and select signal (step 104).
(2.3) according to selecting signal, in several pre-stored patterns, select one of which, as a power on mode (step 106).
(2.4.1) according to power on mode, be written at least one first driver (step 108).
For instance, when being written into (step 100), this start under (SuSE) Linux OS, during real the work, is written into (SuSE) Linux OS core (step 102) earlier.After being written into the (SuSE) Linux OS core, obtain selection signal (step 104) from a user interface.That is to say the power on mode that lets the user select its desire to use.Next,, in several pre-stored patterns, select one of which according to selecting signal, as a power on mode, and make this power on mode write a start rank list (run level) document (as/etc/rc4.d) (step 106).The binding of the driver of desiring to be written into when wherein, this power on mode can comprise start (driver), service (service) or other programs.Afterwards, according to power on mode (in this example, just according to the start rank list document, as/etc/rc4.d), be written at least one first driver (step 108).Wherein, this first driver can be the driver of an adlib driver, networking card driver or other hardware.Thus, necessary driver when this starting-up method can make operating system kernel only comprise computer system operation, other not necessarily necessary drivers be then according to its demand, and the selection through power on mode comes dynamically to be written into.
This starting-up method also is supported in after the start, and under the prerequisite that needn't start shooting again, Direct Model is switched.Therefore, with reference to Fig. 1, this starting-up method comprises the step of mode switch (step 101).With reference to Fig. 3, Fig. 3 is the process flow diagram of the mode switch (step 101) of Fig. 1.Wherein, the step of mode switch (step 101) can comprise:
(3.1) obtain one from the user interface and switch signal (step 110).
(3.2) according to switching signal, in pre-stored patterns, select one of which, as all die change formulas (step 112).
(3.3) comparison power on mode and switch mode are to obtain difference tabulation (step 114).
Thus, when mode switch, this starting-up method is by with the comparison of power on mode and switch mode, obtain two kinds of patterns between difference.
Wherein, when resulting difference tabulation can be included in mode switch in step 114, the driver that must will be written into.So the step of mode switch (step 101) can comprise:
(3.4.1), be written at least one second driver (step 116) according to the difference tabulation.
Wherein, this second driver be switch mode must be written into the driver that but when power on mode, is not written into as yet.Thus, when this starting-up method can make mode switch, do not need to be written into again the driver that all switch modes need.
In addition, when the tabulation of resulting difference can be included in mode switch in step 114, the driver that institute must unload.So the step of mode switch (step 101) can comprise:
(3.4.2), unload first driver (step 118) according to this difference tabulation.
Wherein, this first driver that is unloaded can be switch mode and need not be written into the driver that but when power on mode, is written into.In addition, this first driver by unloading also can be switch mode must unload the driver that but when power on mode, is written into or unloads during as yet not in power on mode.Thus, when this starting-up method can make mode switch, do not need to unload again All Drives.
In addition, this power on mode can comprise at least one service (service), like multimedia playing program, e-mail program or other application programs.Therefore, with reference to Fig. 2, the step that start is written into (step 100) can comprise:
(2.4.2) according to power on mode, be written at least one first service (step 120).
Thus, this starting-up method can make when operating system kernel only comprises computer system operation necessary service, and other not necessarily necessary services are then according to its demand, and the selection through power on mode comes dynamically to be written into.
In addition, when resulting difference tabulation can be included in mode switch in step 114, the service that must will be written into.So with reference to Fig. 3, the step of mode switch (step 101) can comprise:
(3.4.3) according to the difference tabulation, be written at least one second service (step 122).
Wherein, this second service must be written into the service that but when power on mode, is not written into as yet by switch mode.Thus, this starting-up method can be when mode switch, the service that only is written into power on mode and is not written into, and do not need to be written into again all switch modes the service that must be written into.
In addition, when the tabulation of resulting difference can be included in mode switch in step 114, the service that institute must unload.So the step of mode switch (step 101) can comprise:
(3.4.4) according to the difference tabulation, unloading first service (step 124).
Wherein, this first service that is unloaded can be switch mode and need not be written into the service that but when power on mode, is written into.In addition, this first service by unloading can be switch mode must unload but the service that when power on mode, is written into or unloads during as yet not in power on mode.Thus, this starting-up method promptly do not need to unload again all switch modes must unloading service.
With reference to Fig. 4, it shows the functional block diagram according to a kind of computer system 200 of another embodiment of the present invention.This computer system 200 is by different power on mode, decide the program that will be written into.This computer system 200 can comprise a starting module 201.With reference to Fig. 5, it shows the functional block diagram of the starting module 201 of Fig. 4.This starting module 201 comprises that a core loader 210, a mode list 220, select signal to obtain device 230, a power on mode obtains device 240 and and drives loader 250.Core loader 210 is in order to be written into an operating system kernel one storer 260.Mode list 220 is in order to store several pre-stored patterns.Select signal to obtain device 230, obtain one from a user interface 270 and select signal in order to after being written into storer 260 at operating system kernel.Power on mode obtains device 240 in order to according to selecting signal, selects one of which from pre-stored patterns, as a power on mode.Wherein, this power on mode comprises at least one first driver.This first driver can be the driver of an adlib driver, networking card driver or other hardware.Drive loader 250 in order to according to power on mode, first driver is written into storer 260.Thus, these computer system 200 loaded operating system kernels only comprise necessary driver of when running, and other unnecessary drivers are then according to user's demand, and the selection through power on mode comes dynamically to be written into.
Fig. 6 is an embodiment of the mode list 220 of Fig. 5.With reference to Fig. 6, this mode list 220 has two pre-stored patterns, multimedia mode and email mode.With reference to Fig. 5 and Fig. 6, for instance, when the user selects multimedia mode to be its power on mode, drive loader 250 simultaneously, adlib driver and screen driver are written into storer 260 just according to this multimedia mode.
This computer system 200 after start, can be under the prerequisite that does not need to start shooting again mode switch.Therefore, with reference to Fig. 4, this computer system 200 can comprise all die change pieces 202.With reference to Fig. 7, it shows the functional block diagram of the handover module 202 of Fig. 4.This handover module 202 comprises one and switches that signal is obtained device 280, all die change formulas obtain a device 290 and a pattern comparative device 310.Switch signal and obtain device 280 in order to obtain a switching signal from the user interface.Switch mode is obtained device 290 in order to according to switching signal, selects one of which from pre-stored patterns, as all die change formulas.One pattern comparative device, 310 comparison power on mode and switch modes are to obtain difference tabulation.Thus, when mode switch, this computer system 200 obtains two kinds of differences between the pattern by with power on mode and switch mode comparison.
Wherein, when the difference tabulation that pattern comparative device 310 is produced can be included in mode switch, the driver that must will be written into.Therefore, this handover module 202 can comprise difference driving loader 320.This difference drives loader 320 in order to according to the difference tabulation, and at least one second driver is written into storer 260.Wherein, this second driver be switch mode must be written into the driver that but when power on mode, is not written into as yet.For instance, simultaneously with reference to Fig. 6 and Fig. 7, when power on mode is multimedia mode and switch mode when being email mode, the difference tabulation that pattern comparative device 310 is produced then comprises the driver that need when mode switch, be written into, networking card driver.Then, difference drives loader 320 the networking card driver is written into storer 260.Thus, when this computer system 200 can make mode switch, do not need to be written into again the driver that all switch modes need.
In addition, with reference to Fig. 7, when the tabulation of difference that pattern comparative device 310 is produced can be included in mode switch, the driver that institute must unload.So this handover module 202 also can comprise a difference and drive emptier 330.Difference drives emptier 330 in order to according to the difference tabulation, unloads first driver from storer 260.Wherein, this first driver can be switch mode and need not be written into the driver that but when power on mode, is written into.In addition, this first driver by unloading also can be switch mode must unload the driver that but when power on mode, is written into or unloads during as yet not in power on mode.For instance, simultaneously with reference to Fig. 6 and Fig. 7, when power on mode is multimedia mode and switch mode when being email mode, the adlib driver is that switch mode need not be written into the driver that but when power on mode, is written into.Therefore, the difference tabulation that produced of pattern comparative device 310 comprises the adlib driver.Then, difference drives emptier 330 according to the difference tabulation, from storer 260 unloading adlib drivers.Thus, when this computer system 200 can make mode switch, do not need to unload again All Drives.
In addition, the power on mode of this computer system 200 can comprise at least one service (service), like multimedia playing program, e-mail program or other application programs.With reference to Fig. 5, this starting module 201 can comprise a service loader 340.This service loader 340 is written into storer 260 in order to according to power on mode with at least one first service.Thus, this computer system 200 can make when operating system kernel only comprises computer system operation necessary service, and other not necessarily necessary services are then according to its demand, and the selection through power on mode comes dynamically to be written into.
Fig. 8 is another embodiment of the mode list 220 of Fig. 5.With reference to Fig. 8, this mode list 220 has two pre-stored patterns, multimedia mode and email mode.For instance,, when the user selects multimedia mode to be its power on mode, drive loader 250, driver (adlib driver and screen driver) is written into storer 260 just according to this multimedia mode simultaneously with reference to Fig. 5 and Fig. 8.Service loader 340 also will be served (multimedia playing program) according to this multimedia mode and will be written into storer 260.
In addition, when the difference tabulation that pattern comparative device 310 is produced can be included in mode switch, the service that must will be written into.With reference to Fig. 7, this handover module 202 comprises a difference service loader 350.Difference service loader 350 is written into storer 260 in order to according to the difference tabulation with at least one second service.For instance, simultaneously with reference to Fig. 7 and Fig. 8, when power on mode is multimedia mode and switch mode when being email mode, the difference tabulation that pattern comparative device 310 is produced then comprises the service that need when mode switch, be written into, e-mail program.Then, difference service loader 350 is written into storer 260 with e-mail program.Thus, this computer system 200 can be when mode switch, the service that only is written into power on mode and is not written into, and do not need to be written into again all switch modes the service that must be written into.
In addition, when the difference tabulation that pattern comparative device 310 is produced can be included in mode switch, the service that must will unload.With reference to Fig. 7, this handover module 202 comprises a difference service emptier 360.Difference service emptier 360 is served from storer 260 unloadings first in order to according to the difference tabulation.For instance, simultaneously with reference to Fig. 7 and Fig. 8, when power on mode is multimedia mode and switch mode when being email mode, multimedia playing program is that switch mode need not be written into the server that but when power on mode, is written into.Therefore, the difference tabulation that pattern comparative device 310 is produced comprises the service that needs unloading, multimedia playing program.Then, difference service emptier 360 is according to the difference tabulation, from storer 260 unloading multimedia playing programs.Thus, this computer system 200 promptly do not need to unload again all switch modes must unloading service.
Though the present invention discloses as above with an embodiment; Right its is not in order to limit the present invention; Those skilled in the art can do various changes and retouching under the premise without departing from the spirit and scope of the present invention, so protection scope of the present invention is as the criterion with claim of the present invention.

Claims (12)

1. a starting-up method is applicable to a computer system, comprises:
Be written into an operating system kernel;
After being written into this operating system kernel, obtaining one from a user interface and select signal;
Select signal according to this, in several pre-stored patterns, select one of which, as a power on mode; And
According to this power on mode, be written at least one first driver,
Also comprise:
Obtain one from this user interface and switch signal;
Switch signal according to this, in said pre-stored patterns, select one of which, as all die change formulas; And
Compare this power on mode and this switch mode, to obtain difference tabulation.
2. starting-up method as claimed in claim 1 also comprises:
According to this difference tabulation, be written at least one second driver.
3. starting-up method as claimed in claim 1 also comprises:
According to this difference tabulation, unload this first driver.
4. starting-up method as claimed in claim 1 also comprises:
According to this power on mode, be written at least one first service.
5. starting-up method as claimed in claim 4 also comprises:
According to this difference tabulation, be written at least one second service.
6. starting-up method as claimed in claim 4 also comprises:
According to this difference tabulation, unload this first service.
7. a boot system is used for computer system, comprises:
One core loader is in order to be written into a storer with an operating system kernel;
One mode list is in order to store several pre-stored patterns;
One selects signal to obtain device, after being written into this storer at this operating system kernel, obtaining one from a user interface and selects signal;
One power on mode obtains device, in order to select signal according to this, selects one of which from said pre-stored patterns, as a power on mode;
One drives loader, in order to according to this power on mode, at least one first driver is written into this storer;
One switches signal obtains device, obtains one in order to this user interface certainly and switches signal;
All die change formulas obtain device, in order to switch signal according to this, select one of which from said pre-stored patterns, as all die change formulas; And
One pattern comparative device is compared this power on mode and this switch mode, to obtain difference tabulation.
8. boot system as claimed in claim 7 also comprises:
One difference drives loader, in order to according to this difference tabulation, at least one second driver is written into this storer.
9. boot system as claimed in claim 7 also comprises:
One difference drives emptier, and in order to tabulate according to this difference, this storer unloads this first driver certainly.
10. boot system as claimed in claim 7 also comprises:
One service loader in order to according to this power on mode, is written into this storer with at least one first service.
11. boot system as claimed in claim 10 also comprises:
One difference service loader in order to according to this difference tabulation, is written into this storer with at least one second service.
12. boot system as claimed in claim 10 also comprises:
One difference service emptier, in order to tabulate according to this difference, this first service of this storer unloading certainly.
CN200810210972A 2008-08-15 2008-08-15 Power on method and application thereof Expired - Fee Related CN101650657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810210972A CN101650657B (en) 2008-08-15 2008-08-15 Power on method and application thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810210972A CN101650657B (en) 2008-08-15 2008-08-15 Power on method and application thereof

Publications (2)

Publication Number Publication Date
CN101650657A CN101650657A (en) 2010-02-17
CN101650657B true CN101650657B (en) 2012-08-29

Family

ID=41672900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810210972A Expired - Fee Related CN101650657B (en) 2008-08-15 2008-08-15 Power on method and application thereof

Country Status (1)

Country Link
CN (1) CN101650657B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182263A (en) * 2014-09-02 2014-12-03 北京橙鑫数据科技有限公司 Boot mode control method and terminal
CN105159721A (en) 2015-09-08 2015-12-16 深圳创维-Rgb电子有限公司 Method of multi-mode startup intelligent equipment and system of multi-mode startup intelligent equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532700A (en) * 2003-03-20 2004-09-29 �곞�ɷ����޹�˾ Computer system capable of operating under multiple operation modes and its operation method
CN1737758A (en) * 2004-08-18 2006-02-22 神基科技股份有限公司 Method for starting multimedia function of computer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532700A (en) * 2003-03-20 2004-09-29 �곞�ɷ����޹�˾ Computer system capable of operating under multiple operation modes and its operation method
CN1737758A (en) * 2004-08-18 2006-02-22 神基科技股份有限公司 Method for starting multimedia function of computer

Also Published As

Publication number Publication date
CN101650657A (en) 2010-02-17

Similar Documents

Publication Publication Date Title
US6813708B2 (en) System and method for searching a BIOS for a type of computer network drive to boot and an operating system for migrating an operating system to a computer
EP2487583B1 (en) Booting apparatus and method using snapshot image
EP2399193A1 (en) Concurrent execution of a smartphone operating system and a desktop operating system
WO2020220971A1 (en) File loading method and apparatus, electronic device, and storage medium
CN109408122B (en) Equipment starting method, electronic equipment and computer storage medium
US20100235618A1 (en) Start-up of computing systems
CN101694623A (en) Method for updating handheld device software
CN101650660A (en) Booting a computer system from central storage
US7840843B2 (en) System and method for testing an embedded system
CN101051271A (en) Intelligent CPU super frequency method
CN110825419B (en) Firmware refreshing method and device, electronic equipment and storage medium
US20070271558A1 (en) Method and System for Automatic Installation of a Functional Unit Driver on a Host
CN109189486B (en) Display screen driver loading method and device, terminal and storage medium
CN101650657B (en) Power on method and application thereof
CN115357310A (en) System starting method and device, electronic equipment and storage medium
CN104516779B (en) System switching method and chip
US20120317404A1 (en) Firmware Flashing Method and Related Computer System
CN107888876B (en) Vehicle-mounted information entertainment system and early image display method thereof
CN112015476A (en) Display card driving method and device, electronic equipment and storage medium
CN104063236B (en) Using startup method and electronic equipment
US20100277407A1 (en) Liquid crystal display module and method for using the same
CN110399167B (en) Firmware starting method and device, equipment and storage medium
CN101437072A (en) Rapid start-up mobile phone and method
CN101901153B (en) Electronic installation and starting-up method thereof
CN113934437A (en) Method and system for installing application in cloud mobile phone and client cloud mobile phone

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: 20120829

CF01 Termination of patent right due to non-payment of annual fee