A kind of startup method
Technical field
The invention belongs to technical field of digital media, particularly relate to a kind of startup method.
Background technology
Set Top Box, is a kind of equipment connecting television set and outside source, and it can be by the numeral of compression
Signal changes into television content, and shows on a television set, thus enables users on existing television set
Viewing digital television program, and it is alive to interact the amusement of formula digitized, education and commercialization by network
Dynamic.
At present, the startup scheme that Set Top Box is conventional is as follows: the first bootstrap of starter motor top box, as
Uboot program, wherein, in start-up course, bootstrap can be with the specified resolution output being fixed therein
Image;After bootstrap has started, the application program guided by this bootstrap is activated therewith, should
With in program start-up course, the resolution output of the meeting user setup to read from systematic parameter memory block is schemed
Picture.Owing to bootstrap is to fix a kind of specific resolution wherein, and the resolution that application program uses
Rate is stored in systematic parameter district, and the resolution that arranges in a menu with user keeps consistent, understand with
The difference of user arranges and changes, thus the resolution used when bootstrap starts and application program launching
During use resolution be likely to difference.And television set is when showing different resolution, can first close
Close current output, then reconfigure new resolution, to realize resolution switching, cut in resolution
Changing moment can produce scintillation.
To sum up, in existing Set Top Box start-up course, may there is scintillation in telescreen, thus
The interaction style of coherent picture and close friend can not be provided the user.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of startup method, open solving above-mentioned Set Top Box
During Dong, may there is this problem of scintillation in telescreen, and then provide the user coherent
Picture and the interaction style of close friend.
To this end, the present invention adopts the following technical scheme that
A kind of startup method, is applied to electronic equipment, and described startup method includes:
Bootloader, described bootstrap comprises the loading object of the loading described electronic equipment of startup
Associative operation;
Read target resolution;
The screen-picture corresponding to the execution process of described bootstrap is shown with described target resolution;
Keep the display output of the screen-picture corresponding to execution process of described bootstrap, add simultaneously
Carry the loading object starting described electronic equipment;
Show that described loading object loads the screen that start-up course is corresponding without interruption with described target resolution
Picture.
Preferably, described startup method, also include:
Judge the effectiveness of the target resolution read;
If judged result is effectively, then performs step and show described bootstrap with described target resolution
Screen-picture corresponding to execution process;
If judged result is invalid, then using default default resolution as new target resolution, perform
Step shows the screen-picture corresponding to execution process of described bootstrap with described target resolution.
Preferably, described electronic equipment is specially Set Top Box.
Preferably, the object that loads of described electronic equipment includes the application program on Set Top Box.
Preferably, described target resolution is the resolution of user setup, the resolution of described user setup
It is stored in the customer parameter district of Set Top Box.
Preferably, described bootstrap is the electrifying startup program of Set Top Box.
In the startup method that the embodiment of the present invention provides, the process of Bootloader, and load startup
The process loading object of electronic equipment, all uses same resolution the most described target resolution display phase
The screen-picture answered, and bootstrap performs process and terminates, and loads therewith and starts the adding of described electronic equipment
When carrying object, show, with described target resolution, the screen-picture that loading procedure is corresponding without interruption.In reality
When executing the present invention, specifically described electronic equipment can being set as, Set Top Box, described bootstrap are set as machine
Electrifying startup program on top box, described target resolution is set as the resolution of user setup, Yi Jisuo
State and load the application program that object is set as on Set Top Box, thus apply the method for the present invention on starter motor top
During box, its bootstrap is consistent with the screen-picture resolution of application program launching process, all adopts
By the resolution of user setup, and when starting to start application program, keep the resolution with user setup
At the end of display free of discontinuities, i.e. bootstrap start, do not close display output, thereby ensure that and started shooting
In journey, television set does not haves scintillation.
To sum up, the present invention solves in above-described Set Top Box start-up course, and telescreen may be deposited
In this problem of scintillation, thus improve the display matter of TV image corresponding to Set Top Box start-up course
Amount, has provided the user coherent picture and the interaction style of close friend.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is some embodiments of the present invention, for those of ordinary skill in the art, not
On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the startup method that the embodiment of the present invention one provides;
Fig. 2 is a kind of Set Top Box start-up course flow chart that the embodiment of the present invention one provides;
Fig. 3 is the set-top-box system storage organization schematic diagram that the embodiment of the present invention one provides;
Fig. 4 is the another kind of schematic flow sheet of the startup method that the embodiment of the present invention two provides;
Fig. 5 is the another kind of Set Top Box start-up course flow chart that the embodiment of the present invention two provides.
Detailed description of the invention
For the sake of quoting and understanding, the technical term that is used below, write a Chinese character in simplified form or summary of abridging is explained such as
Under:
Uboot:Universal BootLoader, is linux or other OS (Operating System, behaviour
Make system) one section of code being carried out of starting up.
APP: be the abbreviation of English Application, refer to application program.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment be a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound
The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
For in the Set Top Box start-up course of prior art, telescreen may exist scintillation this
Problem, the invention discloses a kind of startup method, and this startup method is applied to electronic equipment, below will be logical
Cross multiple embodiment the startup method of the present invention is described in detail.
Embodiment one
The embodiment of the present invention one discloses a kind of flow process of startup method, refers to Fig. 1, this startup method
Comprise the steps:
S11: Bootloader, this bootstrap comprises the loading object of loading startup electronic equipment
Associative operation.
S12: read target resolution.
S13: show that above-mentioned bootstrap performs the screen-picture that process is corresponding with this target resolution.
S14: load the loading object starting electronic equipment.
S15: show that with above-mentioned target resolution loading object loads the screen that start-up course is corresponding without interruption
Curtain picture.
In the present embodiment, specifically above-mentioned startup method is applied in the start-up course of Set Top Box, wherein,
The loading operating system of object concretely Set Top Box, the application program etc. of electronic equipment;Target resolution
It is specially the resolution of user setup;Bootstrap is specially the electrifying startup program of Set Top Box, such as uboot
Program.
In view of wanting the problem of TV image flicker during set-top-box opening that solves, it is necessary for making uboot
The start-up course TV image corresponding with application A PP start-up course uses consistent resolution, and
APP uses the resolution of user setup, changes with different setting of user, thus stands in user
Angle, it is considered to specific resolution can not be fixed in uboot, make uboot start and APP starts all
Use the resolution of user setup, and in Set Top Box start-up course, a Sub-reso is only set, therefore
In the present embodiment, above-mentioned target resolution is specially the resolution of user setup.
Referring to Fig. 2, the detailed process utilizing the startup method starter motor top box of the present invention is as follows:
S21: power on.
S22:uboot starts.
S23: read the resolution of user setup.
Refer to Fig. 3, Fig. 3 and show the storage organization of set-top-box system, wherein, the resolution of user setup
Rate is stored in customer parameter district.
Specifically, can add the code of the resolution reading user setup in uboot, uboot starts
Time, the resolution of user setup can be read from customer parameter district by this code.
S24: show the screen-picture that uboot start-up course is corresponding with the resolution of user setup.
S25: start APP, wherein do not include the initialized step of resolution in APP start-up course.
Specifically, in APP initialization procedure, it is impossible to resolution is set again, otherwise will have closedown and beat
The process opened, and then boot flash can be caused.After uboot starts, it reads user and sets from customer parameter district
The resolution put, then arranges with this resolution output screen picture and starts APP, and APP was starting
Cheng Zhong, is not repeated that the resolution calling user setup carries out output setting, keeps arrange in uboot to divide
Resolution output start.
Herein, it should be noted that the resolution of the user setup preserved due to customer parameter district is not solid
Fixed, there is respective change with different setting of user in it, during thus it requires implement the present invention, and uboot
Multiple resolution can be supported.
Also, it should be noted uboot is when starting APP, it is impossible to close display output, if closing aobvious
Show output, then APP needs to reset resolution, even if the resolution of APP setting and uboot are arranged
Resolution identical, close and the process opened also due to have, and TV image when still can cause start
Flicker.Therefore uboot does not close display output when starting APP, to ensure with the resolution identical with uboot
Show the corresponding screen-picture of APP start-up course without interruption.
Visible, in the startup method that the embodiment of the present invention provides, the process of Bootloader, Yi Jijia
Carry the process loading object starting electronic equipment, all use the most described target resolution of same resolution
Show corresponding screen-picture, and bootstrap performs process and terminates, and loads the described electronics of startup therewith and sets
During standby loading object, draw with the screen that described target resolution display loading procedure is corresponding without interruption
Face.When implementing the present invention, described electronic equipment specifically can be set as Set Top Box, described bootstrap
Being set as the electrifying startup program of Set Top Box, described target resolution is set as the resolution of user setup,
And the application program that described loading object is set as on Set Top Box, thus the method for the present invention is applied to open
During motivation top box, the screen-picture of its bootstrap and application program launching process all have employed use
The resolution that family is arranged, and when starting to start application program, keep free of discontinuities with the resolution of user setup
At the end of display, i.e. bootstrap start, do not close display output, thereby ensure that electricity in start process
Scintillation is not had depending on machine.
Embodiment two
The embodiment of the present invention two is on the basis of embodiment one, it is provided that start the another kind of flow process of method,
Referring to Fig. 4, it specifically includes:
S41: Bootloader, this bootstrap comprises the loading object of loading startup electronic equipment
Associative operation.
S42: read target resolution.
S43: judge the effectiveness of target resolution;If judged result is effectively, then perform step S45;
If judged result is invalid, then perform step S44.
S44: using default default resolution as new target resolution.
S45: show that described bootstrap performs the screen-picture that process is corresponding with above-mentioned target resolution.
S46: load the loading object starting electronic equipment.
S47: show that with above-mentioned target resolution loading object loads the screen that start-up course is corresponding without interruption
Curtain picture.
The application embodiment of the present invention two carries out the idiographic flow of Set Top Box startup as it is shown in figure 5, include:
S51: power on.
S52:uboot starts and reads the resolution data of user setup in customer parameter district.
S53:uboot judges the effectiveness of the resolution data of user setup, if judged result is effectively,
Connect execution step S55;If judged result is invalid, then perform step S54.
S54: using default default resolution as new user setup resolution write customer parameter
District.
S55:uboot arranges output according to the resolution data of user setup.
S56:uboot starts APP, and does not close display output.
In S57:APP start-up course, the resolution display output arranged with uboot, do not recall setting
The function of resolution, during the most whole starting up, only uboot is provided with resolution.
The embodiment of the present invention two may be this situation invalid for the resolution of user setup, and it is right to the addition of
The resolution of target resolution or user setup carries out Effective judgement, and takes corresponding measure when invalid
The step for, can effectively solve the resolution of user setup invalid time the display problem brought.
The step phase of other steps of the startup method of the embodiment of the present invention two and the startup method of embodiment one
With, relevant portion content asks for an interview the introduction of embodiment one, the most no longer describes in detail.
To sum up, the present invention solves in above-described Set Top Box start-up course, and telescreen may be deposited
In this problem of scintillation, thus improve the display matter of TV image corresponding to Set Top Box start-up course
Amount, has provided the user coherent picture and the interaction style of close friend.
Being not difficult to draw, the thought of the present invention is expansible is applied to other devices or equipment, is not limited to machine top
Box, such as other embedded device can also use similar approach to realize its start-up course.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that arrive
The application can add the mode of required general hardware platform by software and realize.Based on such understanding,
The part that prior art is contributed by the technical scheme of the application the most in other words can be with software product
Form embody, this computer software product can be stored in storage medium, as
ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be
Personal computer, server, or the network equipment etc.) perform each embodiment of the application or embodiment
The method described in some part.
The above is only the preferred embodiment of the present invention, it is noted that general for the art
For logical technical staff, under the premise without departing from the principles of the invention, it is also possible to make some improvement and profit
Decorations, these improvements and modifications also should be regarded as protection scope of the present invention.