CN103279348B - System boot process shows the method and system of information - Google Patents

System boot process shows the method and system of information Download PDF

Info

Publication number
CN103279348B
CN103279348B CN201310208128.2A CN201310208128A CN103279348B CN 103279348 B CN103279348 B CN 103279348B CN 201310208128 A CN201310208128 A CN 201310208128A CN 103279348 B CN103279348 B CN 103279348B
Authority
CN
China
Prior art keywords
driver
bitmap file
information
module
file
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.)
Expired - Fee Related
Application number
CN201310208128.2A
Other languages
Chinese (zh)
Other versions
CN103279348A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310208128.2A priority Critical patent/CN103279348B/en
Publication of CN103279348A publication Critical patent/CN103279348A/en
Application granted granted Critical
Publication of CN103279348B publication Critical patent/CN103279348B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and system showing information in system boot process。Wherein, method includes: the information according to required display, makes bitmap file, and institute's bitmap file is the picture file comprising explanation information corresponding to described information;Create driver, and in described driver, specify the different drawing interface called for different operating system;When system bootstrap routine shows described information, described main program module runs module to driver and sends control information;Described driver runs module according to described control information, and the drawing interface specified by running described driver to call shows institute's bitmap file on a user interface。The present invention, by showing explanation information, gives user and points out fully, it is to avoid operating system that user misoperation causes is damaged or the serious problems such as loss of data。

Description

System boot process shows the method and system of information
Technical field
The present invention relates to technical field of the computer network, be specifically related to a kind of method and system showing information in system boot process。
Background technology
In Microsoft's Windows operating system, existing software can only show English reminding in system start-up system boot process on screen, for instance the softwares such as the chkdsk.exe of Microsoft and Kingsoft refitting master-hand。The operation principle of this kind of software is to call the NativeAPI:NtDisplayString function of Windows system, and this function only supports displayable standard ascii character, so this kind of software is all only able to display the program prompting of English on screen。
For domestic vast ordinary computer user, use encountered general problem is that of this kind of software: cannot the English program prompting of reading comprehension, thus may this longer stage consuming time is out of patience and maloperation, such as restart computer or shutdown or think that computer is broken, may result in operating system in this stage maloperation and damage or loss of data。
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide a kind of and overcome the problems referred to above or solve the system showing information in system boot process of the problems referred to above and the method showing information in system boot process accordingly at least in part。
According to an aspect of the present invention, provide a kind of method showing information in system boot process, in system boot process, main program module runs system bootstrap routine, driver runs module and runs driver, the method includes: the information according to required display, making bitmap file, bitmap file is the picture file comprising explanation information corresponding to information;Create driver, and in driver, specify the different drawing interface called for different operating system;When system bootstrap routine display reminding information, main program module runs module to driver and sends control information;Driver runs module according to the information of control, calls, by running driver, the drawing interface display bitmap file on a user interface specified。
According to a further aspect in the invention, provide a kind of system showing information in system boot process, including: plot module, be suitable to the information according to required display, making bitmap file, this bitmap file is the picture file comprising explanation information corresponding to information;Creation module, is suitable to create driver, and specifies the different drawing interface called in driver for different operating system;Main program module, is suitable to when system bootstrap routine display reminding information, runs module to driver and sends control information;Driver runs module, is suitable to, according to control information, call the drawing interface display bitmap file on a user interface specified。
According to the method and system showing information in system boot process provided by the invention, when system bootstrap routine display reminding information, control driver and call the drawing interface drafting bitmap file specified, this bitmap file comprises the picture file of explanation information corresponding to information, by showing these explanation information, give user to point out fully, it is to avoid operating system that user misoperation causes is damaged or the serious problems such as loss of data。
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention。
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding。Accompanying drawing is only for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention。And in whole accompanying drawing, it is denoted by the same reference numerals identical parts。In the accompanying drawings:
Fig. 1 illustrates the flow chart of the method showing information according to an embodiment of the invention in system boot process;
Fig. 2 illustrates the flow chart of the method showing information in accordance with another embodiment of the present invention in system boot process;
Fig. 3 illustrates the schematic diagram of one application example of method showing information according to an embodiment of the invention in system boot process;
Fig. 4 illustrates the structured flowchart of the system showing information according to an embodiment of the invention in system boot process。
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings。Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should do not limited by embodiments set forth here。On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art。
Fig. 1 illustrates the flow chart of the method 100 showing information according to an embodiment of the invention in system boot process。In system boot process, main program module runs system bootstrap routine, and driver runs module and runs driver。In the embodiment of the present invention, system boot process refers to the character pattern stage of System guides, and the program run in this process is system bootstrap routine。Native program is exactly a kind of system bootstrap routine, and the embodiment of the present invention illustrates for Native program, but is not limited only to this。
The embodiment of the present invention is in the process that system is reset, and by Compare System file, and after downloading correct file from server, can reboot into the Native stage。Run preset Native program, by this program download correct file replace in system existing incorrect, damage file。The Naitve program phase now is exactly the textual interface described in the embodiment of the present invention。Specifically, the starting method of Naitve program is: run system in, the Native program copy that will run to windows system32;To registration table HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control SessionManager the name of the Native program that write to run in BootExecute;Restart computer;Windows finds the Native program that there is a need to run in BootExecute in start-up course, and screen automatically switches to character pattern, and runs Native program, and this running is to start complete at system kernel, before display login interface。
As it is shown in figure 1, method 100 starts from step S101, the wherein information according to required display, make bitmap file, this bitmap file is the picture file comprising explanation information corresponding to information。In view of the information that existing Native program is shown on a user interface is English, in order to be able to the concrete meaning allowing the user being ignorant of English understand this information, first the information of these English of required display is translated as the explanation information of Chinese, then explanation information is made as bitmap file, pre-saves with the form of picture file。Alternatively, explanation information is possible not only to include Chinese explanation information, it is also possible to include other additional product introduction information and picture, such as name of product, product identification picture etc.。
Subsequently, method 100 enters step S102, wherein creates driver, and specifies the different drawing interface called in driver for different operating system。In different operating system, drawing interface is different, therefore can specify different drawing interfaces for different operating system in driver。Such as, for Win2000 or WinXP system, it is intended that use the bootvid VidBitBlt drawing function driven as drawing interface;For Vista or Win7 system, it is intended that use the ntoskrnl InbvIsBootDriverInstalled drawing function derived and InbvSolidColorFill drawing function as drawing interface。The present invention is by have invoked the drawing interface of Windows kernel, it is ensured that compatible and stability。
Subsequently, method 100 enters step S103, and wherein when Native program display information, main program module runs module to driver and sends control information。In Native program operation process, it is necessary to during display reminding information, the main program module running Native program runs module transmission control information to driver, and this control information makes driver run module control driver and performs corresponding operation。
Subsequently, method 100 enters step S104, and wherein driver runs module according to the information of control, calls, by running driver, the drawing interface display bitmap file on a user interface specified。Driver runs module by calling the above-mentioned drawing interface specified, display bitmap file on a user interface, namely shows explanation information on a user interface。
All can not call for Win32API all of in prior art, displaying interface is restricted, graphical interfaces can not be used and the problem of only textual interface, according to the method that the present embodiment provides, when Native program display information, control driver and call the drawing interface drafting bitmap file specified, this bitmap file comprises the picture file of explanation information corresponding to information, by showing these explanation information, give user to point out fully, it is to avoid operating system that user misoperation causes is damaged or the serious problems such as loss of data。
Fig. 2 illustrates the flow chart of the method 200 showing information in accordance with another embodiment of the present invention in system boot process。As in figure 2 it is shown, method 200 starts from step S201, the wherein information according to required display, make bitmap file, this bitmap file is the picture file comprising explanation information corresponding to information。In view of the information that existing Native program is shown on a user interface is English, in order to be able to the concrete meaning allowing the user being ignorant of English understand this information, first the information of these English of required display is translated as the explanation information of Chinese, then explanation information is made as bitmap file, pre-saves with the form of picture file。Alternatively, explanation information is possible not only to include Chinese explanation information, it is also possible to include other additional product introduction information and picture, such as name of product, product identification picture etc.。
Due to NT(NewTechnoly, new technique) operating system of kernel to shown information be limited to 16 colors within, so this method Bitmap file is also the picture within 16 colors。In the size of WinXP and Win7 system Bitmap file less than 640*55。
Subsequently, method 200 enters step S202, wherein creates driver, specifies the different drawing interface called in driver for different operating system。Specifically, the driver that the present invention creates is based on WDM(WindowsDriverModel, Windows driver module) Windows device driver, this driver is a PE(PreInstallationEnvironment, WindowsPE) file, need to derive a DriverEntry function, after such system finds the log-on message of this driver in registration table, will load driver file, and call this DriverEntry function driver initialized。In the present embodiment, create driver and need following work:
1, create device object, generate an object instance of this driver in systems;
2, registration drives designation, and so common application program just can use driving designation link lookup to open this equipment;
3, driving routine callback list is filled: the meaning of this driving routine callback list is, driver is to system registry thing of interest, by the process function registration of corresponding event to system。When there is event in system, operating system can be called the corresponding function that processes and notify driver。Such as, the driver in this method have registered the event handling function of this classification of IRP_MJ_DEVICE_CONTROL, when mastery routine to driver send IOcontrolcode time, system will call driver IOcontrolcode process function。Process in function at IOcontrolcode, system can pass over enough information, including IO control code, inputoutput data buffer pointer and buffer length etc., driver in the present embodiment can identify the IO control code pre-defined, concrete meaning according to IO control code, the drawing interface of calling system, specifies position graphing in user interface。
4, in driver, specify, for different operating system, the different drawing interface called: in different operating system, drawing interface is different, therefore can specify different drawing interfaces for different operating system in driver。Such as, for Win2000 or WinXP system, it is intended that use the bootvid VidBitBlt drawing function driven as drawing interface;For Vista or Win7 system, it is intended that use the ntoskrnl InbvIsBootDriverInstalled drawing function derived and InbvSolidColorFill drawing function as drawing interface。The present invention is by have invoked the drawing interface of Windows kernel, it is ensured that compatible and stability。
In this method, the execution sequence of step S201 and step S202 is not limit, it is possible to first carry out step S202, performs step S201 afterwards again。
After step S201 and step S202, method 200 enters step S203, is wherein embedded in driver by bitmap file。In the present invention, bitmap file is embedded in driver and can have two kinds of optional embodiments。One of which embodiment is: first bitmap file is converted to array data, then array data is embedded in driver。Specifically, utilize file crossover tool that bitmap file is converted to the c language array data that can be embedded into source code, such as bitmap file can be carried out binary conversion treatment, obtain the binaryzation data of bitmap file, the binaryzation data of bitmap file are embedded in driver。Another embodiment is: be directly embedded in driver with the form (resource form) of windows resource file by bitmap file。Specifically, bitmap file is transferred to the file of resource form, is embedded in driver。
After driver has created, also including the process installing driver, specifically, Windows driver can adopt following two installation method:
(1) using inf file to install, this method needs to write by the inf file of Microsoft's specified format and grammer, and calls SetupAPI and carry out installing or manual in explorer install, for instance on inf file, right button is clicked, and selects to install。This method is cumbersome comparatively speaking。
(2) WindowsSCM(ServiceControlManager is utilized, Service Control Manager) carry out the method installed, specifically comprise the following steps that
(2.1) opening SCM:OpenSCManager (NULL, NULL, SC_MANAGER_ALL_ACCESS), this calls the handle that can return SCM;
(2.2) use the SCM handle obtained that driver is installed: calling CreateService and install driving, detail parameters MSDN has a detailed description;
(2.3) closing SCM handle, drive installation completes。
Subsequently, method 200 enters step S204, wherein in the Native program initialization stage, obtains the handle of driver。The embodiment of the present invention, in the Native program initialization stage, opens driver by obtaining the handle of driver。Specifically, in the Native program initialization stage, main program module is transferred opendevicehandle function and is obtained the handle of driver, thus opening driver。
Subsequently, method 200 enters step S205, wherein when Native program display information, the main program module handle according to driver, runs module to driver and sends IOcontrolcode。Specifically, in Native program operation process, it is necessary to during display reminding information, main program module runs module to driver and sends IOcontrolcode。Known according to being described above, driver in this method have registered the event handling function of this classification of IRP_MJ_DEVICE_CONTROL, when main program module to driver run module send IOcontrolcode time, system will call driver IOcontrolcode process function。
Subsequently, method 200 enters step S206, and wherein driver runs module according to IOcontrolcode, calls, by running driver, the drawing interface display bitmap file on a user interface specified。If what embed in driver is array data, so driver runs module by calling the above-mentioned drawing interface specified, carry out mapping operation according to the array data that driver is internally embedded, thus display bitmap file on a user interface, namely show explanation information on a user interface。If what embed in driver is the file of resource form, so driver is to access the way access bitmap file of resource, bitmap file is converted to array data, then call the drawing interface specified and access array data, display bitmap file on a user interface, namely shows explanation information on a user interface。
Fig. 3 illustrates the schematic diagram of one application example of method showing information according to an embodiment of the invention in system boot process。As shown in Figure 3, said method is applied in 360 system refitting great master's softwares, perform to replace at this software and update the system file stage, user interface shows information " 360SysResetisupdatingsystemfiles ... Pleasedon ' tshutdownorrebootyourcomputer.48%completed.3000itemsproc essed. ", meanwhile, user interface also showing, product marking picture, name of product " 360 system refitting great master " and Chinese explanation information " are updating system file: please do not shut down or restart!", make the clear and definite 360 system refitting great masters of user just properly functioning, it is to avoid user misoperation。
All can not call for Win32API all of in prior art, displaying interface is restricted, graphical interfaces can not be used and the problem of only textual interface, according to the method that above-described embodiment provides, when Native program display information, control driver and call the drawing interface drafting bitmap file specified, this bitmap file comprises the picture file of explanation information corresponding to information, by showing these explanation information, give user to point out fully, it is to avoid operating system that user misoperation causes is damaged or the serious problems such as loss of data。
Fig. 4 illustrates the structured flowchart of the system showing information according to an embodiment of the invention in system boot process。As shown in Figure 4, this system includes: plot module 410, creation module 420, main program module 430 and driver run module 440;Alternatively, system may also include embedding module 450。
Wherein, plot module 410 is suitable to the information according to required display, makes bitmap file, and this bitmap file is the picture file comprising explanation information corresponding to information。In view of the information that existing system bootstrap routine is shown on a user interface is English, in order to be able to the concrete meaning allowing the user being ignorant of English understand this information, the information of these English of required display is translated as the explanation information of Chinese, explanation information is made as bitmap file by plot module 410, pre-saves with the form of picture file。Alternatively, explanation information is possible not only to include Chinese explanation information, it is also possible to include other additional product introduction information and picture, such as name of product, product identification picture etc.。Due to NT kernel operating system to shown information be limited to 16 colors within, so native system Bitmap file is also the picture within 16 colors。In the size of WinXP and Win7 system Bitmap file less than 640*55。
Creation module 420 is suitable to create driver, and specifies the different drawing interface called in driver for different operating system。Specifically, the driver that creation module 420 creates is based on the Windows device driver of WDM, this driver is a PE file, need to derive a DriverEntry function, after such system finds the log-on message of this driver in registration table, will load driver file, and call this DriverEntry function driver initialized。In the present embodiment, creation module 420 has needed following work:
1, create device object, generate an object instance of this driver in systems;
2, registration drives designation, and so common application program just can use driving designation link lookup to open this equipment;
3, driving routine callback list is filled: the meaning of this driving routine callback list is, driver is to system registry thing of interest, by the process function registration of corresponding event to system。When there is event in system, operating system can be called the corresponding function that processes and notify driver。Such as, driver in native system have registered the event handling function of this classification of IRP_MJ_DEVICE_CONTROL, when main program module to driver run module send IOcontrolcode time, system will call driver IOcontrolcode process function。Process in function at IOcontrolcode, system can pass over enough information, including IO control code, inputoutput data buffer pointer and buffer length etc., driver in the present embodiment can identify the IO control code pre-defined, concrete meaning according to IO control code, the drawing interface of calling system, specifies position graphing in user interface。
4, in driver, specify, for different operating system, the different drawing interface called: in different operating system, drawing interface is different, therefore can specify different drawing interfaces for different operating system in driver。Creation module 420 is further adapted for: for Win2000 or WinXP system, it is intended that use the bootvid VidBitBlt drawing function driven as drawing interface;For Vista or Win7 system, it is intended that use the ntoskrnl InbvIsBootDriverInstalled drawing function derived and InbvSolidColorFill drawing function as drawing interface。The present invention is by have invoked the drawing interface of Windows kernel, it is ensured that compatible and stability。
Embed module 450 to be suitable to be embedded in driver bitmap file。In the present invention, embed module and can have two kinds of optional working methods。One of which working method is: embeds module 450 and can include converting unit 451 and embedded unit 452。Converting unit 451 is suitable to bitmap file is converted to array data;Embedded unit 452 is suitable to be embedded in driver array data。Specifically, converting unit 451 utilizes file crossover tool that bitmap file is converted to the c language array data that can be embedded into source code, such as bitmap file can be carried out binary conversion treatment, obtaining the binaryzation data of bitmap file, the binaryzation data of bitmap file are embedded in driver by embedded unit 452。Another kind of working method is: embeds module and is directly embedded in driver with the form (resource form) of windows resource file by bitmap file。Specifically, bitmap file is transferred to the file of resource form, is embedded in driver。
The present embodiment may also include the module for installing driver, and this module can adopt following two installation method to install Windows driver:
(1) using inf file to install, this method needs to write by the inf file of Microsoft's specified format and grammer, and calls SetupAPI and carry out installing or manual in explorer install, for instance on inf file, right button is clicked, and selects to install。This method is cumbersome comparatively speaking。
(2) utilize WindowsSCM to carry out the method installed, specifically comprise the following steps that
(2.1) opening SCM:OpenSCManager (NULL, NULL, SC_MANAGER_ALL_ACCESS), this calls the handle that can return SCM;
(2.2) use the SCM handle obtained that driver is installed: calling CreateService and install driving, detail parameters MSDN has a detailed description;
(2.3) closing SCM handle, drive installation completes。
Main program module 430 is suitable at system bootstrap routine initial phase, obtains the handle of driver;And, when system bootstrap routine display reminding information, the handle according to driver, send control information to driver。Main program module 430 is the module running system bootstrap routine。Main program module 430 has at system bootstrap routine initial phase, opens the function of driver by obtaining the handle of driver。Specifically, at system bootstrap routine initial phase, main program module 430 is transferred opendevicehandle function and is obtained the handle of driver, thus opening driver。Main program module 430 also has the transmission IOcontrolcode function when display reminding information。In system bootstrap routine running, it is necessary to during display reminding information, main program module 430 runs module 440 to driver and sends IOcontrolcode。
Driver runs module 440 and is suitable to, according to control information, call the drawing interface specified and show on a user interface and bitmap file。If what embed in driver is array data, so driver runs module 440 by calling the above-mentioned drawing interface specified, carry out mapping operation according to the array data that driver is internally embedded, thus display bitmap file on a user interface, namely show explanation information on a user interface。If what embed in driver is the file of resource form, so driver runs module 440 to access the way access bitmap file of resource, bitmap file is converted to array data, then call the drawing interface specified and access array data, display bitmap file on a user interface, namely shows explanation information on a user interface。
All can not call for Win32API all of in prior art, displaying interface is restricted, graphical interfaces can not be used and the problem of only textual interface, according to the system that above-described embodiment provides, when system bootstrap routine display reminding information, control driver and call the drawing interface drafting bitmap file specified, this bitmap file comprises the picture file of explanation information corresponding to information, by showing these explanation information, give user to point out fully, it is to avoid operating system that user misoperation causes is damaged or the serious problems such as loss of data。
In the embodiment of the present invention, described embedding module includes:
Converting unit, is suitable to institute's bitmap file is converted to array data;
Embedded unit, is suitable to be embedded in described driver described array data。
Described embedding module is particularly adapted to be embedded in described driver institute's bitmap file with the form of windows resource file;
Described driver runs module and is particularly adapted to, according to described control information, by running described driver to access the way access bitmap file of resource, bitmap file is converted to array data;Then call the drawing interface specified and access described array data, show institute's bitmap file on a user interface。
Institute's bitmap file is the picture within 16 colors。
Described creation module is further adapted for:
For Win2000 or WinXP system, it is intended that using the bootvid VidBitBlt drawing function driven is drawing interface;
Or, for Vista or Win7 system, it is intended that using the ntoskrnl InbvIsBootDriverInstalled drawing function derived and InbvSolidColorFill drawing function is drawing interface。
Not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant in algorithm and the display of this offer。Various general-purpose systems can also with use based on together with this teaching。As described above, the structure constructed required by this kind of system is apparent from。Additionally, the present invention is also not for any certain programmed language。It is understood that, it is possible to utilize various programming language to realize the content of invention described herein, and the description above language-specific done is the preferred forms in order to disclose the present invention。
In description mentioned herein, describe a large amount of detail。It is to be appreciated, however, that embodiments of the invention can be put into practice when not having these details。In some instances, known method, structure and technology it are not shown specifically, in order to do not obscure the understanding of this description。
Similarly, it is to be understood that, one or more in order to what simplify that the disclosure helping understands in each inventive aspect, herein above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes。But, the method for the disclosure should be construed to and reflect an intention that namely the present invention for required protection requires feature more more than the feature being expressly recited in each claim。More precisely, as the following claims reflect, inventive aspect is in that all features less than single embodiment disclosed above。Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, wherein each claim itself as the independent embodiment of the present invention。
Those skilled in the art are appreciated that, it is possible to carry out the module in the equipment in embodiment adaptively changing and they being arranged in one or more equipment different from this embodiment。Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition。Except at least some in such feature and/or process or unit excludes each other, it is possible to adopt any combination that all processes or the unit of all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment are combined。Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing purpose identical, equivalent or similar。
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and form different embodiments。Such as, in the following claims, the one of any of embodiment required for protection can mode use in any combination。
The all parts embodiment of the present invention can realize with hardware, or realizes with the software module run on one or more processor, or realizes with their combination。It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the system showing information in system boot process according to embodiments of the present invention。The present invention is also implemented as part or all the equipment for performing method as described herein or device program (such as, computer program and computer program)。The program of such present invention of realization can store on a computer-readable medium, or can have the form of one or more signal。Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form。
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims。In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims。Word " comprises " and does not exclude the presence of the element or step not arranged in the claims。Word "a" or "an" before being positioned at element does not exclude the presence of multiple such element。The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer。In the unit claim listing some devices, several in these devices can be through same hardware branch and specifically embody。Word first, second and third use do not indicate that any order。Can be title by these word explanations。

Claims (14)

1. the method showing information in system boot process, in system boot process, main program module runs system bootstrap routine, and driver runs module and runs driver, and described method includes:
Information according to required display, makes bitmap file, and institute's bitmap file is the picture file comprising explanation information corresponding to described information;
Create driver, and in described driver, specify the different drawing interface called for different operating system;
When system bootstrap routine shows described information, described main program module runs module to driver and sends control information;
Described driver runs module according to described control information, and the drawing interface specified by running described driver to call shows institute's bitmap file on a user interface;
Wherein, described establishment driver, and specify the different drawing interface called to farther include for different operating system in described driver: create device object, generate the object instance of driver;Registration drives designation;Fill and drive routine callback list;Described driver is specified the different drawing interface called for different operating system。
2. method according to claim 1, also included: at system bootstrap routine initial phase, main program module obtains the handle of described driver before described main program module runs module transmission control information to driver;
The described main program module handle according to described driver, runs module to driver and sends control information。
3. method according to claim 1 and 2, also includes after described establishment driver: be embedded in described driver by institute's bitmap file。
4. method according to claim 3, described be embedded into bitmap file described driver and farther include:
Institute's bitmap file is converted to array data;
Described array data is embedded in described driver。
5. method according to claim 3, described is embedded in described driver particularly as follows: be embedded in described driver with the form of windows resource file by institute's bitmap file by bitmap file;
The described drawing interface specified by running described driver to call shows that institute's bitmap file farther includes on a user interface: by running described driver to access the way access bitmap file of resource, bitmap file is converted to array data;Then call the drawing interface specified and access described array data, show institute's bitmap file on a user interface。
6. method according to claim 1, institute's bitmap file is the picture within 16 colors。
7. method according to claim 1, described specifies the different drawing interface called to be for different operating system in driver:
For Win2000 or WinXP system, it is intended that using the bootvid VidBitBlt drawing function driven is drawing interface;
Or, for Vista or Win7 system, it is intended that using the ntoskrnl InbvIsBootDriverInstalled drawing function derived and InbvSolidColorFill drawing function is drawing interface。
8. in system boot process, show a system for information, including:
Plot module, is suitable to the information according to required display, makes bitmap file, and institute's bitmap file is the picture file comprising explanation information corresponding to described information;
Creation module, is suitable to create driver, and specifies the different drawing interface called in described driver for different operating system;
Main program module, is suitable to when system bootstrap routine shows described information, runs module to driver and sends control information;
Driver runs module, is suitable to, according to described control information, call the drawing interface specified and show institute's bitmap file on a user interface;
Wherein, described creation module is further adapted for: create device object, generates the object instance of driver;Registration drives designation;Fill and drive routine callback list;Described driver is specified the different drawing interface called for different operating system。
9. system according to claim 8, described main program module is particularly adapted to, at system bootstrap routine initial phase, obtain the handle of described driver;And when system bootstrap routine shows described information, the handle according to described driver, runs module to driver and sends control information。
10. system according to claim 8 or claim 9, also includes: embeds module, is suitable to be embedded in described driver institute's bitmap file。
11. system according to claim 10, described embedding module includes:
Converting unit, is suitable to institute's bitmap file is converted to array data;
Embedded unit, is suitable to be embedded in described driver described array data。
12. system according to claim 10, described embedding module is particularly adapted to be embedded in described driver institute's bitmap file with the form of windows resource file;
Described driver runs module and is particularly adapted to, according to described control information, by running described driver to access the way access bitmap file of resource, bitmap file is converted to array data;Then call the drawing interface specified and access described array data, show institute's bitmap file on a user interface。
13. system according to claim 8, institute's bitmap file is the picture within 16 colors。
14. system according to claim 8, described creation module is further adapted for:
For Win2000 or WinXP system, it is intended that using the bootvid VidBitBlt drawing function driven is drawing interface;
Or, for Vista or Win7 system, it is intended that using the ntoskrnl InbvIsBootDriverInstalled drawing function derived and InbvSolidColorFill drawing function is drawing interface。
CN201310208128.2A 2013-05-30 2013-05-30 System boot process shows the method and system of information Expired - Fee Related CN103279348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310208128.2A CN103279348B (en) 2013-05-30 2013-05-30 System boot process shows the method and system of information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310208128.2A CN103279348B (en) 2013-05-30 2013-05-30 System boot process shows the method and system of information

Publications (2)

Publication Number Publication Date
CN103279348A CN103279348A (en) 2013-09-04
CN103279348B true CN103279348B (en) 2016-06-22

Family

ID=49061888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310208128.2A Expired - Fee Related CN103279348B (en) 2013-05-30 2013-05-30 System boot process shows the method and system of information

Country Status (1)

Country Link
CN (1) CN103279348B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090803A (en) * 2014-07-14 2014-10-08 山东超越数控电子有限公司 Method for displaying two-dimensional picture through BIOS
CN110673815B (en) * 2019-10-15 2023-06-06 重庆远视科技有限公司 Bitmap display method, device, equipment and computer readable storage medium
CN111414211A (en) * 2020-03-26 2020-07-14 上海闻泰信息技术有限公司 Method, device, equipment and storage medium for displaying image in system starting phase

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6373498B1 (en) * 1999-06-18 2002-04-16 Phoenix Technologies Ltd. Displaying images during boot-up and shutdown
CN1749964A (en) * 1999-06-18 2006-03-22 凤凰技术有限公司 Generating medium output during start of basic input and output system
CN102308324A (en) * 2009-02-06 2012-01-04 星克跃尔株式会社 Apparatus and method for providing prerecorded advertisement information displayed in navigation system during route guidance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6373498B1 (en) * 1999-06-18 2002-04-16 Phoenix Technologies Ltd. Displaying images during boot-up and shutdown
CN1749964A (en) * 1999-06-18 2006-03-22 凤凰技术有限公司 Generating medium output during start of basic input and output system
CN102308324A (en) * 2009-02-06 2012-01-04 星克跃尔株式会社 Apparatus and method for providing prerecorded advertisement information displayed in navigation system during route guidance

Also Published As

Publication number Publication date
CN103279348A (en) 2013-09-04

Similar Documents

Publication Publication Date Title
US10296323B2 (en) System and method for fast initial and incremental deployment of apps
JP5362974B2 (en) How to use virtualization software for shipping software products
US8700998B2 (en) Foreign language translation tool
US8171406B1 (en) Automating user interface navigation
EP1280058A2 (en) Method and system for creating and employing an operating system having selected functionality
US9063819B2 (en) Extensible patch management
US20090055757A1 (en) Solution for automatically generating software user interface code for multiple run-time environments from a single description document
WO2005020089A1 (en) Servicing a component-base software product
EP3094071A1 (en) Interaction between a translation application and an (other) add-on application in an image forming apparatus
CN106502717B (en) Application program running method and device
CN105389187B (en) System updating method
CN106941672A (en) The method and device of application software abnormality processing
CN103793248A (en) Method and device for upgrading application program
CN103279348B (en) System boot process shows the method and system of information
CN106775876B (en) Method for quickly starting application by android system
CN104503772A (en) Operating system installation and test environment establishment method and device based on virtual machine
CN108351790B (en) Apparatus, method, and medium for non-monotonic eventual convergence of desired state configurations
CN107918543B (en) Installation package generation method and device, computer equipment and storage medium
US8316361B2 (en) Method of enabling a user to update one or more low-level resources of a computer system in a user-friendly manner
US20170322797A1 (en) System and Method for Automated Content and Software Migration
CN104133706A (en) Firmware modifying method and device
CN106681759A (en) Software updating method and mobile terminal
CN105095076B (en) Method and device for testing compatibility between application software versions
CN114217879B (en) Method for breaking through android ghost process limitation during program starting and running
CN113010189B (en) Database installation method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160622

CF01 Termination of patent right due to non-payment of annual fee