Movatterモバイル変換


[0]ホーム

URL:


CN105979354A - Channel switching method and device - Google Patents

Channel switching method and device
Download PDF

Info

Publication number
CN105979354A
CN105979354ACN201510867625.2ACN201510867625ACN105979354ACN 105979354 ACN105979354 ACN 105979354ACN 201510867625 ACN201510867625 ACN 201510867625ACN 105979354 ACN105979354 ACN 105979354A
Authority
CN
China
Prior art keywords
channel
multimedia
content
pretreatment
broadcast window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510867625.2A
Other languages
Chinese (zh)
Inventor
曹虹
崔建勇
郑吉剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leshi Zhixin Electronic Technology Tianjin Co LtdfiledCriticalLeshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510867625.2ApriorityCriticalpatent/CN105979354A/en
Publication of CN105979354ApublicationCriticalpatent/CN105979354A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the invention provides a channel switching method and device. The method concretely comprises: when a channel switching instruction is received, performing preprocessing the multimedia content of a second channel; finishing the play of the multimedia content of a first channel while performing the preprocessing of the multimedia content of the second channel, and displaying a static-frame frame through adoption of the play window of the first channel; and when the multimedia content obtained by preprocessing, of the second channel satisfies a presetting play condition, playing the multimedia content of the second channel. According to the embodiment of the invention, the smooth switching between channels may be realized, and the user's watch quality may be improved.

Description

Translated fromChinese
一种频道切换方法及装置A channel switching method and device

技术领域technical field

本发明实施例涉及多媒体技术领域,尤其涉及一种频道切换方法及装置。The embodiment of the present invention relates to the field of multimedia technologies, and in particular to a channel switching method and device.

背景技术Background technique

随着网络硬件和软件的飞速发展,网络的带宽变宽、传输速度更快,因此通过网络进行多媒体内容的传输和播放也越来越普及。With the rapid development of network hardware and software, the bandwidth of the network becomes wider and the transmission speed is faster, so the transmission and playback of multimedia content through the network is becoming more and more popular.

当用户观看多媒体内容时,常常会在多个频道之间进行切换,从而寻找自己感兴趣的节目。现有的频道切换方案通常包括:首先,向提供多媒体内容的服务器发送停止当前频道的停止指令,同时向播放视频的播放器发送停止播放当前频道的指令;然后,向服务器发送请求下一频道的请求指令;最后,在接收服务器返回的下一频道的多媒体内容后,对上述多媒体内容进行解码后播放。When a user watches multimedia content, he often switches between multiple channels in order to find programs of interest to him. Existing channel switching schemes generally include: first, send a stop instruction to stop the current channel to a server providing multimedia content, and send an instruction to stop playing the current channel to a video player at the same time; then, send a request to the server for the next channel. request instruction; finally, after receiving the multimedia content of the next channel returned by the server, the above multimedia content is decoded and then played.

然而,在采用现有的频道切换方案时,通常在停止播放当前频道和开始播放下一频道之间,会产生0.5秒~1秒的黑屏,这段时间的黑屏容易将影响频道切换的平滑度和用户的观看质量,从而导致用户的观看感受下降。However, when using the existing channel switching scheme, usually between the stop of the current channel and the start of the next channel, there will be a black screen of 0.5 seconds to 1 second, and the black screen during this period will easily affect the smoothness of channel switching and the user's viewing quality, resulting in a decline in the user's viewing experience.

发明内容Contents of the invention

本发明实施例提供一种频道切换方法及装置,用以解决现有方案中频道切换的平滑度低和用户的观看质量差的缺陷,实现频道间的平滑切换,且能够提高用户的观看质量。Embodiments of the present invention provide a channel switching method and device to solve the defects of low smoothness of channel switching and poor viewing quality of users in existing solutions, realize smooth switching between channels, and improve viewing quality of users.

本发明实施例提供一种频道切换方法,包括:An embodiment of the present invention provides a channel switching method, including:

在接收到频道切换指令时,预处理第二频道的多媒体内容;preprocessing the multimedia content of the second channel when receiving the channel switching instruction;

在预处理所述第二频道的多媒体内容的同时,结束所述第一频道的多媒体内容的播放,并利用所述第一频道的播放窗口显示静帧画面;While preprocessing the multimedia content of the second channel, end the playing of the multimedia content of the first channel, and use the play window of the first channel to display a still frame picture;

在预处理得到的、所述第二频道的多媒体内容满足预置播放条件时,播放所述第二频道的多媒体内容。When the pre-processed multimedia content of the second channel satisfies a preset playback condition, the multimedia content of the second channel is played.

本发明实施例提供一种频道切换装置,包括:An embodiment of the present invention provides a channel switching device, including:

预处理模块,用于在接收到频道切换指令时,预处理第二频道的多媒体内容;A preprocessing module, configured to preprocess the multimedia content of the second channel when receiving the channel switching instruction;

静帧显示模块,用于在预处理所述第二频道的多媒体内容的同时,结束所述第一频道的多媒体内容的播放,并利用所述第一频道的播放窗口显示静帧画面;及A static frame display module, configured to end the playback of the multimedia content of the first channel while preprocessing the multimedia content of the second channel, and use the playback window of the first channel to display a static frame image; and

播放模块,用于在预处理得到的、所述第二频道的多媒体内容满足预置播放条件时,播放所述第二频道的多媒体内容。The playing module is configured to play the multimedia content of the second channel when the pre-processed multimedia content of the second channel satisfies a preset playing condition.

本发明实施例提供的频道切换方法及装置,在接收到频道切换指令时,会在预处理第二频道的多媒体内容的同时,结束第一频道的多媒体内容的播放,上述结束播放操作可以作为对于上述频道切换指令的响应;同时,本发明实施例可以利用所述第一频道的播放窗口显示静帧画面,以避免频道切换过程中的黑屏现象;因此,本发明实施例不仅可以通过结束播放操作响应上述频道切换指令,而且可以避免频道切换过程中的黑屏现象,因此能够实现频道间的平滑切换,且能够提高用户的观看质量,从而能够大大提升用户体验。The channel switching method and device provided in the embodiments of the present invention, when receiving a channel switching instruction, will end the playback of the multimedia content of the first channel while preprocessing the multimedia content of the second channel. The response of the above-mentioned channel switching instruction; meanwhile, the embodiment of the present invention can use the play window of the first channel to display a still frame picture, so as to avoid the black screen phenomenon in the channel switching process; therefore, the embodiment of the present invention can not only end the playback operation Responding to the above-mentioned channel switching instruction, and avoiding the black screen phenomenon during the channel switching process, so that smooth switching between channels can be realized, and the viewing quality of the user can be improved, thereby greatly improving the user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明的一种频道切换方法实施例一的步骤流程图;FIG. 1 is a flow chart of the steps of Embodiment 1 of a channel switching method of the present invention;

图2为本发明的一种频道切换方法实施例二的步骤流程图;及FIG. 2 is a flow chart of the steps of Embodiment 2 of a channel switching method of the present invention; and

图3为本发明的一种频道切换装置实施例的结构框图。Fig. 3 is a structural block diagram of an embodiment of a channel switching device according to the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

方法实施例一Method embodiment one

参照图1,示出了本发明的一种频道切换方法实施例一的步骤流程图,具体可以包括:Referring to FIG. 1 , it shows a flow chart of the steps of Embodiment 1 of a channel switching method of the present invention, which may specifically include:

步骤101、在接收到频道切换指令时,预处理第二频道的多媒体内容;Step 101. When receiving a channel switching instruction, pre-process the multimedia content of the second channel;

步骤102、在预处理所述第二频道的多媒体内容的同时,结束所述第一频道的多媒体内容的播放,并利用所述第一频道的播放窗口显示静帧画面;Step 102, while preprocessing the multimedia content of the second channel, end the playing of the multimedia content of the first channel, and use the play window of the first channel to display a still frame image;

步骤103、在预处理得到的、所述第二频道的多媒体内容满足预置播放条件时,播放所述第二频道的多媒体内容。Step 103: Play the multimedia content of the second channel when the pre-processed multimedia content of the second channel satisfies a preset playback condition.

本发明实施例可以应用于智能电视、普通电视机、手机、PC(个人计算机,Personal Computer)、平板电脑等具有多媒体处理功能的信息设备中,用于避免频道切换过程中的黑屏现象,从而能够提升用户体验。Embodiments of the present invention can be applied to information devices with multimedia processing functions such as smart TVs, ordinary TV sets, mobile phones, PCs (Personal Computers), tablet computers, etc., to avoid black screen phenomena during channel switching, thereby enabling Improve user experience.

本发明实施例中,第一频道可用于表示正在播放的多媒体数据所属的频道,第二频道可用于表示欲播放的多媒体数据所属的频道;其中,上述多媒体数据具体可以包括:图片、文字、视频和音频中的任一或者组合,上述多媒体数据可以流媒体的格式进行传输,上述流媒体可以遵循HLS(动态码率自适应技术,HTTP Live Streaming)协议等,本发明实施例对于具体的多媒体数据及其传输协议不加以限制。In the embodiment of the present invention, the first channel can be used to indicate the channel to which the multimedia data being played belongs, and the second channel can be used to indicate the channel to which the multimedia data to be played belongs; wherein, the above-mentioned multimedia data can specifically include: pictures, text, video Any one or combination in the audio, the above-mentioned multimedia data can be transmitted in the format of streaming media, and the above-mentioned streaming media can follow the HLS (dynamic code rate adaptive technology, HTTP Live Streaming) protocol, etc., the embodiment of the present invention is for specific multimedia data and its transmission protocol are not limited.

上述频道切换指令可用于将第一频道切换到第二频道。以智能电视为例,用户可以通过按下遥控按键的方式发送上述频道切换指令;以手机为例,用户可以通过触摸屏、语音等方式发送上述频道切换指令,可以理解,本发明实施例对于用户发送上述频道切换指令的具体方式不加以限制。The above channel switching instruction can be used to switch the first channel to the second channel. Taking a smart TV as an example, the user can send the above-mentioned channel switching instruction by pressing a remote control button; taking a mobile phone as an example, the user can send the above-mentioned channel switching instruction through a touch screen, voice, etc. The specific manner of the above channel switching instruction is not limited.

本发明实施例中,预处理第二频道的多媒体内容可用于对第二频道的多媒体内容进行预处理,得到的预处理结果可以输入至播放器中以待播放。可以理解,用于得到待播放的多媒体内容的任意预处理方式均是可行的,本发明实施例对于具体的预处理方式不加以限制。In the embodiment of the present invention, preprocessing the multimedia content of the second channel may be used to preprocess the multimedia content of the second channel, and the obtained preprocessing result may be input into a player for playback. It can be understood that any preprocessing method for obtaining the multimedia content to be played is feasible, and the embodiment of the present invention does not limit the specific preprocessing method.

在本发明的一种可选实施例中,上述预处理第二频道的多媒体内容的步骤,具体可以包括:In an optional embodiment of the present invention, the above-mentioned step of preprocessing the multimedia content of the second channel may specifically include:

步骤A1、从服务器获取第二频道的多媒体内容;Step A1, acquiring the multimedia content of the second channel from the server;

步骤A2、对所述服务器返回的、所述第二频道的多媒体内容进行解码;Step A2, decoding the multimedia content of the second channel returned by the server;

步骤A3、将所述第二频道的多媒体内容的解码结果缓存至缓冲区。Step A3, buffering the decoding result of the multimedia content of the second channel into a buffer.

在实际应用中,可以首先获取第二频道的地址,然后依据第二频道的地址从服务器下载第二频道的多媒体内容。由于上述预处理尤其是上述第二频道的多媒体内容的解码需要花费一定的时间,因此,现有方案中从停止播放第一频道开始直到播放第二频道之间的这段预处理时间,电视将处于黑屏状态。In practical applications, the address of the second channel may be obtained first, and then the multimedia content of the second channel may be downloaded from the server according to the address of the second channel. Since the above-mentioned preprocessing, especially the decoding of the multimedia content of the second channel, takes a certain amount of time, the TV will in a black screen state.

本发明实施例中,播放窗口可用于显示播放器输出的多媒体内容。通常,一个频道具有对应的播放器和播放窗口;故现有方案在切换频道时,会首先关闭第一频道的播放器和播放窗口;这样能够节省系统资源,能够将系统资源应用于其它频道的预处理,减轻系统负担。In the embodiment of the present invention, the playing window can be used to display the multimedia content output by the player. Usually, a channel has a corresponding player and playback window; therefore, when switching channels in existing solutions, the player and playback window of the first channel will be closed first; this can save system resources and apply system resources to other channels. Preprocessing to reduce system load.

而本发明实施例中,在预处理所述第二频道的多媒体内容的同时,会结束所述第一频道的多媒体内容的播放,上述结束播放操作可以作为对于上述频道切换指令的响应;同时,本发明实施例可以利用所述第一频道的播放窗口显示静帧画面,以避免频道切换过程中的黑屏现象;可见,本发明实施例不仅可以通过结束播放操作响应上述频道切换指令,而且可以避免频道切换过程中的黑屏现象,因此能够大大提升用户体验。However, in the embodiment of the present invention, while preprocessing the multimedia content of the second channel, the playback of the multimedia content of the first channel will be ended, and the above-mentioned ending operation may be used as a response to the above-mentioned channel switching instruction; at the same time, In the embodiment of the present invention, the play window of the first channel can be used to display a static frame image, so as to avoid the black screen phenomenon in the process of channel switching; it can be seen that the embodiment of the present invention can not only respond to the above-mentioned channel switching instruction by ending the playback operation, but also can avoid The black screen phenomenon during the channel switching process can greatly improve the user experience.

在本发明的一种可选实施例中,所述利用所述第一频道的播放窗口显示静帧画面的步骤,具体可以包括:利用所述第一频道的播放窗口显示所述第一频道在结束播放前的最后一帧画面、或者预置画面。其中,上述预置画面可以为本领域技术人员根据实际应用需求确定的画面,例如,上述预置画面可以为频道画面,即体现第一频道特征或第二频道特征的图像数据,如包含某个卫视频道的LOGO(商标)的图像数据,可以用于标识频道;又如,上述预置画面还可以为用户的屏保或者壁纸画面;再如,上述预置画面还可以为用户感兴趣的画面(如用户偶像的图片、用户家人的图片等);上述预置画面也可由用户指定,可以理解,本发明实施例对于具体的预置画面及其设置方式不加以限制。相对于现有方案中的黑屏现象,上述静帧画面能够减轻用户在等待频道切换过程中的枯燥感。In an optional embodiment of the present invention, the step of using the play window of the first channel to display a still frame image may specifically include: using the play window of the first channel to display the The last frame before the end of playback, or the preset image. Wherein, the above-mentioned preset picture can be a picture determined by those skilled in the art according to actual application requirements, for example, the above-mentioned preset picture can be a channel picture, that is, image data that embodies the characteristics of the first channel or the second channel, such as containing a certain The image data of the LOGO (trademark) of the satellite TV channel can be used to identify the channel; for another example, the above-mentioned preset picture can also be the user's screen saver or wallpaper picture; for another example, the above-mentioned preset picture can also be a picture that the user is interested in ( Such as pictures of the user's idol, pictures of the user's family, etc.); the above-mentioned preset screen can also be specified by the user, it can be understood that the embodiment of the present invention does not limit the specific preset screen and its setting method. Compared with the black screen phenomenon in the existing solution, the above static frame picture can reduce the boring feeling of the user in the process of waiting for channel switching.

在本发明的另一种可选实施例中,所述播放所述第二频道的多媒体内容的步骤,具体可以包括:In another optional embodiment of the present invention, the step of playing the multimedia content of the second channel may specifically include:

步骤B1、利用第二频道的播放窗口显示所述第二频道的多媒体内容,并关闭所述第一频道的播放窗口;或者Step B1, using the playing window of the second channel to display the multimedia content of the second channel, and closing the playing window of the first channel; or

步骤B2、利用第二频道的播放窗口显示所述第二频道的多媒体内容,其中,所述第二频道的播放窗口覆盖在所述第一频道的播放窗口之上。Step B2, using the playing window of the second channel to display the multimedia content of the second channel, wherein the playing window of the second channel covers the playing window of the first channel.

其中,步骤B1可以关闭第一频道的播放窗口,以避免第一频道的播放窗口对第二频道的播放窗口产生影响;步骤B2可以不关闭第一频道的播放窗口,但将所述第二频道的播放窗口覆盖在所述第一频道的播放窗口之上,以避免第一频道的播放窗口对第二频道的播放窗口产生影响。Wherein, step B1 can close the play window of the first channel, so as to avoid the play window of the first channel from having an impact on the play window of the second channel; step B2 can not close the play window of the first channel, but the second channel The play window of the first channel is overlaid on the play window of the first channel, so as to prevent the play window of the first channel from affecting the play window of the second channel.

在实际应用中,可以图层覆盖的方式将第二频道的播放窗口覆盖在第一频道的播放窗口之上。例如,可以利用DirectFB图形库在第一频道的播放窗口上创建第二频道的播放窗口的图层。DirectFB是一个轻量级的提供硬件图形加速的图形库,它在Frame Buffer(绘图缓冲存储器)的基础上提供了图形加速、输入设备处理提速、透明窗口和多层显示层的功能。可以理解,本发明实施例对于将所述第二频道的播放窗口覆盖在所述第一频道的播放窗口之上的具体实现方式不加以限制。In practical applications, the play window of the second channel may be overlaid on the play window of the first channel in a layer overlay manner. For example, the layer of the play window of the second channel can be created on the play window of the first channel by using the DirectFB graphics library. DirectFB is a lightweight graphics library that provides hardware graphics acceleration. It provides graphics acceleration, input device processing speed-up, transparent windows and multi-layer display layers on the basis of Frame Buffer (drawing buffer memory). It can be understood that, this embodiment of the present invention does not limit the specific implementation manner of overlaying the play window of the second channel on the play window of the first channel.

在本发明的再一种可选实施例中,所述预处理得到的、所述第二频道的多媒体内容满足预置播放条件,具体可以包括:In yet another optional embodiment of the present invention, the multimedia content of the second channel obtained by the preprocessing satisfies preset playback conditions, which may specifically include:

预置播放条件1:所述预处理得到的、所述第二频道的多媒体内容包括至少一个完整帧;或者Preset playback condition 1: The multimedia content of the second channel obtained by the preprocessing includes at least one complete frame; or

例如,在所述预处理得到的、所述第二频道的多媒体内容包括第二频道的第一个完整帧时,即可以播放该第一个完整帧,因此能够避免用户在频道切换过程中的等待时间,提供频道切换的效率。而在播放完第一个完整帧时,第二个完整帧已被解码完成,因此可以紧接着播放第二个完整帧。For example, when the multimedia content of the second channel obtained by the preprocessing includes the first complete frame of the second channel, the first complete frame can be played, thus avoiding the user's confusion during channel switching. Latency, providing channel switching efficiency. When the first full frame is played, the second full frame has been decoded, so the second full frame can be played immediately.

预置播放条件2:所述预处理得到的、所述第二频道的多媒体内容的数据量超过数据量阈值;或者Preset playback condition 2: the data volume of the multimedia content of the second channel obtained by the preprocessing exceeds the data volume threshold; or

预置播放条件3:所述预处理得到的、所述第二频道的多媒体内容的播放时间超过时间阈值。Preset playing condition 3: the playing time of the multimedia content of the second channel obtained by the preprocessing exceeds a time threshold.

本实施例中,数据量阈值可用于表示缓存的数据量能够满足开始播放的最低需求量,或者,时间阈值可用于表示缓存的数据量可供播放的时间能够满足开始播放的最短时间要求,比如缓存的数据量可供播放5~30秒的时间,以便在播放这5~30秒的同时可以继续缓冲后续要播放的数据,避免刚刚开始播放不久就会有卡顿或再次缓冲数据的情况出现。In this embodiment, the data volume threshold can be used to indicate that the cached data volume can meet the minimum requirement for starting playback, or the time threshold can be used to indicate that the time for the cached data volume to be played can meet the minimum time requirement for starting playback, such as The amount of cached data can be played for 5-30 seconds, so that the data to be played can continue to be buffered while playing for 5-30 seconds, so as to avoid the situation of freezing or re-buffering data shortly after the start of playback .

综上,本发明实施例在接收到频道切换指令时,会在预处理第二频道的多媒体内容的同时,结束第一频道的多媒体内容的播放,上述结束播放操作可以作为对于上述频道切换指令的响应;同时,本发明实施例可以利用所述第一频道的播放窗口显示静帧画面,以避免频道切换过程中的黑屏现象;因此,本发明实施例不仅可以通过结束播放操作响应上述频道切换指令,而且可以避免频道切换过程中的黑屏现象,因此能够实现频道间的平滑切换,且能够提高用户的观看质量,从而能够大大提升用户体验。To sum up, in the embodiment of the present invention, when receiving the channel switching instruction, it will end the playback of the multimedia content of the first channel while preprocessing the multimedia content of the second channel. Response; at the same time, the embodiment of the present invention can utilize the play window of the first channel to display a static frame picture, so as to avoid the black screen phenomenon in the channel switching process; therefore, the embodiment of the present invention can not only respond to the above-mentioned channel switching instruction by ending the playback operation , and can avoid the black screen phenomenon in the channel switching process, so that smooth switching between channels can be realized, and the viewing quality of the user can be improved, thereby greatly improving the user experience.

方法实施例二Method embodiment two

参照图2,示出了本发明的一种频道切换方法实施例二的步骤流程图,具体可以包括:Referring to FIG. 2 , it shows a flow chart of the steps of Embodiment 2 of a channel switching method of the present invention, which may specifically include:

步骤201、通过第一播放器依据第二频道的地址从服务器下载第二频道的多媒体内容,对所述服务器返回的、所述第二频道的多媒体内容进行解码,并利用第一播放窗口显示解码得到的、第一频道的多媒体数据;Step 201: Download the multimedia content of the second channel from the server through the first player according to the address of the second channel, decode the multimedia content of the second channel returned by the server, and use the first playback window to display the decoded content The obtained multimedia data of the first channel;

步骤202、在接收到从第一频道切换为第二频道的频道切换指令时,获取第二频道的地址,依据第二频道的地址从服务器下载第二频道的多媒体内容,对所述服务器返回的、所述第二频道的多媒体内容进行解码,并将所述第二频道的多媒体内容的解码结果缓存至缓冲区;Step 202, when receiving a channel switching command from the first channel to the second channel, obtain the address of the second channel, download the multimedia content of the second channel from the server according to the address of the second channel, and report the information returned by the server . Decoding the multimedia content of the second channel, and buffering the decoding result of the multimedia content of the second channel into a buffer;

步骤203、在接收到从第一频道切换为第二频道的频道切换指令时,关闭第一播放器以结束所述第一频道的多媒体内容的播放,并利用第一播放窗口显示静帧画面;Step 203, when receiving a channel switching command from the first channel to the second channel, close the first player to end the playing of the multimedia content of the first channel, and use the first playing window to display a still frame;

步骤204、在缓冲区中第二频道的多媒体内容的数据量超过数据量阈值时,利用第二播放窗口播放所述第二频道的多媒体内容;其中,上述第二播放窗口可以为接收到频道切换指令后创建的窗口;Step 204, when the data volume of the multimedia content of the second channel in the buffer exceeds the data volume threshold, use the second playback window to play the multimedia content of the second channel; The window created after the command;

步骤205、在利用第二播放窗口播放所述第二频道的多媒体内容的同时,关闭第一播放窗口,并销毁第一播放窗口对应的系统资源。Step 205: While using the second play window to play the multimedia content of the second channel, close the first play window and destroy system resources corresponding to the first play window.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

装置实施例Device embodiment

参照图3,示出了本发明的一种频道切换装置实施例的结构框图,具体可以包括:Referring to FIG. 3 , it shows a structural block diagram of an embodiment of a channel switching device of the present invention, which may specifically include:

预处理模块301,用于在接收到频道切换指令时,预处理第二频道的多媒体内容;A preprocessing module 301, configured to preprocess the multimedia content of the second channel when a channel switching instruction is received;

静帧显示模块302,用于在预处理所述第二频道的多媒体内容的同时,结束所述第一频道的多媒体内容的播放,并利用所述第一频道的播放窗口显示静帧画面;及A still frame display module 302, configured to end the playback of the multimedia content of the first channel while preprocessing the multimedia content of the second channel, and display a still frame image using the play window of the first channel; and

播放模块303,用于在预处理得到的、所述第二频道的多媒体内容满足预置播放条件时,播放所述第二频道的多媒体内容。The playing module 303 is configured to play the multimedia content of the second channel when the pre-processed multimedia content of the second channel satisfies a preset playing condition.

在本发明的一种可选实施例中,所述静帧显示模块302,具体可以包括:In an optional embodiment of the present invention, the still frame display module 302 may specifically include:

显示子模块,用于利用所述第一频道的播放窗口显示所述第一频道在结束播放前的最后一帧画面、或者预置画面。The display sub-module is configured to use the playing window of the first channel to display the last frame of the first channel before the end of playing, or the preset picture.

在本发明的另一种可选实施例中,所述播放模块303,具体可以包括:In another optional embodiment of the present invention, the playing module 303 may specifically include:

第一播放子模块,用于利用第二频道的播放窗口显示所述第二频道的多媒体内容,并关闭所述第一频道的播放窗口;或者The first playing submodule is used to use the playing window of the second channel to display the multimedia content of the second channel, and close the playing window of the first channel; or

第二播放子模块,用于利用第二频道的播放窗口显示所述第二频道的多媒体内容,其中,所述第二频道的播放窗口覆盖在所述第一频道的播放窗口之上。The second playing sub-module is configured to use the playing window of the second channel to display the multimedia content of the second channel, wherein the playing window of the second channel covers the playing window of the first channel.

在本发明的再一种可选实施例汇总,所述预处理得到的、所述第二频道的多媒体内容满足预置播放条件,具体可以包括:In another optional embodiment of the present invention, the multimedia content of the second channel obtained by the preprocessing satisfies the preset playing conditions, which may specifically include:

所述预处理得到的、所述第二频道的多媒体内容包括至少一个完整帧;或者The multimedia content of the second channel obtained by the preprocessing includes at least one complete frame; or

所述预处理得到的、所述第二频道的多媒体内容的数据量超过数据量阈值;或者The data volume of the multimedia content of the second channel obtained by the preprocessing exceeds a data volume threshold; or

所述预处理得到的、所述第二频道的多媒体内容的播放时间超过时间阈值。The playing time of the multimedia content of the second channel obtained by the preprocessing exceeds a time threshold.

在本发明的又一种可选实施例中,所述预处理模块301,具体可以包括:In yet another optional embodiment of the present invention, the preprocessing module 301 may specifically include:

获取子模块,用于从服务器获取第二频道的多媒体内容;An acquisition sub-module, configured to acquire the multimedia content of the second channel from the server;

解码子模块,用于对所述服务器返回的、所述第二频道的多媒体内容进行解码;及a decoding submodule, configured to decode the multimedia content of the second channel returned by the server; and

缓存子模块,用于将所述第二频道的多媒体内容的解码结果缓存至缓冲区。The caching submodule is configured to cache the decoding result of the multimedia content of the second channel in a buffer.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (10)

CN201510867625.2A2015-11-302015-11-30Channel switching method and devicePendingCN105979354A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510867625.2ACN105979354A (en)2015-11-302015-11-30Channel switching method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510867625.2ACN105979354A (en)2015-11-302015-11-30Channel switching method and device

Publications (1)

Publication NumberPublication Date
CN105979354Atrue CN105979354A (en)2016-09-28

Family

ID=56988389

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510867625.2APendingCN105979354A (en)2015-11-302015-11-30Channel switching method and device

Country Status (1)

CountryLink
CN (1)CN105979354A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106775983A (en)*2016-12-232017-05-31成都中科创达软件有限公司A kind of application scenarios changing method, system and mobile terminal
CN108156487A (en)*2016-12-022018-06-12北京邦天信息技术有限公司A kind of video broadcasting method and device
CN108156472A (en)*2017-12-282018-06-12重庆柚瓣家科技有限公司Interactive live broadcast system based on endowment robot
CN109495699A (en)*2018-11-232019-03-19青岛海信宽带多媒体技术有限公司A kind of video playing switching method and device
CN111083549A (en)*2018-10-192020-04-28浙江宇视科技有限公司Video switching method and device and display control equipment
CN116017052A (en)*2022-12-302023-04-25苏州万店掌网络科技有限公司 A method for video stream switching

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060061688A1 (en)*2004-09-172006-03-23Lg Electronics Inc.Apparatus and method for switching channel of digital television
CN102097050A (en)*2009-12-112011-06-15康佳集团股份有限公司Device and method for realizing seamless switching of display signal
CN103024513A (en)*2012-12-202013-04-03广州视源电子科技股份有限公司Method for rapidly changing channels of digital television
CN103533437A (en)*2013-10-302014-01-22乐视致新电子科技(天津)有限公司Method and device for switching channels of smart television
CN103796075A (en)*2014-02-272014-05-14广州视源电子科技股份有限公司Method and device for switching television channels and channels
CN104469541A (en)*2013-09-182015-03-25中兴通讯股份有限公司IPTV channel switching method, IPTV channel switching device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060061688A1 (en)*2004-09-172006-03-23Lg Electronics Inc.Apparatus and method for switching channel of digital television
CN102097050A (en)*2009-12-112011-06-15康佳集团股份有限公司Device and method for realizing seamless switching of display signal
CN103024513A (en)*2012-12-202013-04-03广州视源电子科技股份有限公司Method for rapidly changing channels of digital television
CN104469541A (en)*2013-09-182015-03-25中兴通讯股份有限公司IPTV channel switching method, IPTV channel switching device and terminal
CN103533437A (en)*2013-10-302014-01-22乐视致新电子科技(天津)有限公司Method and device for switching channels of smart television
CN103796075A (en)*2014-02-272014-05-14广州视源电子科技股份有限公司Method and device for switching television channels and channels

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108156487A (en)*2016-12-022018-06-12北京邦天信息技术有限公司A kind of video broadcasting method and device
CN106775983A (en)*2016-12-232017-05-31成都中科创达软件有限公司A kind of application scenarios changing method, system and mobile terminal
CN108156472A (en)*2017-12-282018-06-12重庆柚瓣家科技有限公司Interactive live broadcast system based on endowment robot
CN108156472B (en)*2017-12-282020-09-08重庆柚瓣家科技有限公司Interactive live broadcast system based on endowment robot
CN111083549A (en)*2018-10-192020-04-28浙江宇视科技有限公司Video switching method and device and display control equipment
CN109495699A (en)*2018-11-232019-03-19青岛海信宽带多媒体技术有限公司A kind of video playing switching method and device
CN109495699B (en)*2018-11-232021-07-16青岛海信宽带多媒体技术有限公司Video playing switching method and device
CN116017052A (en)*2022-12-302023-04-25苏州万店掌网络科技有限公司 A method for video stream switching

Similar Documents

PublicationPublication DateTitle
US10187668B2 (en)Method, system and server for live streaming audio-video file
KR101008764B1 (en) How to Provide Visual Clues in an Interactive Media Response System
CN113141514B (en)Media stream transmission method, system, device, equipment and storage medium
CN105979354A (en)Channel switching method and device
CN114154012B (en) Video recommendation method, device, electronic device and storage medium
CN113141524B (en)Resource transmission method, device, terminal and storage medium
WO2017063399A1 (en)Video playback method and device
CN113141523B (en)Resource transmission method, device, terminal and storage medium
CN113141522B (en)Resource transmission method, device, computer equipment and storage medium
WO2021159770A1 (en)Video playback method, device, apparatus, and storage medium
US10616652B2 (en)Playback method and electronic device using the same
JP7100052B2 (en) Electronic device and its control method
US11356739B2 (en)Video playback method, terminal apparatus, and storage medium
CN105898395A (en)Network video playing method, device and system
CN106713941A (en)Audio and video live broadcast implementation method and server
US20240314396A1 (en)Methods for generating videos, and related systems and servers
CN107690093B (en) A video playback method and device
US20250210066A1 (en)Audio processing method and electronic device
KR20160015123A (en)System for cloud streaming service, method of cloud streaming service based on still image and apparatus for the same
KR102825746B1 (en) MPD Chaining in Live CMAF/DASH Players with W3C Media Sources and Encrypted Extensions
CN110266706A (en) Method and device for playing multimedia streaming data
JP2024100180A (en)Reproduction controller, receiver and program
KR102791998B1 (en) Method and device for supporting pre-roll and mid-roll during media streaming and playback
CN118138713B (en) Multi-party call method, device, electronic device, storage medium and product
CN202143182U (en) An IPTV set-top box

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
WD01Invention patent application deemed withdrawn after publication

Application publication date:20160928

WD01Invention patent application deemed withdrawn after publication

[8]ページ先頭

©2009-2025 Movatter.jp