CN105791932A - Method of switching audio and video applications, device and intelligent television - Google Patents

Method of switching audio and video applications, device and intelligent television Download PDF

Info

Publication number
CN105791932A
CN105791932A CN201610175351.5A CN201610175351A CN105791932A CN 105791932 A CN105791932 A CN 105791932A CN 201610175351 A CN201610175351 A CN 201610175351A CN 105791932 A CN105791932 A CN 105791932A
Authority
CN
China
Prior art keywords
video decoder
interface
audio
applications
video
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.)
Granted
Application number
CN201610175351.5A
Other languages
Chinese (zh)
Other versions
CN105791932B (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

Abstract

The invention discloses a method of switching audio and video applications, a device and an intelligent television, which relate to the technical field of communication and aim at shortening the switching time between audio and video applications, enhancing the audio and video application switching speed and improving the user experience of the intelligent television. The method comprises steps: an instruction of switching to a target audio and video application is received; a preset intermediate interface is started to set the currently-used audio and video application to be a backstage program; after loading of the intermediate interface is completed, the intermediate interface set to be the backstage program is triggered to release an audio and video decoder, and the playing interface for the target audio and video application is started; and if the audio and video decoder is in an idle state, the target audio and video application is instructed to send a playing instruction to the audio and video decoder.

Description

A kind of switch the method for audiovisual applications, device and intelligent television
Technical field
The present invention relates to communication technical field, particularly relate to and a kind of switch the method for audiovisual applications, device and intelligent television.
Background technology
Along with the development of intelligent display terminal equipment and enriching of multimedia program content, intelligent television is commonly installed multiple different application, for showing the multimedia programming of separate sources and content.Example, as it is shown in figure 1, be provided with on the application homepage of intelligent television: for playing live telecast application A, for the application B of playing network television with for playing the application C etc. of music.
With reference to shown in Fig. 2, owing to application A, B and C are video or voice applications, the audio/video decoder R of intelligent television is shared between them, perform application A be switched to application B process in, generally, intelligent television receive application A be switched to application B instruction after, namely the interface of application B is started, after the interface of B to be applied has started, the interface triggering application A stops, and then application A is switched to backstage.After the interface of application B has loaded, triggering application A and discharge its audio/video decoder R taken, after the interface of application B has loaded, after waiting until application audio/video decoder R release shared by A, application B sends play instruction to audio/video decoder R.
In actually used process, inventor have found that the audio-video switching method of prior art, the time that handoff procedure needs is long, after the interface causing target sound Video Applications has loaded, wait that the longer time just to audio/video decoder play instruction, can reduce the user experience of intelligent television switching audiovisual applications.
Summary of the invention
The embodiment of the present invention provides a kind of and switches the method for audiovisual applications, device and intelligent television, it is intended to shorten the switching time between audiovisual applications, and then promotes the switch speed of audiovisual applications, improves the user experience of intelligent television.
Concrete technical scheme provided by the invention is as follows:
On the one hand, the present invention provides a kind of method switching audiovisual applications, including:
Receive the instruction switching to target sound Video Applications;
Starting preset intermediate interface, and the audiovisual applications being being currently used is set to background program, wherein, the interface content of described intermediate interface is fewer than the interface content of described target sound Video Applications;
Described intermediate interface loaded, triggers the described audiovisual applications being set to background program and discharges described audio/video decoder, and start the broadcast interface of described target sound Video Applications;
If the state of described audio/video decoder is idle, it indicates that described target sound Video Applications sends play instruction to described audio/video decoder.
Further, described intermediate interface is blank interface.
Further, if the state of described audio/video decoder is idle, it indicates that described target sound Video Applications sends play instruction to described audio/video decoder, including:
Inquire about the state of described audio/video decoder;
If the state of described audio/video decoder is idle, it indicates that described target sound Video Applications sends play instruction to described audio/video decoder.
Further, the state of the described audio/video decoder of described inquiry, including:
Whether the interface that in detection preset time threshold, described audio/video decoder is corresponding has code stream to export;
If described interface exports without code stream, then described audio/video decoder is idle.
Further, after the state of the described audio/video decoder of described inquiry, including:
If the state of described audio/video decoder is busy, then according to default polling cycle, continue to inquire about the state of described audio/video decoder;
If the state inquiring described audio/video decoder is the free time, it indicates that described target sound Video Applications sends play instruction to described audio/video decoder.
On the other hand, the present invention provides a kind of device switching audiovisual applications, and described device includes:
Receiver module, for receiving the instruction switching to target sound Video Applications;
Perform module, for the instruction received according to described receiver module, start preset intermediate interface, and the audiovisual applications being being currently used is set to background program, and during for described intermediate interface loaded, trigger the described audiovisual applications being set to background program and discharge described audio/video decoder, and start the broadcast interface of described target sound Video Applications;
Whether judge module, be idle for judging the state of described audio/video decoder;
Control module, for when the state of described audio/video decoder is idle, indicating described target sound Video Applications to send play instruction to described audio/video decoder.
Preferably, described intermediate interface is blank interface.
Further, described device also includes:
Detection module, is used for detecting whether described audio/video decoder interface has code stream to export in preset time threshold, and testing result is sent to described judge module;
Described judge module specifically for: if the testing result that the described detection module that receives sends be described audio/video decoder interface in preset time threshold without code stream output, then judge that the state of described audio/video decoder is as the free time.
Further, described detection module is specifically additionally operable to:
If described detection module detects that described audio/video decoder interface has code stream to export in preset time threshold, then described detection module continues to detect whether described audio/video decoder interface has code stream to export in preset time threshold according to preset time period.
Another further aspect, the present invention also provides for a kind of intelligent television, and described intelligent television includes the device of above-mentioned switching audiovisual applications.
Beneficial effects of the present invention is as follows:
nullThe method of switching audiovisual applications provided by the invention,After receiving the instruction switching to target sound Video Applications,Start preset intermediate interface and trigger the audiovisual applications entrance backstage being being currently used,And then after intermediate interface loaded,Trigger the audiovisual applications entering backstage and discharge its audio/video decoder taken,And start the broadcast interface of target sound Video Applications,After audio/video decoder discharges,Target sound Video Applications sends play instruction to audio/video decoder,The handoff procedure of this audiovisual applications terminates,Therefore the audiovisual applications of the embodiment of the present invention be switching time start-up loading time of intermediate interface with the release time of audio/video decoder after,And the release time of the interface start-up loading time that switching time is target sound Video Applications of audiovisual applications of the prior art and audio/video decoder,Owing to the interface content of intermediate interface is fewer than the interface content of target sound Video Applications,Therefore,The start-up loading time of intermediate interface is shorter than the start-up loading time of target sound Video Applications,So the audio-video switching method of the embodiment of the present invention shortens the switching time between audiovisual applications,Shorten the waiting time of target sound Video Applications,Improve the user experience of intelligent television.
Accompanying drawing explanation
Fig. 1 is intelligent 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 schematic flow sheet of the inquiry audio/video decoder state of the embodiment of the present invention;
Fig. 5 be the embodiment of the present invention like that strange skill video switches to the schematic flow sheet of live telecast;
Fig. 6 is the structural representation of a kind of device switching audiovisual applications of the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of intelligent television of the embodiment of the present invention.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, all other embodiments that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
In describing the invention, relate to accompanying drawing, unless otherwise stated, what the same numbers in different accompanying drawing represented is same or like invention key element.
The embodiment of the present invention provides a kind of method switching audiovisual applications, it is adaptable to have the terminal unit of intelligent operating system, example, such as has the intelligent television of Android operation system, smart mobile phone etc..Example, in the description of the embodiment of the present invention, it is described in detail for intelligent television, but does not represent and the present invention is limited to intelligent television.
Fig. 3 illustrates the one switching audiovisual applications schematic flow sheet that the embodiment of the present invention provides.With reference to shown in Fig. 3, the flow process of this switching audiovisual applications includes:
Step 100: receive the instruction switching to target sound Video Applications.
Concrete, intelligent television receives the control instruction that user sends, and this control instruction indicating intelligent TV exits current audiovisual applications, and is switched to target sound Video Applications.Example, if this intelligent television has touch-control control technology, user can input this switching command by the contact panel of this intelligent television;If this intelligent television has voice control technology, user can input this switching command by the speech control module of this intelligent television;No matter whether this intelligent television has touch-control control technology and voice control technology, and user sends this switching command such as through remote controller.Example, it is described in detail sending this switching command by remote controller to intelligent television for user the execution process of step 100 below.
Example, the execution process of step 100 is particularly as follows: intelligent television receives the remote controller key assignments that user sends, and then intelligent television obtains the target sound Video Applications that this remote controller key assignments is corresponding.Concrete, intelligent television, after receiving the remote controller key assignments that user sends, is searched the corresponding relation list of its remote controller key assignments configured and application identities, is obtained the application identities of this intended application corresponding to remote controller key assignments, example, this application identities is the Apply Names of this intended application.Example, the corresponding relation of remote controller key assignments and application identities is listed as follows shown in table table one.
Remote controller key assignments Corresponding Apply Names
KeyEvent 1 Audiovisual applications A
KeyEvent 2 Audiovisual applications B
KeyEvent 3 Audiovisual applications C
KeyEvent 4 Application D
Example, in the process of intelligent television playing audio-video application A, receive the remote controller key assignments KeyEvent3 that user is sent by remote controller, after receiving this key assignments, the corresponding relation list table one of intelligent television inquiry remote controller key assignments and application identities, the target sound Video Applications obtaining this remote controller key assignments corresponding is audiovisual applications C, and namely intelligent television receives the instruction switching to target sound Video Applications C, then enter into step 110 and perform.
Step 110: start preset intermediate interface, and the audiovisual applications being being currently used is set to background program.
Concrete, in the execution process of step 110, start preset intermediate interface, the audiovisual applications being being currently used is set to background program simultaneously.Example, this intelligent television is being currently used audiovisual applications A, such as, it is being currently used the strange skill video of love, when receiving remote controller key assignments KeyEvent3, namely have received the instruction switching to target sound Video Applications C, such as, target sound Video Applications C is Tengxun's video, now, start preset intermediate interface, and strange for love skill video is set to 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 sound Video Applications, therefore the start-up loading speed of intermediate interface is faster than the start-up loading speed of target sound Video Applications.Example, intermediate interface only includes a layout control and a small amount of interface content, to realize the quick loading of intermediate interface.Preferably, intermediate interface does not comprise any interface content, is only a layout control, and namely intermediate interface is a blank interface, improves the loading velocity of intermediate interface further.
When entering foreground after intermediate interface has started, the interface triggering the audiovisual applications A being being currently used is suspended, and then audiovisual applications A exits into background program, it should be noted that, in Android operation system, entrance backstage, foreground is exited at the interface of current audiovisual applications A, it is necessary to an interface has started entrance foreground and triggered.
Step 120: described intermediate interface loaded, triggers the described audiovisual applications being set to background program and discharges described audio/video decoder, and start the broadcast interface of described target sound Video Applications.
Concrete, in Android operation system, after currently used audiovisual applications A enters backstage, the process of unlocking noise Video Decoder a, it is desirable to have interface entering foreground has loaded and triggered.When the intermediate interface entering foreground has loaded, trigger the audiovisual applications A entering backstage and stop using the player of its correspondence, and then audiovisual applications A starts unlocking noise Video Decoder.
Example, strange skill video is liked for third party's audiovisual applications for audiovisual applications A, in step 110, after intermediate interface launches into foreground, the strange skill video of love being being currently used exits entrance backstage, foreground, when the intermediate interface entering foreground has loaded, triggers and is positioned at the strange skill video player of love that the strange skill video of love on backstage stops using its correspondence, after liking that strange skill video player is stopped using, start the audio/video decoder that release likes that strange skill video takies.
Due in Android operation system, after currently used audiovisual applications enters backstage, the process of unlocking noise Video Decoder, need an interface entering foreground to have loaded and trigger, and the intermediate interface of the embodiment of the present invention is a lightweight interface, its interface content is less than the interface content of target sound Video Applications, therefore the loading velocity of intermediate interface is faster than the loading velocity at target sound Video Applications interface, therefore, the intermediate interface of the embodiment of the present invention can realize quick loading after entering foreground, and then trigger the audiovisual applications unlocking noise Video Decoder being being currently used, unlocking noise Video Decoder can be triggered in advance, and then shorten the waiting time of trigger tone Video Decoder release.
The intermediate interface entering foreground has loaded, and while the audiovisual applications A on triggering entrance backstage starts to discharge its audio/video decoder taken, the broadcast interface of trigger target audiovisual applications B starts.After the broadcast interface of target sound Video Applications B launches into foreground, triggering intermediate interface and exit entrance backstage, foreground, target sound Video Applications B starts to load its interface content simultaneously.
Need exist for illustrate be, after the intermediate interface on entrance foreground has loaded, first the broadcast interface of audiovisual applications B is started, rather than directly adopt audiovisual applications B to play corresponding audio and video resources, because audiovisual applications B and audiovisual applications A is likely to share an audio/video decoder, when the broadcast interface of audiovisual applications B is set to currently playing interface, the audiovisual applications A being switched to running background might not release its decoder resources occupied, so after execution of step 120, need whether the state judging audio/video decoder is idle, if the state of audio/video decoder is idle, then enter step 130.
Intelligent television for Android operation system, Android operation system is only provided with a decoder, certainly, other operating system also generally only arranges decoder, such as an IOS, even if being provided with in the operating system of two decoders at some, it is also possible to that the situation that two audiovisual applications share a decoder resources occurs, so terminal unit is had a decoder by the embodiment of the present invention, or two decoders, or multiple decoder does not limit.
For avoiding audiovisual applications A and audiovisual applications B to share same audio/video decoder, the embodiment of the present invention is after starting the broadcast interface of target sound Video Applications B, the state of audio/video decoder is inquired about, and as shown in Figure 4, concrete query steps can be:
Step 201: calling the interface that audio/video decoder is corresponding, in detection preset time threshold, whether this interface has code stream to export;
Step 202: if this interface exports without code stream, then judge that the state of audio/video decoder is as idle.
Intelligent television can call the corresponding interface of its audio/video decoder, by detecting whether this interface has code stream to export in preset time threshold, judge whether this audio/video decoder discharges complete, namely by judging whether audio/video decoder has audio, video data to export, it is determined that whether audiovisual applications A releases the audio/video decoder that it is shared.Concrete, if the interface of audio/video decoder does not have audio, video data to export in preset time threshold, then illustrate that audiovisual applications A has released its shared audio/video decoder, namely the state of audio/video decoder is idle;If it is determined that the interface to audio/video decoder has audio, video data to export in preset time threshold, then illustrating that audiovisual applications A does not discharge its shared audio/video decoder completely, namely the state of audio/video decoder is busy.
Specifically in the process performing step 201, if be detected that the interface of audio/video decoder has audio, video data to export in preset time threshold, then according to default polling cycle, circulation performs step 201, namely according to whether the interface of preset time period cycle detection audio/video decoder has audio, video data to export in preset time threshold, until detecting that the interface that in preset time threshold, audio/video decoder is corresponding exports without code stream, entering step 202 and performing.
Example, default polling cycle could be arranged to 250ms, certainly, in order to play target sound Video Applications B as early as possible, it is possible to what arranged default polling cycle is shorter, such as 200ms.
It should be noted that, when implementing, default polling cycle can also set the variable cycle, as first time inquires about with 250ms for preset time period, second time is inquired about with 200ms for preset time period, and third time carries out inquiry etc. with 150ms for preset time period, so, the state of decoder can be obtained quickly, once the state of decoder becomes the free time, it is possible to play target sound Video Applications faster.
It should be noted that preset time threshold can be random time length, example, preset time threshold can be 0.01ms, it is also possible to be 0.1ms, it is also possible to be 100ms, and the embodiment of the present invention does not limit for the specific size of preset time threshold.
When the state of decoder is idle, perform step 130: if the state of audio/video decoder is idle, it indicates that target sound Video Applications sends play instruction to this audio/video decoder.
nullAs can be seen from the above-described embodiment,After intelligent television receives the instruction switching to target sound Video Applications,Start preset intermediate interface,Intermediate interface triggers the audiovisual applications being being currently used and enters backstage after entering foreground,And then after intermediate interface loaded,Trigger the audiovisual applications entering backstage and discharge its audio/video decoder taken,And start the broadcast interface of target sound Video Applications,After audio/video decoder discharges,Target sound Video Applications sends play instruction to audio/video decoder,The handoff procedure of this audiovisual applications terminates,Therefore the audiovisual applications of the embodiment of the present invention is start-up loading time sum release time with audio/video decoder of intermediate interface switching time,And sum release time of the interface start-up loading time that switching time is target sound Video Applications of audiovisual applications of the prior art and audio/video decoder,Owing to the interface content of intermediate interface is fewer than the interface content of target sound Video Applications,Therefore,The start-up loading time of intermediate interface is shorter than the start-up loading time of target sound Video Applications,So the audio-video switching method of the embodiment of the present invention shortens the switching time between audiovisual applications,Shorten the waiting time of target sound Video Applications,Improve the user experience of intelligent television.
Further, before step 110, after this intelligent television receives the instruction switching to target sound Video Applications, the display screen of this intelligent television presents application switching animation, owing to the window level of animation broadcast window is higher than the window level of audiovisual applications, the interfaces windows of audiovisual applications is in invisible mode, therefore, the intermediate interface started in the step 120 will not be seen by the user in whole changing interface process, improves the user experience of the switching audiovisual applications of the embodiment of the present invention.
Example, this application switching animation can be the animation file being preset in this intelligent television, it is also possible to for using the sectional drawing of preset picture or application program, add the file of the animation effects such as amplification, slip, diffusion.
For the method better describing the switching audiovisual applications of the embodiment of the present invention, it is described in detail below in conjunction with specific example.
For the intelligent television with Android operation system, this intelligent television current is currently in use the strange skill video X of love and plays " rural area love ", and user wants that this intelligent television is switched to live telecast Y plays " all over the world football ", after this intelligent television receives the instruction switching to live telecast Y, concrete switching flow is as shown in Figure 5.
With reference to shown in Fig. 5, after this intelligent television receives the instruction switching to live telecast Y that user sends, the intermediate interface E transmission enabling signal that switch controller Z-direction is preset, switch controller Z controls the switching animation file that the broadcasting of this intelligent television is preset simultaneously, the broadcast window level of this switching animation file is higher than the broadcast window level of the broadcast window level and live telecast Y of liking strange skill video X, therefore, in whole handoff procedure, the display screen of this intelligent television shows the broadcast interface of switching animation file.
Further, after this preset intermediate interface E receives the enabling signal that switch controller sends, if this intermediate interface E starts first time, then this intermediate interface E enters onCreate life cycle (creating the cycle), subsequently into onStart life cycle (starting the cycle);If this intermediate interface E starts first time, then this intermediate interface E is directly entered onStart life cycle (starting the cycle).
Example, this intermediate interface E is a blank interface, only includes a layout control, without concrete interface content, therefore, onCreate life cycle and the onStart life cycle duration of this intermediate interface E are very short, and this intermediate interface E can be entered foreground by quick pull-up.
Further, while this intermediate interface E enters onStart life cycle, trigger and like that the interface of strange skill video X enters onPause life cycle (pause period), and then like that foreground is exited at the interface of strange skill video X, enter backstage.After the onStart life cycle of intermediate interface E terminates, intermediate interface E enters onResume life cycle (life cycle) after having loaded, when intermediate interface E enters onResume life cycle, trigger the interface liking strange skill video X entering backstage and enter onStop life cycle (dwelling period).Liking that the interface of strange skill video X enters after onStop life cycle, and then stop and discharging the player of its correspondence, then the audio/video decoder R shared by strange skill video is liked in release.When intermediate interface E enters onResume life cycle, triggering while liking that the interface of strange skill video X enters onStop life cycle, the broadcast interface triggering live telecast Y starts.
Further, if this live telecast Y starts first time, then live telecast Y enters onCreate life cycle, subsequently into onStart life cycle;If live telecast Y starts first time, then live telecast Y is directly entered onStart life cycle.
Further, while live telecast Y enters onStart life cycle, live telecast Y enters foreground, triggers intermediate interface E simultaneously and enters onPause life cycle, and then this intermediate interface E exits entrance backstage, foreground, final intermediate interface E enters onStop life cycle.While live telecast Y enters foreground, stop the broadcast window of switching animation file, the interface content of the display screen display live telecast of this intelligent television.
After live telecast Y enters onStart life cycle, live telecast Y inquires about the state of audio/video decoder R, if it is the free time that live telecast Y inquires the state of audio/video decoder, start the live telecast player of its correspondence, after the interface of live telecast has loaded, live telecast Y enters onResume life cycle, after live telecast player starts, calls audio/video decoder R and plays corresponding audio and video resources.
Therefore, the method of the switching audiovisual applications of the embodiment of the present invention, the switching time of its audiovisual applications is start-up loading time sum release time with audio/video decoder R of intermediate interface E, and sum release time of the interface start-up loading time that switching time is live telecast Y of audiovisual applications of the prior art and audio/video decoder R, owing to intermediate interface E is blank interface, do not include any interface content, therefore, the start-up loading time than the live telecast Y start-up loading time of intermediate interface E is short, so the audio-video switching method of the embodiment of the present invention shortens the switching time between audiovisual applications, shorten the waiting time of target sound Video Applications, improve the user experience of intelligent television..
Based on identical inventive concept, the embodiment of the present invention additionally provides a kind of device switching audiovisual applications, as shown in Figure 6, this device includes: receiver module 301, execution module 302, judge module 303, control module 304 and detection module 305, wherein, receiver module 301 is for receiving the instruction switching to target sound Video Applications;Perform the module 302 instruction for receiving according to receiver module 301, start preset intermediate interface, and the audiovisual applications being being currently used is set to background program, and during for intermediate interface loaded, trigger the audiovisual applications being set to background program and discharge its audio/video decoder taken, and start the broadcast interface of target sound Video Applications;Whether judge module 303 is idle for judging the state of audio/video decoder;Controlling module 304 for when the state of audio/video decoder is idle, instruction target sound Video Applications sends play instruction to audio/video decoder.
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 sound Video Applications, therefore the start-up loading speed of intermediate interface is faster than the start-up loading speed of target sound Video Applications.Example, intermediate interface only includes a layout control and a small amount of interface content, to realize the quick loading of intermediate interface.Preferably, intermediate interface does not comprise any interface content, is only a layout control, and namely intermediate interface is a blank interface, improves the loading velocity of intermediate interface further.
Further, detection module 305 is used for detecting whether audio/video decoder interface has code stream to export in preset time threshold, and testing result is sent to judge module 304, and then, the testing result that the detection module 305 that judge module 304 receives sends is that audio/video decoder interface exports without code stream in preset time threshold, then the state of audio/video decoder is idle.
Concrete, detection module 305 can call the corresponding interface of audio/video decoder, by detecting whether this interface has code stream to export in preset time threshold, judge whether this audio/video decoder discharges complete, namely by judging whether audio/video decoder has audio, video data to export, it is determined that the state of audio/video decoder.If the interface of audio/video decoder does not have audio, video data to export in preset time threshold, then illustrate that the state of audio/video decoder is the free time;If the interface of audio/video decoder has audio, video data to export 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 to export in preset time threshold, then according to whether the interface of default detection loop cycle detection audio/video decoder has audio, video data to export in preset time threshold, until detecting that the interface that in preset time threshold, audio/video decoder is corresponding exports without code stream.
Example, default polling cycle could be arranged to 250ms, certainly, in order to play target sound Video Applications B as early as possible, it is possible to what arranged default polling cycle is shorter, such as 200ms.
It should be noted that, when implementing, default polling cycle can also set the variable cycle, as first time inquires about with 250ms for preset time period, second time is inquired about with 200ms for preset time period, and third time carries out inquiry etc. with 150ms for preset time period, so, the state of decoder can be obtained quickly, once the state of decoder becomes the free time, it is possible to play target sound Video Applications faster.
It should be noted that preset time threshold can be random time length, example, preset time threshold can be 0.01ms, it is also possible to be 0.1ms, it is also possible to be 100ms, and the embodiment of the present invention does not limit for the specific size of preset time threshold.
Alternatively, receiver module 301 is specifically for receiving the control instruction switching to target sound Video Applications that user sends, and this control instruction exits, for indicating intelligent TV, the audiovisual applications being being currently used, and is switched to target sound Video Applications.
Concrete, receiver module 301 may be used for receiving the control instruction switching to target sound Video Applications that user is inputted by the contact panel of intelligent television, can be used for receiving the phonetic control command switching to target sound Video Applications of the inputs such as user's voice assistant by intelligent television, can be also used for the remote controller key assignments that user is sent by remote controller, and then obtain the target sound Video Applications corresponding with the remote controller key assignments received.
When entering foreground after intermediate interface has started, perform module 302 and trigger the interface time-out of the audiovisual applications being being currently used, and then the audiovisual applications being being currently used exits into background program.After the audiovisual applications being being currently used exits into background program, after the intermediate interface entering foreground has loaded, execution module 302 triggers currently used audiovisual applications and stops using the player of its correspondence, and then currently used audiovisual applications starts to discharge its audio/video decoder taken, meanwhile, the broadcast interface performing module 302 trigger target audiovisual applications starts.After the broadcast interface of target sound Video Applications launches into foreground, triggering intermediate interface and exit entrance backstage, foreground, target sound Video Applications starts to load its interface content simultaneously.
Further, after the broadcast interface of target sound Video Applications launches into foreground, detection trigger module 305 detects whether interface corresponding to audio/video decoder has code stream to export in preset time threshold.When detection module 305 detects that the interface that audio/video decoder is corresponding exports without code stream in preset time threshold, then testing result is sent to judge module 303, it is after the free time that judge module 303 determines the state of audio/video decoder, will determine that result is sent to execution module 302, perform module 302 and start the player of target sound Video Applications, and then target sound Video Applications sends play instruction to audio/video decoder, the player of target sound Video Applications commences play out corresponding audio and video resources.
nullThe device of the switching audiovisual applications that the embodiment of the present invention provides,Receiver module 301 is after receiving the instruction switching to target sound Video Applications,Perform module 302 and start the audiovisual applications entrance backstage that preset intermediate interface triggering is being currently used,And then discharge its shared audio/video decoder,And start the broadcast interface of target sound Video Applications,After audio/video decoder discharges,Target sound Video Applications sends play instruction to audio/video decoder,The handoff procedure of this audiovisual applications terminates,Therefore the audiovisual applications of the embodiment of the present invention is start-up loading time sum release time with audio/video decoder of intermediate interface switching time,And sum release time of the interface start-up loading time that switching time is target sound Video Applications of audiovisual applications of the prior art and audio/video decoder,Owing to the interface content of intermediate interface is fewer than the interface content of target sound Video Applications,Therefore,The start-up loading time of intermediate interface is shorter than the start-up loading time of target sound Video Applications,So the audio frequency and video switching device of the embodiment of the present invention shortens the switching time between audiovisual applications,Shorten the waiting time of target sound Video Applications,Improve the user experience of intelligent television.
Based on identical inventive concept, the embodiment of the present invention also provides for a kind of intelligent television, as it is shown in figure 5, this intelligent television includes: communication component 401, bin 402 and processor 403.
Wherein, communication component 401 is connected with remote control equipment, and for receiving the control instruction switching to target sound Video Applications that user sends, this control instruction exits current audiovisual applications for indicating intelligent TV, and is switched to target sound Video Applications.
Wherein, memorizer 402 is used for storing program, example, and memorizer 402 stores the various audiovisual applications of this intelligent television installation and the local audio and video resources of this intelligent television.
Processor 403, for calling the program of storage in memorizer 402, performs video and audio application currently used for intelligent television is switched to target sound Video Applications.
Concrete, processor 403 is probably a central processing unit (CentralProcessingUnit, referred to as CPU), or specific integrated circuit (ApplicationSpecificIntegratedCircuit, referred to as ASIC), or it is configured to implement one or more integrated circuits of the embodiment of the present invention.
On implementing, realize if communication component 401, memorizer 402 and processor 403 are independent, then communication component 401, memorizer 402 and processor 403 can be connected with each other and complete mutual communicating by bus.Bus can be industry standard architecture (IndustryStandardArchitecture, referred to as ISA) bus, exterior terminal interconnection (PeripheralComponent, referred to as PCI) bus or extended industry-standard architecture (ExtendedIndustryStandardArchitecture, referred to as EISA) bus etc..Bus can be divided into address bus, data/address bus, control bus etc..For ease of representing, figure only represents with a thick line, it is not intended that only have a bus or a type of bus.
For example, the communication component 401 of this intelligent television receives the instruction switching to target sound Video Applications, and processor 403 starts intermediate interface preset in memorizer 402, example, preset intermediate interface is a blank interface, it is possible to improve the loading velocity of intermediate interface.
When entering foreground after intermediate interface has started, processor 403 triggers the interface of the audiovisual applications being being currently used and suspends, and then the audiovisual applications being being currently used exits into background program.After the audiovisual applications being being currently used exits into background program, after the intermediate interface entering foreground has loaded, processor 403 triggers currently used audiovisual applications and stops using the player of its correspondence, and then currently used audiovisual applications starts to discharge its audio/video decoder taken, meanwhile, the broadcast interface of processor 403 trigger target audiovisual applications starts.After the broadcast interface of target sound Video Applications launches into foreground, triggering intermediate interface and exit entrance backstage, foreground, target sound Video Applications starts to load its interface content simultaneously.
Further, after the broadcast interface of target sound Video Applications launches into foreground, whether the interface that trigger target audiovisual applications detection audio/video decoder is corresponding has code stream to export in preset time threshold.When target sound Video Applications detects that the interface that audio/video decoder is corresponding exports without code stream in preset time threshold, then judge that the state of audio/video decoder is as idle, and then target sound Video Applications sends play instruction to audio/video decoder, the player of target sound Video Applications commences play out corresponding audio and video resources.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the function that the instruction performed by the processor of this computer or other programmable data processing device can be specified in a flow process in flowchart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in a flow process of flow chart or a square frame of multiple flow process and/or block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the embodiment of the present invention can be carried out various change and the modification spirit and scope without deviating from the embodiment of the present invention by those skilled in the art.So, if these amendments of the embodiment of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the method switching audiovisual applications, it is characterised in that described method includes:
Receive the instruction switching to target sound Video Applications;
Starting preset intermediate interface, and the audiovisual applications being being currently used is set to background program, wherein, the interface content of described intermediate interface is fewer than the interface content of described target sound Video Applications;
Described intermediate interface has loaded, and triggers the described audiovisual applications being set to background program and discharges described audio/video decoder, and starts the broadcast interface of described target sound Video Applications;
If the state of described audio/video decoder is idle, it indicates that described target sound Video Applications sends play instruction to described audio/video decoder.
2. method according to claim 1, it is characterised in that described intermediate interface is blank interface.
3. method according to any one of claim 1 or 2, it is characterised in that if the state of described audio/video decoder is idle, it indicates that described target sound Video Applications sends play instruction to described audio/video decoder, including:
Inquire about the state of described audio/video decoder;
If the state of described audio/video decoder is idle, it indicates that described target sound Video Applications sends play instruction to described audio/video decoder.
4. method according to claim 3, it is characterised in that the state of the described audio/video decoder of described inquiry, including:
Whether the interface that in detection preset time threshold, described audio/video decoder is corresponding has code stream to export;
If described interface exports without code stream, then described audio/video decoder is idle.
5. method according to claim 3, it is characterised in that after the state of the described audio/video decoder of described inquiry, including:
If the state of described audio/video decoder is busy, then according to default polling cycle, continue to inquire about the state of described audio/video decoder;
If the state inquiring described audio/video decoder is the free time, it indicates that described target sound Video Applications sends play instruction to described audio/video decoder.
6. the device switching audiovisual applications, it is characterised in that described device includes:
Receiver module, for receiving the instruction switching to target sound Video Applications;
Perform module, for the instruction received according to described receiver module, start preset intermediate interface, and the audiovisual applications being being currently used is set to background program, and during for described intermediate interface loaded, trigger the described audiovisual applications being set to background program and discharge described audio/video decoder, and start the broadcast interface of described target sound Video Applications;
Whether judge module, be idle for judging the state of described audio/video decoder;
Control module, for when the state of described audio/video decoder is idle, indicating described target sound Video Applications to send play instruction to described audio/video decoder.
7. device according to claim 6, it is characterised in that described intermediate interface is blank interface.
8. device according to claim 6, it is characterised in that described device also includes:
Detection module, is used for detecting whether described audio/video decoder interface has code stream to export in preset time threshold, and testing result is sent to described judge module;
Described judge module specifically for: if the testing result that the described detection module that receives sends be described audio/video decoder interface in preset time threshold without code stream output, then judge that the state of described audio/video decoder is as the free time.
9. device according to claim 8, it is characterised in that described detection module is specifically additionally operable to:
If described detection module detects that described audio/video decoder interface has code stream to export in preset time threshold, then described detection module continues to detect whether described audio/video decoder interface has code stream to export in preset time threshold according to preset time period.
10. an intelligent television, it is characterised in that described intelligent television includes the device switching audiovisual applications described in any one of claim 6 ~ 9.
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 true CN105791932A (en) 2016-07-20
CN105791932B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743524A (en) * 2018-12-03 2019-05-10 视联动力信息技术股份有限公司 A kind of data processing method that view is networked and a kind of view networked system
CN113467838A (en) * 2020-03-30 2021-10-01 成都鼎桥通信技术有限公司 Dual-system switching method and device
US11921977B2 (en) 2019-06-29 2024-03-05 Huawei Technologies Co., Ltd. Processing method for waiting scenario in application and apparatus

Citations (6)

* 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
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
US20150128042A1 (en) * 2013-11-04 2015-05-07 Microsoft Corporation Multitasking experiences with interactive picture-in-picture
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

Patent Citations (6)

* 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
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
US20150128042A1 (en) * 2013-11-04 2015-05-07 Microsoft Corporation Multitasking experiences with interactive picture-in-picture
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743524A (en) * 2018-12-03 2019-05-10 视联动力信息技术股份有限公司 A kind of data processing method that view is networked and a kind of view networked system
US11921977B2 (en) 2019-06-29 2024-03-05 Huawei Technologies Co., Ltd. Processing method for waiting scenario in application and apparatus
CN113467838A (en) * 2020-03-30 2021-10-01 成都鼎桥通信技术有限公司 Dual-system switching method and device
CN113467838B (en) * 2020-03-30 2023-07-28 成都鼎桥通信技术有限公司 Dual-system switching method and device

Also Published As

Publication number Publication date
CN105791932B (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN102262879A (en) Voice command competition processing method and device as well as voice remote controller and digital television
CN105872768A (en) Display terminal information source switching method and device
CN108111520B (en) Media playing resource processing method, device and terminal
CN104159146A (en) Method and device for controlling video display
US9819905B1 (en) Video communication sessions between whitelisted devices
CN102196091A (en) Method for controlling surrounding device and communication device thereof
CN105763936A (en) Method and apparatus for playing audio
CN102006511A (en) Method and device for looking back live program and terminal
CN110381384A (en) A kind of method and device that interactive audiovisual plays
CN105791932A (en) Method of switching audio and video applications, device and intelligent television
US10321206B2 (en) Method for switching an audio/video application, apparatus and smart TV
CN105791933B (en) A kind of method, apparatus and smart television switching audiovisual applications
CN106162332A (en) One is televised control method and device
CN105094900A (en) Method and apparatus for downloading control program
CN109686372B (en) Resource playing control method and device
CN105791987A (en) Media data playing method and terminal
CN104301824A (en) Drive-by-wire device, controller, method and device
CN104066011A (en) Control method of interface switching of intelligent TV and control device thereof
CN103677582A (en) Method for controlling electronic device, and electronic device
CN103237249B (en) Control method for playing back in digital living network alliance system, Apparatus and system
CN111552453A (en) Control method, terminal and storage medium of sound effect scene
CN106254810A (en) A kind of video call method and device
CN105872682A (en) Shortcut menu invoking method and device
CN106028150B (en) More application switching management methods of TV for linux system
CN110502207B (en) Background sound silencing method, system, equipment 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
CP01 Change in the name or title of a patent holder
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 Video Technology Co.,Ltd.

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

Patentee before: HISENSE ELECTRIC Co.,Ltd.