CN101526901A - Method and device for viewing files in computer - Google Patents

Method and device for viewing files in computer Download PDF

Info

Publication number
CN101526901A
CN101526901A CN200810101327A CN200810101327A CN101526901A CN 101526901 A CN101526901 A CN 101526901A CN 200810101327 A CN200810101327 A CN 200810101327A CN 200810101327 A CN200810101327 A CN 200810101327A CN 101526901 A CN101526901 A CN 101526901A
Authority
CN
China
Prior art keywords
button
viewing files
triggered
hard disk
hardware
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
CN200810101327A
Other languages
Chinese (zh)
Other versions
CN101526901B (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 CN 200810101327 priority Critical patent/CN101526901B/en
Publication of CN101526901A publication Critical patent/CN101526901A/en
Application granted granted Critical
Publication of CN101526901B publication Critical patent/CN101526901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a method and a device for viewing files in a computer to solve the problems of longer consumed time in a boot process of the prior system and more power consumption in operation of an operating system. The method comprises the following steps: in a power-on self-test process, detecting whether a first key is triggered; if so, jumping to a hardware configuration program, and controlling hardware related to files to be viewed in an operating state on the basis of the hardware configuration program; and reading the files to be viewed from a hard disk, calling related application programs according to the files to be viewed, and executing the files to be viewed. Preferably, after a BIOS finishes executing a Bootblock stage, a bootstrap program can execute a simplified BIOS to complete the minimum boot of the system, including only initializing necessary devices, shutting down devices not related to the system as possible and reducing the work frequency of devices such as a CPU, an EMS memory, a display card and the like so as to achieve the aims of quickness and power conservation.

Description

The method of viewing files and device in a kind of computer
Technical field
The present invention relates to the startup of computer system, particularly relate to the method and the device of viewing files in a kind of computer.
Background technology
Development of computer makes computer very universal in work, life, but the problem that present computer user runs into is: when the user need check the simple information of storing in the computer every now and then, the start-up course of computer system all compared slowly.Because the hardware that needs to support along with BIOS (Basic Input Output System, Basic Input or Output System (BIOS)) gets more and more, and the becoming increasingly complex of function of operating system, system start-up all needs to wait for long bootup process.
System is in different conditions, and its bootup process is also different, as follows:
One suspends to internal memory with system, enters sleep state, the S3 pattern of promptly usually said ACPI (AdvancedConfiguration and Power Interface, ACPI).System recovery speed is very fast under this pattern, but shortcoming is: owing to suspend to internal memory, internal memory needs power supply always, so for moving the user who uses notebook computer, relatively expend the notebook computer limited electric energy; And, only, just need enter operating system for checking a simple information, the operation of this lasting complete machine higher load has reduced service time of notebook computer, brings the experience of non-constant to the user.
Its two, system is suspended to hard disk, enter dormant state, the S4 pattern of promptly usually said ACPI.Entire machine enters off-position under this pattern.The shortcoming of this scheme is: need to wait for the process from the disk recovery system of a long period, user experience is relatively poor, can not allow the user obtain the information that needs soon, and has under the S3 pattern the more shortcoming of power consumption in operating system.
In sum, system is suspended under the mode of internal memory or hard disk, when the user needs convenient information of checking in the computer, especially use the user of notebook computer to need to check every now and then simple information such as electronic chart on the road, perhaps family, office user need simply see some forms, data and needn't do under the situation such as complex process, the bootup process of this long period, and the electric weight that consumed when operating system of machine are brought very big inconvenience to the user.
Summary of the invention
Technical matters to be solved by this invention provides the method and the device of viewing files in a kind of computer, to solve present system bootstrap process long, the more problem of operating system power consumption that expends time in.
For solving the problems of the technologies described above,, the invention discloses following technical scheme according to specific embodiment provided by the invention:
The method of viewing files in a kind of computer, the normal boot process of wherein said computer comprises running environment, preparation reading order and the data that power up, start boot, startup self-detection, load operation system, inspection configuration file and customization operations system successively, it is characterized in that:
In the process of described startup self-detection, detect first button and whether be triggered;
When described first button is triggered, jump to hardware configuration program, in running order based on the hardware that described hardware configuration program control is relevant with treating viewing files;
From hard disk, read and treat viewing files,, carry out the described viewing files for the treatment of according to file calling related application programs described to be checked.
Wherein, described in the process of startup self-detection, detect first button step that whether is triggered and be specially: in startup self-detection, execute bootblock during the stage, detect first button and whether be triggered.
And when described first button is triggered, jump to after the hardware configuration program, also comprise:, only control the hardware relevant and carry out initialization with treating viewing files based on described hardware configuration program.
Wherein, described in the process of startup self-detection, detect first button step that whether is triggered and be specially: when startup self-detection executes, detect first button and whether be triggered.
And also comprise after the described control hardware relevant with treating viewing files is in running order: control is in off working state with the described incoherent hardware of viewing files for the treatment of.
Wherein, before the hardware that described control is relevant with treating viewing files is in running order, also comprise: select relevant hardware according to file type.
Whether preferably, described execution is treated also to comprise after the viewing files: be triggered by detecting second button, carry out page turning demonstration or power-off operation.
Wherein, the described viewing files for the treatment of is kept at the reserved location of hard disk.The reserved location of described hard disk is the reserve sector of each subregion head of hard disk, perhaps is the reserve sector of the terminal high address of hard disk.
Whether described preservation treats that the step of viewing files comprises: be triggered by detecting first button, call the application program or the system break handling procedure that preset, will treat that viewing files is saved in the reserved location of hard disk.
The device of viewing files is characterized in that in a kind of computer, comprising:
Whether the button detecting unit is used for the process in described startup self-detection, detect first button and be triggered;
The hardware configuration unit is used for when described first button is triggered, and the control hardware relevant with treating viewing files that is called is in running order, calls quick performance element then;
Quick performance element is used for reading from hard disk and treats viewing files, according to file calling related application programs described to be checked, carries out the described viewing files for the treatment of.
Whether wherein, described button detecting unit executes bootblock during the stage in startup self-detection, detect first button and be triggered.At this moment, described hardware configuration unit is only controlled the hardware relevant with treating viewing files and is carried out initialization.
Wherein, whether described button detecting unit detects first button and is triggered when startup self-detection executes.
Preferably, described hardware configuration unit is also controlled with the described incoherent hardware of viewing files for the treatment of and is in off working state.
Preferably, whether described quick performance element is triggered by detecting second button, carries out page turning demonstration or power-off operation.
Described device also comprises: the Snipping Tool unit is used for the described viewing files for the treatment of is kept at the reserved location of hard disk.The reserved location of described hard disk is the reserve sector of each subregion head of hard disk, perhaps is the reserve sector of the terminal high address of hard disk.
Whether described Snipping Tool unit is triggered by detecting first button, calls the application program or the system break handling procedure that preset, will treat that viewing files is saved in the reserved location of hard disk.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
At first, the method and the device of viewing files in a kind of computer provided by the invention, can quick start system, compare with normal system starting process, the present invention since in the startup self-detection process when detecting first button and be triggered, jump to and the hardware configuration program for the treatment of that viewing files is relevant, in running order based on the hardware that described hardware configuration program control is relevant with treating viewing files, from hard disk, read then and treat viewing files and execution, described process does not need to start the operating system, therefore significantly reduce period of reservation of number, and saved the power consumption of system.
Secondly, the present invention preferably is provided with a quick bootstrap module, executing Bootblock (bootstrap module) at system bios was called after the stage, finish system's minimum boot, comprise only initialization necessaries, the frequency of operation of equipment such as the CPU of shutdown system unrelated equipment, and reduction as far as possible, internal memory, video card, thus reach quick, purpose of power saving.
Description of drawings
Fig. 1 is the described process flow diagram that the current screen content is preserved of the embodiment of the invention;
Fig. 2 is the process flow diagram of the quick bootup process of the embodiment of the invention one described start;
Fig. 3 is the process flow diagram of the quick bootup process of the preferred embodiment of the present invention two described starts;
Fig. 4 is the embodiment of the invention one described a kind of structure drawing of device of checking information in the computer fast;
Fig. 5 is the embodiment of the invention two described a kind of structure drawing of device of checking information in the computer fast.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Need check simple information in the computer at the user, and need to wait for one than long boot time, and the problem of computer consumes power when operating system, the invention provides the method for viewing files in a kind of computer: when the user normal computed the time, call by the button on the keyboard, can grasp the current screen content and be saved in the specific region of hard disk; After the user shuts down, by pressing the function button start on the lower keyboard, call quick execution module in the system bootstrap stage and directly read this document and execution, thereby reduce the time of operating system from the specific region of hard disk, reach quick, purpose of power saving.
Above-mentioned solution divides two parts to realize, a part is to grasp the current screen content to preserve, and another part is the process of starting shooting and guiding fast and showing this information.These two parts are common to be constituted once cover " book box " system, always appear in the application in pairs, be that the user needs " just book box information " that elder generation " stays " oneself in hard disk, when the user need check, just can browse this " just book box information " by the function button on the keyboard.Explanation respectively below.
With reference to Fig. 1, be the described process flow diagram that the current screen content is preserved.
Step 101, the user presses predefined keyboard or key combination.
In the normal computed process of user, when the user browses the interested page and need to preserve some simple information, during as electronic chart, picture, form etc., press predefined function button on the lower keyboard, the inner execution of triggering system hold function.Certainly, also can the incompatible realization of predefine key groups.Described predefined button or key combination can be " just book box " function buttons that increases newly on the primary standard keyboard according to the present invention program, also can be original buttons on the QWERTY keyboard.
Step 102, system triggers SMI (System Management Interrupt, system management interrupt) interrupt handling routine or have the simple application program of copy function.
Step 103, application program or SMI are stored in the hard disk ad-hoc location with present displayed content.
Implementation with application program is an example: after system judges that described predefined function button is pressed, call preassembled application program, the function that this application program is carried out is: grasp the current screen content, then with the specific region of document form quick copy to hard disk, the i.e. reserved location of hard disk.The user can duplicate many current screen contents by pressing described function button repeatedly.
In the present embodiment, described specific region can be any position of hard disk, but need set in advance, directly comes reading of data from described specific region because need in the subsequent step.Present embodiment preferably for subsequent reads is fetched data convenient and purpose of safety, is arranged on the reserve sector of each subregion head of hard disk or the reserve sector of the terminal high address of hard disk with described specific region.
Need to prove that described current screen content can be an EXCEL file or TXT file, perhaps is a picture file, or audio-video document etc., the present invention does not limit concrete data layout at this.
The function class that the function of described application program and the PRINTSCREEN button on the QWERTY keyboard are realized seemingly, but difference is: the fast note of current screen is kept in the internal memory after pressing PRINTSCREEN, and this application program can be saved in place, high-end specific sector on the hard disk to the current screen snapshot.
Except that above-mentioned in system the new mode that an application program is installed, can also realize copy function by other modes, for example: after system judges that described predefined function button is pressed, call the SMI interrupt handling routine, current screen content quick copy is arrived a high-end ad-hoc location of hard disk.Present embodiment is preferentially selected the mode of application program for use, because this mode realizes that simply if the SMI of calling system then implements more complicated, needs are revised more bottom code.
Need to prove, operation for the convenience of the user, present embodiment comes invokes application or SMI by the mode of predefine keyboard button or key combination, in actual applications, also can adopt other modes to call, and the present invention does not limit at this.
The user shuts down computer after current content displayed is preserved, and when needs are checked once more, enters the second portion start process of guiding fast.
At first simply introduce the normal boot process of computing machine.Open computer power supply and be called guiding (Boot) process to the process that computing machine moved between computing machine prepared to accept order that the user sends, bootup process mainly comprises following several steps:
1, power up---turn on the power switch, give the power supply of mainboard and fan inside;
2, boot---CPU begins to carry out the instruction that is stored among the ROM BIOS in startup;
3, startup self-detection---computing machine carries out diagnostic test to the critical piece of system;
4, load operation system---computing machine is read operating system file the RAM from disk;
5, check configuration file, the running environment of customization operations system---read configuration file, operating system is customized according to being provided with of user;
6, prepare reading order and data---computing machine is waited for user input commands and data.
Above-mentioned the 3rd step is the part of BIOS function, is commonly referred to POST---power-on self-test.Complete POST self check comprises the test to CPU, system board, internal memory, exented memory, system ROM BIOS; The verification of system configuration among the CMOS; The initialization Video Controller, test video internal memory, check vision signal and synchronizing signal are tested the CRT interface; Keyboard, floppy drive, hard disk and CD-ROM subsystem are conducted a survey; Parallel port (printer) and serial port (RS232) are checked.
Quick bootup process provided by the invention is the improvement to above-mentioned normal boot process, two kinds of implementations are arranged: a kind of is to utilize the existing DMBM module of system (Dual Mode Boot Module, double mode bootstrap module) channeling conduct, the another kind of method of optimizing is that a quick bootstrap module is set, and carries out system's minimum boot.Describe in detail respectively below.
With reference to Fig. 2, the process flow diagram of the quick bootup process of the embodiment of the invention one described start.
Step 201, under shutdown or dormant state, the user presses predefined keyboard or key combination start.
Described button or the key combination that is used for start-up system can be same with above-mentioned button that is used to preserve or key combination, also can define other buttons.In the present embodiment, be defined as same button, below be referred to as " just book box " function button.As previously mentioned, " just book box " function button can also can be defined as original button of QWERTY keyboard or key combination for a button that increases newly.
Step 202, system start-up utilizes existing DMBM module channeling conduct among the active computer BIOS, promptly adopts double mode guidance mode.
Double mode guiding is a kind of system bootstrap mode, and in this mode, the user can call a single feature operation system by a button or key groups are incompatible, perhaps not according to any button, enters the normal running system according to the normal guidance mode.
Step 203, BIOS promptly carries out after the initialization the most of hardware device in the computer system when finishing self check, judges whether start employed " just book box " button is pressed, if then continue execution in step 204 and 205; Otherwise, execution in step 206.
Step 204 if button is pressed, is not then carried out the step that starts the operating system, and jumps to and the hardware configuration program for the treatment of that viewing files is relevant, and is in running order based on the hardware that described hardware configuration program control is relevant with treating viewing files.For example, control can make the hardware relevant with treating viewing files in running order for loading and the driver for the treatment of the hardware that viewing files is relevant with the hardware relevant with treating viewing files is in running order.Wherein, the described hardware relevant with treating viewing files is meant treats that the viewing files type is different, and the corresponding hardware device of carrying out this document also can be different, for example: show screen screenshotss, need to support the hardware (as video card) of Presentation Function; Play one section video, just need to support the hardware (as video card and sound card) of demonstration and playing function.Therefore, before the hardware configuration program control hardware relevant with treating viewing files is in running order, can also comprise a step: select relevant hardware device according to file type.
Above-mentioned steps 203 and the 204 common processes of carrying out are: system is in BIOS self check process, most of hardware device is carried out initialization, after whether checkout equipment can normally move, hardware configuration program begins to carry out the configuration of related hardware environment then, promptly, make it in running order to described relevant device install driver.At this, needing to distinguish " initialization " is two different stages with " in running order ", also installs after the hardware device initialization to drive, and installing driving afterwards could be in running order.
Step 205 reads from hard disk and treats viewing files, according to file calling related application programs described to be checked, carries out the described viewing files for the treatment of.
For example, show a pictures, can call a just book box display module (Notepaper Display Module is called for short NDM) that is used for display message, this module is used for reading the information and the demonstration of being preserved from the ad-hoc location of hard disk.If carry out a video file, then call a application program and play this video with player function.
Step 206, if button is not pressed, then system proceeds start-up course, begins to start the operating system.
Preferably, can also comprise a step: control is in off working state with the described incoherent hardware of viewing files for the treatment of.Can explain the execution of this step from two aspects: first, after in the self check stage most of hardware being carried out initialization, these hardware are not all installed driving, and only be described related hardware to be installed to drive make it in running order, so these hardware (being described incoherent hardware) that driving is not installed just are in off working state; The second, preferred, can also further described incoherent hardware be closed, promptly be in off-position, thereby save system power dissipation.
Flow process shown in Figure 2 is a kind of fairly simple implementation, because do not need to revise normal BIOS self check process.This Starting mode is owing to promptly read the file of hard disk ad-hoc location after the BIOS self check, and do not need to start the operating system, so optimize, significantly reduced user's stand-by period on boot time and power consumption, and saved the power consumption of system.
The present invention also provides a kind of preferred fast boot mode, can shorten boot time to greatest extent, and reduces computer power consumption.
With reference to Fig. 3, be the process flow diagram of the quick bootup process of the preferred embodiment of the present invention two described starts, be shown as example with picture and describe.
Step 301, under shutdown or dormant state, the user presses the start of " just book box " function button.
Step 302, system start-up enters bootup process.
Step 303, whether in BIOS self check process, system executes Bootblock after the stage at BIOS, detect start employed " just book box " button and be pressed, if then execution in step 304; Otherwise execution in step 309 continues common BIOS self check process.
Step 304 if " just book box " button is pressed, is not then carried out the step that starts the operating system, and jumps to and the hardware configuration program for the treatment of that viewing files is relevant, and is in running order based on the hardware that described hardware configuration program control is relevant with treating viewing files.At this moment, described hardware configuration program is equivalent to a just book box bootstrap module (NotePaper Boot Module is called for short NPBM), and this module is a BIOS who simplifies, and is used for substituting common BIOS self check process, continues the executive system minimum boot.
Step 305, carry out minimum boot, comprise: initialization and the equipment that shows that just book box information is irrelevant as few as possible, necessarieses such as initialization CPU, system board, internal memory, hard disk only, shutdown system unrelated equipment (all can close) as much as possible such as unrelated equipment such as network interface card, bluetooth, CD-ROM drives, thus boot time reduced; Reduce the frequency of operation of equipment such as CPU, internal memory, video card, and make hard disk enter sleep or off-position, thereby reduce power consumption by sending modes such as ata command.
Described minimum boot process is: system carries out initialization to above-mentioned necessary hardware, installs then to drive, and makes it in running order.This step is that with the difference of step 204 this step only is that the hardware relevant with treating viewing files is carried out initialization, and step 204 is all can carry out initial work to the most equipment in the normal boot process.
Step 306, finish minimum boot after, system judges whether the NDM module can be called, if then continue step 307; Otherwise, execution in step 308.
Step 307, read the information of being preserved and show that concrete steps are as follows from the ad-hoc location of hard disk: find the just book box information that is placed on the terminal high address of hard disk place earlier, this information is read in internal memory, resolve just book box pictorial information then, and a pictures is shown to screen.
Preferably, present embodiment is realized page turning demonstration or power-off operation also by function button or key combination on the predefine keyboard.For example, if the user press " on " or specific keys such as D score, the NDM module can be according to the action that pre-defines, make picture up and down page turning show; If the user shuts notebook computer or presses " just book box " button, NDM sends data to particular port and realizes quick shutdown action by detected key information.
Step 308 if the NDM module is damaged, perhaps can not be called owing to other reasons, and then system can provide information, and perhaps directly shutdown automatically perhaps changes step 309 over to and carries out common BIOS self check.The present invention does not limit at this, and multiple processing mode can be arranged.
Step 309, if " just book box " button is not pressed, then system continues to carry out common BIOS self check process, continues normal start bootup process.
In the optimization flow process shown in Figure 3, because initialization necessaries only, and lowered the frequency of operation of equipment component, can finish the system bootstrap process within a short period of time, and realize least in power-consumingization.Described scheme makes users, and the user who especially often needs mobile office or travel outdoors experiences the just book box function of quick power saving.
At above-mentioned method of checking information in the computer fast, the invention provides a kind of device embodiment that checks information in the computer fast.With reference to Fig. 4, be described a kind of structure drawing of device of checking information in the computer fast.Described device mainly comprises button detecting unit 401, quick guidance unit 402 and quick performance element 403, also comprises a Snipping Tool unit 404.
Wherein, Snipping Tool unit 404 is used for the current screen content is saved in the ad-hoc location of hard disk.In the normal computed process of user, when needs are preserved some simple information, Snipping Tool unit 404 is triggered by predefined keyboard or key combination (as " just book box " function button), grasp the current screen content, then with the reserved location of document form quick copy to hard disk.Described reserved location can be the reserve sector of each subregion head of hard disk, also can be the reserve sector of the terminal high address of hard disk.In actual applications, Snipping Tool unit 404 can be realized by a simple application program, and SMI interrupt handling routine that also can calling system is realized copy function.
Whether button detecting unit 401 is responsible for executing bootblock during the stage in described startup self-detection, detect " just book box " button and be triggered.If be triggered, then call quick guidance unit 402; Otherwise computer system is according to continuing to carry out the self check process.
Guidance unit 402 is equivalent to a hardware configuration unit fast, and it is in running order to be used to control the hardware relevant with treating viewing files.Guidance unit 402 executes Bootblock after the stage at system bios fast, and the executive system that is called minimum boot is called quick performance element 403 then, finishes from the ad-hoc location of hard disk and reads file and execution.Fast the minimum boot process carried out of guidance unit 402 comprises: as few as possible initialization with show the just irrelevant equipment of book box information, necessarieses such as initialization CPU, system board, internal memory, hard disk only, shutdown system unrelated equipment (all can close) as much as possible such as unrelated equipment such as network interface card, bluetooth, CD-ROM drives, thus boot time reduced; Reduce the frequency of operation of equipment such as CPU, internal memory, video card, and make hard disk enter sleep or off-position, thereby reduce power consumption by sending modes such as ata command; Then, the type selecting related hardware according to treating viewing files carries out the configuration of related hardware environment, promptly to described relevant device install driver, makes it in running order.
Performance element 403 is responsible for reading from hard disk treating viewing files fast, according to file calling related application programs described to be checked, carries out the described viewing files for the treatment of.According to file type, if Show Picture, then find the just book box information that is placed on the terminal high address of hard disk place earlier, this information is read in internal memory, resolve just book box pictorial information then, and a pictures is shown to screen.Preferably, performance element 403 can also be realized page turning demonstration or power-off operation by function button or key combination on the predefine keyboard fast.
After system call Snipping Tool unit 404 is saved in the hard disk ad-hoc location with the information of current demonstration, if the user wants to check the information of being preserved under off-mode, just can be by pressing " just book box " function button start-up system, then system enters bootup process.In BIOS self check process, system executes Bootblock after the stage at BIOS, if detecting start employed " just book box " button is pressed, then call quick guidance unit 402 and substitute common BIOS self check process, continue the executive system minimum boot by quick guidance unit 402, and jump to quick performance element 403, by quick performance element 403 execute files.
Said apparatus embodiment is a preferred embodiment of the present invention, if system adopts double mode guiding in bootup process, then installation drawing as shown in Figure 5.Described device mainly comprises button detecting unit 501, double mode guidance unit (being the DMBM module) 502 and quick performance element 503, also comprises a Snipping Tool unit 504.Wherein each Elementary Function and device shown in Figure 4 are basic identical, and described double mode guidance unit 502 also is equivalent to a hardware configuration unit, and it is in running order to be used to control the hardware relevant with treating viewing files.
But difference is: after the user triggers start-up system by button, and double mode guidance unit 502 channeling conducts of system call; Double mode guidance unit 502 is in BIOS self check process, most of hardware device is carried out initialization, and after whether checkout equipment can normally move, hardware configuration program began to carry out the configuration of related hardware environment then, promptly, make it in running order to described relevant device install driver; After BIOS finishes self check, call quick performance element 503 and read the file of being preserved and carry out from the ad-hoc location of hard disk.Because this device does not need to start the operating system in system starting process, so can improve prior art on boot time and power consumption.
Preferably, double mode guidance unit 502 can also be controlled with the described incoherent hardware of viewing files for the treatment of and be in off working state, specifies with reference to aforementioned.
Need to prove that " system " speech that uses in the full text is meant computer system, does not refer in particular to certain concrete application system.
The part that does not describe in detail in Fig. 4, the device shown in Figure 5 can be considered for length referring to the relevant portion of Fig. 1-method shown in Figure 3, is not described in detail in this.
More than to the method and the device of viewing files in a kind of computer provided by the present invention, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part in specific embodiments and applications all can change.In sum, this description should not be construed as limitation of the present invention.

Claims (19)

1, the method for viewing files in a kind of computer, the normal boot process of wherein said computer comprises running environment, preparation reading order and the data that power up, start boot, startup self-detection, load operation system, inspection configuration file and customization operations system successively, it is characterized in that:
In the process of described startup self-detection, detect first button and whether be triggered;
When described first button is triggered, jump to hardware configuration program, in running order based on the hardware that described hardware configuration program control is relevant with treating viewing files;
From hard disk, read and treat viewing files,, carry out the described viewing files for the treatment of according to file calling related application programs described to be checked.
2, method according to claim 1 is characterized in that, and is described in the process of startup self-detection, detects first button step that whether is triggered and is specially:
In startup self-detection, execute bootblock during the stage, detect first button and whether be triggered.
3, method according to claim 2 is characterized in that, when described first button is triggered, jumps to after the hardware configuration program, also comprises:
Based on described hardware configuration program, only control the hardware relevant and carry out initialization with treating viewing files.
4, method according to claim 1 is characterized in that, and is described in the process of startup self-detection, detects first button step that whether is triggered and is specially:
When startup self-detection executes, detect first button and whether be triggered.
5, method according to claim 4 is characterized in that, also comprises after the described control hardware relevant with treating viewing files is in running order:
Control is in off working state with the described incoherent hardware of viewing files for the treatment of.
6, method according to claim 1 is characterized in that, before the hardware that described control is relevant with treating viewing files is in running order, also comprises:
Select relevant hardware according to file type.
7, method according to claim 1 is characterized in that, described execution is treated also to comprise after the viewing files:
Whether be triggered by detecting second button, carry out page turning demonstration or power-off operation.
8, method according to claim 1 is characterized in that: the described viewing files for the treatment of is kept at the reserved location of hard disk.
9, method according to claim 8 is characterized in that, described preservation treats that the step of viewing files comprises:
Whether be triggered by detecting first button, call the application program or the system break handling procedure that preset, will treat that viewing files is saved in the reserved location of hard disk.
10, method according to claim 8 is characterized in that: the reserved location of described hard disk is the reserve sector of each subregion head of hard disk, perhaps is the reserve sector of the terminal high address of hard disk.
11, the device of viewing files in a kind of computer is characterized in that, comprising:
Whether the button detecting unit is used for the process in described startup self-detection, detect first button and be triggered;
The hardware configuration unit is used for when described first button is triggered, and the control hardware relevant with treating viewing files that is called is in running order, calls quick performance element then;
Quick performance element is used for reading from hard disk and treats viewing files, according to file calling related application programs described to be checked, carries out the described viewing files for the treatment of.
Whether 12, device according to claim 11 is characterized in that: described button detecting unit executes bootblock during the stage in startup self-detection, detect first button and be triggered.
13, device according to claim 12 is characterized in that: described hardware configuration unit is only controlled the hardware relevant with treating viewing files and is carried out initialization.
14, device according to claim 11 is characterized in that: whether described button detecting unit detects first button and is triggered when startup self-detection executes.
15, device according to claim 14 is characterized in that: described hardware configuration unit is also controlled with the described incoherent hardware of viewing files for the treatment of and is in off working state.
16, device according to claim 11 is characterized in that: whether described quick performance element is triggered by detecting second button, carries out page turning demonstration or power-off operation.
17, device according to claim 11 is characterized in that, also comprises: the Snipping Tool unit is used for the described viewing files for the treatment of is kept at the reserved location of hard disk.
18, device according to claim 17 is characterized in that: whether described Snipping Tool unit is triggered by detecting first button, calls the application program or the system break handling procedure that preset, will treat that viewing files is saved in the reserved location of hard disk.
19, device according to claim 11 is characterized in that: the reserved location of described hard disk is the reserve sector of each subregion head of hard disk, perhaps is the reserve sector of the terminal high address of hard disk.
CN 200810101327 2008-03-04 2008-03-04 Method and device for viewing files in computer Active CN101526901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810101327 CN101526901B (en) 2008-03-04 2008-03-04 Method and device for viewing files in computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810101327 CN101526901B (en) 2008-03-04 2008-03-04 Method and device for viewing files in computer

Publications (2)

Publication Number Publication Date
CN101526901A true CN101526901A (en) 2009-09-09
CN101526901B CN101526901B (en) 2012-12-19

Family

ID=41094772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810101327 Active CN101526901B (en) 2008-03-04 2008-03-04 Method and device for viewing files in computer

Country Status (1)

Country Link
CN (1) CN101526901B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873385A (en) * 2010-06-04 2010-10-27 北京播思软件技术有限公司 Device and method for entering power-saving mode of hand-held terminal rapidly
CN102262569A (en) * 2010-05-26 2011-11-30 深圳华北工控股份有限公司 Control method for preventing system basic input output system (BIOS) instability caused by complementary metal oxide semiconductor (CMOS) improper setting
CN102521105A (en) * 2011-11-21 2012-06-27 华为技术有限公司 Output method of power on self test information, virtual machine manager and processor
CN103197934A (en) * 2012-01-09 2013-07-10 联咏科技股份有限公司 Method for starting multimedia device and multimedia device
CN103645916A (en) * 2013-11-29 2014-03-19 惠州华阳通用电子有限公司 Method for system power-on starting based on QNX
CN104063236A (en) * 2013-03-20 2014-09-24 联想(北京)有限公司 Application starting method and electronic device
CN104156248A (en) * 2014-08-15 2014-11-19 上海新储集成电路有限公司 Method for displaying customized information in start-up process and BIOS chip
US8909989B2 (en) 2011-11-21 2014-12-09 Huawei Technologies Co., Ltd. Method for outputting power-on self test information, virtual machine manager, and processor
CN103853972B (en) * 2012-12-03 2018-07-06 联想(北京)有限公司 The method and electronic equipment of information processing
CN108255527A (en) * 2017-12-05 2018-07-06 华为技术有限公司 The method and apparatus of activation system, computing device, readable storage medium storing program for executing
US11907729B2 (en) 2021-11-15 2024-02-20 Asustek Computer Inc Computer system and booting method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101097519A (en) * 2006-06-30 2008-01-02 环达电脑(上海)有限公司 Computer system capable of rapidly using hard disk data

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262569B (en) * 2010-05-26 2013-05-22 深圳华北工控股份有限公司 Control method for preventing system basic input output system (BIOS) instability caused by complementary metal oxide semiconductor (CMOS) improper setting
CN102262569A (en) * 2010-05-26 2011-11-30 深圳华北工控股份有限公司 Control method for preventing system basic input output system (BIOS) instability caused by complementary metal oxide semiconductor (CMOS) improper setting
CN101873385A (en) * 2010-06-04 2010-10-27 北京播思软件技术有限公司 Device and method for entering power-saving mode of hand-held terminal rapidly
CN102521105B (en) * 2011-11-21 2014-07-30 华为技术有限公司 Output method of power on self test information, virtual machine manager and processor
CN102521105A (en) * 2011-11-21 2012-06-27 华为技术有限公司 Output method of power on self test information, virtual machine manager and processor
US8909989B2 (en) 2011-11-21 2014-12-09 Huawei Technologies Co., Ltd. Method for outputting power-on self test information, virtual machine manager, and processor
CN103197934A (en) * 2012-01-09 2013-07-10 联咏科技股份有限公司 Method for starting multimedia device and multimedia device
CN103853972B (en) * 2012-12-03 2018-07-06 联想(北京)有限公司 The method and electronic equipment of information processing
CN104063236A (en) * 2013-03-20 2014-09-24 联想(北京)有限公司 Application starting method and electronic device
CN104063236B (en) * 2013-03-20 2017-07-25 联想(北京)有限公司 Using startup method and electronic equipment
CN103645916A (en) * 2013-11-29 2014-03-19 惠州华阳通用电子有限公司 Method for system power-on starting based on QNX
CN104156248A (en) * 2014-08-15 2014-11-19 上海新储集成电路有限公司 Method for displaying customized information in start-up process and BIOS chip
CN104156248B (en) * 2014-08-15 2018-08-28 上海新储集成电路有限公司 A kind of method and BIOS chips of the displaying format customization information in start process
CN108255527A (en) * 2017-12-05 2018-07-06 华为技术有限公司 The method and apparatus of activation system, computing device, readable storage medium storing program for executing
US11907729B2 (en) 2021-11-15 2024-02-20 Asustek Computer Inc Computer system and booting method thereof

Also Published As

Publication number Publication date
CN101526901B (en) 2012-12-19

Similar Documents

Publication Publication Date Title
CN101526901B (en) Method and device for viewing files in computer
US7386746B2 (en) Information processing apparatus, method of starting up the same, and startup program of the same
US7707400B2 (en) Direct computing experience
US8775845B2 (en) Information processing device, power supply control method and storage medium
US7685474B2 (en) Failsafe computer support assistant using a support virtual machine
USRE43716E1 (en) Method of fast switching control for different operation systems operated in computer
CN101000549A (en) Electronic device with accelerated boot process and method for the same
US20080282077A1 (en) Apparatus, method and program product for initiating computer system operation
CN102693136B (en) The quick start method of computer, quick start system and startup system
US20100100719A1 (en) Method for reducing booting time and computer using the same
CN101855606A (en) Launching an application from a power management state
CN113703799B (en) Computing device and BIOS updating method and medium thereof
TWI450090B (en) Method and system of changing a startup list of programs to determine whether computer system performance increases
CN102880477A (en) Method for realizing computer start and computer
JP2010262621A (en) Computer system with power supply control, and power supply control method
JP4074406B2 (en) Switching between multiple key functions assigned to a special key
CN102567178B (en) A kind of electronic equipment and dump energy Notification Method thereof and starting method
JP4409681B2 (en) Information processing apparatus and memory control method for information processing apparatus
JP5206863B2 (en) Information processing apparatus, power supply control method, and program
CN101201746A (en) Method for setting ROM-BIOS
CN105808440A (en) Application low memory test method, apparatus and system
CN101093416A (en) Computer and energy saving method
US20070214345A1 (en) System and method for porting an operating system
CN102135923A (en) Method for integrating operating system into BIOS (Basic Input/Output System) chip and method for starting operating system
CN101436097B (en) Electronic device and wake-up method thereof

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