CN102110002B - Method for increasing starting speed of electronic device - Google Patents
Method for increasing starting speed of electronic device Download PDFInfo
- Publication number
- CN102110002B CN102110002B CN200910262533.6A CN200910262533A CN102110002B CN 102110002 B CN102110002 B CN 102110002B CN 200910262533 A CN200910262533 A CN 200910262533A CN 102110002 B CN102110002 B CN 102110002B
- Authority
- CN
- China
- Prior art keywords
- command
- data
- controller
- host computer
- computer system
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a method for increasing the starting speed of an electronic device. The electronic device comprises a host system and a storage medium, wherein the storage medium comprises a controller, a data storage unit and a data deposit unit; and the data storage unit is provided with a starting command sorting table. The method comprises the following steps that: (a) when the electronic device starts a power supply, the controller sequentially loads starting data corresponding to the starting command sorting table into the data deposit unit from the data storage unit in advance; (b) a starting command transmitted by the host system is received; and (c) the controller compares the required starting data corresponding to the starting command by using the starting command sorting table so as to transmit the starting data which are stored in the data deposit unit in advance to the host system. By the method, the starting data are not required to be read from the data storage unit, so that the time of waiting the controller to search the starting data from the data storage unit can be reduced and the starting action of the electronic device can be quickly completed.
Description
Technical field
The present invention relates to a kind of method that increases starting up speed, relate in particular to a kind of method that increases starting speed of electronic device.
Background technology
Along with scientific and technological progress, electronic product miscellaneous, has become an indispensable part in modern's life, and in the design of these electronic products, has been commonly used most with computer installation.
Refer to Fig. 1, it is the syndeton schematic diagram between host computer system and medium in known computer device, as shown in the figure, known computer device 1 comprises host computer system 11 and medium 12, wherein, host computer system 11 can be a motherboard and forms, and medium 12 inside can comprise microcontroller (MCU) 121, flash memory (Flash Array) 122 and random access memory (RAM) 123, flash memory 122 is connected with microcontroller 121 and random access memory 123, 11 of host computer systems are connected with microcontroller 121 and random access memory 123, and the microcontroller 121 of medium 12 is control modules of being responsible for controlling whole medium 12.
Referring again to Fig. 1, host computer system 11 is after computer installation 1 start, between host computer system 11 and medium 12, can communicate with each other, host computer system 11 can be sent instruction (command) to microcontroller 121 and wait for the reply of microcontroller 121, and microcontroller 121 is receiving after instruction judgement need to reply which kind of data, and from flash memory 122, read the desired data of host computer system 11, follow-up elder generation delivers to data after random access memory 123, pass to host computer system 11 by data bus (data bus) again, so constantly circulation, until host computer system 11 executes the required instruction of start, and the corresponding data that get instruction just complete the action of start.
Although known used boot program really can complete start institute in steps, but, because the waits for too long that host computer system 11 and medium 12 are linked up, and wait microcontroller 121 is found the waits for too long of data to flash memory 122, make user complete and can operation task system must expend too much time wait to real start from the starting key that triggers computer installation 1, if user only needs of short duration use computer installation 1 Query Information, often form the length of on time inverse ratio user's service time, not only allow user think that the on time is very tediously long, also virtually cause the waste of the energy.
Therefore, how to develop a kind of method of the increase starting speed of electronic device that improves above-mentioned known technology defect, real is current problem in the urgent need to address.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of method that increases starting speed of electronic device, link up and wait for the waits for too long of microcontroller to flash memory searching data to solve known host computer system and medium, must expend the pending boot programs such as too much time, allow user think that the on time is very tediously long, and cause the shortcomings such as the waste of the energy.
For reaching above-mentioned purpose, of the present invention one compared with broad sense embodiment for a kind of method that increases starting speed of electronic device is provided, this electronic installation comprises host computer system and medium, medium comprises controller, data storage cell and data deposit unit, wherein data storage cell has start-up command sequencing table, at least comprise step: (a), in the time that electronic installation starts power supply, controller is sequentially written into corresponding start-up command sequencing table start data in data deposit unit by data storage cell in advance; (b) start-up command that Receiving Host system transmits; (c) controller utilizes the start data of the corresponding requirement of start-up command sequencing table comparison start-up command institute, so that the start data that are pre-stored within data deposit unit are passed to this host computer system.
The method of increase starting speed of electronic device of the present invention is by being sequentially written into the mode in data deposit unit by data storage cell by corresponding start-up command sequencing table start data in advance, can be after receiving the start-up command that host computer system sends, can directly the start data about the corresponding requirement of this start-up command institute in data deposit unit will be pre-stored within, be passed to host computer system, must be not again do not read start data to data storage cell, can reduce and wait for the time of controller to data storage cell searching start data, so just can complete fast the action of electronic installation start.
Brief description of the drawings
Fig. 1: it is the syndeton schematic diagram between host computer system and medium in known computer device.
Fig. 2: it is the syndeton schematic diagram between host computer system in electronic installation of the present invention and medium.
Fig. 3: the process flow diagram of its increase starting speed of electronic device that is the present invention's the first preferred embodiment.
Fig. 4: the process flow diagram of its increase starting speed of electronic device that is the present invention's the second preferred embodiment.
Description of reference numerals in above-mentioned accompanying drawing is as follows:
Computer installation: 1 host computer system: 11,21
Medium: 12,22 microcontrollers: 121
Flash memory: 122 random access memory: 123
Electronic installation: 2 controllers: 221
Data storage cell: 222 start-up command sequencing tables: 2221
Data deposit unit: 223
S31-39: the steps flow chart that increases starting speed of electronic device
Embodiment
Some exemplary embodiments that embody feature & benefits of the present invention will describe in detail in the explanation of back segment.Be understood that the present invention can have various variations in different modes, it does not depart from the scope of the present invention, and explanation wherein and the accompanying drawing use that ought explain in itself, but not in order to limit the present invention.
The present invention is a kind of method that increases starting speed of electronic device, applicable electronic installation can be but not be limited to a computer installation, refer to Fig. 2, it is the syndeton schematic diagram between host computer system in electronic installation of the present invention and medium, as shown in the figure, electronic installation 2 of the present invention comprises host computer system 21 and medium 22, wherein, host computer system 21 can be a motherboard and forms, and medium 22 inside can comprise controller 221, data storage cell 222 and data deposit unit 223, controller 221 can be a microcontroller, and with host computer system 21, data storage cell 222 and data deposit unit 223 connect, the main control module of being responsible for controlling whole medium 22.
Data storage cell 222 can be a flash memory, it is connected with controller 221 and data deposit unit 223, its storage electronics 2 is carried out the needed start data of boot program and a start-up command sequencing table 2221, wherein in start-up command sequencing table 2221 by controller 221 sequentially storage electronics 2 carry out host computer system 21 in boot program to medium 22 under all start-up command, and each start-up command the corresponding start data that require, it is stored in the Data Position in data storage cell 222, for example: logical block addresses (Logical Block Address, LBA), and data length.
Data deposit unit 223 can be a random access memory, it is connected with host computer system 21, controller 221 and data storage cell 222, to deposit start data, and controlled device 221 controls and the corresponding start data of start-up command that sequentially host computer system 21 transmitted are sent to host computer system 21.
Refer to Fig. 3 and coordinate Fig. 2, wherein Fig. 3 is the process flow diagram of the increase starting speed of electronic device of the present invention's the first preferred embodiment, as shown in the figure, first, after electronic installation 2 starts power supply (power on) (step S31), controller 221 can first read start-up command sequencing table 2221 and start-up command sequencing table 2221 is stored in data deposit unit 223 to data storage cell 222, and in advance corresponding start-up command sequencing table 2221 start data are sequentially written into (step S32) in data deposit unit 223 by data storage cell 222, when host computer system 21 transmits a start-up command to medium 22, this start-up command (step S33) that controller 221 transmits Receiving Host system 21, and judge the start-up command whether identical (step S34) of start-up command that current host computer system 21 sends and start-up command sequencing table 2221 corresponding orders, for example, the 3rd start-up command sending when host computer system 21 is C, 221 needs of controller go to inquire about the 3rd start-up command recording in start-up command sequencing table 2221 and whether are similarly C.
When the judged result of step S34 is while being no, express possibility because file layout, cutting apart of medium groove position, operating system, all factors of BIOS upgrading, and the electronic installation 2 making has different start behaviors, therefore controller 221 can be revised the start-up command (step S35) of start-up command sequencing table 2221 corresponding orders immediately, then, the content of this start-up command that controller 221 can transmit according to this host computer system 21, this start-up command the corresponding start data that require, it is stored in the corresponding data position in data storage cell 222, for example: logical block addresses (Logical Block Address, LBA), and data length, follow-uply can table look-up and find logical block addresses corresponding physical blocks address in data storage cell 222 of this start-up command by reading a L2P form (Logic to Physical Table), to obtain the corresponding start data of this start-up command and to be sent in data deposit unit 223, carry out boot program (step S36) to be passed to host computer system 21.
For example, the 3rd start-up command sending when host computer system 21 is C, and controller 221 checking result are the 3rd start-up command while being D, controller 221 can immediately be modified to C (step S35) by the 3rd start-up command of the correspondence of start-up command sequencing table 2221 by D, then to data storage cell 222, find corresponding start data according to the content of start-up command C, and be sent in data deposit unit 223, carry out boot program (step S36) to be passed to host computer system 21.
When the judged result of step S34 is when being, controller 221 just can directly will be pre-stored within data deposit unit 223, about this start-up command the corresponding start data that require be passed to host computer system 221 (step S37), must be not again do not read start data to data storage cell 222, can reduce and wait for the time of controller 221 to data storage cell 222 searching start data, so just can complete fast start.
After step S37 or step S36, need judge whether to have completed the boot program (step S38) of electronic installation 2, when result is while being no, repeated execution of steps S33 and follow-up step.Otherwise when result is when being, start finishes.As for, the mode that judges whether the boot program that completes electronic installation 2 can judge whether start-up command all in start-up command sequencing table 2221 has all compared (step S34) by controller 221, once compare, represent that boot program completes, but judgment mode be not as limit.
Refer to Fig. 4, the process flow diagram of its increase starting speed of electronic device that is the present invention's the second preferred embodiment, flow process in the present embodiment comprises step S31-S39 altogether, and wherein step S31-S33, S34, S36-38 are identical with the first preferred embodiment, do not reintroduce explanation in this.
The discrepancy of the present embodiment and the first preferred embodiment is, when the judged result of step S34 is while being no, controller 221 can't be revised the start-up command of start-up command sequencing table 2221 corresponding orders immediately, but the start-up command of corresponding start-up command sequencing table 2221 order and institute's wish correction is first recorded and stores (step S35'), until step S38 judgement has completed after the boot program of electronic installation 2, controller 221 can be according to all contents of having stored about the start-up command of the corresponding order of start-up command sequencing table 2221 and institute's wish correction, the data that all execution step S35' store, once upgrade the content (step S39) of start-up command sequencing table 2221 with these data.
In sum, the method of increase starting speed of electronic device of the present invention is by being sequentially written into the mode in data deposit unit by data storage cell by corresponding start-up command sequencing table start data in advance, can be after receiving the start-up command that host computer system sends, can directly the start data about the corresponding requirement of this start-up command institute in data deposit unit will be pre-stored within, be passed to host computer system, must be not again do not read start data to data storage cell, can reduce and wait for the time of controller to data storage cell searching start data, so just can complete fast the action of electronic installation start.
The present invention must be appointed and be executed that craftsman thinks and be to modify as all by those skilled in the art, the scope of de-as attached claim institute wish protection.
Claims (6)
1. one kind increases the method for starting speed of electronic device, this electronic installation comprises a host computer system and a medium, this medium comprises a controller, a data storage cell and a data deposit unit, wherein this data storage cell has a start-up command sequencing table, and the method at least comprises step:
(a) in the time that this electronic installation starts power supply, this controller of this medium is sequentially written into corresponding this start-up command sequencing table start data in this data deposit unit by this data storage cell in advance;
(b) this controller receives the start-up command that this host computer system transmits;
(c1) this controller utilize this start-up command sequencing table compare this start-up command the corresponding start data that require, whether identical with the start-up command of the corresponding order of this start-up command sequencing table to judge this start-up command that this host computer system sequentially transmits;
(c2) when judged result is when being, by this data deposit unit about this start-up command the corresponding start data that require be passed to this host computer system; And
(c3) when judged result is while being no, the instant start-up command of revising the corresponding order of this start-up command sequencing table, and this controller is found the corresponding start data of this start-up command according to the content of this start-up command to this data storage cell, and these start data are sent in this data deposit unit, to be passed to this host computer system.
2. one kind increases the method for starting speed of electronic device, this electronic installation comprises a host computer system and a medium, this medium comprises a controller, a data storage cell and a data deposit unit, wherein this data storage cell has a start-up command sequencing table, and the method at least comprises step:
(a) in the time that this electronic installation starts power supply, this controller of this medium is sequentially written into corresponding this start-up command sequencing table start data in this data deposit unit by this data storage cell in advance;
(b) this controller receives the start-up command that this host computer system transmits;
(c1) this controller utilize this start-up command sequencing table compare this start-up command the corresponding start data that require, whether identical with the start-up command of the corresponding order of this start-up command sequencing table to judge this start-up command that this host computer system sequentially transmits;
(c2) when judged result is when being, by this data deposit unit about this start-up command the corresponding start data that require be passed to this host computer system; And
(c3) when judged result is while being no, record the start-up command of the corresponding order of this start-up command sequencing table and institute's wish correction, and this controller is found the corresponding start data of this start-up command according to the content of this start-up command to this data storage cell, and these start data are sent in this data deposit unit, to be passed to this host computer system.
3. the method for increase starting speed of electronic device as claimed in claim 2, wherein this step (c3) also comprises step: the boot program that judges whether to complete this electronic installation, when result is when being, the correction data that record according to step (c3) are upgraded this start-up command sequencing table.
4. the method for increase starting speed of electronic device as claimed in claim 1 or 2, wherein this controller is a microcontroller.
5. the method for increase starting speed of electronic device as claimed in claim 1 or 2, wherein this data storage cell is a flash memory.
6. the method for increase starting speed of electronic device as claimed in claim 1 or 2, wherein this data deposit unit is a random access memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910262533.6A CN102110002B (en) | 2009-12-29 | 2009-12-29 | Method for increasing starting speed of electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910262533.6A CN102110002B (en) | 2009-12-29 | 2009-12-29 | Method for increasing starting speed of electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102110002A CN102110002A (en) | 2011-06-29 |
CN102110002B true CN102110002B (en) | 2014-11-12 |
Family
ID=44174176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910262533.6A Active CN102110002B (en) | 2009-12-29 | 2009-12-29 | Method for increasing starting speed of electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102110002B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103294492B (en) * | 2012-02-27 | 2020-01-31 | 联想(北京)有限公司 | method, system and equipment for increasing starting speed of operating system |
WO2019119354A1 (en) * | 2017-12-21 | 2019-06-27 | 李庆远 | Power source capable of sequentially starting assemblies |
CN117348821B (en) * | 2023-12-04 | 2024-03-22 | 合肥康芯威存储技术有限公司 | Memory, electronic equipment and startup data reading method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200612256A (en) * | 2004-10-08 | 2006-04-16 | Giga Byte Tech Co Ltd | Computer fast booting system and method |
TW200926746A (en) * | 2007-12-07 | 2009-06-16 | Chi Mei Comm Systems Inc | Quickly booting mobile phone and method |
US7590839B2 (en) * | 2005-03-22 | 2009-09-15 | Qnx Software Systems Gmbh & Co. Kg | System employing fast booting of application programs |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100334551C (en) * | 2005-07-01 | 2007-08-29 | 威盛电子股份有限公司 | Booting method for quick-speed activation of computer system |
-
2009
- 2009-12-29 CN CN200910262533.6A patent/CN102110002B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200612256A (en) * | 2004-10-08 | 2006-04-16 | Giga Byte Tech Co Ltd | Computer fast booting system and method |
US7590839B2 (en) * | 2005-03-22 | 2009-09-15 | Qnx Software Systems Gmbh & Co. Kg | System employing fast booting of application programs |
TW200926746A (en) * | 2007-12-07 | 2009-06-16 | Chi Mei Comm Systems Inc | Quickly booting mobile phone and method |
Also Published As
Publication number | Publication date |
---|---|
CN102110002A (en) | 2011-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1869915B (en) | Memory card providing hardware acceleration for read operations | |
CN101295255B (en) | Firmware updating system and method | |
CN101236526A (en) | Computer system having cache system directly connected to nonvolatile storage device | |
CN102375788A (en) | Dynamic allocation of power budget for a system having non-volatile memory | |
CN103151073A (en) | Semiconductor storage device and storage controlling method | |
CN100520734C (en) | Control apparatus and method of flash memory | |
CN102567049A (en) | Upgrade method of embedded operating system | |
US8914587B2 (en) | Multi-threaded memory operation using block write interruption after a number or threshold of pages have been written in order to service another request | |
CN103336701B (en) | Intelligent guiding upgrade method | |
US7793004B2 (en) | Computer peripheral device implemented as optic storage device or/and removable disk by software emulation and implementing method thereof | |
CN102110002B (en) | Method for increasing starting speed of electronic device | |
CN103677885A (en) | ARM FLASH simple program programming method | |
CN102609290B (en) | The method for upgrading software of electronic product | |
CN106649137B (en) | Nand Flash bad block management method and device and memory | |
CN102193871B (en) | Nonvolatile memory access method, system and nonvolatile memory controller | |
CN101118494A (en) | System and method for starting up and operating system from external connected electronic card with built-in equipment | |
CN106970778B (en) | FPGA-based embedded device online configuration method and system | |
CN116298801A (en) | Chip testing device, method, electronic equipment and storage medium | |
CN103389941B (en) | Storer formatting method, Memory Controller and memory storage apparatus | |
CN101667133A (en) | Method for updating firmware and chip updating firmware by using same | |
CN113741940A (en) | Method for upgrading whole electric vehicle controller bootloader on line | |
CN105373403A (en) | Upgrading method and system of controller | |
TWI421769B (en) | Method for increasing booting speed of electronic device | |
CN101923570A (en) | Method for establishing large-page NAND Flash storage system under Windows CE condition | |
CN102650971B (en) | Memory managing method, memory controller and memory storing device |
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 |