CN105100915B - A kind of method and television set switching audiovisual applications - Google Patents

A kind of method and television set switching audiovisual applications Download PDF

Info

Publication number
CN105100915B
CN105100915B CN201510354501.4A CN201510354501A CN105100915B CN 105100915 B CN105100915 B CN 105100915B CN 201510354501 A CN201510354501 A CN 201510354501A CN 105100915 B CN105100915 B CN 105100915B
Authority
CN
China
Prior art keywords
audio
state
module
audiovisual applications
decoder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510354501.4A
Other languages
Chinese (zh)
Other versions
CN105100915A (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.)
Hisense Group Co Ltd
Original Assignee
Hisense Group 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 Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201510354501.4A priority Critical patent/CN105100915B/en
Publication of CN105100915A publication Critical patent/CN105100915A/en
Application granted granted Critical
Publication of CN105100915B publication Critical patent/CN105100915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally

Abstract

The present invention relates to a kind of methods and television set for switching audiovisual applications.This method comprises: receiving the instruction for switching to target audiovisual applications;According to instruction, start the broadcast interface of target audiovisual applications, and the audiovisual applications being currently played are set to background program;Inquire the state of audio/video decoder;If the state of the audio/video decoder is the free time, indicate that target audiovisual applications send play instruction to the audio/video decoder.It is can be realized by means of the present invention it is not necessary that excessive step of the homepage as application switching will be returned, while being switched fast audiovisual applications, avoids the decoder resources conflict in handoff procedure.

Description

A kind of method and television set switching audiovisual applications
Technical field
The present invention relates to field of communication technology more particularly to a kind of methods and television set for switching audiovisual applications.
Background technique
Currently, the user interface of smart television generally has homepage, the icon of multiple applications, such as Fig. 1 are provided on homepage It is shown.After user enters homepage, it can open and run and apply A on homepage.When needing to be switched to from application A using B, use Family needs to exit first using A or in running background application A, and back to homepage, and then B is applied in starting.
Shared video or audio decoder resource R both when application A and application B are video perhaps voice applications, such as Shown in Fig. 2, when execution is switched to the operation using B using A, is exited first using A or in running background application A, answered It is exited with A and perhaps sends halt instruction, solution from application A to video or audio decoder resource R during running background After code device resource R stops decoding, notice applies A, successfully exits using A, and system returns to homepage, later, starts answering on homepage With B, play instruction, decoder resources R starting decoding are sent from application B to decoder resources R, and is played using B.
With popularizing for intelligent television system, the application installed on smart television the more is opened the more more, and correspondingly, user executes and answers It is also more and more frequent with the operation of switching, if switching is required using A- > homepage every time according to the method for above-mentioned application switching, Homepage -> apply two steps of B, therefore, the time interval of application switching is longer, affects user experience to a certain extent.
Summary of the invention
The object of the present invention is to provide a kind of method and devices for switching audiovisual applications, are realizing without that will return to homepage As the excessive step of application switching, while being switched fast audiovisual applications, avoid between the application in handoff procedure altogether Enjoy the conflict of decoder resources.
On the one hand, the present invention provides a kind of method for switching audiovisual applications, which comprises receives and switches to mesh The instruction of mark with phonetic symbols Video Applications;According to described instruction, start the broadcast interface of the target audiovisual applications, and will currently The audiovisual applications of broadcasting are set to background program;Inquire the state of audio/video decoder;If the state of the audio/video decoder For the free time, then indicate that the target audiovisual applications send play instruction to the audio/video decoder.
On the other hand, the present invention provides a kind of television sets for switching audiovisual applications, including receiving module, for receiving Switch to the instruction of target audiovisual applications;Execution module, the instruction for being received according to the receiving module, described in starting The broadcast interface of target audiovisual applications, and the audiovisual applications being currently played are set to background program;Enquiry module is used In the state of inquiry audio/video decoder, and the state of the audio/video decoder inquired is sent to judgment module;Sentence Disconnected module, the state of the audio/video decoder for being sent according to the enquiry module received judge the sound view Whether frequency decoder is idle, and when the state of the audio/video decoder is idle, sends message to control module;Control Module, the message for being sent according to judgment module indicate that the target audiovisual applications are sent to the audio/video decoder Play instruction.
In method provided by the invention and television devices, if television devices, which receive, switches to target audio-video The instruction of application, the operation of the broadcast interface of the target audiovisual applications after being carried out starting switching, i.e., answer target audio-video Broadcast interface is set as currently playing interface, while the audiovisual applications being currently played are set to background program, makes It is executed on backstage, later, the decoding that inquiry is set to the audiovisual applications of background program and target audiovisual applications are shared The state of device indicates the target audiovisual applications having been turned on to the idle decoding if the state of decoder is the free time Device sends play instruction, so that decoder is decoded and plays to target audiovisual applications.
The above method and television devices receive switch to the instruction of target audiovisual applications after, be carried out starting target The operation of the broadcast interface of audiovisual applications realizes the one key switching of target audiovisual applications, compared with the prior art in, it is first First the audiovisual applications being currently played are exited, back to homepage, then starts the operation of target audiovisual applications on homepage, The operation for returning to homepage need not be executed, and without on the homepage after return before switching to target audiovisual applications The operation of starting target audiovisual applications is executed, but target is directly switched to from current audiovisual applications by switching command Audiovisual applications, therefore the step of simplifying application switching.Moreover, because starting the broadcast interface of target audiovisual applications Meanwhile audiovisual applications being played on are set to background program, at this point, being set to the audiovisual applications of background program still has Its decoder resources occupied may not be discharged, so, in the present invention, in order to avoid the decoder between two applications Resource generates conflict, when inquiring decoder is idle state, just target audiovisual applications is decoded and is played, into And even if current audiovisual applications and target sound will not be caused to regard in the case where only one decoder of television devices The resource contention of frequency application.
To sum up, compared with the prior art, the present invention can quickly start up the broadcast interface of target audiovisual applications, shorten The time interval of switching application does not need head moreover, because can be switched to target audiovisual applications by a switching command First the audiovisual applications being currently played are exited, system restarts target audiovisual applications after back to homepage, so intelligence The user interface of equipment can not need design homepage, that is, not need an entrance of the homepage as starting application, so that intelligence The interface of equipment is more succinct, realize user interface without homepage designing.
Detailed description of the invention
Fig. 1 is the schematic diagram of the homepage of smart television user interface in background of invention;
Fig. 2 is the schematic flow diagram of smart television switching application in background of invention;
Fig. 3 is the method flow schematic diagram for switching audiovisual applications in the embodiment of the present invention;
Fig. 4 is the flow diagram for switching the step S100 of method of audiovisual applications in the embodiment of the present invention;
Fig. 5 is the flow diagram for switching the step S300 of method of audiovisual applications in the embodiment of the present invention;
Fig. 6 is one of the flow diagram of two application resources of balance switching front and back in the embodiment of the present invention;
Fig. 7 is two of the flow diagram of two application resources of balance switching front and back in the embodiment of the present invention;
Fig. 8 is the structure chart of the television set of the switching audiovisual applications in the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is illustrated below in conjunction with attached drawing, it should be understood that embodiment described herein is only used In the description and interpretation present invention, it is not intended to limit the present invention.
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
The embodiment of the present invention provides a kind of method for switching audiovisual applications, suitable for setting with intelligent operating system It is standby, such as smart television, smart phone, Intelligent flat computer etc., due to currently, smart phone, Intelligent flat computer etc. are generally logical Touch screen mode controlling equipment is crossed, and smart television generally is equipped with remote controler, user can be sent out by remote controler to smart television Send control instruction, control instruction can be the instruction of switching application, full frame displaying or broadcast on smart television in current application In the case where putting, user can also send the instruction of switching application, therefore, intelligence to smart television by remote controller key Energy TV does not have the smart machine of external control devices relative to other, and relatively convenient is applied in switching, and the present embodiment is just with intelligence For energy TV, embodiments of the present invention will be described.As shown in figure 3, the method for switching application of the invention includes step It is rapid:
S100: the instruction for switching to target audiovisual applications is received;
Taking a smart TV as an example, as shown in figure 4, this step includes following two steps:
S101: smart television receives the remote controler key assignments of user's transmission;
S102: smart television obtains target audiovisual applications corresponding with the remote controler key assignments received;
In step s 102, it implements are as follows: the mapping table of configured remote controler key assignments and application identities is searched, Application identities corresponding with the remote controler key assignments received are obtained, application identities here are specifically as follows Apply Names.It is corresponding Relation table are as follows:
The mapping table of table 1 remote controler key assignments and Apply Names
After step S102, the remote controler key assignments received is converted to answering for target audiovisual applications by smart television With title, for example, having received the key value Key Event2 of remote controler transmission during smart television is played using A, connecing After receiving key assignments, look-up table 1, obtaining the corresponding target audiovisual applications of key assignments keyEvent2 is then entered step using B S200: according to instruction, start target audiovisual applications, that is, apply the broadcast interface of B, and the sound being currently played is regarded Frequency is applied, that is, is set to background program using A, is made using A in running background.
In step s 200, in the actual operation process, while the broadcast interface of B is applied in starting, after being set to using A Platform program executes it on backstage, for example, and it is such as Sohu's video using A, is LeEco video using B, it is distant when receiving When controlling device key value Key Event2, start the broadcast interface of LeEco video, and Sohu's video is set to background program.
What needs to be explained here is that start the broadcast interface of LeEco video first after receiving switching command, rather than it is straight It connects and plays LeEco video, because Sohu's video and LeEco video the two audiovisual applications may share an audio/video decoding Device is switched to Sohu's video of running background and different when setting currently playing interface for the broadcast interface of LeEco video Surely its decoder resources occupied is released, so entering step S300 after executing the step S200: inquiry audio/video decoding The state of device.
By taking Android operation system as an example, a decoder is only provided in Android operation system, certainly, others operation It is also general in system that a decoder, such as IOS operating system are only set, even if there are two the operations of decoder in some settings In system, it is also possible to the case where two audiovisual applications share a decoder resources occur, so in the embodiment of the present invention There is a decoder or two decoders or multiple decoders without limitation to smart machine.In the embodiment of the present invention In, if receiving after switching to the instruction using B during smart television playing audio-video application A, then starting application The broadcast interface of B, and background program will be set to using A, i.e., so that using A in running background.The broadcast interface of B is applied in starting Afterwards, play instruction can be sent to decoder using B, that is, start play instruction, because needing to use solution in playing process using A Code device can send stop instruction, i.e. stopping play instruction, because at this after being set to background program using A to decoder In inventive embodiments, if being the user interface without homepage by user-interface design, just it is omitted during application switching The step of being operated on homepage, thus start the broadcast interface using B and background program will be set in embodiments of the present invention using A It almost carries out simultaneously, it is more likely that will appear while send play to decoder using B and instruct, using A to same Decoder sends stop instruction, at this point, decoder can only respond one of instruction, sends if decoder has been responded using A Stop instruction, it will cause decoders to stop working, and can not play target audiovisual applications B;Or application A is sent out to decoder While sending stop to instruct, play instruction is sent to the same decoder using B, in this case, decoder can only also respond One of instruction, so, when application B sends play to the same decoder and instructs, decoder is not received probably The play instruction being sent to it using B, and the stop sent using A being in response to is instructed, also resulting in can not playing audio-video Using B.
In order to avoid the above problems, the embodiment of the present invention is right after the broadcast interface of starting target audiovisual applications B The state of audio/video decoder is inquired, as shown in figure 5, specific query steps can be with are as follows:
S501: the corresponding interface of audio/video decoder is called, detects whether the interface has code stream output;
S502: if the interface is exported without code stream, judge the state of audio/video decoder for the free time.Pass through decoder Whether the interface polls interface has code stream, that is, inquires whether have audio, video data output, if the interface does not have audio-video Data export, then illustrate to have released its decoder resources occupied using A, that is, can determine that the state of decoder for sky It is not busy.Same reason illustrates that although having been switched to backstage using A executes, but releases not yet if the interface has code stream output Its decoder resources occupied is put, can determine whether that the state of decoder is busy at this time.It is idle situation in the state of decoder Under, it executes step S400: if the state of audio/video decoder is the free time, indicating target audiovisual applications to the audio-video solution Code device sends play instruction.
As can be seen from the above-described embodiment, it after smart television receives the switching command of target audiovisual applications, is opening While the broadcast interface of moving-target audiovisual applications, the audiovisual applications being currently played are switched into running background, this Compared with prior art, the time of switching application is shortened to a certain extent, and further, the embodiment of the present invention is in starting target After the broadcast interface of audiovisual applications, the state of audio/video decoder is inquired, and when the state of decoder is idle, is just broadcast Target audiovisual applications are put, the target audiovisual applications after avoiding the audiovisual applications and switching being currently played are because possible Share the same decoder resources bring resource conflict problem.
To sum up, since the embodiment of the present invention is after receiving switching command, target audiovisual applications can be directly switch into Broadcast interface therefore, during application switching, homepage can be saved, i.e., without first returning to homepage before handover The method of the switching audiovisual applications of the embodiment of the present invention eliminates the audiovisual applications -> homepage being currently played, and main The step of page -> target audiovisual applications, moreover, starting to play target audiovisual applications, therefore, entirely in the decoder free time During audiovisual applications switch, realizing decoder resources and being released to target audiovisual applications with application switching makes With, that is, realize the normal play of target audiovisual applications, realizing application without homepage switch, simplify switch step Meanwhile the resource conflict problem between also avoiding applying in handoff procedure.
In embodiments of the present invention, it is contemplated that when being withdrawn into backstage execution using A, its institute may not be able to be released immediately The decoder resources occupied, therefore, when inquiring the state of decoder, decoder can available free and busy two states, work as decoding The state busy of device, the embodiment of the invention provides two schemes balances using the decoder resources of A and application B.
The first scheme, as shown in fig. 6, specific steps are as follows:
S601: if the state of audio/video decoder be it is busy, query time interval is set;
Specifically when being executed, it can be set between query time and be divided into 250ms, certainly, in order to play target audio-video as early as possible Using B, query time interval can be configured shorter, such as 200ms.
S602: to be divided into the period between the query time of setting, the state of audio/video decoder is inquired, and when the sound inquired When the state of Video Decoder is idle, instruction target audiovisual applications send play instruction to audio/video decoder.
Using the 250ms of setting or 200ms as the period, the interface provided by system is inquired and is connect corresponding to decoder Whether mouth has code stream, i.e. video data exports, and when the interface is exported without code stream, plays target audiovisual applications B.
It should be noted that the variable cycle can also be set when specific implementation, such as the first time using 250ms as query time Interval is inquired, and is inquired for the second time by query time interval of 200ms, for the third time using 150ms as query time interval Inquire etc., in this way, the state of decoder can be quickly obtained, once the state of decoder becomes idle, Ke Yigeng Fast broadcasting target audiovisual applications.
Audiovisual applications in above-described embodiment, after the broadcast interface for switching to target audiovisual applications B, before switching When A does not discharge decoder resources, setting polling cycle constantly inquires the state of decoder, until decoder states are the free time When, target audiovisual applications B is just played, avoids the decoder resources conflict of switching front and back, therefore, the present embodiment is realizing While switching without homepage of audiovisual applications, also utmostly ensure that the normal operation of system.
Second scheme, as shown in fig. 7, specific steps of the balance using A and application B are as follows:
S701: if the state of audio/video decoder be it is busy, by present system time be set as inquiry initial value;
S702: the clocking value of timer is read;
Taking a smart TV as an example, smart television generally has clock, can using the clock of smart television as timer, from System time is read on the timer.Certainly, timer may be the timer being specially arranged, and be not especially limited here. Regardless of the timer of which kind of form, it can be and just start after step S701, be also possible to smart television and just opened from booting Dynamic, it is also not especially limited here.If the system time that the state of step S701 inquiry decoder is busy is 15:30, Inquiry initial value is 15:30, hereafter, reads the clocking value of smart television clock in real time or periodically.
S703: when the clocking value of timer and the difference of inquiry initial value are more than or equal to inquiry duration threshold value, and sound The state of Video Decoder is busy, and the audiovisual applications that instruction is set to background program are sent to audio/video decoder stops solution After the instruction of code, instruction target audiovisual applications send play instruction to audio/video decoder.
In this step, inquiry duration threshold value can be set as 5000ms, under normal circumstances, inquiry duration threshold value is reference User to switching duration tolerance setting, in order to guarantee the experience of user's cut bank, when the clocking value of timer with look into The difference for asking initial value is more than or equal to 5000ms, and the state of the audio/video decoder is busy, that is to say, that from switching Start to target audiovisual applications, after have passed through 5000ms, if the corresponding interface of decoder still has code stream output, at this moment intelligence Energy TV will indicate that the audiovisual applications before switching send the instruction for stopping audio and video playing to decoder, so that releasing using A Its audio and video resources occupied has been put, so that audio/video decoder is idle state, has indicated that target audio-video is answered at this time Play instruction is sent to decoder with B, so that decoder is the audiovisual applications decoding after switching.
Optionally, in order to avoid influencing user experience, and also to system is avoided to be abnormal, inquiry duration here Threshold value may be arranged as decoder resources and be released required average time, which can be with the busy journey of system The change of degree and change.
In above-described embodiment, it is contemplated that the audiovisual applications before switching may be when being more than that user bears switching duration, still Decoder resources cannot be discharged, therefore, are provided with inquiry duration threshold value, when the broadcast interface of starting target audiovisual applications, and After inquiring the time of duration threshold value, if decoder resources are discharged still without the audiovisual applications before being switched, intelligence After the audiovisual applications that TV instruction has been switched to running background send the instruction for stopping playing to decoder, instruction switching Target audiovisual applications afterwards send play instruction to decoder, to play target sound video instructions.Further, when the inquiry When duration threshold value is average time required for decoder resources are released, held because the average time is generally less than user The maximum switching duration received, so, at this point, more can guarantee the experience of user, and because after certain interval of time, it is just mandatory Decoder resources are distributed to target audiovisual applications by ground, so also can be reduced the probability that system is abnormal to a certain extent. In this way, avoiding user after the broadcast interface of starting target audio-video, the audio-video before being switched because of decoder resources is occupied Caused by target audiovisual applications the problem of cannot playing for a long time.
Based on identical inventive concept, the embodiment of the invention also provides a kind of television set TVs for switching audiovisual applications Machine, as shown in figure 8, the television set television set includes: receiving module 801, for receiving the finger for switching to target audiovisual applications It enables;Execution module 802, the instruction for being received according to receiving module 801 start the broadcast interface of target audiovisual applications, And the audiovisual applications being currently played are set to background program;Enquiry module 803, for inquiring the shape of audio/video decoder State, and the state of the audio/video decoder inquired is sent to judgment module 804;Judgment module 804 is received for basis The state of audio/video decoder that sends of enquiry module 803, judge whether audio/video decoder is idle, and work as audio-video solution When the state of code device is idle, message is sent to control module 805;Control module 805, for being sent according to judgment module 804 Message, instruction target audiovisual applications to audio/video decoder send play instruction.
Optionally, receiving module 801 is specifically used for receiving the remote controler key assignments of user's transmission, and what is obtained and receive is distant Control the corresponding target audiovisual applications of device key assignments.
Wherein, acquisition target audiovisual applications corresponding with the remote controler key assignments received performed by receiving module 801 Step specifically: search the mapping table of configured remote controler key assignments and application identities, the remote controler for obtaining and receiving The corresponding application identities of key assignments, application identities here are specifically as follows Apply Names.The mapping table such as embodiment of the present invention Above-mentioned table 1.After smart television receives switching command, by look-up table 1, the concrete application name of target audiovisual applications is obtained Claim.Later, broadcasting for target audiovisual applications is started according to the concrete application title of target audiovisual applications by execution module 802 Interface is put, and the audiovisual applications being currently played are set to background program.
What needs to be explained here is that starting the broadcasting of target audio-video first after receiving module 801 receives switching command Interface, rather than target audio-video is directly played, because the two audiovisual applications of switching front and back share a decoder, when When setting currently playing interface for the broadcast interface of target audio-video, the audiovisual applications for being switched to running background might not Its decoder resources occupied is released, therefore, it is necessary to be executed the state of inquiry decoder by enquiry module 803.
In embodiments of the present invention, it sets the audiovisual applications before switching to using A, the audiovisual applications after switching are set It is set to using B.If receiving module 801, which receives, to be switched to using B during smart television playing audio-video application A Instruction after, then the broadcast interface of B is applied by the starting of execution module 802, and background program will be set to using A, i.e., so that using A In running background.It needs to use decoder in playing process using A, it, can be to decoding after being set to background program using A Device sends stop instruction, i.e. stopping play instruction, and after starting the broadcast interface using B, it can be sent out to the same decoder using B It send play to instruct, that is, starts play instruction, and it is almost same using the broadcast interface of B by background program and starting is set to using A Shi Jinhang's, it is more likely that will appear and first have sent play instruction to decoder using B, sent out again to the same decoder using A Stop instruction has been sent, has been stopped working at this point, will cause decoder, target audiovisual applications B can not be played;Or application A first to Decoder has sent stop instruction, play instruction is sent then to the same decoder using B, in this case, because using A First to decoder have sent stop instruction, decoder receive stop instruction after, stopped work, so, application B with When sending play instruction to the same decoder afterwards, decoder does not receive the play instruction being sent to it using B, also results in It can not playing audio-video application B.
In order to avoid the above problems, the embodiment of the present invention starts the broadcasting of target audiovisual applications B in execution module 802 It after interface, is inquired provided with state of the enquiry module 803 to audio/video decoder, when specific implementation, in enquiry module In be provided with detection module, the corresponding interface of decoder is called by detection module, detects whether the interface has code stream output, and will Testing result is sent to judgment module 804.If the testing result of detection module is the interface without code stream output, that is, tone-off Video data exports, then illustrates to have released its decoder resources occupied using A, judgment module 804 can determine that solution The state of code device is the free time.Same reason illustrates to apply if the testing result of detection module is that the interface has code stream output Although A has been switched to backstage and executes, but discharge its decoder resources occupied not yet, and judgment module 804 can at this time Judge that the state of decoder is busy.In the case where the state of decoder is idle, judgment module 804 is sent out to control module 805 Send message, for example " 0 " represents the state of decoder as the free time, then judgment module 804 in the case where decoder states are idle, " 0 " is sent to control module.The message that control module 805 is sent according to judgment module 804, then indicate target audiovisual applications to Decoder sends play instruction.As can be seen from the above-described embodiment, when the receiving module of smart television 801 receives target sound view After the switching command of frequency application, start the broadcast interface of target audiovisual applications by execution module 802, and will be currently played Audiovisual applications switch to running background, this compared with prior art, shorten to a certain extent switching application time, Further, the embodiment of the present invention is inquired by enquiry module 803 and is decoded after the broadcast interface of starting target audiovisual applications The state of device, and when the state of decoder is idle, target audiovisual applications are just played, the sound being currently played is avoided Target audiovisual applications after Video Applications and switching are because that may share the same decoder resources bring resource conflict problem.
To sum up, since the embodiment of the present invention is after receiving switching command, target audiovisual applications can be directly switch into Broadcast interface start to play target audiovisual applications moreover, in the decoder free time, therefore, entire audiovisual applications switching During, it realizes decoder resources and is released to the use of target audiovisual applications with application switching, that is, realize target The normal play of audiovisual applications during application switching, can save homepage in turn, that is, eliminate and currently broadcasting The step of audiovisual applications -> the homepage and homepage put -> target audiovisual applications, realizes switching without homepage for application, and letter While having changed switch step, the resource conflict problem between the application in handoff procedure is also avoided.
In embodiments of the present invention, it is contemplated that when being withdrawn into backstage execution using A, its institute may not be able to be released immediately The decoder resources occupied, therefore, when enquiry module 803 inquires the state of decoder, decoder can be available free and two busy State, when the state busy of decoder, the embodiment of the invention provides two schemes balances using the decoder money of A and application B Source.
The first scheme is to increase setting query time interval module in the television set of the switching audiovisual applications, when this Be arranged query time interval module receive the transmission of judgment module 804 the state for representing decoder be busy message after, be arranged Query time interval;At this point, enquiry module 803 inquires the state of decoder just to be divided into the period between the query time of setting, and The state of the decoder inquired is sent to judgment module 804.For example " 1 " represents the state of decoder to be busy, then in this hair In bright embodiment, enquiry module 803 sends message " 1 " to judgment module 804, and judgment module 804 receives the hair of enquiry module 803 After " 1 " sent, be judged as decoder state be it is busy, within some polling cycle, decoding that enquiry module 803 inquires When the state of device is idle, then " 0 " is sent to judgment module, after judgment module 804 receives information " 0 ", just to control module 805 transmissions represent decoder as idle instruction, after control module 805 receives instruction, just make instruction target audio-video and answer With the operation for sending play instruction to decoder.
Audiovisual applications in above-described embodiment, after the broadcast interface for switching to target audiovisual applications B, before switching When A does not discharge decoder resources, polling cycle is arranged by setting query time interval module, constantly inquires the shape of decoder State avoids the decoder resources punching of switching front and back until just playing target audiovisual applications B when decoder states are idle Prominent, therefore, the present embodiment realizes while switching without homepage of audiovisual applications, also utmostly ensure that the normal of system Operation.
Another scheme is to increase inquiry initial value setup module in the television set of the switching audiovisual applications, when this is looked into After inquiry initial value setup module receives the state for representing decoder that judgment module 804 is sent as busy message, read current System time, and inquiry initial value is set by present system time, and the inquiry initial value of setting is sent to comparison module; The television set also adds read module, which reads the clocking value of timer in real time or periodically, and will read The clocking value got is sent to comparison module, and it is poor that comparison module makees clocking value and inquiry initial value, when the difference of the two is big In or equal to setting inquiry duration threshold value, and the state of audio/video decoder is still busy at this time, is sent out to control module 805 Send message, after control module 805 receives the message of comparison module transmission, instruction be set to the audiovisual applications of background program to After decoder sends the instruction for stopping audio and video playing, instruction target audiovisual applications send play instruction to decoder.
In above-described embodiment, it is contemplated that the audiovisual applications before switching may be when being more than that user bears switching duration, still Decoder resources cannot be discharged, therefore, are provided with inquiry duration threshold value, when the broadcast interface of starting target audiovisual applications, and After inquiring the time of duration threshold value, if decoder resources are discharged still without the audiovisual applications before being switched, intelligence After the audiovisual applications that TV instruction has been switched to running background send the instruction for stopping playing to decoder, instruction switching Target audiovisual applications afterwards send play instruction to decoder, to play target sound video instructions.Exist in this way, avoiding user After the broadcast interface for starting target audio-video, target audio-video caused by the audio-video before being switched because of decoder resources occupies The problem of cannot being played using long-time.
Above-mentioned television devices are carried out starting target sound after receiving and switching to the instruction of target audiovisual applications The operation of the broadcast interface of Video Applications realizes the one key switching of target audiovisual applications, compared with the prior art in, first The audiovisual applications being currently played are exited, back to homepage, then starts the operation of target audiovisual applications, nothing on homepage Must before switching to target audiovisual applications, execute the operation for returning to homepage, and without holding on the homepage after return The operation of row starting target audiovisual applications, but target sound is directly switched to from current audiovisual applications by switching command Video Applications, therefore the step of simplifying application switching.Moreover, because starting the same of the broadcast interface of target audiovisual applications When, audiovisual applications being played on are set to background program, at this point, still have can for the audiovisual applications for being set to background program Its decoder resources occupied can not be discharged, so, in the present invention, in order to avoid the decoder money between two applications Source generates conflict, when inquiring decoder is idle state, just target audiovisual applications is decoded and is played, in turn, Even if current audiovisual applications and target audio-video will not be caused to answer in the case where only one decoder of television devices Resource contention.
To sum up, compared with the prior art, the present invention can quickly start up the broadcast interface of target audiovisual applications, shorten The time interval of switching application does not need head moreover, because can be switched to target audiovisual applications by a switching command First the audiovisual applications being currently played are exited, system restarts target audiovisual applications after back to homepage, so TV The user interface of machine equipment can not need design homepage, that is, an entrance of the homepage as starting application not needed, so that electric Interface depending on machine equipment is more succinct, realize user interface without homepage designing.,
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method for switching audiovisual applications, which is characterized in that the described method includes:
Receive the instruction for switching to target audiovisual applications;
According to described instruction, start the broadcast interface of the target audiovisual applications, and the audio-video being currently played is answered With being set to background program;
Inquire the state of audio/video decoder;
If the state of the audio/video decoder is the free time, indicate the target audiovisual applications to the audio/video decoder Send play instruction.
2. the method as described in claim 1, which is characterized in that after the state of the inquiry audio/video decoder further include:
If the state of the audio/video decoder be it is busy, query time interval is set;
To be divided into the period between the query time, the state of the audio/video decoder is inquired, and when the sound view inquired When the state of frequency decoder is idle, indicate that the target audiovisual applications send play instruction to the audio/video decoder.
3. the method as described in claim 1, which is characterized in that after the state of the inquiry audio/video decoder, further includes:
If the state of the audio/video decoder be it is busy, by present system time be set as inquiry initial value;
Read the clocking value of timer;
When the timer clocking value and it is described inquiry initial value difference be more than or equal to setting inquiry duration threshold value, And the state of the audio/video decoder is busy, instruction is set to the audiovisual applications of background program to the audio/video decoding After device sends the decoded instruction of stopping, indicating that the target audiovisual applications send to play to the audio/video decoder and refer to It enables.
4. method a method according to any one of claims 1-3, which is characterized in that the state of the inquiry audio/video decoder is specific For;
The corresponding interface of the audio/video decoder is called, detects whether the interface has code stream output;
If the state of the audio/video decoder is the free time specifically:
If the interface is exported without code stream, judge the state of the audio/video decoder for the free time.
5. method a method according to any one of claims 1-3, which is characterized in that described receive switches to target audiovisual applications Instruction specifically:
Receive the remote controler key assignments of user's transmission;
Obtain target audiovisual applications corresponding with the remote controler key assignments received.
6. a kind of television set for switching audiovisual applications, which is characterized in that the television set includes:
Receiving module, for receiving the instruction for switching to target audiovisual applications;
Execution module, the instruction for being received according to the receiving module start broadcasting circle of the target audiovisual applications Face, and the audiovisual applications being currently played are set to background program;
Enquiry module is sent out for inquiring the state of audio/video decoder, and by the state of the audio/video decoder inquired Give judgment module;
Judgment module, the state of the audio/video decoder for being sent according to the enquiry module received, judges institute State whether audio/video decoder is idle, and when the state of the audio/video decoder is idle, disappears to control module transmission Breath;
Control module, the message for being sent according to judgment module indicate the target audiovisual applications to the audio-video solution Code device sends play instruction.
7. television set as claimed in claim 6, which is characterized in that
If the state for the decoder that the judgment module is also used to be sent according to the enquiry module received, judges decoder State be it is busy, then to setting query time interval module send message;
The television set further include:
Query time interval module is set, and query time is arranged in the message for being sent according to the judgment module received Interval;
The enquiry module is also used to, and to be divided into the period between the query time, inquires the state of the audio/video decoder, and The state of the decoder inquired is sent to the judgment module.
8. television set as claimed in claim 6, which is characterized in that if the judgment module is also used to according to receiving Enquiry module send decoder state, judge decoder state be it is busy, then to setting inquire initial value module send disappear Breath;
The television set further include:
Initial value setup module is inquired, after the message for receiving the judgment module, present system time is set as looking into Initial value is ask, and the inquiry initial value is sent to comparison module;
Read module is sent to comparison module for reading the clocking value of timer, and by the clocking value read;
Comparison module, the difference of clocking value and the inquiry initial value for being read described in comparison, and when the difference is big In or equal to setting inquiry duration threshold value, and the state of the audio/video decoder be busy, to control module transmission disappear Breath;
The control module is also used to the message sent according to the comparison module, and the audio-video that instruction is set to background program is answered After sending the decoded instruction of stopping to the audio/video decoder, indicate the target audiovisual applications to the audio-video Decoder sends play instruction.
9. such as television set as claimed in claim 6 to 8, which is characterized in that
The enquiry module further includes detection module, and the detection module is used for: calling the audio/video decoder is corresponding to connect Mouthful, detect whether the interface has code stream output, and will test result and be sent to the judgment module;
The judgment module is specifically used for: if the testing result that the detection module received is sent is the interface without code stream Output then judges the state of the audio/video decoder for the free time.
10. such as television set as claimed in claim 6 to 8, which is characterized in that
The receiving module is specifically used for receiving the remote controler key assignments that user sends, and the remote controler key-value pair for obtaining and receiving The target audiovisual applications answered.
CN201510354501.4A 2015-06-25 2015-06-25 A kind of method and television set switching audiovisual applications Active CN105100915B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510354501.4A CN105100915B (en) 2015-06-25 2015-06-25 A kind of method and television set switching audiovisual applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510354501.4A CN105100915B (en) 2015-06-25 2015-06-25 A kind of method and television set switching audiovisual applications

Publications (2)

Publication Number Publication Date
CN105100915A CN105100915A (en) 2015-11-25
CN105100915B true CN105100915B (en) 2019-03-15

Family

ID=54580297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510354501.4A Active CN105100915B (en) 2015-06-25 2015-06-25 A kind of method and television set switching audiovisual applications

Country Status (1)

Country Link
CN (1) CN105100915B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554537A (en) * 2015-12-08 2016-05-04 青岛海信电器股份有限公司 Control method and control device
US10321206B2 (en) 2016-03-25 2019-06-11 Qingdao Hisense Electronics Co., Ltd. Method for switching an audio/video application, apparatus and smart TV
CN105791932B (en) * 2016-03-25 2019-07-16 青岛海信电器股份有限公司 A kind of method, apparatus and smart television switching audiovisual applications
CN105791933B (en) * 2016-03-25 2019-07-16 青岛海信电器股份有限公司 A kind of method, apparatus and smart television switching audiovisual applications
CN105872768A (en) * 2016-04-20 2016-08-17 深圳Tcl数字技术有限公司 Display terminal information source switching method and device
US10616652B2 (en) 2016-08-04 2020-04-07 Novatek Microelectronics Corp. Playback method and electronic device using the same
CN108491272B (en) * 2018-03-29 2022-08-19 青岛海信传媒网络技术有限公司 Resource control method and device and terminal equipment
CN114025170A (en) * 2021-11-30 2022-02-08 深圳Tcl新技术有限公司 Video playing method and device, computer equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269456A (en) * 2013-04-18 2013-08-28 青岛海信宽带多媒体技术有限公司 Method and device for applications in embedded Internet protocol television (IPTV) to acquire resources
CN103984597A (en) * 2014-06-04 2014-08-13 福州瑞芯微电子有限公司 Method, device and system for task run switching

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024490A (en) * 2012-12-26 2013-04-03 北京奇艺世纪科技有限公司 Method and device supporting independent playing of audio and video
CN104469472B (en) * 2013-09-25 2018-04-27 珠海扬智电子科技有限公司 The switching device and its method of television channel
CN103888832B (en) * 2014-03-07 2017-06-16 青岛海信宽带多媒体技术有限公司 A kind of playback terminal accesses the treating method and apparatus of data source switching

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269456A (en) * 2013-04-18 2013-08-28 青岛海信宽带多媒体技术有限公司 Method and device for applications in embedded Internet protocol television (IPTV) to acquire resources
CN103984597A (en) * 2014-06-04 2014-08-13 福州瑞芯微电子有限公司 Method, device and system for task run switching

Also Published As

Publication number Publication date
CN105100915A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105100915B (en) A kind of method and television set switching audiovisual applications
CN109377987B (en) Interaction method, device, equipment and storage medium between intelligent voice equipment
CN104994432B (en) A kind of method and television set switching audiovisual applications
CN105979375B (en) A kind of starting method and device of smart television
CN103607660A (en) Intelligent television interface switching control method and control apparatus
CN105578229A (en) Electronic equipment control method and device
EP4013003A1 (en) Communication protocol switching method, apparatus and system
US20170192741A1 (en) Method, System, and Computer Storage Medium for Voice Control of a Split-Screen Terminal
CN112751971A (en) Voice playing method and device and electronic equipment
CN107566609A (en) A kind of downloading task processing method, device, terminal and storage medium
CN104994427A (en) Method and system for configuring and managing self-start-up of smart television desktop
CN104066011A (en) Control method of interface switching of intelligent TV and control device thereof
CN109150675A (en) A kind of exchange method and device of household electrical appliance
CN103313127A (en) Television channel switching method and device
US20170188085A1 (en) Method and electronic device for multi-screen switching
CN107846646B (en) Control method and device of intelligent sound box and readable storage medium
CN106658138B (en) Smart television and its signal source switch method, device
CN109412908A (en) A kind of method and apparatus that voice shows controllable device
CN108419133A (en) A kind of application switching controls the method and device of audio output in the process
CN109903762B (en) Voice control method, device, storage medium and voice equipment
CN109658924A (en) Conversation message processing method, device and smart machine
CN104284221A (en) Information processing method, wearable device and digital television device
CN110837396A (en) Voice awakening method and device and computer storage medium
CN104581352B (en) The method and system of fast positioning in a kind of TV box
EP3823238A1 (en) Method and apparatus for controlling devices 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
GR01 Patent grant
GR01 Patent grant