CN101739261A - Switching system for basic input and output system and switching method thereof - Google Patents

Switching system for basic input and output system and switching method thereof Download PDF

Info

Publication number
CN101739261A
CN101739261A CN200810172437A CN200810172437A CN101739261A CN 101739261 A CN101739261 A CN 101739261A CN 200810172437 A CN200810172437 A CN 200810172437A CN 200810172437 A CN200810172437 A CN 200810172437A CN 101739261 A CN101739261 A CN 101739261A
Authority
CN
China
Prior art keywords
basic input
bios
output system
option
output
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
CN200810172437A
Other languages
Chinese (zh)
Other versions
CN101739261B (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 CN200810172437.8A priority Critical patent/CN101739261B/en
Publication of CN101739261A publication Critical patent/CN101739261A/en
Application granted granted Critical
Publication of CN101739261B publication Critical patent/CN101739261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a switching system for a basic input and output system and a switching method thereof. The switching system for the basic input and output system is suitable for a computer system, and comprises an input module and a storage module, wherein the storage module also comprises a plurality of basic input and output systems, an option recording block and a start-up management block; the input module produces a switching signal according to the operation of a user; and the start-up management block changes a record of an execution option in the option recording block according to the production of the switching signal, wherein the execution option records identification information for one of the basic input and output systems; and the start-up management block performs the basic input and output system, which performs the option indication, at the start of the computer system. The system can directly select to perform one of different basic input and output systems after sending a switching command without using any additional hardware device, and can ensure that other basic input and output systems are used immediately when one of the basic input and output systems is damaged or requires conversion.

Description

The switched system of Basic Input or Output System (BIOS) and changing method thereof
Technical field
The present invention relates to a kind of switched system and changing method thereof of Basic Input or Output System (BIOS), relate in particular to the switched system and the changing method thereof of a plurality of Basic Input or Output System (BIOS)s in the same storer.
Background technology
Basic Input or Output System (BIOS) very has importance for the computer system of majority, therefore for the setting of Basic Input or Output System (BIOS) and the more careful test of new capital needs, the affirmation Basic Input or Output System (BIOS) can normally be moved, can normally be written into Basic Input or Output System (BIOS) after allowing computer system open, and then finish the program of startup.Especially before every computer product (as notebook computer) dispatches from the factory, more need test and set Basic Input or Output System (BIOS) repeatedly, so that can normally bring into play its function behind the production marketing.
But in test or set in the process of Basic Input or Output System (BIOS), make a mistake after may suffering from renewal, and make the problem that Basic Input or Output System (BIOS) can't normal running, relatedly make whole computer system to move; Or be in test process, need be written into Basic Input or Output System (BIOS) and detect alternately with different set content.In these cases, all can produce need the selective demand of a plurality of Basic Input or Output System (BIOS)s.
In the middle of technique known, Basic Input or Output System (BIOS) in order to store for future use is arranged really, and in computer system, in different storage devices, deposit the practice of Basic Input or Output System (BIOS) respectively, one for the Basic Input or Output System (BIOS) that mainly is written into, another then is standby Basic Input or Output System (BIOS), when main Basic Input or Output System (BIOS) lost efficacy maybe can't operate the time for some reason, then change and read the standby Basic Input or Output System (BIOS) that leaves in another storage medium.
But leave the practice of different storing devices respectively in, relatively increase the acquisition cost of hardware device; In addition, for computer system product to be tested on the production line, also not necessarily when main Basic Input or Output System (BIOS) is damaged, the demand that switches to standby Basic Input or Output System (BIOS) is arranged, the technique known means still have the disappearance that can't apply in a flexible way slightly in the utilization of practice.
Summary of the invention
For solving the prior art deficiency, the switched system and the changing method thereof that the purpose of this invention is to provide a kind of Basic Input or Output System (BIOS), damage the cost that is produced to reduce single Basic Input or Output System (BIOS), and reach the effect of switching basic input/output system flexibly.
In order to achieve the above object, according to a kind of embodiment of the present invention, a kind of switched system of Basic Input or Output System (BIOS) is provided, is applicable in the computer system, comprise a memory module and produce a load module that switches signal according to user's operation.Comprise a plurality of Basic Input or Output System (BIOS)s (BIOS), option record block and a start-up management block in the memory module.Option record block comprises that one carries out option, in order to write down one of them a identifying information of these Basic Input or Output System (BIOS)s, use for computer system starting, promptly according to the generation of switching signal whether start-up management block, the record of option is carried out in change, make it change into the identifying information of another Basic Input or Output System (BIOS) in these Basic Input or Output System (BIOS)s, and when computer system starting, carry out the indicated Basic Input or Output System (BIOS) of this execution option, by this to finish the initiating task of computer system.
In order to achieve the above object, according to a kind of embodiment of the present invention, a kind of changing method of Basic Input or Output System (BIOS) is provided again, comprise: provide a plurality of Basic Input or Output System (BIOS)s in a memory module, and carry out option with one and write down one of them a identifying information of these Basic Input or Output System (BIOS)s and use for computer system starting; Then judge whether to produce and be used for one of switching basic input/output system and switch signal, if produce switching signal, promptly when computer system starting, read the execution option, and the identifying information that is recorded as another Basic Input or Output System (BIOS) in these Basic Input or Output System (BIOS)s of option is carried out in change, the last record that reads the execution option again, and carry out this indicated in this execution option Basic Input or Output System (BIOS).
Switched system and changing method thereof according to a kind of Basic Input or Output System (BIOS) provided by the present invention, can be after the order of sending switching basic input/output system, directly select to carry out one of them of different Basic Input or Output System (BIOS)s in the same memory module, not only do not need the additional hardware device, also can guarantee when a Basic Input or Output System (BIOS) is wherein damaged or the demand of conversion Basic Input or Output System (BIOS) is arranged, can use the operation of starting shooting of other Basic Input or Output System (BIOS) immediately.
Description of drawings
Fig. 1: the block scheme of the switched system embodiment of a kind of Basic Input or Output System (BIOS) provided by the present invention;
Fig. 2: the memory structure synoptic diagram of the option record block embodiment of the switched system of a kind of Basic Input or Output System (BIOS) provided by the present invention; And
Fig. 3: the process flow diagram of the changing method embodiment of a kind of Basic Input or Output System (BIOS) provided by the present invention.
The primary clustering symbol description:
1 computer system
2 load modules
3 memory modules
30 start-up management block
32 options record block
322 carry out option
324,324a, 324b location records block
34,34a, 34b Basic Input or Output System (BIOS)
S401~S413 process step
Embodiment
The present invention is a plurality of Basic Input or Output System (BIOS)s of record in same memory module, can be switched according to its demand immediately when starting computer system for the user, to reach the effect that is written into different Basic Input or Output System (BIOS)s.For more detailed explanation and explanation is provided, below will cooperate block scheme, synoptic diagram and process flow diagram to explain orally, so that more clearly and clearly disclose technology used in the present invention and means.
Fig. 1 is the block scheme of the switched system embodiment of a kind of Basic Input or Output System (BIOS) provided by the present invention, and this embodiment is applicable in the middle of the computer system 1, comprises a load module 2 and a memory module 3.Comprise a start-up management block 30, option record block 32 and a plurality of Basic Input or Output System (BIOS) 34 in the middle of the memory module 3, be example with two Basic Input or Output System (BIOS)s 34 in the present embodiment, be respectively Basic Input or Output System (BIOS) 34a and Basic Input or Output System (BIOS) 34b.In addition, please refer to Fig. 2, Fig. 2 is the memory structure synoptic diagram of a kind of option record block 32 embodiment provided by the present invention, comprises also that wherein one carries out option 322 and a plurality of location records block 324.
Start-up management block 30 is positioned at the most initial recording address of memory module 3, therefore when computer system 1 starts, promptly can be at first begin to read and carry out the instruction in the start-up management block 30 from the most initial address, described instruction comprises reads the record of carrying out in the option 322, and carries out Basic Input or Output System (BIOS) 34a and Basic Input or Output System (BIOS) 34b one of them according to its record.Carry out the identifying information of record Basic Input or Output System (BIOS) 34 in the option 322, so that computer system 1 can be learnt why person of the Basic Input or Output System (BIOS) that will carry out 34 according to the identifying information that reads when starting in carrying out option 322.
Location records block 324 record Basic Input or Output System (BIOS)s 34 are arranged in the relative address (offset) of memory module 3, for example the location records block 324a in the present embodiment writes down the relative address of Basic Input or Output System (BIOS) 34a, and the relative address of location records block 324b record Basic Input or Output System (BIOS) 34b.In the present embodiment, carry out Basic Input or Output System (BIOS) 34 identifying informations that write down in the option 322, be location records block 324a or 324b and be positioned at address in the middle of the memory module 3.When start-up management block 30 reads execution option 322, can be according to the address of carrying out the location records block 324a of record in the option 322 or the address of location records block 324b, go to location records block 324a or 324b one of them, read out Basic Input or Output System (BIOS) 34a or the relative address of Basic Input or Output System (BIOS) 34b in memory module 3, and then go to correct relative address to begin to carry out one of them Basic Input or Output System (BIOS) 34, continue to finish the start-up routine of computer system 1.
Load module 2 produces a switching signal according to a user operation, for example the user pushes the shortcut (Hotkey) of mouse or keyboard, control the input signal that produces a high level by embedded controller (EC) or keyboard controller (KBC), and transmit this signal via general input and output (GPIO) pin.Start-up management block 30 judges whether the generation of switching signal when computer system 1 starts, when the existing of switching signal, start-up management block 30 is except reading the record of carrying out in the option 322, also the record that will carry out in the option 322 is switched, with present embodiment, for example: the execution option 322 that start-up management block 30 is read has write down the address of location records block 324a, and because the switching signal existence that judgement has the user to operate to be produced, therefore start-up management block 30 also further will be carried out the record switching of option 322, change to write back behind the address of location records block 324b and carry out option 322 and store, then read the record of execution option 322 after changing once more, at last promptly according to record, go to the address of location records block 324b, read that record goes to this relative address to begin to carry out Basic Input or Output System (BIOS) 34b about the relative address of Basic Input or Output System (BIOS) 34b in memory module 3 among the location records block 324b.
Certainly, if start-up management block 30 is not found the existence of switching signal when starting, promptly directly according to carrying out the information that is originally write down in the option 322, carry out the indicated Basic Input or Output System (BIOS) 34 of this execution option 322, as the Basic Input or Output System (BIOS) 34a in the present embodiment.
In the middle of present embodiment, employed memory module 3 is a flash memory, the serial type flash memory (SPI Flash) that especially can use capacity day by day to increase, because its capacity enlarges gradually, very be suitable for a plurality of different Basic Input or Output System (BIOS)s 34 are stored in wherein, use is in the middle of computer system 1 time, neither need extra other memory storages that increase to deposit Basic Input or Output System (BIOS) 34 respectively, simultaneously can reach the effect of switching different Basic Input or Output System (BIOS)s 34 according to user's demand according to above-mentioned technological means again, required switching when for example computer product being tested, or when wherein a Basic Input or Output System (BIOS) is damaged, can switch to another Basic Input or Output System (BIOS) start, to keep the normal running of computer system 1.
Fig. 3 is the process flow diagram of the changing method embodiment of a kind of Basic Input or Output System (BIOS) provided by the present invention, comprise the following steps: at first, a plurality of Basic Input or Output System (BIOS)s 34 are provided in a memory module 3, and carry out one of them identifying information of a plurality of Basic Input or Output System (BIOS)s that option 322 records are provided 34 with one, when starting used (S401) for this computer system 1; Then start computer system 1 (S403), again when computer system 1 starts, judge whether to receive by the start-up management block of carrying out at first in the memory module 3 30 and switch signal (S405) in order to one of switching basic input/output system 34, for example the user operates a load module 2 and produces, as pushes the button of mouse or keyboard and high level signal by general input and output pin transmission.
If produced switching signal, an option that then reads memory module 3 writes down one in the block 32 and carries out option 322 (S407), carry out the identifying information of option 322 one of them Basic Input or Output System (BIOS) 34 of record, use why person of the Basic Input or Output System (BIOS) that to carry out for identification 34; Next the record of the execution option 322 that read is switched to the identifying information of another Basic Input or Output System (BIOS) 34, and revised information deposited in the capable option 322 of receipt (S409), with two Basic Input or Output System (BIOS)s 34 is example, among the embodiment as shown in Figure 1, the identifying information of carrying out the Basic Input or Output System (BIOS) 34a that is write down in the option 322 is rewritten as the identifying information of Basic Input or Output System (BIOS) 34b; The person of connecing, read the record of carrying out in the option 322 (S411) once more, the record that carry out option 322 this moment is revised identifying information, and according to the identifying information that is read, carry out the indicated Basic Input or Output System (BIOS) of this identifying information 34 (S413), with present embodiment, promptly read the identifying information that switches the Basic Input or Output System (BIOS) 34b that is write down the back, and carry out Basic Input or Output System (BIOS) 34b.
Otherwise, if find not have the generation of switching signal through the judgement (S405) of start-up management block 30, the expression user there is no the demand of switching basic input/output system 34, then directly read the record of carrying out in the option 322 (S411), according to originally write down, without the identifying information of switching, carry out the indicated Basic Input or Output System (BIOS) of this identifying information 34 (S413), for example the Basic Input or Output System (BIOS) 34a in the present embodiment.
Wherein, Basic Input or Output System (BIOS) 34 identifying informations that execution option 322 is write down are the address of location records block 324 in memory module 3, and location records block 324 record Basic Input or Output System (BIOS)s 34 are arranged in the relative address of memory module 3, for example the relative address of the relative address of location records block 324a record Basic Input or Output System (BIOS) 34a, location records block 324b record Basic Input or Output System (BIOS) 34b.Therefore start-up management block 30 reads the address of carrying out a location records block 324 of record in the option 322 according to instruction, read to the address at these location records block 324 places again its relative address of Basic Input or Output System (BIOS) 34 in memory module 3 of corresponding indication, go to described relative address to read and carry out Basic Input or Output System (BIOS) 34 at last.
And the memory module 3 that is suitable in the present embodiment can be the flash module that comprises serial type flash memory, the kind characteristics that enlarge gradually with the capacity of present serial type flash memory, a plurality of Basic Input or Output System (BIOS)s 34 are left in simultaneously in the middle of the different memory areas piece of same flash memory, can reach under the prerequisite that does not increase memory cost, use when providing several Basic Input or Output System (BIOS)s 34 to start for computer system 1, and can be therein Basic Input or Output System (BIOS) 34 obtain standby Basic Input or Output System (BIOS) 34 can't normal running the time immediately.
In the various embodiments described above, though only describe with the example that switches between two Basic Input or Output System (BIOS)s, but only not limiting, technological means of the present invention can in same flash memory, not deposit two Basic Input or Output System (BIOS)s, also can be according to the needs of computer system operation, the Basic Input or Output System (BIOS) that stores more than three supplies to switch, by different load module control, for example send different switching signals with different key combination, in order to the Basic Input or Output System (BIOS) that will switch of decision person why, allow the user when computer system starting, can be written into required Basic Input or Output System (BIOS) project more neatly.
Comprehensively above-mentioned, the present invention has offered some clarification on a plurality of Basic Input or Output System (BIOS)s of record in same memory module, and can reach and look user's demand and when computer system starting, select the required technological means of effect such as Basic Input or Output System (BIOS), have under the prerequisite that does not increase the cost of additionally purchasing storage device, the user is provided apply in a flexible way start of different Basic Input or Output System (BIOS)s and the effect of avoiding influencing because of single Basic Input or Output System (BIOS) damage computer system operation.
Aforementioned cited project for being suitable for part illustrated components of the present invention, is not the category that is suitable in order to limit the present invention only, if any other spirit according to the invention and material change's technological means of the present invention not, all belongs to the scope of protection that the present invention is contained.

Claims (14)

1. the switched system of a Basic Input or Output System (BIOS) is applicable in the computer system, comprising:
One load module produces one according to a user operation and switches signal; And
One memory module comprises:
A plurality of Basic Input or Output System (BIOS)s;
One option record block comprises that one carries out option, and described execution option writes down one of them a identifying information of described a plurality of Basic Input or Output System (BIOS), uses for described computer system starting; And
One start-up management block, whether produce according to described switching signal, change the described identifying information of another Basic Input or Output System (BIOS) in the described a plurality of Basic Input or Output System (BIOS)s of being recorded as of described execution option, and when described computer system starting, carry out the indicated described Basic Input or Output System (BIOS) of described execution option.
2. the switched system of Basic Input or Output System (BIOS) as claimed in claim 1, wherein, described option record block also comprises:
A plurality of location records blocks write down the relative address of described a plurality of Basic Input or Output System (BIOS) in described memory module respectively, and described identifying information is the address of described a plurality of location records block in described option record block.
3. the switched system of Basic Input or Output System (BIOS) as claimed in claim 1, wherein, described start-up management block judges whether to produce described switching signal when described computer system starting, if described switching signal produces, then changes the record of described execution option.
4. the switched system of Basic Input or Output System (BIOS) as claimed in claim 1, wherein, described load module is a keyboard or a mouse.
5. the switched system of Basic Input or Output System (BIOS) as claimed in claim 1, wherein, described memory module is a flash memory.
6. the switched system of Basic Input or Output System (BIOS) as claimed in claim 5, wherein, described memory module is a string type flash memory.
7. the changing method of a Basic Input or Output System (BIOS) is applicable to a computer system, comprises the following steps:
Provide a plurality of Basic Input or Output System (BIOS)s in a memory module, and carry out option with one and write down one of them a identifying information of described a plurality of Basic Input or Output System (BIOS), use for described computer system starting;
Judge whether to produce in order to switch one of described a plurality of Basic Input or Output System (BIOS)s and switch signal;
If produce described switching signal, when described computer system starting, read described execution option, and change the wherein described identifying information of another Basic Input or Output System (BIOS) of the described a plurality of Basic Input or Output System (BIOS)s of being recorded as of described execution option; And
Read the record of described execution option, carry out the indicated described Basic Input or Output System (BIOS) of described execution option.
8. the changing method of Basic Input or Output System (BIOS) as claimed in claim 7 wherein, after judging whether to produce the step of described switching signal, also comprises the steps:
If do not produce described switching signal, go to and read described execution option, carry out the step of the indicated described Basic Input or Output System (BIOS) of described execution option.
9. the changing method of Basic Input or Output System (BIOS) as claimed in claim 8 wherein, reads described execution option, carries out in the step of the indicated described Basic Input or Output System (BIOS) of described execution option, also comprises the following steps:
According to the described identifying information that described execution option is write down, read a location records block, described location records block writes down the indicated relative address of described Basic Input or Output System (BIOS) in described memory module of described execution option; And
Go to the relative address of described Basic Input or Output System (BIOS) to read and carry out described Basic Input or Output System (BIOS).
10. the changing method of Basic Input or Output System (BIOS) as claimed in claim 7, wherein, described switching signal is to operate a load module according to a user to produce.
11. the changing method of Basic Input or Output System (BIOS) as claimed in claim 10, wherein, described load module is a keyboard or a mouse.
12. the changing method of Basic Input or Output System (BIOS) as claimed in claim 7, wherein, whether described switching signal produces is to judge when described computer system starting.
13. the changing method of Basic Input or Output System (BIOS) as claimed in claim 7, wherein, described memory module is a flash memory.
14. the changing method of Basic Input or Output System (BIOS) as claimed in claim 13, wherein, described memory module is a string type flash memory.
CN200810172437.8A 2008-11-10 2008-11-10 Switching system for basic input and output system and switching method thereof Active CN101739261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810172437.8A CN101739261B (en) 2008-11-10 2008-11-10 Switching system for basic input and output system and switching method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810172437.8A CN101739261B (en) 2008-11-10 2008-11-10 Switching system for basic input and output system and switching method thereof

Publications (2)

Publication Number Publication Date
CN101739261A true CN101739261A (en) 2010-06-16
CN101739261B CN101739261B (en) 2015-03-25

Family

ID=42462787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810172437.8A Active CN101739261B (en) 2008-11-10 2008-11-10 Switching system for basic input and output system and switching method thereof

Country Status (1)

Country Link
CN (1) CN101739261B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530177A (en) * 2013-08-14 2014-01-22 南通腾启电子商务有限公司 Computer device provided with multiple BIOSs
CN104516757A (en) * 2013-09-26 2015-04-15 纬创资通股份有限公司 Firmware updating method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1196985C (en) * 2002-04-17 2005-04-13 神基科技股份有限公司 Computer apparatus
KR20080001268A (en) * 2006-06-29 2008-01-03 엘지전자 주식회사 Portable device and method supporting multi operating system
CN100501679C (en) * 2007-02-27 2009-06-17 华为技术有限公司 Electric device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530177A (en) * 2013-08-14 2014-01-22 南通腾启电子商务有限公司 Computer device provided with multiple BIOSs
CN104516757A (en) * 2013-09-26 2015-04-15 纬创资通股份有限公司 Firmware updating method

Also Published As

Publication number Publication date
CN101739261B (en) 2015-03-25

Similar Documents

Publication Publication Date Title
US8086841B2 (en) BIOS switching system and a method thereof
CN101681312B (en) Memory system
US8745443B2 (en) Memory system
CN102722443B (en) Bad block management method for flash memory
CN101494086B (en) Memory device, controller and switching method for flash memory
US8266334B2 (en) Data writing method for non-volatile memory, and controller and storage system using the same
CN103229136B (en) Disk array brush method and disk array brush device
CN102063943A (en) Nand flash memory parameter automatic detecting system
CN103838521B (en) Data processing method and data processing device
US8205038B2 (en) Flash memory accessing apparatus and accessing method thereof
CN101183345A (en) Apparatus and method for controlling operation processing in nonvolatile memory
CN103064795A (en) Control method of memory device and relevant device
CN101706822A (en) Method and device for improving speed of mounting journal file system
CN100433195C (en) Flash memory medium data writing method
CN101359321A (en) Method and apparatus for implementing intercommunication of processors
CN109976673A (en) A kind of method for writing data and device
US6671751B1 (en) Raid device for establishing a direct passage between a host computer and a hard disk by a data hub selectively passing only data to be accessed
CN116501259A (en) Disk group dual-activity synchronization method and device, computer equipment and storage medium
CN100550206C (en) A kind of method and device of surveying physical parameters of flash memory
CN101739261A (en) Switching system for basic input and output system and switching method thereof
CN101308474B (en) Storage system and storage device
CN102959523A (en) Management system for managing computer system and method of management
CN111367710B (en) eMMC problem reduction method and device
CN101419572B (en) Large-capacity Nandflash memory space sharing method in embedded equipment
CN101587427B (en) Method for realizing control of storage card by digital equipment by expanding SD/MMC protocol

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