Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to thisBright it is described in further detail, it is clear that described embodiment is only 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 doingGo out all other embodiments obtained under creative work premise, broadly fall into the scope of protection of the invention.
Present invention could apply to various types of intelligent terminal (such as intelligent television, smart mobile phone, flat board electricityBrain etc.) in equipment, the present invention can be specifically adapted to intelligent television based on Android (Android) systemIn.In the present invention, TV middleware (TVserviceMW) can be a kind of service processes, this serviceProcess is responsible for all of signal source (Source) function of initializing, the storage function of Source related data,And the handoff functionality of all of Source is provided;Bootanimation process, is responsible for starting intelligent televisionPainting function, and original bootlogo is switched to boot animation, and the display etc. of live signal.ThisInvention by switching Source in TV middleware, and can utilize bootanimation process to showThe mode of Source, it is achieved that the quick turn-on scheme of intelligent television.
The invention provides the control method that a kind of intelligent television starts, Fig. 2 shows the one in the present inventionThe schematic flow sheet of the control method that intelligent television starts, as in figure 2 it is shown, this flow process may include that
Step 21: during intelligent television loads android system, control relevant to audio/videoHardware initialization;
Step 22: according to the signal source configuration information prestored, be switched to the signal source of correspondence.
Optionally, in above-mentioned steps 21, load the TVserviceWM for configuring and obtain signal sourceProcess;After the hardware initialization that TVserviceWM Process flowchart is relevant to audio/video, obtain pre-The mark of the signalling channel needing to be quickly switched into after intelligent television is started shooting first stored;Control intelligent televisionIt is switched to the signalling channel of correspondence, and monitors the signal inputted by this signalling channel;Available when monitoringDuring signal, formed for showing to get the labelling of available signal.
Optionally, in above-mentioned steps, load the Bootanimation process for showing boot animation;After Bootanimation process display boot animation, whether inquiring about to TVserviceWM process of cycleExist for showing to get the labelling of available signal;Exist for show to get can inquiringDuring with the labelling of signal, Bootanimation process stops display boot animation, and commences play out and getAvailable signal;When not inquiring existence for showing the labelling getting available signal, continue display and openMotor-driven picture.
Optionally, in above-mentioned steps, after controlling intelligent television and being switched to corresponding signalling channel,
Control intelligent television and enter mute state;After commencing play out the available signal got, release intelligenceThe mute state of energy TV.
Optionally, before android system has loaded, Bootanimation process is called for receivingThe interface of the instruction that user is sent by remote controller, and by interface, monitor that user is sent out by remote controllerThe instruction sent;The instruction sent when Bootanimation Message-based IPC to user is the finger for controlling volumeMake or when the instruction of switching channels, instruction be transferred to TVserviceWM process, with instructionThe response instruction of TVserviceWM process.
Generally, present invention have the advantage that
First, the present invention can start TV middleware services process in android system start-up course.In the present invention, in the start-up course of android system, and after ServerManger has loaded,Preferential loading TV middleware (TVserviceMW), and other service processes can wait TVserviceMWLoad the most one by one after process initiation, after TVserviceMW starts, priority initialization Source (letterNumber source) relevant configuration, and perform to obtain and the operation in control signal source, thus realize in advance configuration, obtain,The function in control signal source.
Second, the present invention can also be after Bootanimation process initiation, by Bootanimation processTiming wheel looks into the state of TV middleware capture Source, if TV middleware has captured availableSource, can show immediately, saves the signal capture time switching Source for the first time.
3rd, the present invention can also record in the data base that TV middleware is corresponding start acquiescence Source andThe last Source play before shutdown last time, and indicate TV middleware to be preferentially switched to start acquiescence SourceOr the last Source play before shutdown last time, it is achieved that the quick turn-on scheme of intelligent television.
Describe the present invention in the way of citing description below.
Fig. 3 (a) shows the schematic flow sheet of a kind of TV middleware process in the embodiment of the present invention, asShown in Fig. 3 (a), this flow process may include that
Step 301:TV middleware (TVserviceMW) process initiation.
Step 302: to ServiceManager (SM) registration service.
It should be noted that ServiceManager is a kind of communication commonly used in android systemMechanism.In Init.rc, ServiceManager starts as service, and is to start it at zygoteBefore.Owing to, in prior art, after TVserviceMW process initiation, the behaviour of initial configuration being first carried outMake, the most do not do any operation, until after waiting that Android has started, just being entered by TVserviceMWJourney obtains and control signal source shows.But, in embodiments of the present invention, in order to configure as early as possible and catchObtain signal source to show, can preferentially start TVserviceMW after ServiceManager startsProcess, and preferentially performed initial configuration by ServiceManager process, perform immediately after to obtain to controlSignal sources etc. operate, thus realize configuration, acquisition, the function in control signal source in advance.
Step 303:TVserviceMW Process flowchart Source related hardware initializes.
Step 304:TVserviceMW process obtains the signal source configuration information in data base.
When implementing, the embodiment of the present invention can safeguard one in advance for storing signal source configuration informationData base, may be used for recording and given tacit consent to before Source and shutdown last time by the start of system or user setupThe information such as the Source of rear broadcasting, in order to be quickly switched into correspondence after controlling intelligent television start according to demandSource.
The currently playing passage of step 305:TVserviceMW Process flowchart intelligent television is switched to correspondenceSource。
Step 306:TVserviceMW Process flowchart Audio quiet (mute).
When implementing, it is relevant that the TVserviceMW process in the embodiment of the present invention can control partAudio is quiet, it is also possible to controlling the most relevant Audio quiet, it implements and can pass through user's requestPre-set.
When step 307:TVserviceMW monitoring the process waiting signal are stablized, formed and be used for showing to obtainGet the labelling of available signal, to wait that other processes are called.
Fig. 3 (b) shows the schematic flow sheet of a kind of Bootanimation process in the embodiment of the present invention,As shown in Fig. 3 (b), this flow process may include that
Step 311:Bootanimation process initiation.
Step 312:Bootanimation Process flowchart painting function enables, and shows the start pre-setAnimation.
When implementing, after Bootanimation process, painting function can be called, and originalBootlogo switches to boot animation.For example, after Bootanimation process, and AndroidSystem starts successfully the most completely, now can show one section for representing that what Android starting opensMachine picture, is used for pointing out user to continue waiting for.
Whether connection the wheel in step 313:Bootanimation process cycle look into TVserviceWM processFormed for showing to get the labelling of available signal, if inquiring TVserviceWM process shapeBecome to have the labelling for showing to get available signal, then continue executing with step 314;Otherwise, continue weekThe wheel of phase looks into the labelling that TVserviceWM process is formed.
Step 314: be formed for showing to get available signal inquiring TVserviceWM processLabelling time, Bootanimation process releases boot animation, and releases the quiet (Audio of Audiounmute)。
When implementing, in embodiments of the present invention, Bootanimation process is inquiringWhen TVserviceWM process is formed for showing the labelling getting available signal, can stop immediatelyDisplay boot animation, and call TVserviceWM process releasing Audio quiet (Audio unmute).
Achieve the quick turn-on of intelligent television by above-mentioned steps 311~step 314 and be switched to correspondenceThe function of Source.But, when intelligent television starts to show default Source, user may also can pass throughRemote controller remotely controls intelligent television, but owing to now android system starts successfully the most completely, mayThe instruction that user is sent by remote controller can not be identified in time, in order to improve intelligent television further quicklyOperating experience after start, the embodiment of the present invention can also continue to realize the response to remote controller key, its toolBody implementation can as follows 315~step 316 realize.It is to say, the embodiment of the present invention can, after performing above-mentioned steps 314, to continue executing with step 316;Can also performing after step 314,Directly terminate flow process.
Step 315:Bootanimation process is called for receiving the instruction that user is sent by remote controllerDFB interface, and monitor the instruction arrived by DFB interface.
Step 316:Bootanimation process resolves the remote controller key assignments carried in instruction, by parseThe order that remote controller key assignments is corresponding sends to TVservice execution, and performs TV switching.
When implementing, the embodiment of the present invention can be only in response to part remote controller key assignments, it is also possible to response is allRemote controller key assignments, but owing to now android system starts the most completely, may be cannot respond to some specialInstruction, therefore, the embodiment of the present invention can control intelligent television give great volume with being used for of sending of preferential answering userLittle button and the button of user's switching channels, such as: " volume+" or " volume-" button, " channel+ " or " channel-" button etc..
In order to ensure during intelligent television quick turn-on, the response to remote controller key, performing every timeAfter above-mentioned 216, rebound performs step 315, say, that persistently monitors and is arrived by DFB interfaceInstruction, until android system started, Bootanimation process exits service.
Fig. 4 shows the overall flow schematic diagram of a kind of intelligent television quick turn-on in the embodiment of the present invention,As shown in Figure 4, this flow process may include that
Step 41: intelligent television exchange start.
Step 42: bootstrap Uboot (Universal Boot Loader) starts.
Step 43: kernel (Kernel) starts.
Step 44: user class program Init performs, and completes the loading of bootstrap.
So, in embodiments of the present invention, intelligent television based on linux kernel exchange start after,The step 42 specified by execution~step 44, complete the loading procedure of boot.Above-mentioned in executionAfter step 44, system continues start-up loading android system according to the rules, i.e. step 45, same with thisTime, load TVserviceWM process and Bootanimation process, and continue by TVserviceWMProcess and Bootanimation process perform respective function, the most respectively such as step 46~step 48 and step49~step 414, shorten intelligent television by exchanging the start waiting time to broadcasting program.
Step 45: start android system.
Step 46~step 47:TV middleware (TVserviceMW) process initiation, and control Intelligent electricThe Source of correspondence it is switched to depending on currently playing passage.
When implementing, step 46 in the embodiment of the present invention~step 47 and above-mentioned steps step 301~stepRapid 306 is consistent, repeats the most one by one.
When step 48:TVserviceMW monitoring the process waiting signal are stablized, formed and be used for showing to obtainGet the labelling of available signal, to wait that Bootanimation process is called.
Step 49:Bootanimation process initiation.
Step 410:Bootanimation Process flowchart painting function enables, and shows the start pre-setAnimation.
When implementing, after Bootanimation process, painting function can be called, and originalBootlogo switches to boot animation.For example, after Bootanimation process, and AndroidSystem starts successfully the most completely, now can show one section for representing that what Android starting opensMachine picture, is used for pointing out user to continue waiting for.
The wheel in step 411:Bootanimation process cycle looks into what whether TVserviceWM process was formedFor showing to get the labelling of available signal, if inquiring TVserviceWM process to be formed with useIn showing to get the labelling of available signal, then continue executing with step 412;Otherwise, the wheel in cycle is continuedLook into the labelling that TVserviceWM process is formed.
Step 412: be formed for showing to get available signal inquiring TVserviceWM processLabelling time, Bootanimation process releases boot animation, and releases the quiet (Audio of Audiounmute)。
When implementing, in embodiments of the present invention, Bootanimation process is inquiringWhen TVserviceWM process is formed for showing the labelling getting available signal, can stop immediatelyDisplay boot animation, and call TVserviceWM process releasing Audio quiet (Audio unmute).
Step 413:Bootanimation process is called for receiving the instruction that user is sent by remote controllerDFB interface, and monitor the instruction arrived by DFB interface.
Step 414:Bootanimation process resolves the remote controller key assignments carried in instruction, by parseThe order that remote controller key assignments is corresponding sends to TVservice execution.
It should be noted that Source signal source in embodiments of the present invention can be live signal source, pointBroadcast signal source or the signal source etc. from application program.
So, actually, the embodiment of the present invention can be in android system start-up course, it becomes possible toPriority acccess control intelligent television plays program, continues on backstage to start android system simultaneously, is equivalent to shortenIntelligent television plays the waiting time of program from starting shooting to, just can also ensure that android system simultaneouslyOften load and start, it is to avoid the negative body that user brings due to the overlong time of wait intelligent television startupTest.
From technique scheme it can be seen that the present invention can load the mistake of android system at intelligent televisionCheng Zhong, the hardware initialization that priority acccess control is relevant to audio/video;Then, according to the signal source prestoredThe instruction of configuration information, is switched to the signal source of correspondence;Visible, the present invention need not wait android systemAfter loading completely, then obtain Source and play out, but during android system, the mostComplete acquisition and the broadcasting of Source, thus shorten by intelligent television exchange powering on start to broadcasting program itBetween waiting time, it is achieved that intelligent television quick turn-on.
Based on identical technology design, embodiments provide the starter of a kind of intelligent television, figureThe structural representation of 5 starters showing a kind of intelligent television in the embodiment of the present invention, such as Fig. 5 instituteShowing, this device may include that
Initialization unit 51, during loading android system at intelligent television, controls and audio frequencyThe hardware initialization that/video is relevant;
Control unit 52, for according to the signal source configuration information prestored, being switched to the signal source of correspondence.
Optionally, described initialization unit 51 specifically for:
Load the VserviceWM process for configuring and obtain signal source;At described TVserviceWMAfter the hardware initialization that Process flowchart is relevant to audio/video, obtain the needs prestored in described intelligenceThe mark of the signalling channel being quickly switched into after television startup;Control described intelligent television and be switched to the letter of correspondenceNumber passage, and monitor the signal inputted by this signalling channel;When monitoring available signal, formed and useIn showing to get the labelling of available signal.
Optionally, this device also includes:
Boot animation display unit, during loading android system at described intelligent television, addsCarry the Bootanimation process for showing boot animation;Show out in described Bootanimation processAfter motor-driven picture, whether existing to the inquiry of described TVserviceWM process of cycle is used for showing to getThe labelling of available signal;Inquire exist for showing the labelling getting available signal time, controlDescribed Bootanimation process stops showing described boot animation, and commences play out the available letter gotNumber;When not inquiring existence for showing the labelling getting available signal, continue to show described startAnimation.
Optionally, described control unit 52 is additionally operable to:
After controlling described intelligent television and being switched to corresponding signalling channel, control described intelligent television and enterMute state;After commencing play out the available signal got, release the mute state of described intelligent television.
Optionally, described control unit 52 is additionally operable to:
Before android system has loaded, control described Bootanimation process and call for receivingThe interface of the instruction that user is sent by remote controller, and by described interface, monitor that user passes through remote controllerThe instruction sent;The instruction sent when described Bootanimation Message-based IPC to user is for being used for controllingThe instruction of volume and when the instruction of switching channels, is transferred to described TVserviceWM by described instructionProcess, to indicate described TVserviceWM process to respond described instruction.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present inventionThe flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embeddingFormula datatron or the processor of other programmable data processing device so that by this computer or other can compileThe instruction that the processor of journey data handling equipment performs can a flow process in flowchart or multiple flow processAnd/or the function specified in one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to setIn the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memoryInstruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chartThe function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makesSequence of operations step must be performed to produce computer implemented place on computer or other programmable devicesReason, thus the instruction performed on computer or other programmable devices provides for realizing at the one of flow chartThe step of the function specified in individual flow process or multiple flow process and/or a square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know baseThis creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wantedAsk and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present inventionBright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention andWithin the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.