CN105791932B - A kind of method, apparatus and smart television switching audiovisual applications - Google Patents

A kind of method, apparatus and smart television switching audiovisual applications Download PDF

Info

Publication number
CN105791932B
CN105791932B CN201610175351.5A CN201610175351A CN105791932B CN 105791932 B CN105791932 B CN 105791932B CN 201610175351 A CN201610175351 A CN 201610175351A CN 105791932 B CN105791932 B CN 105791932B
Authority
CN
China
Prior art keywords
audio
interface
video decoder
audiovisual applications
target
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
CN201610175351.5A
Other languages
Chinese (zh)
Other versions
CN105791932A (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 Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610175351.5A priority Critical patent/CN105791932B/en
Publication of CN105791932A publication Critical patent/CN105791932A/en
Priority to US15/394,761 priority patent/US10321206B2/en
Application granted granted Critical
Publication of CN105791932B publication Critical patent/CN105791932B/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/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4433Implementing client middleware, e.g. Multimedia Home Platform [MHP]
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • 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/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of method, apparatus and smart television for switching audiovisual applications, are related to field of communication technology, it is intended to shorten the switching time between audiovisual applications, and then promote the switch speed of audiovisual applications, improve the user experience of smart television.This method comprises: receiving the instruction for switching to target audiovisual applications;Start preset intermediate interface, and sets background program for the audiovisual applications being being currently used;The intermediate interface loaded, the audiovisual applications that triggering is set to background program discharge the audio/video decoder, and start the broadcast interface of the target audiovisual applications;If the state of the audio/video decoder is the free time, indicate that the target audiovisual applications send play instruction to the audio/video decoder.

Description

A kind of method, apparatus and smart television switching audiovisual applications
Technical field
The present invention relates to field of communication technology more particularly to a kind of method, apparatus for switching audiovisual applications and intelligence electricity Depending on.
Background technique
With the development of intelligent display terminal equipment and enriching for multimedia program content, smart television is commonly installed multiple Different application, for showing the multimedia programming of separate sources and content.It is exemplary, as shown in Figure 1, the application of smart television It is equipped on homepage: for playing live telecast application A, for playing network television using B and for playing answering for music With C etc..
Refering to what is shown in Fig. 2, sharing the sound of smart television between them since application A, B and C are video or voice applications Video Decoder R, execute be switched to using A using B during, in general, smart television is switched to and is answered using A receiving After the instruction of B, i.e. the starting interface of applying B, after the interface start completion of B to be applied, triggering stops using the interface of A, into And backstage is switched to using A.After the completion of the interface load of B, triggering discharges the audio/video decoder R of its occupancy using A, answers After the completion of the load of the interface of B, after using the occupied audio/video decoder R release of A, using B to audio-video solution Code device R sends play instruction.
During actual use, inventor has found the audio-video switching method of the prior art, what handoff procedure needed Time is long, after the completion of causing the interface of target audiovisual applications to load, waits longer time just can be to audio/video decoder Play instruction reduces the user experience of smart television switching audiovisual applications.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus and smart television for switching audiovisual applications, it is intended to shorten sound view Switching time between frequency application, and then the switch speed of audiovisual applications is promoted, improve the user experience of smart television.
Specific technical solution provided by the invention is as follows:
On the one hand, the present invention provides a kind of method for switching audiovisual applications, comprising:
Receive the instruction for switching to target audiovisual applications;
Start preset intermediate interface, and set background program for the audiovisual applications being being currently used, wherein institute The interface content for stating intermediate interface is fewer than the interface content of the target audiovisual applications;
The intermediate interface loaded, the audiovisual applications that triggering is set to background program discharge the audio-video solution Code device, and start the broadcast interface of the target audiovisual applications;
If the state of the audio/video decoder is the free time, indicate the target audiovisual applications to the audio-video solution Code device sends play instruction.
Further, the intermediate interface is blank interface.
Further, if the state of the audio/video decoder is the free time, the target audiovisual applications are indicated Play instruction is sent to the audio/video decoder, comprising:
Inquire the state of the audio/video decoder;
If the state of the audio/video decoder is the free time, indicate the target audiovisual applications to the audio-video solution Code device sends play instruction.
Further, the state of the inquiry audio/video decoder, comprising:
Whether the corresponding interface of the audio/video decoder has code stream output in detection preset time threshold;
If the interface is exported without code stream, the audio/video decoder is the free time.
Further, after the state of the inquiry audio/video decoder, comprising:
If the state of the audio/video decoder be it is busy, according to default polling cycle, continue to inquire the audio-video solution The state of code device;
If inquiring the state of the audio/video decoder as the free time, indicate the target audiovisual applications to the sound Video Decoder sends play instruction.
On the other hand, the present invention provides a kind of device for switching audiovisual applications, and described device includes:
Receiving module, for receiving the instruction for switching to target audiovisual applications;
Execution module, for starting preset intermediate interface, and will currently just according to the received instruction of the receiving module When being set as background program in the audiovisual applications used, and being used for the intermediate interface loaded, triggering is set to backstage The audiovisual applications of program discharge the audio/video decoder, and start the broadcast interface of the target audiovisual applications;
Judgment module, for judging whether the state of the audio/video decoder is idle;
Control module, for indicating the target audiovisual applications when the state of the audio/video decoder is idle Play instruction is sent to the audio/video decoder.
Preferably, the intermediate interface is blank interface.
Further, described device further include:
Detection module, for detecting whether the audio/video decoder interface has code stream output in preset time threshold, And it 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 audio-video Interface decoder exports in preset time threshold without code stream, then judges the state of the audio/video decoder for the free time.
Further, the detection module is specifically also used to:
If the detection module detects that the audio/video decoder interface has code stream output in preset time threshold, The detection module according to preset period of time continue to test the audio/video decoder interface in preset time threshold whether There is code stream output.
In another aspect, the smart television includes above-mentioned switching audiovisual applications the present invention also provides a kind of smart television Device.
Beneficial effects of the present invention are as follows:
The method of switching audiovisual applications provided by the invention, is receiving the instruction for switching to target audiovisual applications Afterwards, start the audiovisual applications that preset intermediate interface triggering is being currently used and enter backstage, and then intermediate interface has loaded Cheng Hou, the audiovisual applications that triggering enters backstage discharge the audio/video decoder of its occupancy, and start target audiovisual applications Broadcast interface, after audio/video decoder release, target audiovisual applications send play instruction to audio/video decoder, should The handoff procedure of audiovisual applications terminates, therefore the starting that the audiovisual applications switching time of the embodiment of the present invention is intermediate interface adds After carrying time and the release time of audio/video decoder, and the switching time of audiovisual applications in the prior art is target sound The interface start-up loading time of Video Applications and the release time of audio/video decoder, since the interface content of intermediate interface compares mesh The interface content of mark with phonetic symbols Video Applications is few, and therefore, starting of the start-up loading time than target audiovisual applications of intermediate interface adds The load time is short, so the audio-video switching method of the embodiment of the present invention shortens the switching time between audiovisual applications, shortens The waiting time of target audiovisual applications improves the user experience of smart television.
Detailed description of the invention
Fig. 1 is smart television application homepage diagram in background of invention;
Fig. 2 is the hand off signaling figure of audiovisual applications in background of invention;
Fig. 3 is the method flow schematic diagram of the switching audiovisual applications of an embodiment of the present invention;
Fig. 4 is the flow diagram of the inquiry audio/video decoder state of the embodiment of the present invention;
Fig. 5 is that the iqiyi.com video of the embodiment of the present invention is switched to the flow diagram of live telecast;
Fig. 6 is a kind of structural schematic diagram of the device of switching audiovisual applications of the embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of smart television of the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
In the description of the present invention, it is related to attached drawing, unless otherwise stated, the same numbers in different attached drawings indicate Be same or similar invention element.
The embodiment of the present invention provides a kind of method for switching audiovisual applications, suitable for the terminal with intelligent operating system Equipment, it is exemplary, such as smart television, smart phone etc. with Android operation system.It is exemplary, the embodiment of the present invention Description in, be described in detail taking a smart TV as an example, but do not represent that the present invention is limited to smart televisions.
Fig. 3 shows a kind of switching audiovisual applications flow diagram provided in an embodiment of the present invention.Refering to what is shown in Fig. 3, The process of the switching audiovisual applications includes:
Step 100: receiving the instruction for switching to target audiovisual applications.
Specifically, smart television receives the control instruction of user's transmission, which, which exits, works as Preceding audiovisual applications, and it is switched to target audiovisual applications.It is exemplary, if the smart television has touch-control control technology, use Family can input the switching command by the touch panel of the smart television;If the smart television has voice control technology, User can input the switching command by the speech control module of the smart television;No matter whether the smart television has touch-control Control technology and voice control technology, user can send the switching command by remote controler.It is exemplary, it below will be with user The implementation procedure of step 100 is described in detail for sending the switching command to smart television by remote controler.
It is exemplary, the implementation procedure of step 100 specifically: smart television receives the remote controler key assignments of user's transmission, into And smart television obtains the corresponding target audiovisual applications of the remote controler key assignments.Specifically, smart television is receiving user's hair After the remote controler key assignments sent, the corresponding relationship list of its remote controler key assignments configured and application identities is searched, the remote control is obtained The application identities of target application corresponding to device key assignments, exemplary, which is the Apply Names of the target application.Example , the corresponding relationship of remote controler key assignments and application identities is listed as follows shown in table table one.
Remote controler key assignments Corresponding Apply Names
KeyEvent 1 Audiovisual applications A
KeyEvent 2 Audiovisual applications B
KeyEvent 3 Audiovisual applications C
KeyEvent 4 Using D
It is exemplary, during smart television playing audio-video application A, receive user sent by remote controler it is distant Device key value Key Event3 is controlled, after receiving the key assignments, smart television inquires remote controler key assignments and the corresponding relationship of application identities arranges Table table one, obtaining the corresponding target audiovisual applications of the remote controler key assignments is audiovisual applications C, i.e. smart television receives switching To the instruction of target audiovisual applications C, then enters step 110 and executed.
Step 110: starting preset intermediate interface, and set backstage journey for the audiovisual applications being being currently used Sequence.
Specifically, in the implementation procedure of step 110, start preset intermediate interface, while will be being currently used Audiovisual applications are set as background program.Exemplary, which is being currently used audiovisual applications A, for example, currently just It has received when receiving remote controler key assignments KeyEvent3 using iqiyi.com video and switches to target audiovisual applications The instruction of C, for example, target audiovisual applications C is Tencent's video, at this point, the intermediate interface that starting is preset, and by iqiyi.com video It is set as background program.
It should be noted that intermediate interface is preset lightweight interface, does not include sound audio and video playing content, therefore use Audio/video decoder;And the interface content of intermediate interface is fewer than the interface content of target audiovisual applications, therefore intermediate interface Start-up loading speed is faster than the start-up loading speed of target audiovisual applications.Exemplary, intermediate interface only includes a layout control Part and a small amount of interface content, to realize the quick load of intermediate interface.Preferably, intermediate interface does not include in any interface Hold, an only layout control, i.e. intermediate interface are a blank interface, further increase the loading velocity of intermediate interface.
When entering foreground after intermediate interface start completion, the interface for triggering the audiovisual applications A being being currently used is temporary Stop, and then audiovisual applications A exits into background program, it should be noted that in Android operation system, current sound view Frequency exits foreground using the interface of A and enters backstage, and an interface start completion is needed to enter foreground triggering.
Step 120: the intermediate interface loaded, triggering are set to described in the audiovisual applications release of background program Audio/video decoder, and start the broadcast interface of the target audiovisual applications.
Specifically, after currently used audiovisual applications A enters backstage, discharging audio-video in Android operation system The process of decoder needs the interface load that one enters foreground and completes to trigger.When the intermediate interface for entering foreground loads When completion, the audiovisual applications A that triggering enters backstage stops using its corresponding player, and then audiovisual applications A starts to release Playback Video Decoder.
It is exemplary, it is in step 110, intermediate by taking audiovisual applications A is third party's audiovisual applications iqiyi.com video as an example After interface launches into foreground, the iqiyi.com video being being currently used exits foreground and enters backstage, when the centre for entering foreground When interface load is completed, the iqiyi.com video that triggering is located at backstage stops using its corresponding iqiyi.com video player, and love is odd After skill video player is stopped using, start to discharge the audio/video decoder that iqiyi.com video occupies.
Due to after currently used audiovisual applications enter backstage, discharging audio/video decoding in Android operation system The process of device needs the interface load that one enters foreground and completes to trigger, and the intermediate interface of the embodiment of the present invention is one A lightweight interface, interface content is less than the interface content of target audiovisual applications, therefore the loading velocity of intermediate interface is fast Loading velocity in target audiovisual applications interface, therefore, the intermediate interface of the embodiment of the present invention may be implemented after entering foreground Quickly load, and then the audiovisual applications release audio/video decoder being being currently used is triggered, unlocking noise can be triggered in advance Video Decoder, and then shorten the waiting time of triggering audio/video decoder release.
Intermediate interface into foreground, which loads, to be completed, and the audiovisual applications A that triggering enters backstage starts to discharge its occupancy While audio/video decoder, the broadcast interface starting of triggering target audiovisual applications B.Broadcasting circle of target audiovisual applications B After face launches into foreground, triggering intermediate interface exits foreground and enters backstage, while target audiovisual applications B starts to load its boundary Face content.
What needs to be explained here is that starting audiovisual applications B's first broadcasts after the completion of the intermediate interface into foreground loads Interface is put, rather than directlys adopt audiovisual applications B and plays corresponding audio and video resources, because of audiovisual applications B and audio-video An audio/video decoder may be shared using A, when setting currently playing interface for the broadcast interface of audiovisual applications B, The audiovisual applications A for being switched to running background might not release its decoder resources occupied, so executing the step After 120, need to judge whether the state of audio/video decoder is to enter if the state of audio/video decoder is the free time free time Step 130.
By taking the smart television of Android operation system as an example, a decoder is only provided in Android operation system, certainly, It is also general in other operating systems that a decoder, such as IOS operating system are only set, even if there are two solutions in some settings In the operating system of code device, it is also possible to the case where two audiovisual applications share a decoder resources occur, so this hair There is a decoder or two decoders or multiple decoders without limitation to terminal device in bright embodiment.
To avoid audiovisual applications A and audiovisual applications B from sharing the same audio/video decoder, the embodiment of the present invention is being opened After the broadcast interface of moving-target audiovisual applications B, the state of audio/video decoder is inquired, as shown in figure 4, specifically looking into Asking step can be with are as follows:
Step 201: calling the corresponding interface of audio/video decoder, whether the interface has code stream in detection preset time threshold Output;
Step 202: if the interface is exported without code stream, judging the state of audio/video decoder for the free time.
Smart television can call the corresponding interface of its audio/video decoder, by detecting the interface in preset time threshold Inside whether there is code stream output, finished to judge whether the audio/video decoder discharges, i.e., by whether judging audio/video decoder There is audio, video data output, determines whether audiovisual applications A releases its occupied audio/video decoder.Specifically, if The interface of audio/video decoder exports in preset time threshold without audio, video data, then illustrates that audiovisual applications A has been released Its occupied audio/video decoder is put, i.e. the state of audio/video decoder is the free time;If it is determined that arriving audio/video decoder Interface have audio, video data output in preset time threshold, then illustrate that audiovisual applications A does not discharge occupied by it completely Audio/video decoder, i.e. the state of audio/video decoder is busy.
Specifically during executing step 201, if detecting the interface of audio/video decoder in preset time threshold Inside there is audio, video data output, then according to default polling cycle, circulation executes step 201, i.e., recycles according to preset period of time Whether the interface of detection audio/video decoder has audio, video data output in preset time threshold, until detecting preset time The corresponding interface of audio/video decoder is exported without code stream in threshold value, enters step 202 execution.
Exemplary, default polling cycle can be set to 250ms, certainly, in order to play target audiovisual applications B as early as possible, Default polling cycle can be arranged it is shorter, such as 200ms.
It should be noted that default polling cycle can also set the variable cycle when specific implementation, such as the first time with 250ms is that preset period of time is inquired, and is inquired for the second time by preset period of time of 200ms, for the third time with 150ms Inquire for preset period of time etc., in this way, the state of decoder can be quickly obtained, once the state of decoder becomes For the free time, target audiovisual applications can be played faster.
It should be noted that preset time threshold can be any time length, exemplary, preset time threshold be can be 0.01ms is also possible to 0.1ms, can also be 100ms, and the embodiment of the present invention does not do the specific size of preset time threshold It limits.
In the case where the state of decoder is idle, step 130 is executed: if the state of audio/video decoder is sky Spare time then indicates that target audiovisual applications send play instruction to the audio/video decoder.
As can be seen from the above-described embodiment, it after smart television receives the instruction for switching to target audiovisual applications, opens Move preset intermediate interface, intermediate interface, which enters behind foreground, to be triggered the audiovisual applications being being currently used and enter backstage, in turn After the completion of intermediate interface load, the audiovisual applications that triggering enters backstage discharge the audio/video decoder of its occupancy, and start mesh The broadcast interface of mark with phonetic symbols Video Applications, after audio/video decoder release, target audiovisual applications are to audio/video decoder Play instruction is sent, the handoff procedure of the audiovisual applications terminates, therefore the audiovisual applications switching time of the embodiment of the present invention is The sum of start-up loading time and the release time of audio/video decoder of intermediate interface, and audiovisual applications in the prior art Switching time is the sum of interface start-up loading time and release time of audio/video decoder of target audiovisual applications, due in Between interface interface content it is fewer than the interface content of target audiovisual applications, therefore, the start-up loading time of intermediate interface compares mesh The start-up loading time of mark with phonetic symbols Video Applications is short, so the audio-video switching method of the embodiment of the present invention shortens audiovisual applications Between switching time, shorten the waiting time of target audiovisual applications, improve the user experience of smart television.
Further, prior to step 110, which receives switch to the instruction of target audiovisual applications after, Application switching animation is presented in the display screen of the smart television, since the window level of animation play window is higher than audiovisual applications Window level, the interfaces windows of audiovisual applications are in invisible mode, therefore, the intermediate interface started in the step 120 It will not be seen by the user during entire changing interface, improve the user's body of the switching audiovisual applications of the embodiment of the present invention The property tested.
Exemplary, which can be the animation file being preset in the smart television, or use The screenshot of preset picture or application program, the file of the animation effects such as addition amplification, sliding, diffusion.
For preferably describe the embodiment of the present invention switching audiovisual applications method, below in conjunction with specific example into Row detailed description.
By taking the smart television with Android operation system as an example, iqiyi.com video X is used in the current smart television It plays " rural love ", and user wants that the smart television is switched to live telecast Y plays " world football ", when the smart television It receives after switching to the instruction of live telecast Y, specific switching flow is as shown in Figure 5.
Refering to what is shown in Fig. 5, after the smart television receives the instruction for switching to live telecast Y of user's transmission, switching The preset intermediate interface E of controller Z-direction sends enabling signal, at the same switch controller Z control the smart television play it is preset Switch animation file, the broadcast window level of the switching animation file is higher than the broadcast window level and live streaming of iqiyi.com video X The broadcast window level of TV Y, therefore, in entire handoff procedure, the display screen of the smart television shows switching animation text The broadcast interface of part.
Further, after the preset intermediate interface E receives the enabling signal of switch controller transmission, if in this Between interface E be to start for the first time, then intermediate interface E enters onCreate life cycle (creation period), subsequently into OnStart life cycle (starting period);If intermediate interface E is not to start for the first time, intermediate interface E is directly entered OnStart life cycle (starting period).
Exemplary, intermediate interface E is a blank interface, only includes a layout control, does not add specific interface Content, therefore, the onCreate life cycle and onStart life cycle duration of intermediate interface E are very short, among this Interface E can enter foreground by quick pull-up.
Further, while intermediate interface E enters onStart life cycle, trigger iqiyi.com video X interface into Enter onPause life cycle (pause period), and then foreground is exited at the interface of iqiyi.com video X, into backstage.Work as intermediate interface After the onStart life cycle of E, enter onResume life cycle (service life) after the completion of intermediate interface E load, when When intermediate interface E enters onResume life cycle, the interface that triggering enters the iqiyi.com video X on backstage enters onStop life Period (dwelling period).After the interface of iqiyi.com video X enters onStop life cycle, and then stop broadcast corresponding with its is discharged Device is put, the occupied audio/video decoder R of iqiyi.com video is then discharged.When intermediate interface E enters onResume life cycle, While the interface of triggering iqiyi.com video X enters onStop life cycle, the broadcast interface starting of triggering live telecast Y.
Further, if live telecast Y is to start for the first time, live telecast Y enters onCreate life cycle, Subsequently into onStart life cycle;If live telecast Y is not to start for the first time, live telecast Y is directly entered OnStart life cycle.
Further, while live telecast Y enters onStart life cycle, live telecast Y enters foreground, touches simultaneously Hair intermediate interface E enters onPause life cycle, and then intermediate interface E exits foreground and enters backstage, final intermediate interface E Into onStop life cycle.While live telecast Y enters foreground, stop the broadcast window of switching animation file, the intelligence The display screen of TV shows the interface content of live telecast.
After live telecast Y enters onStart life cycle, live telecast Y inquires the state of audio/video decoder R, if Live telecast Y inquires the state of audio/video decoder as the free time, starts its corresponding live telecast player, to live telecast Interface load after the completion of, live telecast Y enters onResume life cycle, after the starting of live telecast player, calls sound view Frequency decoder R plays corresponding audio and video resources.
Therefore, the method for the switching audiovisual applications of the embodiment of the present invention, the switching time of audiovisual applications are centre The sum of release time of start-up loading time of interface E and audio/video decoder R, and audiovisual applications in the prior art are cut The sum of the release time for changing interface start-up loading time and audio/video decoder R that the time is live telecast Y, due to intermediate interface E is blank interface, does not include any interface content, therefore, start-up loading time the opening than live telecast Y of intermediate interface E The dynamic load time is short, so the audio-video switching method of the embodiment of the present invention shortens the switching time between audiovisual applications, contracting The short waiting time of target audiovisual applications, improves the user experience of smart television.
Based on identical inventive concept, the embodiment of the invention also provides a kind of device for switching audiovisual applications, such as Fig. 6 Shown, which includes: receiving module 301, execution module 302, judgment module 303, control module 304 and detection module 305, Wherein, receiving module 301 is for receiving the instruction for switching to target audiovisual applications;Execution module 302 is used for according to reception mould The received instruction of block 301 starts preset intermediate interface, and sets backstage journey for the audiovisual applications being being currently used Sequence, and be used for intermediate interface loaded when, triggering be set to background program audiovisual applications discharge its occupancy audio-video Decoder, and start the broadcast interface of target audiovisual applications;Judgment module 303 is used to judge that the state of audio/video decoder to be No is idle;Control module 304 is used for when the state of audio/video decoder is idle, and instruction target audiovisual applications are regarded to sound Frequency decoder sends play instruction.
It should be noted that intermediate interface is preset lightweight interface, does not include sound audio and video playing content, therefore use Audio/video decoder;And the interface content of intermediate interface is fewer than the interface content of target audiovisual applications, therefore intermediate interface Start-up loading speed is faster than the start-up loading speed of target audiovisual applications.Exemplary, intermediate interface only includes a layout control Part and a small amount of interface content, to realize the quick load of intermediate interface.Preferably, intermediate interface does not include in any interface Hold, an only layout control, i.e. intermediate interface are a blank interface, further increase the loading velocity of intermediate interface.
Further, detection module 305 is for detecting whether audio/video decoder interface has code in preset time threshold Stream output, and will test result and be sent to judgment module 304, in turn, the detection module 305 that judgment module 304 receives is sent Testing result be audio/video decoder interface in preset time threshold without code stream export, then the state of audio/video decoder is It is idle.
Specifically, detection module 305 can call the corresponding interface of audio/video decoder, by detecting the interface default Whether there is code stream output in time threshold, finished to judge whether the audio/video decoder discharges, i.e., by judging audio-video solution Whether code device has audio, video data output, determines the state of audio/video decoder.If the interface of audio/video decoder is default It is exported in time threshold without audio, video data, then illustrates the state of audio/video decoder for the free time;If audio/video decoder Interface have audio, video data output in preset time threshold, then illustrate that the state of audio/video decoder is busy.
If detection module 305 detects that the interface of audio/video decoder has audio, video data defeated in preset time threshold Out, then whether the interface of cycle detection audio/video decoder has audio-video number in preset time threshold according to the preset detection period According to output, until detecting that the corresponding interface of audio/video decoder is without code stream output in preset time threshold.
Exemplary, default polling cycle can be set to 250ms, certainly, in order to play target audiovisual applications B as early as possible, Default polling cycle can be arranged it is shorter, such as 200ms.
It should be noted that default polling cycle can also set the variable cycle when specific implementation, such as the first time with 250ms is that preset period of time is inquired, and is inquired for the second time by preset period of time of 200ms, for the third time with 150ms Inquire for preset period of time etc., in this way, the state of decoder can be quickly obtained, once the state of decoder becomes For the free time, target audiovisual applications can be played faster.
It should be noted that preset time threshold can be any time length, exemplary, preset time threshold be can be 0.01ms is also possible to 0.1ms, can also be 100ms, and the embodiment of the present invention does not do the specific size of preset time threshold It limits.
Optionally, the control for switching to target audiovisual applications that receiving module 301 is specifically used for receiving user's transmission refers to It enables, which is used to indicate smart television and exits the audiovisual applications being being currently used, be switched to target audio-video and answer With.
It is switched to specifically, receiving module 301 can be used for receiving user by what the touch panel of smart television inputted The control instruction of target audiovisual applications can be used for receiving the switching that user passes through the inputs such as the voice assistant of smart television To the phonetic control command of target audiovisual applications, the remote controler key assignments that user is sent by remote controler can be also used for, in turn Obtain target audiovisual applications corresponding with the remote controler key assignments received.
When entering foreground after intermediate interface start completion, execution module 302 triggers the audio-video being being currently used and answers Interface pause, and then the audiovisual applications being being currently used exit into background program.The sound view being being currently used After frequency application exits into background program, after the completion of entering the intermediate interface load on foreground, execution module 302, which triggers, currently to be made Audiovisual applications stop using its corresponding player, and then currently used audiovisual applications start to discharge its occupancy Audio/video decoder, meanwhile, execution module 302 triggers the broadcast interface starting of target audiovisual applications.Target audiovisual applications Broadcast interface launch into foreground after, triggering intermediate interface exits foreground and enters backstage, while target audiovisual applications start Load its interface content.
Further, after the broadcast interface of target audiovisual applications launches into foreground, detection trigger module 305 detects sound Whether the corresponding interface of Video Decoder has code stream output in preset time threshold.When detection module 305 detects audio-video The corresponding interface of decoder exports in preset time threshold without code stream, then will test result and be sent to judgment module 303, judges After module 303 determines the state of audio/video decoder as the free time, judging result is sent to execution module 302, execution module The player of 302 starting target audiovisual applications, and then target audiovisual applications send play instruction, mesh to audio/video decoder The player of mark with phonetic symbols Video Applications starts to play corresponding audio and video resources.
The device of switching audiovisual applications provided in an embodiment of the present invention, receiving module 301 switch to target receiving After the instruction of audiovisual applications, execution module 302 starts preset intermediate interface and triggers the audiovisual applications being being currently used Into backstage, and then its occupied audio/video decoder is discharged, and start the broadcast interface of target audiovisual applications, when sound regards After frequency decoder discharges, target audiovisual applications send play instruction to audio/video decoder, which cuts The process of changing terminates, therefore the audiovisual applications switching time of the embodiment of the present invention is start-up loading time and the audio-video of intermediate interface The sum of release time of decoder, and the switching time of audiovisual applications in the prior art is the interface of target audiovisual applications The sum of start-up loading time and the release time of audio/video decoder, since the interface content of intermediate interface is answered than target audio-video Interface content is few, and therefore, the start-up loading time of intermediate interface is shorter than the start-up loading time of target audiovisual applications, institute The switching time between audiovisual applications is shortened with the audio-video switching device of the embodiment of the present invention, target audio-video is shortened and answers Waiting time improves the user experience of smart television.
Based on identical inventive concept, the embodiment of the present invention also provides a kind of smart television, as shown in figure 5, the intelligence electricity Depending on including: communication component 401, reservoir 402 and processor 403.
Wherein, communication component 401 is connect with remote control equipment, for receive user transmission switch to target audiovisual applications Control instruction, which is used to indicate smart television and exits current audiovisual applications, and is switched to target audio-video and answers With.
Wherein, memory 402 is exemplary for storing program, and memory 402 stores the various sounds of smart television installation The local audio and video resources of Video Applications and the smart television.
Processor 403 executes the video and audio that smart television is currently used for calling the program stored in memory 402 Application switching is target audiovisual applications.
Specifically, processor 403 may be a central processing unit (Central Processing Unit, referred to as CPU) or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), Or it is arranged to implement one or more integrated circuits of the embodiment of the present invention.
In specific implementation, if communication component 401, memory 402 and the independent realization of processor 403, communication component 401, memory 402 and processor 403 can be connected with each other by bus and complete mutual communication.Bus can be industry Standard architecture (Industry Standard Architecture, referred to as ISA) bus, exterior terminal interconnection (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..Bus can be divided into address bus, data/address bus, control always Line etc..Only to be indicated with a thick line in figure, it is not intended that an only bus or a type of bus convenient for indicating.
For example, the communication component 401 of the smart television receives the instruction for switching to target audiovisual applications, processing Device 403 starts intermediate interface preset in memory 402, exemplary, and preset intermediate interface is a blank interface, Ke Yiti The loading velocity of high intermediate interface.
When entering foreground after intermediate interface start completion, processor 403 triggers the audiovisual applications being being currently used Interface pause, and then the audiovisual applications being being currently used exit into background program.The audio-video being being currently used After exiting into background program, after the completion of entering the intermediate interface load on foreground, processor 403 triggers currently used Audiovisual applications stop using its corresponding player, and then currently used audiovisual applications start to discharge the sound view of its occupancy Frequency decoder, meanwhile, processor 403 triggers the broadcast interface starting of target audiovisual applications.The broadcasting of target audiovisual applications After interface launches into foreground, triggering intermediate interface exits foreground and enters backstage, while target audiovisual applications start to load it Interface content.
Further, after the broadcast interface of target audiovisual applications launches into foreground, triggering target audiovisual applications inspection Whether the corresponding interface of acoustic Video Decoder has code stream output in preset time threshold.When target audiovisual applications detect The corresponding interface of audio/video decoder exports in preset time threshold without code stream, then judges the state of audio/video decoder for sky Spare time, and then target audiovisual applications send play instruction to audio/video decoder, the player of target audiovisual applications starts to broadcast Put corresponding audio and video resources.
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 The processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed, so that A stream in flow chart can be achieved by the instruction that the computer or the processor of other programmable data processing devices execute The function of being specified in journey or multiple processes 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 process or multiple processes and/or block diagrams of flow chart One box or multiple boxes in specify function the step of.
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 can 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, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, 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;
Start preset intermediate interface, and set background program for the audiovisual applications being being currently used, wherein in described Between interface interface content it is fewer than the interface content of the target audiovisual applications;
The intermediate interface load is completed, and the audiovisual applications that triggering is set to background program discharge the audio/video decoding Device, and start the broadcast interface of the target audiovisual applications;
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. method according to claim 1, which is characterized in that the intermediate interface is blank interface.
3. according to claim 1 or any one of 2 the methods, which is characterized in that 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, comprising:
Inquire the state of the 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.
4. method according to claim 3, which is characterized in that the state of the inquiry audio/video decoder, comprising:
Whether the corresponding interface of the audio/video decoder has code stream output in detection preset time threshold;
If the interface is exported without code stream, the audio/video decoder is the free time.
5. method according to claim 3, which is characterized in that after the state of the inquiry audio/video decoder, packet It includes:
If the state of the audio/video decoder be it is busy, according to default polling cycle, continue to inquire the audio/video decoder State;
If inquiring the state of the audio/video decoder as the free time, indicate the target audiovisual applications to the audio-video Decoder sends play instruction.
6. a kind of device for switching audiovisual applications, which is characterized in that described device includes:
Receiving module, for receiving the instruction for switching to target audiovisual applications;
Execution module, for starting preset intermediate interface, and will currently make according to the received instruction of the receiving module Audiovisual applications are set as background program, and when being used for the intermediate interface loaded, triggering is set to background program The audiovisual applications discharge the audio/video decoder, and start the broadcast interface of the target audiovisual applications;
Judgment module, for judging whether the state of the audio/video decoder is idle;
Control module, for indicating the target audiovisual applications to institute when the state of the audio/video decoder is idle It states audio/video decoder and sends play instruction.
7. device according to claim 6, which is characterized in that the intermediate interface is blank interface.
8. device according to claim 6, which is characterized in that described device further include:
Detection module, for detecting whether the audio/video decoder interface has code stream output in preset time threshold, and will Testing result is 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 audio/video decoding Device interface exports in preset time threshold without code stream, then judges the state of the audio/video decoder for the free time.
9. device according to claim 8, which is characterized in that the detection module is specifically also used to:
It is described if the detection module detects that the audio/video decoder interface has code stream output in preset time threshold Detection module continues to test whether the audio/video decoder interface has code in preset time threshold according to preset period of time Stream output.
10. a kind of smart television, which is characterized in that the smart television includes any one of claim 6 ~ 9 switching sound view The device of frequency application.
CN201610175351.5A 2016-03-25 2016-03-25 A kind of method, apparatus and smart television switching audiovisual applications Active CN105791932B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610175351.5A CN105791932B (en) 2016-03-25 2016-03-25 A kind of method, apparatus and smart television switching audiovisual applications
US15/394,761 US10321206B2 (en) 2016-03-25 2016-12-29 Method for switching an audio/video application, apparatus and smart TV

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610175351.5A CN105791932B (en) 2016-03-25 2016-03-25 A kind of method, apparatus and smart television switching audiovisual applications

Publications (2)

Publication Number Publication Date
CN105791932A CN105791932A (en) 2016-07-20
CN105791932B true CN105791932B (en) 2019-07-16

Family

ID=56390872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610175351.5A Active CN105791932B (en) 2016-03-25 2016-03-25 A kind of method, apparatus and smart television switching audiovisual applications

Country Status (1)

Country Link
CN (1) CN105791932B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743524B (en) * 2018-12-03 2021-03-02 视联动力信息技术股份有限公司 Data processing method of video network and video network system
CN110489215A (en) 2019-06-29 2019-11-22 华为技术有限公司 The treating method and apparatus of scene is waited in a kind of application program
CN113467838B (en) * 2020-03-30 2023-07-28 成都鼎桥通信技术有限公司 Dual-system switching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176689A (en) * 2011-12-26 2013-06-26 腾讯科技(深圳)有限公司 Interface switching method and interface switching system
CN103324403A (en) * 2012-03-22 2013-09-25 腾讯科技(深圳)有限公司 Page switching method and device as well as mobile terminal
CN104994432A (en) * 2015-06-25 2015-10-21 海信集团有限公司 Method for switching audio and video applications and television
CN105100915A (en) * 2015-06-25 2015-11-25 海信集团有限公司 Method and television for switching audio video application

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110167364A1 (en) * 2010-01-05 2011-07-07 Nokia Corporation Methods and apparatuses for improving application startup
US20150128042A1 (en) * 2013-11-04 2015-05-07 Microsoft Corporation Multitasking experiences with interactive picture-in-picture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176689A (en) * 2011-12-26 2013-06-26 腾讯科技(深圳)有限公司 Interface switching method and interface switching system
CN103324403A (en) * 2012-03-22 2013-09-25 腾讯科技(深圳)有限公司 Page switching method and device as well as mobile terminal
CN104994432A (en) * 2015-06-25 2015-10-21 海信集团有限公司 Method for switching audio and video applications and television
CN105100915A (en) * 2015-06-25 2015-11-25 海信集团有限公司 Method and television for switching audio video application

Also Published As

Publication number Publication date
CN105791932A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN102262879B (en) Voice command competition processing method and device as well as voice remote controller and digital television
CN105828101B (en) Generate the method and device of subtitle file
CN105791932B (en) A kind of method, apparatus and smart television switching audiovisual applications
CN109657091B (en) State presentation method, device and equipment of voice interaction equipment and storage medium
CN102196091A (en) Method for controlling surrounding device and communication device thereof
CN109741740B (en) Voice interaction method and device based on external trigger
CN105791933B (en) A kind of method, apparatus and smart television switching audiovisual applications
CN110381384A (en) A kind of method and device that interactive audiovisual plays
CN105100915B (en) A kind of method and television set switching audiovisual applications
CN106612481B (en) Speaker control method and control system with LED matrix lamp
CN112735398B (en) Man-machine conversation mode switching method and system
US10321206B2 (en) Method for switching an audio/video application, apparatus and smart TV
CN109686372B (en) Resource playing control method and device
KR20190069749A (en) Head unit of vehicle and control method thereof
CN105681886B (en) Bluetooth connection control method, device and the playback equipment of playback equipment
US9904262B2 (en) Systems and methods for dynamic operation of electronic devices based on detection of one or more events
CN106658138B (en) Smart television and its signal source switch method, device
CN103677582A (en) Method for controlling electronic device, and electronic device
US20200211552A1 (en) Voice interaction control method and apparatus
CN106534492A (en) Message prompt method and apparatus
CN105847905B (en) A kind of audio-video frequency playing system control method and device
CN104007969A (en) Booting sound playing method and device
CN111050240A (en) Earphone mode switching method and device
CN105681913B (en) Multi-screen interaction method and device
CN112055238A (en) Video playing control method, device and system

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
CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Visual Technology Co., Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CP01 Change in the name or title of a patent holder