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

Method and device for viewing files in computer Download PDF

Info

Publication number
CN101526901B
CN101526901B CN 200810101327 CN200810101327A CN101526901B CN 101526901 B CN101526901 B CN 101526901B CN 200810101327 CN200810101327 CN 200810101327 CN 200810101327 A CN200810101327 A CN 200810101327A CN 101526901 B CN101526901 B CN 101526901B
Authority
CN
China
Prior art keywords
button
treating
viewing files
triggered
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.)
Active
Application number
CN 200810101327
Other languages
Chinese (zh)
Other versions
CN101526901A (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

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 need be waited for long bootup process.
System is in different conditions, and its bootup process is also different, as follows:
One of which suspends to internal memory with system, gets into sleep state, the S3 pattern of promptly usually said ACPI (Advanced Confguration and Power Interface, ACPI).System recovery rapid speed under this pattern, but shortcoming is: and 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 for checking a simple information, just needing to get into operating system, 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, get into dormant state, the S4 pattern of promptly usually said ACPI.Entire machine gets into 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 let 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 need check simple information such as electronic chart on the road every now and then; 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 when operating system, consumed 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
When computer normally uses, according to user's request, grasp the current screen content and preserve, the corresponding at least one file of said screen content, with said at least one file as treating viewing files;
After the shutdown, check saidly when treating viewing files once more, in the process of said booting computer self check, detect first button and whether be triggered when needs;
When said first button is triggered, jump to hardware configuration program, in running order based on the hardware that said hardware configuration program control is relevant with treating viewing files;
From hard disk, read and treat viewing files, according to the said viewing files calling related application programs of treating, carry out the said viewing files of treating, the said viewing files of treating is kept at the reserved location of hard disk.
Wherein, said 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 said 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 said hardware configuration program.
Wherein, said 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 after the said control hardware relevant with treating viewing files is in running order, also comprise: control is in off working state with the said incoherent hardware of viewing files of treating.
Wherein, before the hardware that said control is relevant with treating viewing files is in running order, also comprise: select relevant hardware according to file type.
Whether preferably, said execution is treated also to comprise after the viewing files: be triggered through detecting second button, carry out page turning demonstration or power-off operation.
Wherein, the reserved location of said 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.
Said when computer normally uses, according to user's request, the step that extracting current screen content is preserved comprises:
When computer normally uses, detect first button and whether be triggered;
When said first button is triggered, call the application program or the system break handling procedure that preset, with treating that viewing files is saved in the reserved location of hard disk.
The device 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, and said device comprises:
The Snipping Tool unit is used for when computer normally uses, according to user's request, grasp the current screen content and preserve, the corresponding at least one file of said screen content, with said at least one file as treating viewing files;
The button detecting unit, be used for shutdown after, check saidly when treating viewing files once more when needs, in the process of said booting computer self check, detect first button and whether be triggered;
The Hardware configuration unit is used for when said first button is triggered, jumping to hardware configuration program, and is in running order based on the hardware that said hardware configuration program control is relevant with treating viewing files, calls quick performance element then;
Quick performance element is used for reading from hard disk and treats viewing files, according to the said viewing files calling related application programs of treating, carries out the said viewing files of treating, the said viewing files of treating is kept at the reserved location of hard disk.
Wherein, said button detecting unit comprises: be used for executing bootblock during the stage in startup self-detection, detect the unit whether first button is triggered.At this moment, said Hardware configuration unit also comprises: based on said hardware configuration program, be used for only controlling the hardware relevant with treating viewing files and carry out initialized unit.
Wherein, said button detecting unit comprises: when startup self-detection executes, detect the unit whether first button is triggered.
Preferably, said Hardware configuration unit also comprises: be used to control with the said incoherent hardware of viewing files of treating and be in the unit of off working state.
Whether preferably, said device also comprises: be triggered through detecting second button, carry out the unit of page turning demonstration or power-off operation.
Wherein, the reserved location of said 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.
Said Snipping Tool unit comprises: be used for after first button is triggered, calling the application program or the system break handling procedure that preset, with treating that viewing files is saved in the unit of 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 systems; 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 of treating that viewing files is relevant, it is in running order to control the hardware relevant with treating viewing files based on said hardware configuration program; From hard disk, read then and treat viewing files and execution; Said process need not start the operating system, and has therefore significantly reduced period of reservation of number, and has saved the power consumption of system.
Secondly; The present invention preferably is provided with a quick bootstrap module, executes Bootblock (bootstrap module) at system bios and is called after the stage, accomplishes 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 said 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 said start;
Fig. 3 is the process flow diagram of the quick bootup process of the preferred embodiment of the present invention two said starts;
Fig. 4 is the embodiment of the invention one said a kind of structure drawing of device of checking information in the computer fast;
Fig. 5 is the embodiment of the invention two said a kind of structure drawing of device of checking information in the computer fast.
Embodiment
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing and embodiment the present invention done further detailed explanation.
Need check the simple information in the computer to 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 is normal computed the time, call, can grasp the current screen content and be saved in the specific region of hard disk through the button on the keyboard; After the user shuts down, through 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 " through the function button on the keyboard.Explanation respectively below.
With reference to Fig. 1, be the said 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 like 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.Said predefined button or key combination can be " just book box " function buttons that on the primary standard keyboard, increases newly 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 said 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 through pressing said function button repeatedly.
In the present embodiment, said specific region can be any position of hard disk, but need set in advance, directly comes reading of data from said 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 said specific region.
Need to prove that said 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 said 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.
In system, newly install the mode of an application program except that above-mentioned; Can also realize copy function through other modes; For example: after system judges that said 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 through the mode of predefine keyboard button or key combination, in practical application, 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, gets into the second portion start process of guiding fast.
The brief account normal boot process of computing machine once at first.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, inspection 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; LPT (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.Specify respectively below.
With reference to Fig. 2, the process flow diagram of the quick bootup process of the embodiment of the invention one said start.
Step 201, under shutdown or dormant state, the user presses predefined keyboard or key combination start.
Said 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 through a button or key groups are incompatible, perhaps not according to any button, gets into the normal running system according to the normal guidance mode.
Step 203, BIOS promptly carries out judging whether start employed " just book box " button is pressed, if then continue execution in step 204 and 205 after the initialization to the most of hardware device in the computer system when accomplishing self check; 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 of treating that viewing files is relevant, and is in running order based on the hardware that said 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 of treating the hardware that viewing files is relevant with the hardware relevant with treating viewing files is in running order.Wherein, the said 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 (like video card) of Presentation Function; Play one section video, just need to support the hardware (like 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 to said relevant device install driver, makes it in running order.At this, needing difference " initialization " is two different stages with " in running order ", does not also have installing drive after the hardware device initialization, 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 said to be checked, carries out the said viewing files of treating.
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 said incoherent hardware of viewing files of treating.Can explain the execution of this step from two aspects: first; After in the self check stage most of hardware being carried out initialization; Not to these hardware installing drive all; And only be that said related hardware installing drive is made it in running order, so these do not have the hardware (being said incoherent hardware) of installing drive just to be in off working state; The second, preferred, can also further said 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 need not 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 need not start the operating system, so on boot time and power consumption, optimize, significantly reduced user's stand-by period, 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 said 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 gets into 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 of treating that viewing files is relevant, and is in running order based on the hardware that said hardware configuration program control is relevant with treating viewing files.At this moment, said 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 reduce boot time; Reduce the frequency of operation of equipment such as CPU, internal memory, video card, and make hard disk get into sleep or off-position, thereby reduce power consumption through sending modes such as ata command.
Said minimum boot process is: system carries out initialization to above-mentioned necessary hardware, and installing drive makes it in running order then.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, after the completion minimum boot, 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 following 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 through 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 defines in advance, 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 through 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 accomplish the system bootstrap process within a short period of time, and realize least in power-consumingization.Said 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.
To 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 said a kind of structure drawing of device of checking information in the computer fast.Said 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 through predefined keyboard or key combination (like " just book box " function button); Grasp the current screen content, then with the reserved location of document form quick copy to hard disk.Said 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 practical application, 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 said 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, accomplishes 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 get into sleep or off-position, thereby reduce power consumption through 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 said relevant device install driver, makes it in running order.
Performance element 403 is responsible for from hard disk, reading treating viewing files fast, according to file calling related application programs said to be checked, carries out the said viewing files of treating.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 through 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 through pressing " just book box " function button start-up system, then system gets into bootup process.In BIOS self check process; System executes Bootblock after the stage at BIOS; Be pressed if detect start employed " just book box " button, 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 is as shown in Figure 5.Said 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 said 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 through 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 said relevant device install driver; After BIOS accomplishes 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 need not start the operating system in system starting process, so can on boot time and power consumption, improve prior art.
Preferably, double mode guidance unit 502 can also be controlled with the said incoherent hardware of viewing files of treating 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 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; Carried out detailed introduction; Used concrete example among this paper 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 all can change on embodiment and range of application.In sum, this description should not be construed as limitation of the present invention.

Claims (17)

1. the method for viewing files in the 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:
When computer normally uses, according to user's request, grasp the current screen content and preserve, the corresponding at least one file of said screen content, with said at least one file as treating viewing files;
After the shutdown, check saidly when treating viewing files once more, in the process of said booting computer self check, detect first button and whether be triggered when needs;
When said first button is triggered, jump to hardware configuration program, in running order based on the hardware that said hardware configuration program control is relevant with treating viewing files;
From hard disk, read and treat viewing files, according to the said viewing files calling related application programs of treating, carry out the said viewing files of treating, the said viewing files of treating is kept at the reserved location of hard disk.
2. method according to claim 1 is characterized in that, and is said 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 said first button is triggered, jumps to after the hardware configuration program, also comprises:
Based on said 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 said 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, after the said control hardware relevant with treating viewing files is in running order, also comprises:
Control is in off working state with the said incoherent hardware of viewing files of treating.
6. method according to claim 1 is characterized in that, before the hardware that said 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, said execution is treated also to comprise after the viewing files:
Whether be triggered through detecting second button, carry out page turning demonstration or power-off operation.
8. method according to claim 1 is characterized in that, and is said when computer normally uses, and according to user's request, the step that extracting current screen content is preserved comprises:
When computer normally uses, detect first button and whether be triggered;
When said first button is triggered, call the application program or the system break handling procedure that preset, with treating that viewing files is saved in the reserved location of hard disk.
9. method according to claim 1 is characterized in that: the reserved location of said 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.
10. the device of viewing files in the 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 said device comprises:
The Snipping Tool unit is used for when computer normally uses, according to user's request, grasp the current screen content and preserve, the corresponding at least one file of said screen content, with said at least one file as treating viewing files;
The button detecting unit, be used for shutdown after, check saidly when treating viewing files once more when needs, in the process of said booting computer self check, detect first button and whether be triggered;
The Hardware configuration unit is used for when said first button is triggered, jumping to hardware configuration program, and is in running order based on the hardware that said hardware configuration program control is relevant with treating viewing files, calls quick performance element then;
Quick performance element is used for reading from hard disk and treats viewing files, according to the said viewing files calling related application programs of treating, carries out the said viewing files of treating, the said viewing files of treating is kept at the reserved location of hard disk.
11. device according to claim 10 is characterized in that: said button detecting unit comprises: be used for executing bootblock during the stage in startup self-detection, detect the unit whether first button is triggered.
12. device according to claim 11 is characterized in that: said Hardware configuration unit also comprises: based on said hardware configuration program, be used for only controlling the hardware relevant with treating viewing files and carry out initialized unit.
13. device according to claim 10 is characterized in that: said button detecting unit comprises: be used for when startup self-detection executes, detect the unit whether first button is triggered.
14. device according to claim 13 is characterized in that: said Hardware configuration unit also comprises: be used to control with the said incoherent hardware of viewing files of treating and be in the unit of off working state.
Whether 15. device according to claim 10 is characterized in that: said device also comprises: be triggered through detecting second button, carry out the unit of page turning demonstration or power-off operation.
16. device according to claim 10; It is characterized in that: said Snipping Tool unit comprises: be used for after first button is triggered, calling the application program or the system break handling procedure that preset, with treating that viewing files is saved in the unit of the reserved location of hard disk.
17. device according to claim 10 is characterized in that: the reserved location of said 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 CN101526901A (en) 2009-09-09
CN101526901B true 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)

Families Citing this family (11)

* 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
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
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
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
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
TWI798935B (en) 2021-11-15 2023-04-11 華碩電腦股份有限公司 Computer system and booting method thereof

Citations (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

Patent Citations (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

Also Published As

Publication number Publication date
CN101526901A (en) 2009-09-09

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
US8775845B2 (en) Information processing device, power supply control method and storage medium
US7707400B2 (en) Direct computing experience
US7549041B2 (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
US20090091537A1 (en) Electronic device with automatic switching input interfaces and switching method thereof
CN101855606A (en) Launching an application from a power management state
CN102693136A (en) Quick starting method and system for computer and starting system of computer
CN105940375B (en) Dynamic reassignment for multiple operating system devices
JP2004127040A (en) Information processor, control method, program and recording medium
CN102880477A (en) Method for realizing computer start and computer
TWI450090B (en) Method and system of changing a startup list of programs to determine whether computer system performance increases
CN113703799A (en) Computing device and BIOS updating method and medium thereof
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
JP2007323629A (en) Computer and power saving method thereof
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
US20070214345A1 (en) System and method for porting an operating system
CN101436097B (en) Electronic device and wake-up method thereof
CN103870295B (en) Changing method and electronic equipment
CN105808440A (en) Application low memory test method, apparatus and system

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