WO2017107385A1 - Video playing control method and apparatus - Google Patents

Video playing control method and apparatus Download PDF

Info

Publication number
WO2017107385A1
WO2017107385A1 PCT/CN2016/084428 CN2016084428W WO2017107385A1 WO 2017107385 A1 WO2017107385 A1 WO 2017107385A1 CN 2016084428 W CN2016084428 W CN 2016084428W WO 2017107385 A1 WO2017107385 A1 WO 2017107385A1
Authority
WO
WIPO (PCT)
Prior art keywords
multimedia application
video
switched
current
duration
Prior art date
Application number
PCT/CN2016/084428
Other languages
French (fr)
Chinese (zh)
Inventor
韩菁
王云华
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017107385A1 publication Critical patent/WO2017107385A1/en

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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4383Accessing a communication channel
    • H04N21/4384Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency
    • 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

Definitions

  • the video playback control method further includes:
  • a second calculating unit configured to add a startup duration of the to-be-switched multimedia application to a closing duration of the current multimedia application to obtain a first switching duration between the to-be-switched multimedia application and the current multimedia application.
  • the invention provides a video playback control method.
  • 1 is a schematic flowchart of a first embodiment of a video playback control method according to the present invention.
  • the step of closing the current multimedia application and playing the current video program in the display interface in a cached manner includes: closing the current multimedia application to cache when the current video program is in a frequency frame jump state The video program after the preset time interval is played on the display interface, wherein the play duration of the video program after the preset time interval is played in a buffer manner is the first switching duration.
  • a third embodiment of the video playback control method of the present invention is proposed based on the first embodiment.
  • the video playback control method further includes:
  • the video playback control apparatus includes:
  • multimedia applications include Tianzhu K song, iQiyi video, Youku video and other video, music applications and HDMI (High Definition Multimedia Interface, high-definition multimedia interface) applications, DTV applications, etc.
  • the video switching command refers to a command sent by a user through a terminal such as a remote controller or a smart TV panel when the user needs to switch the multimedia application, and when receiving a video switching instruction sent or input by the user through a terminal such as a remote controller or a panel of the television,
  • the acquiring module 10 acquires the multimedia application to be switched corresponding to the video switching instruction, where the multimedia application to be switched may be any multimedia application other than the current multimedia application in the smart television.
  • the current video program then plays the video program of the multimedia application to be switched, that is, the video program of the multimedia application to be switched is played after the video resource of the multimedia application corresponding to the current video program is released, so as to avoid the current video program during the video switching process of the multimedia application.
  • Video resources are not released Abnormal color picture into a video, a blue screen and other video output unusual phenomenon, improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed is a video playing control method, comprising: when a video switching instruction is detected, acquiring a multimedia application to be switched corresponding to the video switching instruction; when a display interface of a terminal displays a video program, acquiring a first switching duration between the multimedia application to be switched and a current multimedia application corresponding to the video program displayed on the display interface; disabling the current multimedia application, and playing a current video program on the display interface by means of caching; and when the playing of the cached video program is ended, playing, on the display interface, a video program of the multimedia application to be switched. Further disclosed is a video playing control apparatus. According to the present invention, after a video resource of a multimedia application corresponding to a current video program is released, a video program of a multimedia application to be switched is played, so that the phenomena of video output abnormalities, such as an abnormal video picture and a blue screen, caused due to the fact that a video resource of the current video program is not released in a video switching process of the multimedia application, are avoided.

Description

视频播放控制方法及装置  Video playback control method and device
技术领域Technical field
本发明涉及电视技术领域,尤其涉及一种视频播放控制方法及装置。The present invention relates to the field of television technologies, and in particular, to a video playback control method and apparatus.
背景技术Background technique
目前,随着智能电视的快速发展,譬如优酷视频、爱奇艺视频等智能电视的多媒体应用也越来越多、功能越来越丰富,为用户提供了丰富的业余娱乐资源。At present, with the rapid development of smart TVs, smart TVs such as Youku video and iQiyi video have more and more multimedia applications and more and more functions, providing users with rich amateur entertainment resources.
但是,在智能电视进行多媒体应用之间的视频切换时,由于当前多媒体应用的视频资源释放需要一定的时间,造成当前多媒体应用的视频资源持续输出一段时间,进而导致智能电视的视频输出异常,例如视频画面颜色异常、蓝屏等。However, when the smart TV performs the video switching between the multimedia applications, the video resources of the current multimedia application need to be released for a certain period of time, and the video resources of the current multimedia application are continuously output for a period of time, thereby causing the video output of the smart TV to be abnormal, for example, The video screen is abnormal in color, blue screen, and so on.
发明内容Summary of the invention
本发明提供一种视频播放控制方法及装置,旨在解决智能电视在多媒体应用之间的视频切换时视频输出异常的技术问题。The invention provides a video playback control method and device, which aims to solve the technical problem of abnormal video output when a smart TV switches between multimedia applications.
为实现上述目的,本发明提供的一种视频播放控制方法,所述视频播放控制方法包括以下步骤:To achieve the above objective, the present invention provides a video playback control method, and the video playback control method includes the following steps:
在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用;And acquiring, when the video switching instruction is detected, the multimedia application to be switched corresponding to the video switching instruction;
在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用;Obtaining the multimedia application to be switched when a video program is displayed on the display interface of the terminal;
在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;When the first video switch is performed between the to-be-switched multimedia application and the current multimedia application, the memory size occupied by the to-be-switched multimedia application and the current multimedia application is respectively acquired;
分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;Calculating, according to the acquired memory size of the to-be-switched multimedia application and the current multimedia application, the startup duration of the to-be-switched multimedia application and the closing duration of the current multimedia application;
将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长;Adding a startup duration of the multimedia application to be switched to a shutdown duration of the current multimedia application to obtain a first handover duration between the multimedia application to be switched and the current multimedia application;
在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长;When the current video program is in the frequency frame jump state, the current multimedia application is closed, and the video program after the preset time interval is played in the display interface in a cached manner, wherein the preset time interval is played in a buffered manner. The playing duration of the video program is the first switching duration;
在当前视频节目播放结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the current video program playing, the video program of the multimedia application to be switched is played on the display interface.
优选地,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之后,所述视频播放控制方法还包括:Preferably, after the step of acquiring the multimedia application to be switched corresponding to the video switching instruction, the video playback control method further includes:
在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;Obtaining a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the duration of the second switching duration, the video program of the multimedia application to be switched is played on the display interface.
优选地,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之前,所述视频播放控制方法还包括:Preferably, before the step of acquiring the multimedia application to be switched corresponding to the video switching instruction, the video playback control method further includes:
在侦测到终端当前显示界面显示有频道菜单时,实时侦测视频切换指令。The video switching instruction is detected in real time when it is detected that the channel display menu is displayed on the current display interface of the terminal.
此外,为实现上述目的,本发明还提供一种视频播放控制方法,所述视频播放控制方法包括以下步骤:In addition, to achieve the above object, the present invention further provides a video playback control method, where the video playback control method includes the following steps:
在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用;And acquiring, when the video switching instruction is detected, the multimedia application to be switched corresponding to the video switching instruction;
在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用以及所述显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长,其中,所述第一切换时长大于当前多媒体应用的关闭时长;When a video program is displayed on the display interface of the terminal, the first switching duration between the multimedia application to be switched and the current multimedia application corresponding to the video program displayed by the display interface is obtained, where the first switching duration is greater than the current The closing time of the multimedia application;
关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目,其中,以缓存的方式播放当前视频节目的持续时长为所述第一切换时长;Close the current multimedia application, and play the current video program on the display interface in a cached manner, wherein the duration of playing the current video program in a cached manner is the first switching duration;
在当前视频节目播放结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the current video program playing, the video program of the multimedia application to be switched is played on the display interface.
优选地,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目的步骤包括:Preferably, the step of closing the current multimedia application and playing the current video program on the display interface in a cached manner comprises:
在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长。When the current video program is in the frequency frame jump state, the current multimedia application is closed, and the video program after the preset time interval is played in the display interface in a cached manner, wherein the preset time interval is played in a buffered manner. The playing duration of the video program is the first switching duration.
优选地,获取所述待切换多媒体应用与显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长的步骤包括:Preferably, the step of acquiring the first switching duration between the multimedia application to be switched and the current multimedia application corresponding to the video program displayed by the display interface includes:
在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;When the first video switch is performed between the to-be-switched multimedia application and the current multimedia application, the memory size occupied by the to-be-switched multimedia application and the current multimedia application is respectively acquired;
分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;Calculating, according to the acquired memory size of the to-be-switched multimedia application and the current multimedia application, the startup duration of the to-be-switched multimedia application and the closing duration of the current multimedia application;
将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长。Adding a startup duration of the multimedia application to be switched to a shutdown duration of the current multimedia application to obtain a first handover duration between the multimedia application to be switched and the current multimedia application.
优选地,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之后,所述视频播放控制方法还包括:Preferably, after the step of acquiring the multimedia application to be switched corresponding to the video switching instruction, the video playback control method further includes:
在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;Obtaining a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the duration of the second switching duration, the video program of the multimedia application to be switched is played on the display interface.
优选地,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之前,所述视频播放控制方法还包括:Preferably, before the step of acquiring the multimedia application to be switched corresponding to the video switching instruction, the video playback control method further includes:
在侦测到终端当前显示界面显示有频道菜单时,实时侦测视频切换指令。The video switching instruction is detected in real time when it is detected that the channel display menu is displayed on the current display interface of the terminal.
此外,为实现上述目的,本发明还提供一种视频播放控制装置,所述视频播放控制装置包括:In addition, in order to achieve the above object, the present invention further provides a video playback control apparatus, where the video playback control apparatus includes:
第一获取模块,用于在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用;The first acquiring module is configured to acquire, when the video switching instruction is detected, the multimedia application to be switched corresponding to the video switching instruction;
第二获取模块,用于在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用以及所述显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长,其中,所述第一切换时长大于当前多媒体应用的关闭时长;a second acquiring module, configured to acquire a first switching duration between the multimedia application to be switched and the current multimedia application corresponding to the video program displayed by the display interface, when the video display is displayed on the display interface of the terminal, where The first switching duration is greater than the closing duration of the current multimedia application;
关闭模块,用于关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目,其中,以缓存的方式播放当前视频节目的持续时长为所述第一切换时长;The closing module is configured to close the current multimedia application, and play the current video program in the display interface in a cached manner, wherein the duration of playing the current video program in a cached manner is the first switching duration;
第一播放模块,用于在当前视频节目播放结束时,在所述显示界面显示所述待切换多媒体应用的视频节目。The first playing module is configured to display, on the display interface, the video program of the multimedia application to be switched when the current video program is played.
优选地,所述关闭模块还用于在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长。Preferably, the closing module is further configured to: when the current video program is in a frequency frame jump state, close the current multimedia application, and play the video program after the preset time interval in the display interface in a cache manner, where The play duration of the video program after the preset time interval is played in the cache mode is the first switching duration.
优选地,所述第二获取模块包括:Preferably, the second obtaining module comprises:
获取单元,在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,用于分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;And acquiring, by the acquiring unit, the memory size occupied by the to-be-switched multimedia application and the current multimedia application, when the first video switching is performed between the to-be-switched multimedia application and the current multimedia application;
第一计算单元,用于分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;a first calculating unit, configured to calculate, according to the acquired memory size of the to-be-switched multimedia application and the current multimedia application, a startup duration of the multimedia application to be switched and a closing duration of the current multimedia application;
第二计算单元,用于将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长。And a second calculating unit, configured to add a startup duration of the to-be-switched multimedia application to a closing duration of the current multimedia application to obtain a first switching duration between the to-be-switched multimedia application and the current multimedia application.
优选地,所述视频播放控制装置还包括:Preferably, the video playback control device further includes:
第三获取模块,用于在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;a third acquiring module, configured to acquire a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
第二播放模块,用于在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。The second playing module is configured to play the video program of the multimedia application to be switched on the display interface when the duration of the second switching duration ends.
优选地,所述视频播放控制装置还包括:Preferably, the video playback control device further includes:
侦测模块,用于在侦测到终端当前显示界面显示有频道菜单时,实时侦测视频切换指令。The detecting module is configured to detect a video switching instruction in real time when detecting that a channel menu is displayed on the current display interface of the terminal.
本发明通过在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用,接着在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用及显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长,然后关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目,最后在当前视频节目播放结束时,在所述显示界面播放所述待切换多媒体应用的视频节目,实现了在进行多媒体应用的视频切换时,播放持续时长为第一切换时长的当前视频节目然后再播放待切换多媒体应用的视频节目,即在当前视频节目对应的多媒体应用的视频资源释放后播放待切换多媒体应用的视频节目,避免多媒体应用的视频切换过程中因当前视频节目的视频资源未释放而造成视频画面颜色异常、蓝屏等视频输出异常的现象。The invention acquires the multimedia application to be switched corresponding to the video switching instruction when the video switching instruction is detected, and then acquires the video displayed by the multimedia application and the display interface to be switched when the video program is displayed on the display interface of the terminal. The first switching duration between the current multimedia applications corresponding to the program, then closing the current multimedia application, and playing the current video program in the display interface in a cached manner, and finally playing on the display interface when the current video program is played. The video program of the multimedia application to be switched realizes that when the video switching of the multimedia application is performed, the current video program whose duration is the first switching duration is played, and then the video program of the multimedia application to be switched is played, that is, the current video program corresponds to After the video resource of the multimedia application is released, the video program of the multimedia application to be switched is played, and the video output of the multimedia application is not released due to the video resource of the current video program is not released, and the video output of the blue screen is abnormal.
附图说明DRAWINGS
图1为本发明视频播放控制方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a video playback control method according to the present invention;
图2为本发明视频播放控制方法第二实施例中获取第一切换时长步骤的细化流程示意图;2 is a schematic flowchart of a step of acquiring a first handover duration in a second embodiment of a video playback control method according to the present invention;
图3为本发明视频播放控制方法第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of a video playback control method according to the present invention;
图4为本发明视频播放控制装置第一实施例的功能模块示意图;4 is a schematic diagram of functional modules of a first embodiment of a video playback control apparatus according to the present invention;
图5为本发明视频播放控制装置第二实施例中第二获取模块的细化功能模块示意图。FIG. 5 is a schematic diagram of a refinement function module of a second acquisition module in a second embodiment of the video playback control apparatus according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种视频播放控制方法。参照图1,图1为本发明视频播放控制方法第一实施例的流程示意图。The invention provides a video playback control method. 1 is a schematic flowchart of a first embodiment of a video playback control method according to the present invention.
在本实施例中,该视频播放控制方法包括:In this embodiment, the video playback control method includes:
步骤S10,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用;Step S10: Acquire a multimedia application to be switched corresponding to the video switching instruction when detecting a video switching instruction;
其中,多媒体应用包括天籁K歌、爱奇艺视频、优酷视频等视频、音乐应用以及HDMI (High Definition Multimedia Interface,高清晰度多媒体接口)应用、DTV应用等。视频切换指令是指用户在需要切换多媒体应用时通过遥控器等终端或者智能电视的面板等发送的指令,在接收到用户通过遥控器等终端或者电视的面板发送或输入的视频切换指令时,智能电视获取该视频切换指令对应的待切换多媒体应用,其中,该待切换多媒体应用可以为智能电视中除当前多媒体应用之外的任一多媒体应用。Among them, multimedia applications include Tianzhu K song, iQiyi video, Youku video and other video, music applications and HDMI (High Definition Multimedia Interface, high-definition multimedia interface) applications, DTV applications, etc. The video switching instruction refers to a command sent by a user through a terminal such as a remote controller or a panel of a smart TV when a multimedia application needs to be switched, and is intelligent when receiving a video switching instruction sent or input by a user through a terminal such as a remote controller or a panel of a television. The television acquires the multimedia application to be switched corresponding to the video switching instruction, where the multimedia application to be switched may be any multimedia application other than the current multimedia application in the smart television.
步骤S20,在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用以及显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长,其中,所述第一切换时长大于当前多媒体应用的关闭时长;In step S20, when the video program is displayed on the display interface of the terminal, the first switching duration between the multimedia application to be switched and the current multimedia application corresponding to the video program displayed on the display interface is obtained, where the first switching duration is greater than The closing time of the current multimedia application;
其中,第一切换时长是指待切换多媒体应用与当前多媒体应用进行切换时电视系统所需要消耗的时间。在当前多媒体应用与待切换多媒体应用是第一次视频切换时,第一切换时长包括当前多媒体应用的关闭时长(内存释放时长)以及待切换多媒体应用的启动时长,而多媒体应用的内存释放时长以及启动时长由该多媒体应用的内存大小决定,因此,智能电视等终端的不同多媒体应用之间的切换时长主要由待切换多媒体应用及当前多媒体应用的内存大小决定。本实施例中,通过分别获取待切换多媒体应用与当前多媒体应用的内存大小,然后根据获取到的待切换多媒体应用与当前多媒体应用的内存大小分别计算待切换多媒体应用的启动时长与当前多媒体应用的关闭时长,再将计算得到的待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加即可得到待切换多媒体应用与当前多媒体应用之间的第一切换时长,例如,当前多媒体应用优酷视频所占用的内存大小为1000M,则当前多媒体应用的关闭时长为1000ms,待切换多媒体应用DTV多媒体应用的内存大小为1100M,则待切换多媒体应用的启动时长为1100ms,因此,该待切换多媒体应用与当前多媒体应用之间的第一切换时长为2100ms,其中,多媒体应用的内存大小每增加100M则其对应的切换时长增加100ms。当然,在当前多媒体应用与待切换多媒体应用不是第一次视频切换时,可以获取智能电视系统存储的当前多媒体应用与待切换多媒体应用的第一切换时长,该第一切换时长为当前多媒体应用与待切换多媒体应用的前一次切换的切换时长,其中前一次的多媒体应用切换可以为由当前多媒体应用切换至待切换多媒体应用或者由待切换多媒体应用切换至当前多媒体应用,本实施例中,在获取到第一切换时长时,关联存储待切换多媒体应用、当前多媒体应用以及第一切换时长。The first switching duration refers to the time required by the television system when the multimedia application to be switched is switched with the current multimedia application. When the current multimedia application and the multimedia application to be switched are the first video switching, the first switching duration includes the closing duration of the current multimedia application (the memory release duration) and the startup duration of the multimedia application to be switched, and the memory release duration of the multimedia application and The startup time is determined by the memory size of the multimedia application. Therefore, the switching duration between different multimedia applications of the terminal such as the smart TV is mainly determined by the memory size of the multimedia application to be switched and the current multimedia application. In this embodiment, the memory size of the multimedia application to be switched and the current multimedia application are respectively obtained, and then the startup time of the multimedia application to be switched and the current multimedia application are respectively calculated according to the acquired memory size of the multimedia application to be switched and the current multimedia application. After the duration of the multimedia application is changed, the start time of the multimedia application to be switched is added to the current multimedia application to obtain the first switching duration between the multimedia application to be switched and the current multimedia application, for example, the current multimedia application Youku video The memory usage is 1000M, and the current multimedia application is closed for 1000ms. The memory size of the DTV multimedia application to be switched is 1100M, and the startup time of the multimedia application to be switched is 1100ms. Therefore, the multimedia application to be switched is The first switching duration between the current multimedia applications is 2100 ms, wherein the corresponding switching duration is increased by 100 ms for each 100M increase in the memory size of the multimedia application. Certainly, when the current multimedia application and the multimedia application to be switched are not the first video switching, the first switching duration of the current multimedia application and the multimedia application to be switched stored by the smart television system may be obtained, where the first switching duration is the current multimedia application and The switching duration of the previous handover of the multimedia application to be switched, wherein the previous multimedia application handover may be switched from the current multimedia application to the multimedia application to be switched or the multimedia application to be switched to the current multimedia application. In this embodiment, the acquisition is performed. When the first handover time is long, the multimedia application to be switched, the current multimedia application, and the first handover duration are stored in association.
步骤S30,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目,其中,以缓存的方式播放当前视频节目的持续时长为所述第一切换时长;In step S30, the current multimedia application is closed, and the current video program is played in the display interface in a cached manner, wherein the duration of playing the current video program in a cached manner is the first switching duration;
智能电视缓存当前视频节目,即将其显示界面播放的视频节目进行缓存,其中,缓存的当前视频节目的持续时长为所述第一切换时长,然后在其显示界面播放缓存的视频节目,即播放缓存的视频节目。The smart TV caches the current video program, that is, the video program played by the display interface is cached, wherein the duration of the cached current video program is the first switching duration, and then the cached video program is played on the display interface thereof, that is, the playback buffer. Video show.
步骤S40,在启动视频节目播放结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。In step S40, the video program of the multimedia application to be switched is played on the display interface when the playback of the video program is started.
在缓存的视频节目播放结束时,当前多媒体应用已经切换为待切换多媒体应用,即前面所述的当前多媒体应用已经关闭,待切换多媒体应用已经成功启动,此时,在智能电视的显示界面播放该待切换多媒体应用的视频节目。At the end of the playback of the cached video program, the current multimedia application has been switched to the multimedia application to be switched, that is, the current multimedia application has been closed, and the multimedia application to be switched has been successfully started. At this time, the display interface of the smart TV is played. The video program of the multimedia application to be switched.
进一步地,在其他实施例中,关闭当前多媒体应用,以缓存的方式在所述显示界面播放当前视频节目的步骤包括:在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长。Further, in other embodiments, the step of closing the current multimedia application and playing the current video program in the display interface in a cached manner includes: closing the current multimedia application to cache when the current video program is in a frequency frame jump state The video program after the preset time interval is played on the display interface, wherein the play duration of the video program after the preset time interval is played in a buffer manner is the first switching duration.
其中,当前视频节目处于频帧跳转状态是指当前视频节目正在进行快进或者快退的操作,因此在缓存当前视频节目可以直接缓存预设时间间隔之后的视频节目,即与视频节目当前播放的时刻间隔时间间隔之后的视频节目,当然,也可以缓存频帧跳转完成之后的视频节目,即快进或快退之后的视频节目。The current video program is in a frequency frame jump state, which means that the current video program is fast-forwarding or fast-rewinding, so that the current video program can be cached directly after the preset time interval, that is, the video program is currently playing. The video program after the time interval interval, of course, can also cache the video program after the completion of the frequency frame jump, that is, the video program after fast forward or rewind.
进一步地,在其他实施例中,在步骤S10之前,该视频播放控制方法还包括:在侦测到终端当前显示界面显示有频道菜单时,实时侦测视频切换指令。Further, in other embodiments, before the step S10, the video playback control method further includes: detecting a video switching instruction in real time when detecting that a channel menu is displayed on the current display interface of the terminal.
在本实施例中,在正常播放视频节目时,智能电视的频道菜单处于隐藏状态,而在侦测到终端当前显示界面显示有频道菜单时,说明智能电视已根据用户通过遥控器或者智能电视的操作面板等触发的指令在显示界面显示频道菜单,此时,用户可能通过调出频道菜单进行视频节目的切换,因此智能电视实时侦测视频切换指令。In this embodiment, when the video program is normally played, the channel menu of the smart TV is in a hidden state, and when the channel menu is displayed on the current display interface of the terminal, the smart TV has been according to the user passing the remote controller or the smart TV. The command triggered by the operation panel displays the channel menu on the display interface. At this time, the user may switch the video program by calling the channel menu, so the smart TV detects the video switching instruction in real time.
本实施例中,通过在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用,接着在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用及显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长,然后关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目,最后在当前视频节目播放结束时,在所述显示界面播放所述待切换多媒体应用的视频节目,实现了在进行多媒体应用的视频切换时,播放持续时长为第一切换时长的当前视频节目然后再播放待切换多媒体应用的视频节目,即在当前视频节目对应的多媒体应用的视频资源释放后播放待切换多媒体应用的视频节目,避免多媒体应用的视频切换过程中因当前视频节目的视频资源未释放而造成视频画面颜色异常、蓝屏等视频输出异常的现象,提高了用户体验。In this embodiment, when the video switching instruction is detected, the multimedia application to be switched corresponding to the video switching instruction is acquired, and then the multimedia application and the display interface to be switched are acquired when the video program is displayed on the display interface of the terminal. The first switching duration between the current multimedia applications corresponding to the displayed video program, then closing the current multimedia application, and playing the current video program in the display interface in a cached manner, and finally at the end of the current video program playing, Displaying, by the display interface, the video program of the multimedia application to be switched, when the video switching of the multimedia application is performed, playing the current video program with the duration of the first switching duration and then playing the video program of the multimedia application to be switched, that is, at the current After the video resource of the multimedia application corresponding to the video program is released, the video program of the multimedia application to be switched is played, and the video output of the multimedia application is not released due to the video resource of the current video program being released, and the video output of the blue screen is abnormal. Phenomenon The user experience.
基于第一实施例提出本发明视频播放控制方法的第二实施例,参照图2,在本实施例中,步骤S20包括:A second embodiment of the video playback control method of the present invention is proposed based on the first embodiment. Referring to FIG. 2, in the embodiment, step S20 includes:
步骤S21,在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;In step S21, when the first video switch is performed between the multimedia application to be switched and the current multimedia application, the memory size occupied by the multimedia application to be switched and the current multimedia application is respectively acquired.
待切换多媒体应用与当前多媒体应用占用的内存大小是指待切换多媒体应用与当前多媒体应用在运行过程中分别占用的智能电视系统内存的大小。The size of the memory occupied by the multimedia application to be switched and the current multimedia application refers to the size of the smart TV system memory occupied by the multimedia application to be switched between the multimedia application and the current multimedia application.
步骤S22,分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;Step S22, calculating a startup duration of the to-be-switched multimedia application and a closing duration of the current multimedia application, respectively, based on the acquired memory size of the to-be-switched multimedia application and the current multimedia application;
根据获取到的待切换多媒体应用与当前多媒体应用的内存大小分别计算待切换多媒体应用的启动时长与当前多媒体应用的关闭时长,例如,当前多媒体应用优酷视频所占用的内存大小为1000M,则当前多媒体应用的关闭时长为1000ms,待切换多媒体应用DTV多媒体应用的内存大小为1100M,则待切换多媒体应用的关闭时长为1100ms,本实施例中,待切换多媒体应用或当前多媒体应用的内存大小每增加100M则其对应的切换时长增加100ms。Calculating the startup time of the multimedia application to be switched and the closing time of the current multimedia application according to the obtained memory size of the multimedia application to be switched and the current multimedia application. For example, the current multimedia application uses a memory size of 1000M, and the current multimedia The closing time of the application is 1000 ms, and the memory size of the DTV multimedia application to be switched is 1100 M, and the closing time of the multimedia application to be switched is 1100 ms. In this embodiment, the memory size of the multimedia application to be switched or the current multimedia application is increased by 100 M. Then the corresponding switching duration is increased by 100ms.
步骤S23,将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长。In step S23, the startup duration of the multimedia application to be switched is added to the shutdown duration of the current multimedia application to obtain a first handover duration between the multimedia application to be switched and the current multimedia application.
将上述待切换多媒体应用的启动时长以及当前多媒体应用的关闭时长相加即可得到待切换多媒体应用与当前多媒体应用之间的第一切换时长,譬如,当前多媒体应用的关闭时长为1000ms,待切换多媒体应用的启动时长为1100ms时,待切换多媒体应用与当前多媒体应用之间的第一切换时长为2100ms。本实施例中,随着多媒体应用的不断更新,该多媒体应用所占用的内存可能变大(多媒体应用优化)或变小(多媒体应用的功能增加时)进而造成该多媒体应用与其他多媒体应用的切换时长发生变化,因此,在每次多媒体应用之间的切换时长计算完成后,可以存储或更新系统存储的切换时长。The first switching duration between the multimedia application to be switched and the current multimedia application is obtained by adding the startup duration of the multimedia application to be switched and the closing duration of the current multimedia application. For example, the current multimedia application is closed for 1000 ms, to be switched. When the startup time of the multimedia application is 1100 ms, the first switching duration between the multimedia application to be switched and the current multimedia application is 2100 ms. In this embodiment, as the multimedia application is continuously updated, the memory occupied by the multimedia application may become larger (multimedia application optimization) or smaller (when the function of the multimedia application increases), thereby causing the multimedia application to switch with other multimedia applications. The duration changes, so the switching duration of the system storage can be stored or updated after each time the switching duration calculation between multimedia applications is completed.
进一步地,在其他实施例中,该视频播放控制方法还包括:Further, in other embodiments, the video playback control method further includes:
在所述待切换多媒体应用与当前多媒体应用切换完成时,获取所述待切换多媒体应用与当前多媒体应用的实际切换时长;Obtaining an actual switching duration of the to-be-switched multimedia application and the current multimedia application, when the switching between the to-be-switched multimedia application and the current multimedia application is completed;
存储所述实际切换时长或基于所述实际切换时长更新所述切换时长。And storing the actual switching duration or updating the switching duration based on the actual switching duration.
在每次进行多媒体应用切换时,智能电视系统存储该多媒体应用切换的切换时长以及对应的多媒体应用(包括待切换多媒体应用以及当前多媒体应用的信息),当然在电视系统存储有该多媒体应用切换的切换时长时,直接更新该切换时长,以使得该切换时长更加准确,譬如随着多媒体应用的不断更新,该多媒体应用所占用的内存可能变大(多媒体应用优化)或变小(多媒体应用的功能增加时)进而造成该多媒体应用与其他多媒体应用的切换时长发生变化,因此,在每次多媒体应用切换完成后,都需要更新系统存储的切换时长,因此在待切换多媒体应用与当前多媒体应用切换完成时,需要获取待切换多媒体应用与当前多媒体应用的实际切换时长。The smart TV system stores the switching duration of the multimedia application switching and the corresponding multimedia application (including the multimedia application to be switched and the information of the current multimedia application), and the multimedia application switching is stored in the television system. When the switching duration is long, the switching duration is directly updated, so that the switching duration is more accurate. For example, as the multimedia application is continuously updated, the memory occupied by the multimedia application may become larger (multimedia application optimization) or smaller (multimedia application function) When the time is increased, the switching duration of the multimedia application and other multimedia applications is changed. Therefore, after each multimedia application switching is completed, the switching duration of the system storage needs to be updated, so that the switching between the multimedia application to be switched and the current multimedia application is completed. The actual switching duration of the multimedia application to be switched and the current multimedia application needs to be obtained.
进一步地,步骤S20还包括:在所述待切换多媒体应用与当前多媒体应用之间不是第一次视频切换时,获取所述终端存储的所述待切换多媒体应用与当前多媒体应用之间的第一切换时长。Further, the step S20 further includes: acquiring, between the to-be-switched multimedia application and the current multimedia application, the first time between the to-be-switched multimedia application and the current multimedia application that is stored by the terminal Switch duration.
在待切换多媒体应用与当前多媒体应用之间不是第一次视频切换时,电视系统内存有待切换多媒体应用与当前多媒体应用最后一次切换的切换时长,因此可以直接获取电视存储的所述待切换多媒体应用与当前多媒体应用之间的切换时长。When the first video switch is not switched between the multimedia application to be switched and the current multimedia application, the switching time of the last switching of the multimedia application and the current multimedia application is to be switched in the memory of the television system, so that the multimedia application to be switched stored in the television can be directly obtained. The length of the switch between the current multimedia application and the current multimedia application.
本实施例通过在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取待切换多媒体应用与当前多媒体应用占用的内存大小,接着分别基于获取的待切换多媒体应用与当前多媒体应用占用的内存大小计算待切换多媒体应用的启动时长及当前多媒体应用的关闭时长,然后将待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得待切换多媒体应用与当前多媒体应用之间的第一切换时长,实现了根据待切换多媒体应用与当前多媒体应用的内存大小计算待切换多媒体应用与当前多媒体应用之间的第一切换时长,使得待切换多媒体应用与当前多媒体应用的第一切换时长的计算更准确,进而能够更准确的避免多媒体应用切换时视频输出异常的问题发生,进一步提高了用户体验。In this embodiment, when the first video switch is performed between the multimedia application to be switched and the current multimedia application, the memory size of the multimedia application to be switched and the current multimedia application is respectively obtained, and then the multimedia application to be switched is respectively obtained based on the acquired multimedia application. The memory size occupied by the current multimedia application is used to calculate the startup duration of the multimedia application to be switched and the shutdown duration of the current multimedia application, and then the startup time of the multimedia application to be switched is added to the shutdown duration of the current multimedia application to obtain the multimedia application to be switched and the current multimedia application. The first switching duration between the multimedia application and the current multimedia application is calculated according to the memory size of the multimedia application to be switched, and the first switching duration between the multimedia application to be switched and the current multimedia application is calculated, so that the multimedia application to be switched and the current multimedia application are The calculation of the switching duration is more accurate, and the problem of abnormal video output when the multimedia application is switched can be more accurately avoided, thereby further improving the user experience.
基于第一实施例提出本发明视频播放控制方法的第三实施例,参照图3,在本实施例中,该视频播放控制方法还包括:A third embodiment of the video playback control method of the present invention is proposed based on the first embodiment. Referring to FIG. 3, in the embodiment, the video playback control method further includes:
步骤S50,在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;In step S50, when the video program is not displayed on the display interface, the second switching duration of the multimedia application to be switched is obtained.
其中,显示界面未显示视频节目是指智能电视当前未播放任何视频节目,第二切换时长包括待切换多媒体应用的启动时长,而多媒体应用的启动时长由该多媒体应用的内存大小决定,因此,第二切换时长主要由待切换多媒体应用的内存大小决定,本实施例中,可以通过获取待切换多媒体应用的内存大小,然后根据获取到的待切换多媒体应用的内存大小计算待切换多媒体应用的启动耗时即第二切换时长,例如,待切换多媒体应用DTV多媒体应用的内存大小为1100M,则待切换多媒体应用的第二切换时长为1100ms,其中,多媒体应用的内存大小每增加100M则其对应的切换时长增加100ms。当然,本实施例中,第二切换时长还包括预设时长阈值,即第二切换时长为预设时长阈值加上待切换多媒体应用的启动时长,该预设时长阈值可以设置为10 ms等。Wherein, the display interface does not display the video program, the smart TV currently does not play any video program, the second switching duration includes the startup time of the multimedia application to be switched, and the startup time of the multimedia application is determined by the memory size of the multimedia application, therefore, The second switching duration is mainly determined by the memory size of the multimedia application to be switched. In this embodiment, the memory size of the multimedia application to be switched can be obtained, and then the startup cost of the multimedia application to be switched is calculated according to the obtained memory size of the multimedia application to be switched. The second switching duration is, for example, the memory size of the multimedia application DTV multimedia application to be switched is 1100 M, and the second switching duration of the multimedia application to be switched is 1100 ms, wherein the corresponding switching of the multimedia application's memory size is increased by 100 M. The duration is increased by 100ms. In this embodiment, the second switching duration further includes a preset duration threshold, that is, the second switching duration is a preset duration threshold plus a startup duration of the multimedia application to be switched, and the preset duration threshold may be set to 10 Ms, etc.
步骤S60,在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。In step S60, when the duration of the second switching duration ends, the video program of the multimedia application to be switched is played on the display interface.
在本实施例中,在第二切换时长的持续过程中,智能电视的显示界面未显示任何视频节目,即显示界面处于视频节目播放前的蓝屏或黑屏状态,在第二切换时长的持续时长结束时,在显示界面播放所述待切换多媒体应用的视频节目。In this embodiment, during the duration of the second switching duration, the display interface of the smart TV does not display any video program, that is, the display interface is in a blue screen or black screen state before the video program is played, and the duration of the second switching duration ends. The video program of the multimedia application to be switched is played on the display interface.
本实施例通过在显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长,在第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目,实现了在进行多媒体应用的视频切换(播放)时,在第二切换时长的持续时长结束时播放待切换多媒体应用的视频节目,使得终端在待切换多媒体应用成功启动后播放该待切换多媒体应用的视频节目,避免多媒体应用的视频切换过程中发送视频画面颜色异常、蓝屏等视频输出异常的现象,进一步提高了用户体验。In this embodiment, when the video program is not displayed on the display interface, the second switching duration of the multimedia application to be switched is obtained. When the duration of the second switching duration ends, the multimedia application to be switched is played on the display interface. The video program is configured to play the video program of the multimedia application to be switched at the end of the duration of the second switching duration when the video switching (playing) of the multimedia application is performed, so that the terminal plays the to-be-switched after the multimedia application to be switched is successfully started. The video program of the multimedia application avoids the abnormality of the color of the video screen and the abnormal output of the video such as the blue screen during the video switching process of the multimedia application, thereby further improving the user experience.
本发明进一步提供一种视频播放控制装置。参照图4,图4为本发明视频播放控制装置第一实施例的功能模块示意图。The invention further provides a video playback control device. Referring to FIG. 4, FIG. 4 is a schematic diagram of functional modules of a first embodiment of a video playback control apparatus according to the present invention.
在本实施例中,该视频播放控制装置包括:In this embodiment, the video playback control apparatus includes:
第一获取模块10,用于在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用;The first obtaining module 10 is configured to acquire, when the video switching instruction is detected, the multimedia application to be switched corresponding to the video switching instruction;
其中,多媒体应用包括天籁K歌、爱奇艺视频、优酷视频等视频、音乐应用以及HDMI (High Definition Multimedia Interface,高清晰度多媒体接口)应用、DTV应用等。视频切换指令是指用户在需要切换多媒体应用时通过遥控器等终端或者智能电视的面板等发送的指令,在接收到用户通过遥控器等终端或者电视的面板发送或输入的视频切换指令时,第一获取模块10获取该视频切换指令对应的待切换多媒体应用,其中,该待切换多媒体应用可以为智能电视中除当前多媒体应用之外的任一多媒体应用。Among them, multimedia applications include Tianzhu K song, iQiyi video, Youku video and other video, music applications and HDMI (High Definition Multimedia Interface, high-definition multimedia interface) applications, DTV applications, etc. The video switching command refers to a command sent by a user through a terminal such as a remote controller or a smart TV panel when the user needs to switch the multimedia application, and when receiving a video switching instruction sent or input by the user through a terminal such as a remote controller or a panel of the television, The acquiring module 10 acquires the multimedia application to be switched corresponding to the video switching instruction, where the multimedia application to be switched may be any multimedia application other than the current multimedia application in the smart television.
第二获取模块20,用于在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用以及显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长,其中,所述第一切换时长大于当前多媒体应用的关闭时长;The second obtaining module 20 is configured to acquire, when the video program is displayed on the display interface of the terminal, the first switching duration between the multimedia application to be switched and the current multimedia application corresponding to the video program displayed on the display interface, where the The first switching duration is greater than the closing duration of the current multimedia application;
其中,第一切换时长是指待切换多媒体应用与当前多媒体应用进行切换时电视系统所需要消耗的时间。在当前多媒体应用与待切换多媒体应用不是第一次视频切换时,第一切换时长包括当前多媒体应用的关闭时长(内存释放时长)以及待切换多媒体应用的启动时长,而多媒体应用的内存释放时长以及启动时长由该多媒体应用的内存大小决定,因此,智能电视等终端的不同多媒体应用之间的切换时长主要由待切换多媒体应用及当前多媒体应用的内存大小决定。本实施例中,通过分别获取待切换多媒体应用与当前多媒体应用的内存大小,然后根据获取到的待切换多媒体应用与当前多媒体应用的内存大小分别计算待切换多媒体应用的启动时长与当前多媒体应用的关闭时长,再将计算得到的待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加即可得到待切换多媒体应用与当前多媒体应用之间的第一切换时长,例如,当前多媒体应用优酷视频所占用的内存大小为1000M,则当前多媒体应用的关闭时长为1000ms,待切换多媒体应用DTV多媒体应用的内存大小为1100M,则待切换多媒体应用的启动时长为1100ms,因此,该待切换多媒体应用与当前多媒体应用之间的第一切换时长为2100ms,其中,多媒体应用的内存大小每增加100M则其对应的切换时长增加100ms。当然,在当前多媒体应用与待切换多媒体应用不是第一次视频切换时,可以获取电视系统存储的当前多媒体应用与待切换多媒体应用的切换时长,该切换时长为当前多媒体应用与待切换多媒体应用的前一次切换的切换时长,其中前一次的多媒体应用切换可以为由当前多媒体应用切换至待切换多媒体应用或者由待切换多媒体应用切换至当前多媒体应用,本实施例中,在获取到第一切换时长时,关联存储待切换多媒体应用、当前多媒体应用以及第一切换时长。The first switching duration refers to the time required by the television system when the multimedia application to be switched is switched with the current multimedia application. When the current multimedia application and the multimedia application to be switched are not the first video switching, the first switching duration includes the closing time of the current multimedia application (the memory release duration) and the startup duration of the multimedia application to be switched, and the memory release duration of the multimedia application and The startup time is determined by the memory size of the multimedia application. Therefore, the switching duration between different multimedia applications of the terminal such as the smart TV is mainly determined by the memory size of the multimedia application to be switched and the current multimedia application. In this embodiment, the memory size of the multimedia application to be switched and the current multimedia application are respectively obtained, and then the startup time of the multimedia application to be switched and the current multimedia application are respectively calculated according to the acquired memory size of the multimedia application to be switched and the current multimedia application. After the duration of the multimedia application is changed, the start time of the multimedia application to be switched is added to the current multimedia application to obtain the first switching duration between the multimedia application to be switched and the current multimedia application, for example, the current multimedia application Youku video The memory usage is 1000M, and the current multimedia application is closed for 1000ms. The memory size of the DTV multimedia application to be switched is 1100M, and the startup time of the multimedia application to be switched is 1100ms. Therefore, the multimedia application to be switched is The first switching duration between the current multimedia applications is 2100 ms, wherein the corresponding switching duration is increased by 100 ms for each 100M increase in the memory size of the multimedia application. Certainly, when the current multimedia application and the multimedia application to be switched are not the first video switching, the switching duration of the current multimedia application and the multimedia application to be switched stored by the television system may be obtained, where the switching duration is the current multimedia application and the multimedia application to be switched. The switching duration of the previous handover, where the previous multimedia application handover may be switched from the current multimedia application to the multimedia application to be switched or the multimedia application to be switched to the current multimedia application. In this embodiment, the first handover duration is obtained. The associated storage multimedia application, the current multimedia application, and the first switching duration are stored.
关闭模块30,用于关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目,其中,以缓存的方式播放当前视频节目的持续时长为所述第一切换时长;The closing module 30 is configured to: close the current multimedia application, and play the current video program on the display interface in a cached manner, wherein the duration of playing the current video program in a cached manner is the first switching duration;
关闭模块30缓存当前视频节目,即将其显示界面播放的视频节目进行缓存,其中,缓存的当前视频节目的持续时长为所述第一切换时长,然后在其显示界面播放缓存的视频节目,即播放缓存的视频节目。The closing module 30 caches the current video program, that is, the video program played by the display interface is cached, wherein the duration of the cached current video program is the first switching duration, and then the cached video program is played on the display interface, that is, the video program is played. Cached video shows.
第一播放模块40,用于在缓存的视频节目播放结束时,在所述显示界面显示所述待切换多媒体应用的视频节目。The first playing module 40 is configured to display, on the display interface, the video program of the multimedia application to be switched when the cached video program is played.
在缓存的视频节目播放结束时,当前多媒体应用已经切换为待切换多媒体应用,即前面所述的当前多媒体应用已经关闭,待切换多媒体应用已经成功启动,此时,第一播放模块40在智能电视的显示界面播放该待切换多媒体应用的视频节目。At the end of the playback of the cached video program, the current multimedia application has been switched to the multimedia application to be switched, that is, the current multimedia application has been closed, and the multimedia application to be switched has been successfully started. At this time, the first playing module 40 is in the smart television. The display interface plays the video program of the multimedia application to be switched.
进一步地,在其他实施例中,所述关闭模块30还用于在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长。Further, in other embodiments, the closing module 30 is further configured to: when the current video program is in a frequency frame jump state, close the current multimedia application, and play the preset time interval after playing the display interface in the cached manner. The video program, wherein the playing time of the video program after the preset time interval is played in a cached manner is the first switching duration.
其中,当前视频节目处于频帧跳转状态是指当前视频节目正在进行快进或者快退的操作,因此在关闭模块30缓存当前视频节目可以直接缓存预设时间间隔之后的视频节目,即与视频节目当前播放的时刻间隔时间间隔之后的视频节目,当然,也可以缓存频帧跳转完成之后的视频节目,即快进或快退之后的视频节目。The current video program is in a frequency frame jump state, which means that the current video program is fast-forwarding or fast-rewinding. Therefore, the current video program in the shutdown module 30 can directly cache the video program after the preset time interval, that is, the video. The video program after the time interval of the current broadcast of the program, of course, can also cache the video program after the completion of the frequency frame jump, that is, the video program after fast forward or rewind.
进一步地,在其他实施例中,视频播放控制装置还包括:侦测模块,用于在侦测到终端当前显示界面显示有频道菜单时,实时侦测视频切换指令。Further, in other embodiments, the video playback control device further includes: a detecting module, configured to detect a video switching instruction in real time when detecting that a channel menu is displayed on the current display interface of the terminal.
在本实施例中,在正常播放视频节目时,智能电视的频道菜单处于隐藏状态,而在侦测到终端当前显示界面显示有频道菜单时,说明智能电视已根据用户通过遥控器或者智能电视的操作面板等触发的指令在显示界面显示频道菜单,此时,用户可能通过调出频道菜单进行视频节目的切换,因此智能电视实时侦测视频切换指令。In this embodiment, when the video program is normally played, the channel menu of the smart TV is in a hidden state, and when the channel menu is displayed on the current display interface of the terminal, the smart TV has been according to the user passing the remote controller or the smart TV. The command triggered by the operation panel displays the channel menu on the display interface. At this time, the user may switch the video program by calling the channel menu, so the smart TV detects the video switching instruction in real time.
本实施例中,通过在侦测到视频切换指令时,第一获取模块10获取所述视频切换指令对应的待切换多媒体应用,接着在终端的显示界面显示有视频节目时,第二获取模块20获取所述待切换多媒体应用与显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长,然后关闭模块30关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目,最后在当前视频节目播放结束时,第一播放模块40在所述显示界面播放所述待切换多媒体应用的视频节目,实现了在进行多媒体应用的视频切换时,播放持续时长为第一切换时长的当前视频节目然后再播放待切换多媒体应用的视频节目,即在当前视频节目对应的多媒体应用的视频资源释放后播放待切换多媒体应用的视频节目,避免多媒体应用的视频切换过程中因当前视频节目的视频资源未释放而造成视频画面颜色异常、蓝屏等视频输出异常的现象,提高了用户体验。In this embodiment, when the first acquisition module 10 acquires the multimedia application to be switched corresponding to the video switching instruction, and then displays the video program on the display interface of the terminal, the second acquiring module 20 is obtained. Obtaining a first switching duration between the current multimedia application corresponding to the video program displayed by the to-be-switched multimedia application, and then closing the module 30 to close the current multimedia application, and playing the current video program in the display interface in a cached manner. Finally, at the end of the current video program playing, the first playing module 40 plays the video program of the multimedia application to be switched on the display interface, so that when the video switching of the multimedia application is performed, the playing duration is the first switching duration. The current video program then plays the video program of the multimedia application to be switched, that is, the video program of the multimedia application to be switched is played after the video resource of the multimedia application corresponding to the current video program is released, so as to avoid the current video program during the video switching process of the multimedia application. Video resources are not released Abnormal color picture into a video, a blue screen and other video output unusual phenomenon, improve the user experience.
基于第一实施例提出本发明视频播放控制装置的第二实施例,参照图5,在本实施例中,第二获取模块20包括:A second embodiment of the video playback control apparatus of the present invention is proposed based on the first embodiment. Referring to FIG. 5, in the embodiment, the second acquisition module 20 includes:
获取单元21,用于在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;The obtaining unit 21 is configured to acquire, when the first video switch is performed between the to-be-switched multimedia application and the current multimedia application, the memory size occupied by the to-be-switched multimedia application and the current multimedia application;
待切换多媒体应用与当前多媒体应用占用的内存大小是指待切换多媒体应用与当前多媒体应用在运行过程中分别占用的电视系统内存的大小。The size of the memory occupied by the multimedia application to be switched between the multimedia application and the current multimedia application refers to the size of the television system memory occupied by the multimedia application to be switched between the multimedia application and the current multimedia application.
第一计算单元22,用于分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;The first calculating unit 22 is configured to calculate, according to the obtained memory size of the to-be-switched multimedia application and the current multimedia application, the startup duration of the multimedia application to be switched and the closing duration of the current multimedia application;
第一计算单元22根据获取到的待切换多媒体应用与当前多媒体应用的内存大小分别计算待切换多媒体应用的启动时长与当前多媒体应用的关闭时长,例如,当前多媒体应用优酷视频所占用的内存大小为1000M,则当前多媒体应用的关闭时长为1000ms,待切换多媒体应用DTV多媒体应用的内存大小为1100M,则待切换多媒体应用的启动时长为1100ms,本实施例中,待切换多媒体应用或当前多媒体应用的内存大小每增加100M则其对应的切换时长增加100ms。The first computing unit 22 calculates the startup duration of the multimedia application to be switched and the shutdown duration of the current multimedia application according to the acquired memory size of the multimedia application to be switched and the current multimedia application. For example, the memory size occupied by the current multimedia application Youku video is 1000M, the current multimedia application is closed for 1000ms, and the memory size of the multimedia application DTV multimedia application is 1100M, and the startup time of the multimedia application to be switched is 1100ms. In this embodiment, the multimedia application or the current multimedia application is to be switched. For each 100M increase in memory size, the corresponding switching duration is increased by 100ms.
第二计算单元23,用于将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长。The second calculating unit 23 is configured to add a startup duration of the multimedia application to be switched to a closing duration of the current multimedia application to obtain a first switching duration between the multimedia application to be switched and the current multimedia application.
第二计算单元23将上述待切换多媒体应用的启动时长以及当前多媒体应用的关闭时长相加即可得到待切换多媒体应用与当前多媒体应用之间的第一切换时长,譬如,当前多媒体应用的关闭时长为1000ms,待切换多媒体应用的启动时长为1100ms时,待切换多媒体应用与当前多媒体应用之间的第一切换时长为2100ms。本实施例中,随着多媒体应用的不断更新,该多媒体应用所占用的内存可能变大(多媒体应用优化)或变小(多媒体应用的功能增加时)进而造成该多媒体应用与其他多媒体应用的切换时长发生变化,因此,在每次多媒体应用之间的切换时长计算完成后,可以存储或更新系统存储的切换时长。The second calculating unit 23 adds the startup duration of the multimedia application to be switched and the closing duration of the current multimedia application to obtain a first switching duration between the multimedia application to be switched and the current multimedia application, for example, the closing time of the current multimedia application. When the startup time of the multimedia application to be switched is 1100 ms, the first switching duration between the multimedia application to be switched and the current multimedia application is 2100 ms. In this embodiment, as the multimedia application is continuously updated, the memory occupied by the multimedia application may become larger (multimedia application optimization) or smaller (when the function of the multimedia application increases), thereby causing the multimedia application to switch with other multimedia applications. The duration changes, so the switching duration of the system storage can be stored or updated after each time the switching duration calculation between multimedia applications is completed.
本实施例通过在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,获取单元21分别获取待切换多媒体应用与当前多媒体应用占用的内存大小,接着第一计算单元22分别基于获取的待切换多媒体应用与当前多媒体应用占用的内存大小计算待切换多媒体应用的启动时长及当前多媒体应用的关闭时长,然后第二计算单元23将待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得待切换多媒体应用与当前多媒体应用之间的第一切换时长,实现了根据待切换多媒体应用与当前多媒体应用的内存大小计算待切换多媒体应用与当前多媒体应用之间的第一切换时长,使得待切换多媒体应用与当前多媒体应用的第一切换时长的计算更准确,进而能够更准确的避免多媒体应用切换时视频输出异常的问题发生,进一步提高了用户体验。In this embodiment, when the first video switch is performed between the multimedia application to be switched and the current multimedia application, the acquiring unit 21 respectively obtains the memory size occupied by the multimedia application to be switched and the current multimedia application, and then the first computing unit 22 respectively Calculating a startup duration of the multimedia application to be switched and a shutdown duration of the current multimedia application based on the acquired memory size of the multimedia application to be switched and the current multimedia application, and then the second computing unit 23 compares the startup duration of the multimedia application to be switched with the current multimedia application. The first switching duration between the multimedia application to be switched and the current multimedia application is obtained, and the first switching between the multimedia application to be switched and the current multimedia application is calculated according to the memory size of the multimedia application to be switched and the current multimedia application. The duration is such that the calculation of the first switching duration of the multimedia application to be switched and the current multimedia application is more accurate, thereby more accurately avoiding the problem of abnormal video output when the multimedia application is switched, thereby further improving the user experience.
基于第一实施例提出本发明视频播放控制装置的第三实施例,在本实施例中,该视频播放控制装置还包括:A third embodiment of the video playback control apparatus of the present invention is proposed based on the first embodiment. In this embodiment, the video playback control apparatus further includes:
第三获取模块,用于在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;a third acquiring module, configured to acquire a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
其中,显示界面未显示视频节目是指智能电视当前未播放任何视频节目,第二切换时长包括待切换多媒体应用的启动时长,而多媒体应用的启动时长由该多媒体应用的内存大小决定,因此,第二切换时长主要由待切换多媒体应用的内存大小决定,本实施例中,可以通过获取待切换多媒体应用的内存大小,然后根据获取到的待切换多媒体应用的内存大小计算待切换多媒体应用的启动耗时即第二切换时长,例如,待切换多媒体应用DTV多媒体应用的内存大小为1100M,则待切换多媒体应用的第二切换时长为1100ms,其中,多媒体应用的内存大小每增加100M则其对应的切换时长增加100ms。当然,本实施例中,第二切换时长还包括预设时长阈值,即第二切换时长为预设时长阈值加上待切换多媒体应用的启动时长,该预设时长阈值可以设置为10 ms等。Wherein, the display interface does not display the video program, the smart TV currently does not play any video program, the second switching duration includes the startup time of the multimedia application to be switched, and the startup time of the multimedia application is determined by the memory size of the multimedia application, therefore, The second switching duration is mainly determined by the memory size of the multimedia application to be switched. In this embodiment, the memory size of the multimedia application to be switched can be obtained, and then the startup cost of the multimedia application to be switched is calculated according to the obtained memory size of the multimedia application to be switched. The second switching duration is, for example, the memory size of the multimedia application DTV multimedia application to be switched is 1100 M, and the second switching duration of the multimedia application to be switched is 1100 ms, wherein the corresponding switching of the multimedia application's memory size is increased by 100 M. The duration is increased by 100ms. In this embodiment, the second switching duration further includes a preset duration threshold, that is, the second switching duration is a preset duration threshold plus a startup duration of the multimedia application to be switched, and the preset duration threshold may be set to 10 Ms, etc.
第二播放模块,用于在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。The second playing module is configured to play the video program of the multimedia application to be switched on the display interface when the duration of the second switching duration ends.
在本实施例中,在第二切换时长的持续过程中,智能电视的显示界面未显示任何视频节目,即显示界面处于视频节目播放前的蓝屏或黑屏状态,在第二切换时长的持续时长结束时,第二播放模块在显示界面播放所述待切换多媒体应用的视频节目。In this embodiment, during the duration of the second switching duration, the display interface of the smart TV does not display any video program, that is, the display interface is in a blue screen or black screen state before the video program is played, and the duration of the second switching duration ends. The second play module plays the video program of the multimedia application to be switched on the display interface.
本实施例通过在显示界面未显示视频节目时,第三获取模块获取所述待切换多媒体应用的第二切换时长,在第二切换时长的持续时长结束时,第二播放模块在所述显示界面播放所述待切换多媒体应用的视频节目,实现了在进行多媒体应用的视频切换(播放)时,在第二切换时长的持续时长结束时播放待切换多媒体应用的视频节目,使得终端在待切换多媒体应用成功启动后播放该待切换多媒体应用的视频节目,避免多媒体应用的视频切换过程中发送视频画面颜色异常、蓝屏等视频输出异常的现象,进一步提高了用户体验。In this embodiment, when the video program is not displayed on the display interface, the third acquiring module acquires the second switching duration of the multimedia application to be switched. When the duration of the second switching duration ends, the second playing module is in the display interface. Playing the video program of the multimedia application to be switched, when the video switching (playing) of the multimedia application is performed, playing the video program of the multimedia application to be switched at the end of the duration of the second switching duration, so that the terminal is to be switched multimedia After the application is successfully started, the video program of the multimedia application to be switched is played, and the phenomenon that the color of the video screen is abnormal and the video output of the blue screen is abnormal during the video switching process of the multimedia application is avoided, thereby further improving the user experience.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种视频播放控制方法,其特征在于,所述视频播放控制方法包括以下步骤:A video playback control method, characterized in that the video playback control method comprises the following steps:
    在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用;And acquiring, when the video switching instruction is detected, the multimedia application to be switched corresponding to the video switching instruction;
    在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用;Obtaining the multimedia application to be switched when a video program is displayed on the display interface of the terminal;
    在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;When the first video switch is performed between the to-be-switched multimedia application and the current multimedia application, the memory size occupied by the to-be-switched multimedia application and the current multimedia application is respectively acquired;
    分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;Calculating, according to the acquired memory size of the to-be-switched multimedia application and the current multimedia application, the startup duration of the to-be-switched multimedia application and the closing duration of the current multimedia application;
    将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长;Adding a startup duration of the multimedia application to be switched to a shutdown duration of the current multimedia application to obtain a first handover duration between the multimedia application to be switched and the current multimedia application;
    在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长;When the current video program is in the frequency frame jump state, the current multimedia application is closed, and the video program after the preset time interval is played in the display interface in a cached manner, wherein the preset time interval is played in a buffered manner. The playing duration of the video program is the first switching duration;
    在当前视频节目播放结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the current video program playing, the video program of the multimedia application to be switched is played on the display interface.
  2. 如权利要求1所述的视频播放控制方法,其特征在于,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之后,所述视频播放控制方法还包括:The video playback control method according to claim 1, wherein after the step of acquiring the multimedia application corresponding to the video switching instruction, the video playback control method further includes:
    在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;Obtaining a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
    在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the duration of the second switching duration, the video program of the multimedia application to be switched is played on the display interface.
  3. 如权利要求1所述的视频播放控制方法,其特征在于,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之前,所述视频播放控制方法还包括:The video playback control method according to claim 1, wherein the video playback control method further comprises: before the step of acquiring the multimedia application to be switched corresponding to the video switching instruction, when the video switching instruction is detected, the video playback control method further includes:
    在侦测到终端当前显示界面显示有频道菜单时,实时侦测视频切换指令。The video switching instruction is detected in real time when it is detected that the channel display menu is displayed on the current display interface of the terminal.
  4. 如权利要求3所述的视频播放控制方法,其特征在于,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之后,所述视频播放控制方法还包括:The video playback control method according to claim 3, wherein after the step of acquiring the multimedia application corresponding to the video switching instruction, the video playback control method further includes:
    在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;Obtaining a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
    在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the duration of the second switching duration, the video program of the multimedia application to be switched is played on the display interface.
  5. 一种视频播放控制方法,其特征在于,所述视频播放控制方法包括以下步骤:A video playback control method, characterized in that the video playback control method comprises the following steps:
    在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用;And acquiring, when the video switching instruction is detected, the multimedia application to be switched corresponding to the video switching instruction;
    在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用以及所述显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长,其中,所述第一切换时长大于当前多媒体应用的关闭时长;When a video program is displayed on the display interface of the terminal, the first switching duration between the multimedia application to be switched and the current multimedia application corresponding to the video program displayed by the display interface is obtained, where the first switching duration is greater than the current The closing time of the multimedia application;
    关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目,其中,以缓存的方式播放当前视频节目的播放时长为所述第一切换时长;The current multimedia application is closed, and the current video program is played in the display interface in a cached manner, wherein the playing time of the current video program is played in a cached manner for the first switching duration;
    在当前视频节目播放结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the current video program playing, the video program of the multimedia application to be switched is played on the display interface.
  6. 如权利要求5所述的视频播放控制方法,其特征在于,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目的步骤包括:The video playback control method according to claim 5, wherein the step of closing the current multimedia application and playing the current video program on the display interface in a cached manner comprises:
    在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长。When the current video program is in the frequency frame jump state, the current multimedia application is closed, and the video program after the preset time interval is played in the display interface in a cached manner, wherein the preset time interval is played in a buffered manner. The playing duration of the video program is the first switching duration.
  7. 如权利要求5所述的视频播放控制方法,其特征在于,获取所述待切换多媒体应用与显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长的步骤包括:The video playback control method of claim 5, wherein the step of acquiring the first switching duration between the multimedia application to be switched and the current multimedia application corresponding to the video program displayed on the display interface comprises:
    在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;When the first video switch is performed between the to-be-switched multimedia application and the current multimedia application, the memory size occupied by the to-be-switched multimedia application and the current multimedia application is respectively acquired;
    分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;Calculating, according to the acquired memory size of the to-be-switched multimedia application and the current multimedia application, the startup duration of the to-be-switched multimedia application and the closing duration of the current multimedia application;
    将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长。Adding a startup duration of the multimedia application to be switched to a shutdown duration of the current multimedia application to obtain a first handover duration between the multimedia application to be switched and the current multimedia application.
  8. 如权利要求5所述的视频播放控制方法,其特征在于,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之后,所述视频播放控制方法还包括:The video playback control method according to claim 5, wherein after the step of acquiring the multimedia application corresponding to the video switching instruction, the video playback control method further includes:
    在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;Obtaining a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
    在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the duration of the second switching duration, the video program of the multimedia application to be switched is played on the display interface.
  9. 如权利要求5所述的视频播放控制方法,其特征在于,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之前,所述视频播放控制方法还包括:The video playback control method according to claim 5, wherein the video playback control method further comprises: before the step of acquiring the multimedia application to be switched corresponding to the video switching instruction, when the video switching instruction is detected, the video playback control method further includes:
    在侦测到终端当前显示界面显示有频道菜单时,实时侦测视频切换指令。The video switching instruction is detected in real time when it is detected that the channel display menu is displayed on the current display interface of the terminal.
  10. 如权利要求9所述的视频播放控制方法,其特征在于,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目的步骤包括:The video playback control method according to claim 9, wherein the step of closing the current multimedia application and playing the current video program on the display interface in a cached manner comprises:
    在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长。When the current video program is in the frequency frame jump state, the current multimedia application is closed, and the video program after the preset time interval is played in the display interface in a cached manner, wherein the preset time interval is played in a buffered manner. The playing duration of the video program is the first switching duration.
  11. 如权利要求9所述的视频播放控制方法,其特征在于,获取所述待切换多媒体应用与显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长的步骤包括:The video playback control method according to claim 9, wherein the step of acquiring the first switching duration between the multimedia application to be switched and the current multimedia application corresponding to the video program displayed on the display interface comprises:
    在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;When the first video switch is performed between the to-be-switched multimedia application and the current multimedia application, the memory size occupied by the to-be-switched multimedia application and the current multimedia application is respectively acquired;
    分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;Calculating, according to the acquired memory size of the to-be-switched multimedia application and the current multimedia application, the startup duration of the to-be-switched multimedia application and the closing duration of the current multimedia application;
    将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长。Adding a startup duration of the multimedia application to be switched to a shutdown duration of the current multimedia application to obtain a first handover duration between the multimedia application to be switched and the current multimedia application.
  12. 如权利要求9所述的视频播放控制方法,其特征在于,在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用的步骤之后,所述视频播放控制方法还包括:The video playback control method according to claim 9, wherein after the step of acquiring the multimedia application corresponding to the video switching instruction, the video playback control method further includes:
    在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;Obtaining a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
    在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。At the end of the duration of the second switching duration, the video program of the multimedia application to be switched is played on the display interface.
  13. 一种视频播放控制装置,其特征在于,所述视频播放控制装置包括:A video playback control device, wherein the video playback control device comprises:
    第一获取模块,用于在侦测到视频切换指令时,获取所述视频切换指令对应的待切换多媒体应用;The first acquiring module is configured to acquire, when the video switching instruction is detected, the multimedia application to be switched corresponding to the video switching instruction;
    第二获取模块,用于在终端的显示界面显示有视频节目时,获取所述待切换多媒体应用以及所述显示界面显示的视频节目对应的当前多媒体应用之间的第一切换时长,其中,所述第一切换时长大于当前多媒体应用的关闭时长;a second acquiring module, configured to acquire a first switching duration between the multimedia application to be switched and the current multimedia application corresponding to the video program displayed by the display interface, when the video display is displayed on the display interface of the terminal, where The first switching duration is greater than the closing duration of the current multimedia application;
    关闭模块,用于关闭当前多媒体应用,并以缓存的方式在所述显示界面播放当前视频节目,其中,以缓存的方式播放当前视频节目的持续时长为所述第一切换时长;The closing module is configured to close the current multimedia application, and play the current video program in the display interface in a cached manner, wherein the duration of playing the current video program in a cached manner is the first switching duration;
    第一播放模块,用于在当前视频节目播放结束时,在所述显示界面显示所述待切换多媒体应用的视频节目。The first playing module is configured to display, on the display interface, the video program of the multimedia application to be switched when the current video program is played.
  14. 如权利要求13所述的视频播放控制装置,其特征在于,所述关闭模块还用于在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长。The video playback control device according to claim 13, wherein the shutdown module is further configured to: when the current video program is in a frequency frame jump state, close the current multimedia application, and cache the manner on the display interface. The video program after the preset time interval is played, wherein the playing time of the video program after the preset time interval is played in a cached manner is the first switching duration.
  15. 如权利要求13所述的视频播放控制装置,其特征在于,所述第二获取模块包括: The video playback control device of claim 13, wherein the second acquisition module comprises:
    第一获取单元,用于在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;a first acquiring unit, configured to acquire, when the first video switch is performed between the to-be-switched multimedia application and the current multimedia application, the memory size occupied by the to-be-switched multimedia application and the current multimedia application;
    第一计算单元,用于分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;a first calculating unit, configured to calculate, according to the acquired memory size of the to-be-switched multimedia application and the current multimedia application, a startup duration of the multimedia application to be switched and a closing duration of the current multimedia application;
    第二计算单元,用于将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长。And a second calculating unit, configured to add a startup duration of the to-be-switched multimedia application to a closing duration of the current multimedia application to obtain a first switching duration between the to-be-switched multimedia application and the current multimedia application.
  16. 如权利要求13所述的视频播放控制装置,其特征在于,所述视频播放控制装置还包括:The video playback control device of claim 13, wherein the video playback control device further comprises:
    第三获取模块,用于在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;a third acquiring module, configured to acquire a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
    第二播放模块,用于在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。The second playing module is configured to play the video program of the multimedia application to be switched on the display interface when the duration of the second switching duration ends.
  17. 如权利要求13所述的视频播放控制装置,其特征在于,所述视频播放控制装置还包括:The video playback control device of claim 13, wherein the video playback control device further comprises:
    侦测模块,用于在侦测到终端当前显示界面显示有频道菜单时,实时侦测视频切换指令。The detecting module is configured to detect a video switching instruction in real time when detecting that a channel menu is displayed on the current display interface of the terminal.
  18. 如权利要求17所述的视频播放控制装置,其特征在于,所述关闭模块还用于在当前视频节目处于频帧跳转状态时,关闭当前多媒体应用,并以缓存的方式在所述显示界面播放预设时间间隔之后的视频节目,其中,以缓存的方式播放预设时间间隔之后的视频节目的播放时长为所述第一切换时长。The video playback control device according to claim 17, wherein the shutdown module is further configured to close the current multimedia application when the current video program is in a frequency frame jump state, and cache the manner on the display interface. The video program after the preset time interval is played, wherein the playing time of the video program after the preset time interval is played in a cached manner is the first switching duration.
  19. 如权利要求17所述的视频播放控制装置,其特征在于,所述第二获取模块包括:The video playback control device according to claim 17, wherein the second acquisition module comprises:
    第一获取单元,用于在所述待切换多媒体应用与当前多媒体应用之间是第一次视频切换时,分别获取所述待切换多媒体应用与当前多媒体应用占用的内存大小;a first acquiring unit, configured to acquire, when the first video switch is performed between the to-be-switched multimedia application and the current multimedia application, the memory size occupied by the to-be-switched multimedia application and the current multimedia application;
    第一计算单元,用于分别基于获取的所述待切换多媒体应用与当前多媒体应用占用的内存大小计算所述待切换多媒体应用的启动时长及当前多媒体应用的关闭时长;a first calculating unit, configured to calculate, according to the acquired memory size of the to-be-switched multimedia application and the current multimedia application, a startup duration of the multimedia application to be switched and a closing duration of the current multimedia application;
    第二计算单元,用于将所述待切换多媒体应用的启动时长与当前多媒体应用的关闭时长相加获得所述待切换多媒体应用与当前多媒体应用之间的第一切换时长。And a second calculating unit, configured to add a startup duration of the to-be-switched multimedia application to a closing duration of the current multimedia application to obtain a first switching duration between the to-be-switched multimedia application and the current multimedia application.
  20. 如权利要求17所述的视频播放控制装置,其特征在于,所述视频播放控制装置还包括:The video playback control device of claim 17, wherein the video playback control device further comprises:
    第三获取模块,用于在所述显示界面未显示视频节目时,获取所述待切换多媒体应用的第二切换时长;a third acquiring module, configured to acquire a second switching duration of the multimedia application to be switched when the video interface is not displayed on the display interface;
    第二播放模块,用于在所述第二切换时长的持续时长结束时,在所述显示界面播放所述待切换多媒体应用的视频节目。The second playing module is configured to play the video program of the multimedia application to be switched on the display interface when the duration of the second switching duration ends.
PCT/CN2016/084428 2015-12-21 2016-06-02 Video playing control method and apparatus WO2017107385A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510967140.0A CN105611393B (en) 2015-12-21 2015-12-21 Video playing control method and device
CN201510967140.0 2015-12-21

Publications (1)

Publication Number Publication Date
WO2017107385A1 true WO2017107385A1 (en) 2017-06-29

Family

ID=55990879

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084428 WO2017107385A1 (en) 2015-12-21 2016-06-02 Video playing control method and apparatus

Country Status (2)

Country Link
CN (1) CN105611393B (en)
WO (1) WO2017107385A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514998A (en) * 2022-09-29 2022-12-23 海信电子科技(深圳)有限公司 Display device and network media asset switching method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611393B (en) * 2015-12-21 2019-04-23 深圳Tcl数字技术有限公司 Video playing control method and device
CN111918129B (en) * 2020-08-10 2022-04-01 四川长虹电器股份有限公司 Method, system and terminal for playing videos in seamless connection mode

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521817A (en) * 2009-03-17 2009-09-02 中兴通讯股份有限公司 Method and terminal for improving mobile telephone television program broadcasting continuity
CN102905188A (en) * 2012-11-01 2013-01-30 北京奇艺世纪科技有限公司 Video code stream switching method and device
WO2013059930A1 (en) * 2011-10-28 2013-05-02 Avvasi Inc. Methods and apparatus for providing a media stream quality signal
CN103533437A (en) * 2013-10-30 2014-01-22 乐视致新电子科技(天津)有限公司 Method and device for switching channels of smart television
CN103702215A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Method and device for selecting video player
CN103873921A (en) * 2014-03-26 2014-06-18 北京奇艺世纪科技有限公司 Seamless video play method and player
CN103916718A (en) * 2013-01-05 2014-07-09 腾讯科技(北京)有限公司 Method and system for playing video based on video clip
CN103997680A (en) * 2014-06-06 2014-08-20 北京奇艺世纪科技有限公司 Switching method and device of video bitstream
CN105611393A (en) * 2015-12-21 2016-05-25 深圳Tcl数字技术有限公司 Video playing control method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442586B (en) * 2008-12-31 2012-06-27 中兴通讯股份有限公司 Method and terminal for playing multimedia
US9094658B2 (en) * 2010-05-10 2015-07-28 Mediatek Inc. Method and apparatus of adaptive loop filtering
CN103327267B (en) * 2013-06-26 2017-12-15 Tcl集团股份有限公司 A kind of video broadcasting method, device and television set
CN104219579B (en) * 2014-08-20 2018-03-06 北京奇艺世纪科技有限公司 A kind of video switching method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521817A (en) * 2009-03-17 2009-09-02 中兴通讯股份有限公司 Method and terminal for improving mobile telephone television program broadcasting continuity
WO2013059930A1 (en) * 2011-10-28 2013-05-02 Avvasi Inc. Methods and apparatus for providing a media stream quality signal
CN102905188A (en) * 2012-11-01 2013-01-30 北京奇艺世纪科技有限公司 Video code stream switching method and device
CN103916718A (en) * 2013-01-05 2014-07-09 腾讯科技(北京)有限公司 Method and system for playing video based on video clip
CN103533437A (en) * 2013-10-30 2014-01-22 乐视致新电子科技(天津)有限公司 Method and device for switching channels of smart television
CN103702215A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Method and device for selecting video player
CN103873921A (en) * 2014-03-26 2014-06-18 北京奇艺世纪科技有限公司 Seamless video play method and player
CN103997680A (en) * 2014-06-06 2014-08-20 北京奇艺世纪科技有限公司 Switching method and device of video bitstream
CN105611393A (en) * 2015-12-21 2016-05-25 深圳Tcl数字技术有限公司 Video playing control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514998A (en) * 2022-09-29 2022-12-23 海信电子科技(深圳)有限公司 Display device and network media asset switching method
CN115514998B (en) * 2022-09-29 2023-08-29 海信电子科技(深圳)有限公司 Display equipment and network media resource switching method

Also Published As

Publication number Publication date
CN105611393A (en) 2016-05-25
CN105611393B (en) 2019-04-23

Similar Documents

Publication Publication Date Title
WO2016091011A1 (en) Subtitle switching method and device
WO2018018681A1 (en) Video programme previewing method and device
WO2018028124A1 (en) Television set and signal source switching method thereof
WO2017088427A1 (en) Audio output control method and device
WO2017121066A1 (en) Application program display method and system
WO2018036057A1 (en) Method and device for background adaptive upgrading of software
WO2013159482A1 (en) Method and device for intelligently displaying icon
WO2018126888A1 (en) Method and apparatus for configuring a shortcut for a television function
WO2017005066A1 (en) Method and apparatus for recording audio and video synchronization timestamp
WO2016101252A1 (en) Channel information display method and apparatus for intelligent television
WO2015154639A1 (en) Method and apparatus for recording and replaying video of terminal
WO2017219485A1 (en) Smart television and control method therefor
WO2017063368A1 (en) Method and device for intercutting video advertisement
WO2018113187A1 (en) Display control method and display device
WO2017201943A1 (en) Method and device for driving display screen
WO2014048239A1 (en) Smart television playing method and smart television
WO2017020649A1 (en) Audio/video playback control method and device thereof
WO2017206368A1 (en) High-dynamic range picture switching method and apparatus
WO2017045435A1 (en) Method and device for controlling television playing
WO2017215116A1 (en) Photographing method and system for smart television
WO2017206377A1 (en) Method and device for synchronous playback of program
WO2017190452A1 (en) Backlight self-adaptive regulation method and apparatus
WO2018223602A1 (en) Display terminal, frame contrast enhancement method, and computer readable storage medium
WO2017084305A1 (en) Terminal control method and system
WO2018006581A1 (en) Smart-television playback method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877199

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31.10.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16877199

Country of ref document: EP

Kind code of ref document: A1