CN102890634B - The method of the operating system of terminal device and startup terminal device - Google Patents

The method of the operating system of terminal device and startup terminal device Download PDF

Info

Publication number
CN102890634B
CN102890634B CN201110202546.1A CN201110202546A CN102890634B CN 102890634 B CN102890634 B CN 102890634B CN 201110202546 A CN201110202546 A CN 201110202546A CN 102890634 B CN102890634 B CN 102890634B
Authority
CN
China
Prior art keywords
storage unit
data
access controller
written
terminal device
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
Application number
CN201110202546.1A
Other languages
Chinese (zh)
Other versions
CN102890634A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110202546.1A priority Critical patent/CN102890634B/en
Publication of CN102890634A publication Critical patent/CN102890634A/en
Application granted granted Critical
Publication of CN102890634B publication Critical patent/CN102890634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

Terminal device and start the method for operating system of this terminal device, described terminal device comprises the first storage unit, and configuration stores the data comprising operating system; Second storage unit, the access speed of wherein said second storage unit is higher than the access speed of described first storage unit; Access controller, is connected with described first storage unit and described second storage unit, and a part for the data in described first storage unit is written to described second storage unit by configuration; And processing unit, configuration carries out initialization to the element comprising described first storage unit, the second storage unit and access controller, and configuration starts described operating system, wherein, after described processing unit carries out initialization in response to startup command to described first storage unit, described second storage unit and described access controller, and before described processing unit starts described operating system, the first data are written to described second storage unit from described first storage unit by described access controller.

Description

The method of the operating system of terminal device and startup terminal device
Technical field
The present invention relates to the method for the operating system of a kind of terminal device and startup terminal device.
Background technology
Present stage, the operating system of the such as terminal device of desktop computer, notebook or tablet device and so on (as, win7, vista etc.) volume usually very large, therefore when user starts terminal device, terminal device needs the loading completing whole operating system for a long time usually, and operating system is run.When namely only having all element initialization of terminal device by the time to complete, the process of load operation system can be performed.Just the data required for this operating system of the startup that hard disk stores are written in internal memory in the process of load operation system.In other words, not yet appear in prior art before all element initialization of terminal device complete or before load operation system, the partial data in hard disk is written to the technology in internal memory.Thus the step that the required data that start the operating system cannot be written to internal memory shifts to an earlier date, and causes the overlong time of whole os starting, poor user experience.Namely user needs to wait for that the longer time can normal running/use operating system.
In addition, the process carried out the data on hard disk in prior art is normally after operating system loads, when operating system can be run based on preset program realize to the data on hard disk process (such as, killing data in hard disk wooden horse and virus etc.).So, when the data starting the operating system required of the storage on hard disk infect virus or wooden horse, what start is a unsafe operating system (data starting the operating system required infect the situation of wooden horse), be exactly that operating system cannot start, namely, in load operation systematic procedure, occur that mistake causes operating system to be collapsed (situation that the data starting the operating system required infect virus), thus cause the unsafe factor of os starting process to increase.Not yet appear at before all element initialization of terminal device complete or before load operation system in prior art, partial data (data e.g., started the operating system) in hard disk is written to the technology checked in internal memory and to its security.In addition, when the significant data of the user that hard disk stores, first virus scan or killing are carried out to this file when user can not operate file a certain on hard disk usually or before operation, thus produce the risk of this File Infection virus.In this case, if the partial data (significant data of user) in hard disk can be written to before all element initialization of terminal device complete or before load operation system in internal memory and also carry out killing in advance, user's trouble and worry will be reduced, thus these important data of the use enabling user relieved.
In a word, in the prior art, not yet appear at before all element initialization of terminal device complete or before load operation system, at least part of data in hard disk are written to the technology of internal memory.
Summary of the invention
In order to solve above-mentioned technical matters of the prior art, according to an aspect of the present invention, providing a kind of terminal device, comprising: the first storage unit, configuration stores the data comprising operating system; Second storage unit, the access speed of wherein said second storage unit is higher than the access speed of described first storage unit; Access controller, is connected with described first storage unit and described second storage unit, and a part for the data in described first storage unit is written to described second storage unit by configuration; And processing unit, configuration carries out initialization to the element comprising described first storage unit, the second storage unit and access controller, and start the operating system after the initialization of described element completes, wherein after described processing unit carries out initialization in response to startup command to described first storage unit, described second storage unit and described access controller, and before described processing unit starts the operating system, the first data are written to described second storage unit from described first storage unit by described access controller.
In addition, according to a further aspect in the invention, provide a kind of method starting the operating system of terminal device, wherein said terminal device comprises: the first storage unit, second storage unit, the access speed of wherein said second storage unit is higher than the access speed of described first storage unit, described method comprises: in response to described startup command, the element of terminal device described in initialization, and after the initialization of described element completes, start described operating system, wherein, in the process of the element of terminal device described in described initialization, after the second storage unit initialization in the first storage unit in described element and described element completes, the first data in described first storage unit are written in described second storage unit.
By above-mentioned configuration, when user starts terminal device, terminal device in response to the startup command inputted from user, the element (hardware) of this terminal device of initialization, and starting the operating system after the initialization of all elements completes.Here, in the process of the element of initialization terminal equipment, when the first storage unit (as, hard disk) and the second storage unit (as, internal memory) after initialization completes, and before starting the operating system, by by the first storage unit the first data (as, start data) be pre-written in described second storage unit, can the toggle speed of operating system of increasing terminal equipment.In addition, by the first data (e.g., the significant data of secure data or user) in the first storage unit being pre-written in described second storage unit, the security of terminal device can be strengthened.Certainly, by by the first storage unit the first data (as, start data and secure data) to be pre-written in described second storage unit and to utilize secure data to check the security starting data in advance, not only can increasing terminal equipment operating system toggle speed and the security of terminal device can be strengthened.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of diagram according to the structure of the terminal device of the embodiment of the present invention; And
Fig. 2 is the process flow diagram of diagram according to the os starting method of the embodiment of the present invention.
Embodiment
Describe in detail with reference to the accompanying drawings according to each embodiment of the present invention.Here it is to be noted that it in the accompanying drawings, identical Reference numeral is given there is identical or similar structures and function ingredient substantially, and the repeated description of will omit about them.
Below, with reference to Fig. 1, the terminal device according to the embodiment of the present invention is described.Fig. 1 is the schematic diagram of diagram according to the structure of the terminal device of the embodiment of the present invention.
As shown in Figure 1, the first storage unit 11, second storage unit 12, access controller 13 and processing unit 14 is comprised according to the terminal device of the embodiment of the present invention.
First storage unit 11 can store the various data comprising operating system, user data and so on, and can be realized by any type hard disk or flash memory.
Second storage unit 12 can be realized by the internal storage location of any type, and can partial data in speed buffering first storage unit 11.Here, the access speed of the second storage unit 12 is far longer than the access speed of the first storage unit.
Access controller 13 can be realized by dma controller.Here, because the 26S Proteasome Structure and Function of the access controller 13 of such as dma controller and so on is known to those skilled in the art, only it is simply described here.Access controller 13 can be connected with the first storage unit 11 and the second storage unit 12, and the data in the first storage unit 11 can be written in the second storage unit 12 independent of processing unit 14.Here it is to be noted that it access controller 13 carries out the read/write of data independent of processing unit 14.Namely, when processing unit 14 carries out predetermined process, data can be written to the second storage unit 12 from the first storage unit 11 by access controller 13 concurrently.
Processing unit 14 can by realizations such as the processing unit of any type, microprocessing units.Usually, in the start-up course of the such as terminal device of desktop computer, notebook or panel computer and so on, in response to startup command (as, user presses key or terminal device is restarted in selection), first processing unit 14 carries out initialization to self, then initialization is carried out based on preset program (e.g., BIOS) each element (comprising the first storage unit 11, second storage unit 12, access controller 13) to terminal device inside.After each element of processing unit 14 pairs of terminal device inside carries out initialization, processing unit carries out the startup of operating system based on os starting program (e.g., OSloader).In the prior art, after the initialization of the initialized element of all needs of terminal device inside all completes, processing unit 14 just starts load operation startup procedure, and based on this os starting program, the various startup files (e.g., SMSS) starting the operating system required are written to the second storage unit 12 and start to start the operating system.But, according to the present invention, can be configured the preset program of such as BIOS and so on, make after processing unit 14 carries out initialization in response to startup command to the first storage unit 11, second storage unit 12 and access controller 13, and before processing unit 14 starts the operating system based on os starting program, by access controller 13, the data of such as various startup file or secure data and so on are written to the second storage unit 12 from the first storage unit 11.
The operation performed according to the terminal device of the embodiment of the present invention will be described in detail below.
Such as, after user presses key or terminal device is restarted in selection, processing unit 14 receives predetermined start-up command, first completes the initialization of self, and starts to carry out initialization to each element in terminal device.Usually; based on the setting of BIOS; processing unit 14 usually can first to relatively at a high speed element (as; dma controller or internal memory) carry out initialization; then initialization is carried out to element (e.g., hard disk, flash memory, USB interface, mouse, keyboard interface, display etc.) relatively at a slow speed.In this case, owing to first carrying out initialization to element relatively at a high speed, then initialization is carried out to element relatively at a slow speed, therefore, obviously after processing unit 14 carries out initialization to the first storage unit 11 (e.g., hard disk, flash memory), processing unit 14 has completed the initial work of the second storage unit 12 (e.g., internal memory) and access controller 13.
According to embodiments of the invention, after processing unit 14 carries out initialization to the first storage unit 11, second storage unit 12 and access controller 13, and processing unit 14 to not yet initialized residue element (as, USB interface, mouse, keyboard interface, display etc.) carry out initialization during, tentation data (e.g., the startup file of operating system) can be written to the second storage unit 12 from the first storage unit 11 by access controller 13.
According to embodiments of the invention, tentation data be each startup file needed for os starting (as, SMSS etc.) when, before above-mentioned startup file is written to the second storage unit 12 from the first storage unit 11 by access controller 13, the address information of startup file in the first storage unit 11 and scope (e.g., the start address of startup file and length) can be sent to access controller 13 by processing unit 14.When access controller 13 obtains with the address information of startup file in the first storage unit 11 and scope, access controller 13 reads startup file based on obtained address information and scope from the first storage unit 11, and is written in the second storage unit 12 by read startup file.Particularly, can store address and the scope of each startup file, and configure bios program in bios program, processing unit 14 can be judged, and whether the initialization of the first storage unit 11, second storage unit 12 and access controller 13 completes.If the initialization of the first storage unit 11, second storage unit 12 and access controller 13 completes, then before each startup file is written to the second storage unit 12 from the first storage unit 11 by access controller 13, the address of each stored startup file and scope can be sent to access controller 13 by processing unit 14, access controller 13 reads startup file based on obtained address information and scope from the first storage unit 11 thus, and is written in the second storage unit 12 by read startup file.As long as here it is to be noted that it processing unit 14 is known the address of each stored startup file and scope, the memory address of each startup file and scope can be discrete or continuous print.
In addition, when startup file is written to the second storage unit 12 from the first storage unit 11 by access controller 13, the mapping relations between the address of startup file in the second storage unit 12 and the address in the first storage unit 11 can also be stored in address mapping table by access controller 13.Such as, this address mapping table be expression first storage unit (as, hard disk) mapping table of corresponding relation between the address of data in 11 and the address of this data in the second storage unit (e.g., internal memory) 12, and be generally held in the first storage unit 11.
Then, after the initialized element of all needs in processing unit 14 pairs of terminal devices has carried out initialization, before starting the operating system, processing unit 14 can be monitored access controller 13 and whether complete operation startup file being written to the second storage unit 12 from the first storage unit 11.If access controller 13 completes aforesaid operations, then processing unit 14 can operation startup procedure (OSloader) to start the operating system.Otherwise processing unit 14 can be waited for until access controller 13 completes aforesaid operations.In this case, BIOS can be set to adjust the initialization order of each element of terminal device.Such as, can after the initialization of the second storage unit 12 and access controller 13 initialization immediately first storage unit 11, and then initialization other relative high speed or element at a slow speed, make access controller 13 can have the more time and startup file be written to the second storage unit 12 from the first storage unit 11.
In addition, after the initialized element of all needs in processing unit 14 pairs of terminal devices has carried out initialization, whether processing unit 14 can not be monitored access controller 13 and complete startup file is written to the second storage unit 12 and direct operation startup procedure from the first storage unit 11.Such as, the memory location of each startup file in the first storage unit 11 can be configured.Such as, each startup file used when processing unit 14 can be started the operating system based on os starting program is stored sequentially in the first storage unit 11, and makes the memory location of the startup file used at first in the foremost of the memory location of each startup file.Here, when the first storage unit 11 is hard disk, each startup file is stored sequentially in the first storage unit 11 time (reducing number of times and the address-time of the magnetic head redirect of hard disk) that can reduce and read above-mentioned startup file from the first storage unit 11, accelerates the speed above-mentioned startup file being written to the second storage unit 12 from the first storage unit 11 thus.In addition, processing unit 14 by the address information of each startup file in the first storage unit 11 and scope (as, the start address of startup file and length) send to access controller 13, and when access controller 13 reads startup file based on obtained address information and scope from the first storage unit 11, the startup file used at first during os starting can be written to the second storage unit 12 from the first storage unit 11 by access controller 13 in advance.In this case, when when operation startup procedure is to start the operating system after completing the initialization needing to carry out initialized all elements for processing unit 14, the startup file used at first can be read from the second storage unit 12.Meanwhile, access controller 13 continues remaining startup file to be written to the second storage unit 12 from the first storage unit 11.
To processing unit 14 operation startup procedure will be described in come the operation of start up system below.
Such as, complete startup file from after the first storage unit 11 is written to the second storage unit 12 at wait access controller 13, or after completing the initialization needing to carry out initialized all elements, processing unit 14 operation startup procedure (e.g., OSloader) starts the operating system.In this case, os starting program needs to start the operating system to load each startup file, and is provided for the reading command reading these startup files.Here, this reading command comprises the address of the startup file that will read.Now, processing unit 14 can obtain reading command for reading startup file from the first storage unit 11 from os starting program.Now, processing unit 14 tackles this reading command, and revises described reading command to point to the startup file be stored in the second storage unit 12 based on address mapping table.Particularly, processing unit 14 can obtain the address of startup file in the second storage unit 12 with reference to the content in address mapping table, and based on this address amendment reading order.Then, processing unit 14 can obtain this startup file based on revised reading command from the second storage unit 12.
By above-mentioned configuration, after processing unit 14 carries out initialization to the first storage unit 11, second storage unit 12 and access controller 13, and during other element in processing unit 14 pairs of terminal devices carries out initialization, utilize access controller 13 in advance the startup file needed for os starting to be written to the second storage unit 12 from the first storage unit 11.Then, when processing unit 14 operation startup procedure carrys out start up system, amendment is used for reading the reading command of startup file to point to the corresponding startup file be stored in the second storage unit 12 from the first storage unit 11.Here, the access speed due to the second storage unit 12 is far longer than the access speed of the first storage unit 11, and the time of therefore reading startup file from the second storage unit 12 is less than the time of reading startup file from the first storage unit 11.In this case, greatly can save the time needed for os starting of terminal device, thus the use sense enhancing user is subject to.
In addition, the invention is not restricted to the situation that tentation data is startup file.Such as, tentation data can also be the secure data of virus base file and so on and the significant data of user.Similar to the previous description, after processing unit 14 carries out initialization to the first storage unit 11, second storage unit 12 and access controller 13, and processing unit 14 to not yet initialized residue element (as, USB interface, mouse, keyboard interface, display etc.) carry out initialization during, the significant data of secure data and user can be written to the second storage unit 12 from the first storage unit 11 by access controller 13.In this case, after processing unit 14 completes in terminal device and needs to carry out initialized all elements, processing unit 14 can before operation startup procedure, security of operation program also reads the secure data be stored in the second storage unit 12, and utilizes this secure data to carry out the operation such as virus or wooden horse killing to the significant data of user.Like this, before the os starting of terminal device, can guarantee that the significant data stored in terminal device is not subject to the infringement of specific virus (e.g., CIH) or wooden horse, thereby increase the stability of system.Meanwhile, owing to reading the significant data of secure data and user from the second storage unit 12, the time of security of operation program can therefore be saved.
In addition, the present invention is not limited thereto, processing unit 14 to not yet initialized residue element (as, USB interface, mouse, keyboard interface, display etc.) carry out initialization during, can also secure data and startup file be written to the second storage unit 12 from the first storage unit 11, and before processing unit 14 operation startup procedure, utilize the secure data in the second storage unit 12 to check security of the startup file in the second storage unit 12 etc.
Below, with reference to Fig. 2, the method started the operating system according to the embodiment of the present invention is described.Fig. 2 is the process flow diagram of diagram according to the method started the operating system of the embodiment of the present invention.
As shown in Figure 2, in step S201, in response to startup command, start the element of initialization terminal equipment.
Particularly, such as, after user presses key or terminal device is restarted in selection, processing unit 14 receives predetermined start-up command, and starts to carry out initialization to each element in terminal device.
In step S202, after the initialization of the first storage unit and the second storage unit completes, and before the described operating system of startup, the tentation data in the first storage unit is written in the second storage unit.
Such as, according to one embodiment of present invention, after processing unit 14 carries out initialization to the first storage unit 11, second storage unit 12, and processing unit 14 to not yet initialized residue element (as, USB interface, mouse, keyboard interface, display etc.) carry out initialization during, tentation data (e.g., the startup file of operating system or secure data) can be written to the second storage unit 12 from the first storage unit 11 by access controller 13.
Particularly, tentation data be each startup file needed for os starting (as, SMSS etc.) when, before above-mentioned startup file is written to the second storage unit 12 from the first storage unit 11 by access controller 13, the address information of startup file in the first storage unit 11 and scope (e.g., the start address of startup file and length) are sent to access controller 13 by processing unit 14.Then, access controller 13 reads startup file based on obtained address information and scope from the first storage unit 11, and is written in the second storage unit 12 by read startup file.
In addition, when startup file is written to the second storage unit 12 from the first storage unit 11 by access controller 13, the mapping relations between the address of startup file in the second storage unit 12 and the address in the first storage unit 11 can also be stored in address mapping table by access controller 13.Such as, this address mapping table be expression first storage unit (as, hard disk) mapping table of corresponding relation between the address of data in 11 and the address of this data in the second storage unit (e.g., internal memory) 12, and be generally held in the first storage unit 11.
Then, after the initialized element of all needs in processing unit 14 pairs of terminal devices has carried out initialization, before starting the operating system, processing unit 14 can also be monitored access controller 13 and whether complete operation startup file being written to the second storage unit 12 from the first storage unit 11.If access controller 13 completes aforesaid operations, then processing unit 14 can operation startup procedure (OSloader) to start the operating system.Otherwise processing unit 14 can be waited for until access controller 13 completes aforesaid operations.Here, according to one embodiment of present invention, BIOS can be set to adjust the initialization order of each element of terminal device.Such as, can after the initialization of the second storage unit 12 and access controller 13 initialization immediately first storage unit 11, and then initialization other relative high speed or element at a slow speed, make access controller 13 can have the more time and startup file be written to the second storage unit 12 from the first storage unit 11.
In addition, according to another embodiment of the invention, after the initialized element of all needs in processing unit 14 pairs of terminal devices has carried out initialization, whether processing unit 14 can not be monitored access controller 13 and complete startup file is written to the second storage unit 12 and direct operation startup procedure from the first storage unit 11.Such as, the memory location of each startup file in the first storage unit 11 can be configured.Such as, each startup file sequential storage used when processing unit 14 can be started the operating system based on os starting program, and make the memory location of the startup file used at first in the foremost of the memory location of each startup file.Here, when the first storage unit 11 is hard disk, each startup file is stored sequentially in the first storage unit 11 time (reducing number of times and the address-time of the magnetic head redirect of hard disk) that can reduce and read above-mentioned startup file from the first storage unit 11, accelerates the speed above-mentioned startup file being written to the second storage unit 12 from the first storage unit 11 thus.In addition, processing unit 14 by the address information of each startup file in the first storage unit 11 and scope (as, the start address of startup file and length) when sending to access controller 13, the startup file used at first during os starting can be written to the second storage unit 12 from the first storage unit 11 by access controller 13 in advance.In this case, when when operation startup procedure is to start the operating system after completing the initialization needing to carry out initialized all elements for processing unit 14, the startup file used at first can be read from the second storage unit 12.Meanwhile, access controller 13 continues remaining startup file to be written to the second storage unit 12 from the first storage unit 11.
Then, in step S203, start the operating system.
Particularly, started the operating system based on os starting program by processing unit 14.
Such as, complete startup file from after the first storage unit 11 is written to the second storage unit 12 at wait access controller 13, or after completing the initialization needing to carry out initialized all elements, processing unit 14 operation startup procedure (e.g., OSloader) starts the operating system.In this case, os starting program needs to start the operating system to load each startup file, and is provided for the reading command reading these startup files.Here, this reading command comprises the address of the startup file that will read.Now, processing unit 14 obtains the reading command for reading startup file from the first storage unit 11 from os starting program, and namely, processing unit 14 tackles this reading command.Then processing unit 14 revises described reading command to point to the startup file be stored in the second storage unit 12 based on address mapping table.Particularly, processing unit 14 can obtain the address of startup file in the second storage unit 12 with reference to the content in address mapping table, and based on this address amendment reading order.Then, processing unit 14 can obtain this startup file based on revised reading command from the second storage unit 12.Then, processing unit 14 uses the startup file obtained to start the operating system based on os starting program.
By above-mentioned configuration, after processing unit 14 carries out initialization to the first storage unit 11, second storage unit 12, and during other element in processing unit 14 pairs of terminal devices carries out initialization, utilize access controller 13 in advance the startup file needed for os starting to be written to the second storage unit 12 from the first storage unit 11.Then, when processing unit 14 operation startup procedure carrys out start up system, amendment is used for reading the reading command of startup file to point to the corresponding startup file be stored in the second storage unit 12 from the first storage unit 11.Here, the access speed due to the second storage unit 12 is far longer than the access speed of the first storage unit 11, and the time of therefore reading startup file from the second storage unit 12 is less than the time of reading startup file from the first storage unit 11.In this case, greatly can save the time needed for os starting of terminal device, thus the use sense enhancing user is subject to.
The situation being startup file based on tentation data above describes the starting method of operating system.But, the invention is not restricted to the situation that tentation data is startup file.Such as, tentation data can also be the secure data of virus base file and so on and the significant data of user.Similar with the description before for Fig. 2, after processing unit 14 carries out initialization to the first storage unit 11, second storage unit 12, and processing unit 14 to not yet initialized residue element (as, USB interface, mouse, keyboard interface, display etc.) carry out initialization during, the significant data of secure data and user can be written to the second storage unit 12 from the first storage unit 11 by access controller 13.In this case, after processing unit 14 completes in terminal device and needs to carry out initialized all elements, processing unit 14 can before operation startup procedure, security of operation program also reads the significant data of secure data and the user be stored in the second storage unit 12, and utilizes secure data to carry out the operation such as virus or wooden horse killing to the significant data of user.Like this, before the os starting of terminal device, can guarantee that terminal device is not subject to the infringement of specific virus (e.g., CIH) or wooden horse, thereby increase the stability of system.Meanwhile, owing to reading the significant data of secure data and user from the second storage unit 12, the time of security of operation program can therefore be saved.
In addition, the present invention is not limited thereto, processing unit 14 to not yet initialized residue element (as, USB interface, mouse, keyboard interface, display etc.) carry out initialization during, can also secure data and startup file be written to the second storage unit 12 from the first storage unit 11, and before processing unit 14 operation startup procedure, utilize the secure data in the second storage unit 12 to check security of the startup file in the second storage unit 12 etc.
Each embodiment of the present invention is described in detail above.But, it should be appreciated by those skilled in the art that without departing from the principles and spirit of the present invention, various amendment can be carried out to these embodiments, combination or sub-portfolio, and such amendment should fall within the scope of the present invention.

Claims (12)

1. a terminal device, comprising:
First storage unit, configuration stores the data comprising operating system;
Second storage unit, the access speed of wherein said second storage unit is higher than the access speed of described first storage unit;
Access controller, is connected with described first storage unit and described second storage unit, and a part for the data in described first storage unit is written to described second storage unit by configuration, and wherein said access controller is direct access controller; And
Processing unit, configuration carries out initialization to the element comprising described first storage unit, the second storage unit and access controller, and configuration starts described operating system,
Wherein, after described processing unit carries out initialization in response to startup command to described first storage unit, described second storage unit and described access controller, and before described processing unit starts described operating system, first data are written to described second storage unit from described first storage unit by described access controller, and
After the initialization of described first storage unit, described second storage unit and described access controller completes, during described processing unit carries out initialization to not yet initialized residue element, described first data are written to described second storage unit from described first storage unit by described access controller simultaneously.
2. terminal device as claimed in claim 1, wherein
After the initialization of described second storage unit and described access controller, described processing unit is the first storage unit described in initialization immediately.
3. terminal device as claimed in claim 1, wherein
The startup data of described first data needed for described os starting.
4. terminal device as claimed in claim 3, wherein
Before described first data are written to described second storage unit by described access controller, described access controller obtains the address information relevant with described first data and scope from described processing unit; And
Described access controller reads described first data based on described address information and scope from described first storage unit, and described first data is written in described second storage unit.
5. terminal device as claimed in claim 4, wherein
When described first data are written to described second storage unit by access controller, the mapping relations between the address of described first data in described second storage unit and the address in described first storage unit are stored in address mapping table by described access controller.
6. terminal device as claimed in claim 5, wherein:
When described processing unit starts the operating system, described processing unit obtains the reading command being used for reading described first data from described first storage unit, revise described reading command to point to the first data be stored in described second storage unit based on described address mapping table, and obtain described first data based on described reading command from the second storage unit.
7. start a method for the operating system of terminal device, wherein said terminal device comprises: the first storage unit; Second storage unit, the access speed of wherein said second storage unit is higher than the access speed of described first storage unit; Access controller, is connected with described first storage unit and described second storage unit, and a part for the data in described first storage unit is written to described second storage unit by configuration, and wherein said access controller is direct access controller; And processing unit, described method comprises:
In response to startup command, described processing unit starts the element of terminal device described in initialization;
After the second storage unit initialization in the first storage unit in described element and described element completes, and before the described operating system of startup, by described access controller, the first data in described first storage unit are written in described second storage unit; And
Start described operating system,
After the second storage unit initialization in the first storage unit in described element and described element completes, carrying out initialized to the residue element be not yet initialised while, by described access controller, described first data are written to described second storage unit from described first storage unit.
8. method as claimed in claim 7, wherein
After the initialization of the second storage unit completes, immediately initialization is carried out to described first storage unit.
9. method as claimed in claim 7, wherein
The startup data of described first data needed for described os starting.
10. method as claimed in claim 7, wherein comprises further by the step that described first data are written to described second storage unit from described first storage unit:
Before described first data are written to described second storage unit, obtain the address information relevant with described first data and scope; And
Read described first data based on described address information and scope from described first storage unit, and described first data are written in described second storage unit.
11. methods as claimed in claim 10, wherein
When described first data are written to described second storage unit, the mapping relations between the address of described first data in described second storage unit and the address in described first storage unit are stored in address mapping table.
12. methods as claimed in claim 11, wherein, when starting described operating system, obtain the reading command being used for reading described first data from described first storage unit;
Described reading command is revised to point to the first data be stored in described second storage unit based on described address mapping table; And
Described first data are obtained from described second storage unit based on described reading command.
CN201110202546.1A 2011-07-19 2011-07-19 The method of the operating system of terminal device and startup terminal device Active CN102890634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110202546.1A CN102890634B (en) 2011-07-19 2011-07-19 The method of the operating system of terminal device and startup terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110202546.1A CN102890634B (en) 2011-07-19 2011-07-19 The method of the operating system of terminal device and startup terminal device

Publications (2)

Publication Number Publication Date
CN102890634A CN102890634A (en) 2013-01-23
CN102890634B true CN102890634B (en) 2016-01-27

Family

ID=47534143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110202546.1A Active CN102890634B (en) 2011-07-19 2011-07-19 The method of the operating system of terminal device and startup terminal device

Country Status (1)

Country Link
CN (1) CN102890634B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598418A (en) * 2015-01-27 2015-05-06 北京奥普维尔科技有限公司 System and method for controlling I2C communication based on FPGA (Field Programmable Gate Array)
CN104866365B (en) * 2015-06-12 2019-04-26 联想(北京)有限公司 Promote the method, apparatus and electronic equipment of starting up speed
KR102379202B1 (en) * 2015-09-30 2022-03-28 삼성전자주식회사 Electronic apparatus and the booting method thereof
CN105955721A (en) * 2016-04-20 2016-09-21 上海斐讯数据通信技术有限公司 Reset method
CN107341032B (en) * 2017-06-23 2020-12-18 广东源泉科技有限公司 Data loading method, mobile terminal and computer readable storage medium
CN110716697B (en) * 2019-09-29 2021-09-14 联想(北京)有限公司 Information processing method and equipment
CN113741979A (en) * 2020-05-29 2021-12-03 Oppo广东移动通信有限公司 Chip and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641580A (en) * 2004-01-08 2005-07-20 上海环达计算机科技有限公司 Method for shortening start time
CN1801831A (en) * 2004-12-30 2006-07-12 上海贝豪通讯电子有限公司 Method for increasing handset starting response speed
CN1932763A (en) * 2005-09-13 2007-03-21 联想(北京)有限公司 Computer system starting method
CN101604253A (en) * 2009-07-23 2009-12-16 威盛电子股份有限公司 Computer system and startup method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641580A (en) * 2004-01-08 2005-07-20 上海环达计算机科技有限公司 Method for shortening start time
CN1801831A (en) * 2004-12-30 2006-07-12 上海贝豪通讯电子有限公司 Method for increasing handset starting response speed
CN1932763A (en) * 2005-09-13 2007-03-21 联想(北京)有限公司 Computer system starting method
CN101604253A (en) * 2009-07-23 2009-12-16 威盛电子股份有限公司 Computer system and startup method

Also Published As

Publication number Publication date
CN102890634A (en) 2013-01-23

Similar Documents

Publication Publication Date Title
CN102890634B (en) The method of the operating system of terminal device and startup terminal device
US9239725B2 (en) System and method for installing an OS via a network card supporting PXE
US20080091874A1 (en) System and method for loading programs from hdd independent of operating system
US8468334B1 (en) Efficient initial RAM disk creation
EP2678775A2 (en) Multi-phase resume from hibernate
WO2017020647A1 (en) Novel storage-based embedded file system and realization method thereof
CN103412769A (en) External card parameter configuration method, equipment and system
KR101555210B1 (en) Apparatus and method for downloadin contents using movinand in portable terminal
JP2013520744A (en) Method and apparatus for generating minimum boot image
TWI693518B (en) Data storage devices and methods for firmware failure prevention
US20120042156A1 (en) Method of multiple boot manager
US8719637B2 (en) System and method for acquiring basic input/output system debug codes
US8892856B2 (en) Firmware flashing method and related computer system
CN111258666A (en) Reading method and device of computer file, computer system and storage medium
KR20140039611A (en) Electronic apparatus, method for restore of guid partition table and computer-readable recording medium
US20130262848A1 (en) Electronic apparatus and booting method
WO2020206879A1 (en) Method and device for automatically adapting link width of pcie port, electronic apparatus and storage medium
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
US20100153622A1 (en) Data Access Controller and Data Accessing Method
TWI743480B (en) Computer system and a booting method for the same
US8688863B2 (en) Information processing apparatus for conducting security processing and security processing method
US20200210166A1 (en) Systems and methods for enforcing update policies while applying updates from bootable image file
TWI518594B (en) Computer system and activation method for computer system
US20180032351A1 (en) Information processing method and storage device
CN111158733A (en) BMC upgrading method, device, equipment and computer readable storage medium

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