Summary of the invention
In view of this, the object of the present invention is to provide a kind of starting method, to solve in the above-mentioned set-top box start-up course, may there be this problem of scintillation in video screen, and then provides coherent picture and friendly interaction style for the user.
For this reason, the present invention adopts following technical scheme:
A kind of starting method is applied to electronic equipment, and described starting method comprises:
Bootloader, described boot comprise the associative operation that loads the loading object that starts described electronic equipment;
Read target resolution;
The corresponding screen-picture of implementation that shows described boot with described target resolution;
Load the loading object that starts described electronic equipment;
Show without interruption that with described target resolution described loading object loads screen-picture corresponding to start-up course.
Preferably, described starting method also comprises:
Judge the validity of the target resolution that reads;
If judged result is that effectively then execution in step shows the corresponding screen-picture of implementation of described boot with described target resolution;
If judged result is invalid, then with default default resolution as new target resolution, execution in step shows the corresponding screen-picture of implementation of described boot with described target resolution.
Preferably, described electronic equipment is specially set-top box.
Preferably, the loading object of described electronic equipment comprises the application program on the set-top box.
Preferably, the resolution that described target resolution arranges for the user, the resolution that described user arranges is stored in the customer parameter district of set-top box.
Preferably, described boot is the electrifying startup program of set-top box.
In the starting method that the embodiment of the invention provides, the process of Bootloader, and the process that loads the loading object that starts electronic equipment, all adopting same resolution is that described target resolution shows corresponding screen-picture, and the boot implementation finishes, when loading the loading object that starts described electronic equipment, show screen-picture corresponding to loading procedure with described target resolution without interruption thereupon.When enforcement is of the present invention, specifically described electronic equipment can be set as set-top box, described boot is set as the electrifying startup program on the set-top box, described target resolution is set as the resolution that the user arranges, and described loading object is set as the application program on the set-top box, thereby use method of the present invention in the process of starter motor top box, the screen-picture resolution of its boot and application program launching process is consistent, the resolution that has all adopted the user to arrange, and when beginning to start application program, maintenance shows with the resolution free of discontinuities that the user arranges, be that boot starts when finishing, do not close demonstration output, guaranteed that thus can there be scintillation in television set in the start process.
To sum up, the invention solves in the above-described set-top box start-up course, may there be this problem of scintillation in video screen, thereby improved the display quality of television image corresponding to set-top box start-up course, and picture and the friendly interaction style that links up is provided for the user.
Embodiment
For quote and know for the purpose of, the technical term that hereinafter uses, write a Chinese character in simplified form or abridge to sum up and be explained as follows:
Uboot:Universal BootLoader is linux or other OS(Operating System, operating system) the one section code of starting up with regard to carrying out.
APP: be the abbreviation of English Application, refer to application program.
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
In the set-top box start-up course for prior art, may there be this problem of scintillation in video screen, the invention discloses a kind of starting method, this starting method is applied to electronic equipment, below will describe in detail to starting method of the present invention by a plurality of embodiment.
Embodiment one
The embodiment of the invention one discloses a kind of flow process of starting method, sees also Fig. 1, and this starting method comprises the steps:
S11: Bootloader, this boot comprise the associative operation that loads the loading object that starts electronic equipment.
S12: read target resolution.
S13: show screen-picture corresponding to above-mentioned boot implementation with this target resolution.
S14: load the loading object that starts electronic equipment.
S15: show without interruption that with above-mentioned target resolution loading object loads screen-picture corresponding to start-up course.
In the present embodiment, specifically above-mentioned starting method is applied in the start-up course of set-top box, wherein, the loading object of electronic equipment specifically can be operating system, application program of set-top box etc.; Target resolution is specially the resolution that the user arranges; Boot is specially the electrifying startup program of set-top box, such as the uboot program.
Consider the problem that wants to solve television image flicker in the set-top-box opening process, just must make television image corresponding to uboot start-up course and application A PP start-up course adopt consistent resolution, and the APP employing is the resolution that the user arranges, difference setting with the user changes, thereby stand in user's angle, consideration can not be fixed specific resolution in uboot, make uboot startup and APP start the resolution that all adopts the user to arrange, and in the set-top box start-up course, one Sub-reso only is set, so in the present embodiment, above-mentioned target resolution is specially the resolution that the user arranges.
See also Fig. 2, utilize the detailed process of starting method starter motor top box of the present invention as follows:
S21: power on.
S22:uboot starts.
S23: read the resolution that the user arranges.
See also Fig. 3, Fig. 3 shows the storage organization of set-top-box system, and wherein, the resolution that the user arranges is stored in the customer parameter district.
Particularly, can in uboot, add the code of the resolution that reads user's setting, when uboot starts, can read the resolution that the user arranges from the customer parameter district by this code.
S24: the resolution that arranges with the user shows screen-picture corresponding to uboot start-up course.
S25: start APP, wherein do not comprise the initialized step of resolution in the APP start-up course.
Particularly, in the APP initialization procedure, resolution can not be set again, otherwise the process of closing and opening will be arranged, and then can cause boot flash.After uboot starts, it reads the resolution that the user arranges from the customer parameter district, then arrange with this resolution output screen picture and start APP, and APP is in start-up course, no longer repeat the resolution of invoke user setting and export setting, keep the resolution output start that arranges among the uboot.
, need to prove that because the resolution that the user that the customer parameter district preserves arranges is not fixed, respective change occurs in its difference setting with the user herein, thereby when requiring enforcement of the present invention, uboot can support multiple resolution.
Also need to prove, uboot is when starting APP, can not close and show output, show output if close, then APP need to reset resolution, even the resolution that APP arranges is identical with the resolution that uboot arranges, also can be owing to the process of closing and opening be arranged, television image glimmers when starting shooting and still can cause.So not closing when starting APP, uboot do not show output, to guarantee showing without interruption the corresponding screen-picture of APP start-up course with the resolution identical with uboot.
As seen, in the starting method that the embodiment of the invention provides, the process of Bootloader, and the process that loads the loading object that starts electronic equipment, all adopting same resolution is that described target resolution shows corresponding screen-picture, and the boot implementation finishes, and when loading the loading object that starts described electronic equipment, shows screen-picture corresponding to loading procedure with described target resolution without interruption thereupon.When enforcement is of the present invention, specifically described electronic equipment can be set as set-top box, described boot is set as the electrifying startup program of set-top box, described target resolution is set as the resolution that the user arranges, and described loading object is set as the application program on the set-top box, thereby use method of the present invention in the process of starter motor top box, the resolution that the screen-picture of its boot and application program launching process has all adopted the user to arrange, and when beginning to start application program, maintenance shows with the resolution free of discontinuities that the user arranges, be that boot starts when finishing, do not close demonstration output, guaranteed that thus can there be scintillation in television set in the start process.
Embodiment two
The embodiment of the invention two provides the another kind of flow process of starting method on the basis of embodiment one, see also Fig. 4, and it specifically comprises:
S41: Bootloader, this boot comprise the associative operation that loads the loading object that starts electronic equipment.
S42: read target resolution.
S43: the validity of judging target resolution; If judged result is effectively, then execution in step S45; If judged result is invalid, then execution in step S44.
S44: with default default resolution as new target resolution.
S45: show screen-picture corresponding to described boot implementation with above-mentioned target resolution.
S46: load the loading object that starts electronic equipment.
S47: show without interruption that with above-mentioned target resolution loading object loads screen-picture corresponding to start-up course.
Use the embodiment of the invention two and carry out idiographic flow that set-top box starts as shown in Figure 5, comprising:
S51: power on.
S52:uboot starts and reads the resolution data of user's setting in the customer parameter district.
S53:uboot judges the validity of the resolution data that the user arranges, if judged result is effectively, meets execution in step S55; If judged result is invalid, then execution in step S54.
S54: default default resolution is write the customer parameter district as the resolution of New Consumers setting.
S55:uboot arranges output according to the resolution data that the user arranges.
S56:uboot starts APP, and does not close demonstration output.
In the S57:APP start-up course, the resolution that arranges with uboot shows output, no longer calls the function that resolution is set, and namely only has uboot to be provided with resolution in whole starting up's process.
The embodiment of the invention two may be invalid this situation for the resolution that the user arranges, added the resolution of target resolution or user's setting has been carried out the validity judgement, and when invalid, take this step of corresponding measure, can effectively solve the demonstration problem that resolution that the user arranges is brought when invalid.
Other steps of the starting method of the embodiment of the invention two are identical with the step of the starting method of embodiment one, and the introduction that the relevant portion content is asked for an interview embodiment one is no longer described in detail herein.
To sum up, the invention solves in the above-described set-top box start-up course, may there be this problem of scintillation in video screen, thereby improved the display quality of television image corresponding to set-top box start-up course, and picture and the friendly interaction style that links up is provided for the user.
Be not difficult to draw, but thought expanded application of the present invention is not limited to set-top box in other devices or equipment, for example other embedded device also can use similar approach to realize its start-up course.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.