WO2017219870A1 - 播放视频数据的方法及装置 - Google Patents

播放视频数据的方法及装置 Download PDF

Info

Publication number
WO2017219870A1
WO2017219870A1 PCT/CN2017/087648 CN2017087648W WO2017219870A1 WO 2017219870 A1 WO2017219870 A1 WO 2017219870A1 CN 2017087648 W CN2017087648 W CN 2017087648W WO 2017219870 A1 WO2017219870 A1 WO 2017219870A1
Authority
WO
WIPO (PCT)
Prior art keywords
station
channel change
change command
channel
data
Prior art date
Application number
PCT/CN2017/087648
Other languages
English (en)
French (fr)
Inventor
洪德胜
Original Assignee
深圳创维数字技术有限公司
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 深圳创维数字技术有限公司 filed Critical 深圳创维数字技术有限公司
Publication of WO2017219870A1 publication Critical patent/WO2017219870A1/zh

Links

Images

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/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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network

Definitions

  • the present disclosure relates to the technical field of set top boxes, for example, to a method and apparatus for playing video data.
  • the frequency of the crossover is 300 milliseconds (ms) to 1500 milliseconds (ms). If the signal is not good, the frequency of the crossover may be changed. Longer
  • the program that locks the frequency point is filtered according to the Packet Identifier (PID), and the filtered data of the locked frequency point is cached in the random access memory (RAM) in advance.
  • PID Packet Identifier
  • RAM random access memory
  • a method and apparatus for playing video data enables high-speed switching of programs and rapid display of programs.
  • a method of playing video data including:
  • the channel change command is used to switch a current play channel, and the channel change command includes a remote data switch command;
  • the station corresponding to the channel change command is the prediction station, acquiring and decoding pre-stored play data corresponding to the channel change command;
  • the decoded play data is played.
  • the decoding which is pre-stored, the play data corresponding to the channel change instruction, includes:
  • the video to be played is stored in the uppermost layer of the RAM, and the predicted video of the prediction station to be played next is decoded in the background.
  • the method further includes:
  • the preset prediction rule includes The other stations of the current playing channel that are adjacent to the N channels are N greater than or equal to 1.
  • the method further includes:
  • the decoded data of the other station after decoding is played.
  • the method further includes:
  • the play data of the station corresponding to the channel change command is played.
  • a device for playing video data comprising:
  • a first determining module configured to determine whether to receive a channel change command, the channel change command is used to switch a current play channel, and the channel change command includes a remote data switch command;
  • a second determining module configured to determine whether the station corresponding to the channel change command is a prediction station if it is determined to receive the channel change command
  • the first obtaining module is configured to: if it is determined that the station corresponding to the channel change command is the prediction station, acquire pre-stored play data corresponding to the channel change command;
  • a first decoding module configured to decode pre-stored play data corresponding to the channel change command
  • the first play module is configured to play the decoded play data if it is determined that the station corresponding to the channel change command needs to be switched.
  • the first decoding module is configured to:
  • the frequency of the prediction station is locked.
  • the video to be played is stored in the uppermost layer of the RAM, and the predicted video of the prediction station to be played next is decoded in the background.
  • the device further includes:
  • a second acquiring module configured to: if it is determined that the channel switching instruction is not received, predict, according to a preset prediction rule, another station corresponding to the current playing channel, and acquire playing data of the other station, where the foregoing
  • the set prediction rule includes other stations of the currently played channel that are adjacent to the N channels, N is greater than or equal to 1;
  • the second decoding module is configured to decode the play data of the other stations.
  • the device further includes:
  • the second playing module is configured to: after acquiring the playing data of the other station, if it is determined that the other station is to be switched, playing the decoded data of the other station after decoding.
  • the device further includes:
  • a third determining module configured to determine, if it is determined that the station corresponding to the channel changing instruction is not the prediction station, determine whether to switch to a station corresponding to the channel switching instruction;
  • the second play module is configured to play the play data of the station corresponding to the channel change command if it is determined that the station corresponding to the channel change command is to be switched.
  • a computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • a set top box comprising:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
  • the above provides a method and apparatus for playing video data, determining whether to receive a user-transferred channel change command, the channel change command is used to switch a current play channel, and the channel change command includes a remote data switch command; if it is determined to receive Determining, by the user, the channel change command, whether the station corresponding to the channel change command is a prediction station; if it is determined that the station corresponding to the channel change command is the prediction station, acquiring and decoding the pre-stored and the The playback data corresponding to the channel change command; if it is determined that the user needs to switch to the station corresponding to the channel change command, playing the decoded data after decoding, reducing the time from 00 to hundreds of milliseconds of data from buffer to decoding , greatly reducing the waiting time between users during switching, enabling high-speed switching of programs and displays on the set-top box to improve user experience.
  • FIG. 1 is a schematic flowchart 1 of a method for playing video data according to an embodiment
  • FIG. 2 is a schematic flowchart 2 of a method for playing video data according to an embodiment
  • FIG. 3 is a schematic diagram of functional modules of an apparatus for playing video data according to an embodiment
  • FIG. 4 is a schematic diagram showing the hardware structure of a set top box according to an embodiment.
  • the related technology can only receive and buffer the data in advance, but does not participate in the de-frameping of the decoder in advance.
  • the set-top box receives the infrared signal, in response to the channel change, there are still tens to hundreds of milliseconds of data from the buffer to the de-frame for the decoder's data parsing. Time waiting in the related art reduces the user's experience of fast zero-second switching.
  • FIG. 1 is a schematic flowchart of a method for playing video data according to an embodiment. One.
  • step 110 it is determined whether a user-triggered channel change command is received, the channel change command is for switching a current play channel, and the channel change command includes a remote data switch command.
  • the remote data switching command can be a wireless signal, such as an infrared signal input by an infrared remote controller, or a Bluetooth wireless signal input by a Bluetooth remote controller.
  • the hardware resources of the set of fast change units in the embodiment may include multiple TUNERs, multiple demodulators (DEMODULATORs), and multiple decoders (DECODER).
  • Advanced prediction and judgment can be performed by software to achieve fast channel change (channel). It is detected by infrared detection whether there is a channel change command (change channel command) input. If the channel change command input is detected, it will enter the channel change; if the channel change command is not detected, wait for the channel change command input, play the current program and predict the next route. program.
  • step 120 if it is determined that the user-triggered channel change command is received, it is determined whether the station (channel) corresponding to the channel change command is a prediction station (predicted channel).
  • Determining whether it is a continuous channel change can determine whether the channel where the current broadcast channel and the predicted next program are located is a continuous channel. For example, when the channel advance button or the channel back button of the infrared remote controller is detected, the channel where the next program is located and the current channel The playing channel is a continuous channel; or when the digital button of the remote controller is detected, it is judged whether the channel corresponding to the digital button and the current playing channel are skipping.
  • step 130 if it is determined that the station (channel) corresponding to the channel change command is the prediction station, the pre-stored play data corresponding to the channel change command is acquired and decoded.
  • the decoding which is pre-stored, the play data corresponding to the channel change instruction, includes:
  • DVD Digital Video Broadcasting
  • the above RAM may be a display buffer area (BUFFER), the uppermost layer of the RAM may display the currently playing video, the uppermost layer may be a display layer, and the predicted video may be placed on the lower layer of the display layer, when the current video is played in the display layer, The predicted video is played on the lower layer of the display layer, and the user can see the display at this time.
  • the video of the layer you can't see the video below the display layer.
  • the program information of the prediction station After filtering out the audio data packets, video data packets and synchronization information data packets required in the program information of the prediction station, the program information of the prediction station includes the acquired audio data packets, video data packets and synchronization information data packets, and the prediction can be performed.
  • the program information of the station is placed in the RAM.
  • the fast change unit including the multi-decoder the data of the currently played video is decoded by the first decoder, and the decoded currently played video data is stored in the uppermost layer of the RAM, and the second decoder is decoded in the background. As soon as the predicted video is about to be played, the predicted video may not be displayed on the top layer (display layer) of the On-Screen Display (OSD).
  • OSD On-Screen Display
  • step 140 if it is determined that the user needs to switch to the station corresponding to the channel change command, the decoded play data is played.
  • the display graphics layer is exchanged, and the video information that is predicted in advance and is being decoded by the second decoder in advance is displayed on the uppermost layer, and the user can view and display the upper layer of the OSD.
  • Video information which can put the video data that was originally played on the next layer of the OSD. After the playback is completed, the prediction of the next video program can be cycled.
  • the method further includes:
  • the other stations corresponding to the current play channel are predicted according to a preset prediction rule, and the play data of the other station is acquired and decoded, where the preset is set.
  • the prediction rule includes other stations of the currently played channel that are adjacent to N channels, and N is greater than or equal to 1.
  • the method further includes:
  • the played data of the other station after decoding is played.
  • the method further includes:
  • the play data of the station corresponding to the channel change command is played.
  • the embodiment provides a method for playing video data, and determining whether to receive a user-triggered switch
  • the switching instruction is used to switch the current playing channel, and the changing command includes a remote data switching instruction; if it is determined to receive the user-initiated switching command, determining whether the corresponding station is a prediction station; if it is determined that the station corresponding to the channel change command is the prediction station, acquiring and decoding pre-stored play data corresponding to the channel change command; and if determining that the user needs to switch to the channel change
  • the station corresponding to the instruction plays the decoded play data, reduces the time from 00 to hundreds of milliseconds of data buffering to decoding, reduces the waiting time between users during program switching, and enables high-speed switching of programs and Quickly display the program and improve the user experience.
  • FIG. 2 is a second schematic diagram of a method for playing video data according to this embodiment.
  • step 210 the current playing channel is played, and the prediction is prepared.
  • step 220 it is determined whether the digital jump is remotely controlled.
  • step 230 if it is determined to be a remote digital dip, the last digital dip and the next program are predicted, and step 240 is continued; if it is determined not to be the remote digital dip, the process proceeds to step 270.
  • step 240 the DMD (demodulation) performs frequency locking, the DMX (demux) performs data filtering, and the secondary decoder performs video decoding in the background, wherein the video layer is on the next layer of the OSD.
  • the DMD can be a demodulation hardware used for frequency-locked digital TV set-top boxes.
  • the high-frequency modulated signal is transmitted from the front end (such as a satellite), and the digital signal to be decoded can be obtained by using DMD.
  • DMX can be set to filter data and demultiplex.
  • multiple sets of programs can transmit signals through a cable at the same time.
  • the signals can be processed by code division multiplexing. All data can be split by DMX and output all the way.
  • the PID data of the instruction can also be descrambled by using DMX.
  • the primary decoder can decode the currently played video
  • the secondary decoder can decode the predicted video in the background.
  • step 250 it is determined whether to change channels.
  • step 260 if it is determined to change channels, the display layer is handed over, the sub-decoder output is the topmost layer, and the main decoder is placed on the next layer of the OSD to continue predicting the next play.
  • step 270 the programs of the two channels adjacent to the current playing channel are predicted, and steps 240 to 260 are continued.
  • FIG. 3 is a schematic diagram of functional modules of an apparatus for playing video data according to this embodiment.
  • the apparatus for playing video data includes: a first determining module 301, a second determining module 302, a first obtaining module 303, a first decoding module 304, and a first playing module 305.
  • the first determining module 301 is configured to determine whether to receive a user-triggered channel change command, the channel change command is used to switch a current play channel, and the channel change command includes a remote data switch command.
  • the second determining module 302 is configured to determine whether the station corresponding to the channel change command is a prediction station if it is determined to receive the channel change command triggered by the user.
  • the first obtaining module 303 is configured to: if it is determined that the station corresponding to the channel switching instruction is the prediction station, acquire pre-stored playing data corresponding to the channel changing instruction.
  • the first decoding module 304 is configured to decode the pre-stored play data corresponding to the channel change command.
  • the first decoding module 304 is configured to:
  • the video to be played is stored in the uppermost layer of the RAM, and the predicted video of the prediction station to be played next is decoded in the background.
  • the first playing module 305 is configured to play the decoded playing data if it is determined that the user needs to switch to the station corresponding to the channel changing instruction.
  • the device further includes: a second acquiring module and a second decoding module.
  • the second acquiring module is configured to: if it is determined that the channel switching instruction is not received, predict, according to a preset prediction rule, another station corresponding to the current playing channel, and acquire playing data of the other station, where the preset The prediction rule includes the neighboring interval N channels of the current playing channel On the other side, N is greater than or equal to 1.
  • the second decoding module is configured to decode the play data of the other stations.
  • the device further includes: a second play module.
  • the second playing module is configured to obtain the playing data of the other station, if it is determined that the user needs to switch to another station corresponding to the current station, the played data of the decoded other station is played.
  • the device further includes: a third determining module and a third playing module.
  • the third determining module is configured to determine whether the user needs to switch to the station corresponding to the channel change command if it is determined that the station corresponding to the channel change command is not the prediction station.
  • the third playing module is configured to play the playing data of the station corresponding to the channel changing instruction if it is determined that the user needs to switch to the station corresponding to the channel changing instruction.
  • the embodiment provides a device for playing video data, determining whether to receive a user-transferred channel change command, the channel change command is used to switch a current play channel, and the channel change command includes a remote data switch command; Determining whether the station corresponding to the channel change command is a prediction station; if it is determined that the station corresponding to the channel change command is the prediction station, acquiring and decoding the pre-stored and the The play data corresponding to the station command; and if it is determined that the user needs to switch to the station corresponding to the channel change command, playing the decoded play data, reducing the time from 00 to hundreds of milliseconds of data from buffer to decoding The user's waiting time between program switching is reduced, and the program can be switched at high speed and the program is quickly displayed, thereby improving the user experience.
  • the present embodiment provides a computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the set top box includes:
  • At least one processor 40 one processor 40 in FIG. 4; a memory 41; a tuner 42; a demodulator 43; a decoder 44; and a communication interface 45 and Bus 46.
  • the processor 40, the communication interface 45, and the memory 41 can complete communication with each other through the bus 46.
  • the communication interface 45 can receive signals as well as audio data and video data.
  • Processor 40 may invoke logic instructions in memory 41 to perform the methods of the above-described embodiments.
  • logic instructions in the memory 41 described above can be implemented in the form of software functional units and When sold or used as a stand-alone product, it can be stored on a computer readable storage medium.
  • the memory 41 is a computer readable storage medium and can be used to store a software program, a computer executable program, such as a program instruction or a module corresponding to the method in the above embodiment.
  • the processor 40 executes the functional application and data processing by executing software programs, instructions or modules stored in the memory 41, i.e., implements the methods in the above embodiments.
  • the memory 41 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the terminal device, and the like. Further, the memory 41 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the above technical solution may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to execute All or part of the steps of the method described in the above embodiments.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the method and device for playing video data provided by the present disclosure can realize high-speed switching of programs on a set top box and display programs quickly, thereby improving user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

一种播放视频数据的方法及装置,其中,所述方法包括:确定是否接收换台指令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令;若确定接收所述换台指令,则确定所述换台指令对应的台是否为预测台;若确定所述换台指令对应的台为所述预测台,则获取并解码预先存储的与所述换台指令对应的播放数据;以及若确定需切换到所述换台指令对应的台,则播放解码后的所述播放数据。

Description

播放视频数据的方法及装置 技术领域
本公开涉及机顶盒的技术领域,例如涉及一种播放视频数据的方法及装置。
背景技术
机顶盒已经越来越多的走进百姓日常生活,随着电视节目的增多,快速的换台响应速度已近成为大家关注的问题,从遥控器按下触发换台开始,到电视画面显示换台完成,零秒换台已经成为主流趋势。这是科技给消费者带来的极好的性能体验,然而市场上,每个厂家都在用各自的办法来完成这一系列操作,大多都是通过多路预测与缓存。
相关技术中的换台操作包括:
通过对节目单的前后节目信息,进行提前预测锁频,跨频点的锁频时间都在300毫秒(ms)到1500毫秒(ms),如果信号不好的话跨频点的锁频时间可能会更长;
按包标识符(Packet Identifier,PID)对锁住频点的节目进行过滤,提前将过滤后的锁住频点的节日的数据缓存在随机存取存储器(Random Access Memory,RAM)中,将不同步的数据扔掉,提前做好同步播放准备。
发明内容
一种播放视频数据的方法及装置能实现高速切换节目及快速显示节目。
一种播放视频数据的方法,包括:
确定是否接收换台指令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令;
若确定接收所述换台指令,则确定所述换台指令对应的台是否为预测台;
若确定所述换台指令对应的台为所述预测台,则获取并解码预先存储的与所述换台指令对应的播放数据;以及
若确定需切换到所述换台指令对应的台,则播放解码后的所述播放数据。
可选的,所述解码预先存储的与所述换台指令对应的播放数据,包括:
在数字视频广播DVB播放的同时,锁住所述预测台的频点;
过滤出所述预测台的节目信息中所需的音频数据包、视频数据包及同步信息数据包,并将过滤出的所述预测台的节目信息存放至随机存取存储器RAM中;以及
将当将播放的视频存放在所述RAM的最上一层,在后台解码下一个待播放的所述预测台的预测视频。
可选的,所述的方法还包括:
若确定未接收所述换台指令,则根据预先设置的预测规则预测所述当前播放频道对应的其他台,并获取且解码所述其他台的播放数据,其中,所述预先设置的预测规则包括所述当前播放频道的相邻间隔N个频道的其他台,N大于或等于1。
可选的,所述获取所述其他台的播放数据之后,所述方法还包括:
若确定需切换到所述其他台,则播放解码后的所述其他台的播放数据。
可选的,所述的方法还包括:
若确定所述换台指令对应的台不是所述预测台,则确定是否需切换到所述换台指令对应的台;以及
若确定需切换到所述换台指令对应的台,则播放所述换台指令对应的台的播放数据。
一种播放视频数据的装置,包括:
第一确定模块,设置为确定是否接收换台指令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令;
第二确定模块,设置为若确定接收所述换台指令,则确定所述换台指令对应的台是否为预测台;
第一获取模块,设置为若确定所述换台指令对应的台为所述预测台,则获取预先存储的与所述换台指令对应的播放数据;
第一解码模块,设置为解码预先存储的与所述换台指令对应的播放数据; 以及
第一播放模块,设置为若确定需切换到所述换台指令对应的台,则播放解码后的所述播放数据。
可选的,所述第一解码模块,设置为:
在数字视频广播DDVB播放的同时,锁住所述预测台的频点。
过滤出所述预测台的节目信息中所需的音频数据包、视频数据包及同步信息数据包,并将所述预测台的节目信息存放至随机存取存储器RAM中;以及
将当将播放的视频存放在所述RAM的最上一层,在后台解码下一个待播放的所述预测台的预测视频。
可选的,所述的装置还包括:
第二获取模块,设置为若确定未接收所述换台指令,则根据预先设置的预测规则预测所述当前播放频道对应的其他台,并获取所述其他台的播放数据,其中,所述预先设置的预测规则包括所述当前播放频道的相邻间隔N个频道的其他台,N大于或等于1;以及
第二解码模块,设置为解码所述其他台的播放数据。
可选的,所述的装置还包括:
第二播放模块,设置为所述获取所述其他台的播放数据之后,若确定需切换到所述其他台,则播放解码后的所述其他台的播放数据。
可选的,所述的装置还包括:
第三确定模块,设置为若确定所述换台指令对应的台不是所述预测台,则确定是否需切换到所述换台指令对应的台;以及
第二播放模块,设置为若确定需切换到所述换台指令对应的台,则播放所述换台指令对应的台的播放数据。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。
一种机顶盒,包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述的方法。
以上提供了一种播放视频数据的方法及装置,确定是否接收用户触发的换台指令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令;若确定接收所述用户触发的换台指令,则确定所述换台指令对应的台是否为预测台;若确定所述换台指令对应的台为所述预测台,则获取并解码预先存储的与所述换台指令对应的播放数据;若确定所述用户需切换到所述换台指令对应的台,则播放解码后所述播放数据,减少了数据从缓存到解码的几十到几百毫秒的时间,大大减少了用户在切换之间的等待时间,能实现在机顶盒上高速切换节目及显示,提高用户体验。
附图说明
图1是一实施例提供的一种播放视频数据的方法的流程示意图一;
图2是一实施例提供的一种播放视频数据的方法的流程示意图二;
图3是一实施例提供的一种播放视频数据的装置的功能模块示意图;以及
图4是一实施例提供的机顶盒的硬件结构示意图。
具体实施方式
相关技术只能做到数据的提前接收与缓存,而没有做到提前解码器参与解帧。在这样的设计中,当机顶盒接收到红外信号,响应换台时,数据从缓存到解帧的过程中还有几十到几百毫秒的时间用于解码器的数据解析。相关技术中的时间等待降低了用户对快速零秒换台的体验。
下面结合附图和实施例对实施例中的技术方案作详细说明。此处所描述的实施例仅仅用于解释实施例中的技术方案,而非对实施例的限定。附图中仅示出了与实施例相关的部分而非全部结构。在不冲突的情况下,以下实施例以及实施例中的技术特征可以相互任意组合。
参考图1,图1是一实施例提供的一种播放视频数据的方法的流程示意图 一。
在步骤110中,确定是否接收用户触发的换台指令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令。
遥控数据换台指令可以是无线信号,如红外遥控器输入的红外信号,或者蓝牙遥控器输入的蓝牙无线信号。
可选的,本实施例中的一套快速换台单元的硬件资源可以包括多个调谐器(TUNER)、多个解调器(DEMODULATOR)、多个解码器(DECODER)。可以由软件进行提前的预测与判断,实现快速换台(频道)。通过红外检测是否有换台指令(换频道指令)输入,如果检测到换台指令输入则进入换台;如果未检测到换台指令,则等待换台指令的输入,播放当前节目并预测下一路节目。
在步骤120中,若确定接收所述用户触发的换台指令,则确定所述换台指令对应的台(频道)是否为预测台(预测频道)。
可选的,在预测下一路节目时,判断是否是连续换台。
判断是否是连续换台可以判断当前播放频道与预测的下一路节目所在的频道是否是连续频道,比如,检测到红外遥控器的频道前进按键或频道后退按键时,下一路节目所在的频道与当前播放频道是连续频道;或检测到遥控器的数字按键时,判断数字按键对应的频道与当前播放频道是否为跳跃式换台。
在步骤130中,若确定所述换台指令对应的台(频道)为所述预测台,则获取并解码预先存储的与所述换台指令对应的播放数据。
可选地,所述解码预先存储的与所述换台指令对应的播放数据,包括:
在采用数字视频广播(Digital Video Broadcasting,DVB)标准播放数据的同时,锁住所述预测台的频点。过滤出所述预测台的节目信息中所需的音频数据包、视频数据包及同步信息数据包,并将所述预测台的节目信息存放至随机存取存储器(Random-Access Memory,RAM)中。将当前播放的视频存放在所述RAM的最上一层,在后台解码下一个待播放的所述预测台的预测视频。
上述的RAM可以是显示缓存区(BUFFER),RAM的最上一层可以显示当前播放的视频,最上层可以为显示层,预测视频可以放在显示层的下层,当前视频在显示层播放的时,预测视频在显示层的下层播放,此时用户可以看到显 示层的视频,看不到显示层下层的视频。
过滤出预测台的节目信息里所需要的音频数据包,视频数据包及同步信息数据包之后,预测台的节目信息中包括获取的音频数据包、视频数据包及同步信息数据包,可将预测台的节目信息放至RAM中。在包含多解码器的快速换台单元中,当前播放的视频的数据由第一解码器解码,将解码后的当前播放的视频数据存放在RAM的最上一层,第二解码器在后台解码下一即将播放的预测视频,预测视频可以不显示在屏幕菜单式调节方式(On-Screen Display,OSD)的最上层(显示层)。
在步骤140,若确定所述用户需切换到所述换台指令对应的台,则播放解码后的所述播放数据。
可选的,当接收到换台指令时,将显示图形层进行交换,把提前预测好并提前用第二解码器正在解码的视频信息显示在最上层,用户可以观看显示在OSD的最上层的视频信息,可将原先正在播放的视频数据置于OSD的下一层。播放完成后,可循环下一路视频节目的预测。
可选地,所述方法还包括:
若确定未接收所述用户未触发的换台指令,则根据预先设置的预测规则预测所述当前播放频道对应的其他台,并获取且解码所述其他台的播放数据,其中,所述预先设置的预测规则包括所述当前播放频道的相邻间隔N个频道的其他台,N大于或等于1。
可选地,所述获取其他台的播放数据之后,所述方法还包括:
若确定所述用户需切换到所述其他台,则播放解码后的所述其他台的播放数据。
可选地,所述方法还包括:
若确定所述换台指令对应的台不是所述预测台,则确定所述用户是否需切换到所述换台指令对应的台;以及
若确定所述用户需切换到所述换台指令对应的台,则播放所述换台指令对应的台的播放数据。
本实施例提供一种播放视频数据的方法,确定是否接收用户触发的换台指 令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令;若确定接收所述用户触发的换台指令,则确定所述换台指令对应的台是否为预测台;若确定所述换台指令对应的台为所述预测台,则获取并解码预先存储的与所述换台指令对应的播放数据;以及若确定所述用户需切换到所述换台指令对应的台,则播放解码后的所述播放数据,减少了数据从缓存到解码的几十到几百毫秒的时间,减少了用户在节目切换之间的等待时间,能实现高速切换节目及快速显示节目,提高了用户体验。
图2是本实施例提供的一种播放视频数据的方法的流程示意图二。
在步骤210中,播放当前播放频道,准备预测。
在步骤220中,判断是否遥控数字跳台。
在步骤230中,若判断是遥控数字跳台,则预测上一个数字跳台及下一个节目,继续执行步骤240;若判断不是遥控数字跳台,跳转至步骤270。
例如,当前有个节目单123456,而当前播放的是4台,那么“上键”输入后将播放3台,“下键”输入后,我们播放5台,对于4台而言,3台和5台与4台是连续的,在播放4台的时候,可以把3台和5台作为预测台,用户按“上键”与“下键”都属于连续换台,不属于遥控数字跳台。如果用户遥控输入“1”键,1台与4台之间是不连续的,此时可以判断1台和4台之间属于遥控数字跳台。
在步骤240中,DMD(demodulation)进行锁频,DMX(demux)进行数据过滤,副解码器后台进行视频解码,其中,视频层在OSD的下一层。
DMD可以是数字电视机顶盒用来锁频的解调的硬件,从前端(如卫星)传输过来的是信号高频调制信号,可以采用DMD得到要解码的数字信号。
DMX可以设置为过滤数据和解复用,在数字电视里,多套节目可同时通过一跟线缆传输信号,可以采用码分复用对信号进行处理,可以采用DMX拆分所有数据,并输出一路指令的PID的数据,也可以用采DMX解扰。
其中,主解码器可以对当前播放的视频进行解码,副解码器可以在后台对预测的视频进行解码。
在步骤250中,判断是否换台。
在步骤260中,若确定换台,在交接显示图层,副解码器输出为最顶层,主解码器放置于OSD下一层继续预测下一次播放。
在步骤270中,预测与当前播放频道邻近的两个频道的节目,继续执行步骤240至步骤260。
图3是本实施例提供的一种播放视频数据的装置的功能模块示意图。
在图3中,所述播放视频数据的装置包括:第一确定模块301、第二确定模块302、第一获取模块303、第一解码模块304以及第一播放模块305。
第一确定模块301设置为确定是否接收用户触发的换台指令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令。
第二确定模块302设置为若确定接收所述用户触发的换台指令,则确定所述换台指令对应的台是否为预测台。
第一获取模块303设置为若确定所述换台指令对应的台为所述预测台,则获取预先存储的与所述换台指令对应的播放数据。
第一解码模块304,设置为解码预先存储的与所述换台指令对应的播放数据。
可选地,所述第一解码模块304设置为:
在DVB播放的同时,锁住所述预测台的频点;
过滤出所述预测台的节目信息中所需的音频数据包、视频数据包及同步信息数据包,并将过滤出的所述预测台的节目信息存放至RAM中;以及
将当将播放的视频存放在所述RAM的最上一层,在后台解码下一个待播放的所述预测台的预测视频。
第一播放模块305设置为若确定所述用户需切换到所述换台指令对应的台,则播放解码后的所述播放数据。
可选地,所述装置还包括:第二获取模块和第二解码模块。
第二获取模块设置为若确定未接收所述换台指令,则根据预先设置的预测规则预测所述当前播放频道对应的其他台,并获取所述其他台的播放数据,其中,所述预先设置的预测规则包括所述当前播放频道的相邻间隔N个频道的其 他台,N大于或等于1。
第二解码模块设置为解码所述其他台的播放数据。
可选地,所述装置还包括:第二播放模块。
第二播放模块设置为所述获取所述其他台的播放数据之后,若确定所述用户需切换到所述当前台对应的其他台,则播放解码后的所述其他台的播放数据。
可选地,所述装置还包括:第三确定模块和第三播放模块。
第三确定模块设置为若确定所述换台指令对应的台不是所述预测台,则确定所述用户是否需切换到所述换台指令对应的台。
第三播放模块设置为若确定所述用户需切换到所述换台指令对应的台,则播放所述换台指令对应的台的播放数据。
本实施例提供一种播放视频数据的装置,确定是否接收用户触发的换台指令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令;若确定接收所述用户触发的换台指令,则确定所述换台指令对应的台是否为预测台;若确定所述换台指令对应的台为所述预测台,则获取并解码预先存储的与所述换台指令对应的播放数据;以及若确定所述用户需切换到所述换台指令对应的台,则播放解码后所述播放数据,减少了数据从缓存到解码的几十到几百毫秒的时间,减少了用户在节目切换之间的等待时间,能实现高速切换节目及快速显示节目,提高了用户体验。
本实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。
本实施例提供了一种机顶盒的硬件结构示意图。参见图4,该机顶盒包括:
至少一个处理器(processor)40,图4中以一个处理器40为例;存储器(memory)41;调谐器42;解调器43;解码器44;还可以包括通信接口(Communications Interface)45和总线46。其中,处理器40、通信接口45、存储器41可以通过总线46完成相互间的通信。通信接口45可以接收信号,也可以传输音频数据和视频数据。处理器40可以调用存储器41中的逻辑指令,以执行上述实施例的方法。
此外,上述的存储器41中的逻辑指令可以通过软件功能单元的形式实现并 作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器41作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如上述实施例中的方法对应的程序指令或模块。处理器40通过运行存储在存储器41中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。
存储器41可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器41可以包括高速随机存取存储器,还可以包括非易失性存储器。
以上技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行上述实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
工业实用性
本公开提供的播放视频数据的方法及装置,能实现在机顶盒上高速切换节目及快速显示节目,提高用户体验。

Claims (12)

  1. 一种播放视频数据的方法,包括:
    确定是否接收换台指令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令;
    若确定接收所述换台指令,则确定所述换台指令对应的台是否为预测台;
    若确定所述换台指令对应的台为所述预测台,则获取并解码预先存储的与所述换台指令对应的播放数据;以及
    若确定需切换到所述换台指令对应的台,则播放解码后的所述播放数据。
  2. 根据权利要求1所述的方法,其中,所述解码预先存储的与所述换台指令对应的播放数据,包括:
    在数字视频广播DVB播放的同时,锁住所述预测台的频点;
    过滤出所述预测台的节目信息中所需的音频数据包、视频数据包及同步信息数据包,并将过滤出的所述预测台的节目信息存放至随机存取存储器RAM中;以及
    将当将播放的视频存放在所述RAM的最上一层,在后台解码下一个待播放的所述预测台的预测视频。
  3. 根据权利要求1或2所述的方法,还包括:
    若确定未接收所述换台指令,则根据预先设置的预测规则预测所述当前播放频道对应的其他台,并获取且解码所述其他台的播放数据,其中,所述预先设置的预测规则包括所述当前播放频道的相邻间隔N个频道的其他台,N大于或等于1。
  4. 根据权利要求3所述的方法,所述获取所述其他台的播放数据之后,所述方法还包括:
    若确定需切换到所述其他台,则播放解码后的所述其他台的播放数据。
  5. 根据权利要求1或2所述的方法,还包括:
    若确定所述换台指令对应的台不是所述预测台,则确定是否需切换到所述换台指令对应的台;以及
    若确定需切换到所述换台指令对应的台,则播放所述换台指令对应的台的播放数据。
  6. 一种播放视频数据的装置,包括:
    第一确定模块,设置为确定是否接收换台指令,所述换台指令用于切换当前播放频道,所述换台指令包括遥控数据换台指令;
    第二确定模块,设置为若确定接收所述换台指令,则确定所述换台指令对应的台是否为预测台;
    第一获取模块,设置为若确定所述换台指令对应的台为所述预测台,则获取预先存储的与所述换台指令对应的播放数据;
    第一解码模块,设置为解码预先存储的与所述换台指令对应的播放数据;以及
    第一播放模块,设置为若确定需切换到所述换台指令对应的台,则播放解码后的所述播放数据。
  7. 根据权利要求6所述的装置,其中,所述第一解码模块,设置为:
    在数字视频广播DDVB播放的同时,锁住所述预测台的频点;
    过滤出所述预测台的节目信息中所需的音频数据包、视频数据包及同步信息数据包,并将所述预测台的节目信息存放至随机存取存储器RAM中;以及
    将当将播放的视频存放在所述RAM的最上一层,在后台解码下一个待播放 的所述预测台的预测视频。
  8. 根据权利要求6或7所述的装置,还包括:
    第二获取模块,设置为若确定未接收所述换台指令,则根据预先设置的预测规则预测所述当前播放频道对应的其他台,并获取所述其他台的播放数据,其中,所述预先设置的预测规则包括所述当前播放频道的相邻间隔N个频道的其他台,N大于或等于1;以及
    第二解码模块,设置为解码所述其他台的播放数据。
  9. 根据权利要求8所述的装置,还包括:
    第二播放模块,设置为所述获取所述其他台的播放数据之后,若确定需切换到所述其他台,则播放解码后的所述其他台的播放数据。
  10. 根据权利要求6或7所述的装置,还包括:
    第三确定模块,设置为若确定所述换台指令对应的台不是所述预测台,则确定是否需切换到所述换台指令对应的台;以及
    第二播放模块,设置为若确定需切换到所述换台指令对应的台,则播放所述换台指令对应的台的播放数据。
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-5中任一项的方法。
  12. 一种机顶盒,包括:
    至少一个处理器;以及
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行权利要求1-5中任一项的方法。
PCT/CN2017/087648 2016-06-20 2017-06-09 播放视频数据的方法及装置 WO2017219870A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610444550.1A CN105898552A (zh) 2016-06-20 2016-06-20 一种播放视频数据的方法及装置
CN201610444550.1 2016-06-20

Publications (1)

Publication Number Publication Date
WO2017219870A1 true WO2017219870A1 (zh) 2017-12-28

Family

ID=56731089

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087648 WO2017219870A1 (zh) 2016-06-20 2017-06-09 播放视频数据的方法及装置

Country Status (2)

Country Link
CN (1) CN105898552A (zh)
WO (1) WO2017219870A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038150A (zh) * 2019-12-09 2021-06-25 青岛海信宽带多媒体技术有限公司 节目切换方法及装置
CN113973232A (zh) * 2021-09-27 2022-01-25 金钱猫科技股份有限公司 一种视频流切换方法和存储设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898552A (zh) * 2016-06-20 2016-08-24 深圳创维数字技术有限公司 一种播放视频数据的方法及装置
CN106341727A (zh) * 2016-10-08 2017-01-18 北京邦天信息技术有限公司 一种频道切换方法和装置、以及视频终端
CN108537139B (zh) * 2018-03-20 2021-02-19 校宝在线(杭州)科技股份有限公司 一种基于弹幕信息的在线视频精彩片段分析方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040181813A1 (en) * 2003-02-13 2004-09-16 Takaaki Ota Methods and systems for rapid channel change within a digital system
CN102572587A (zh) * 2012-02-22 2012-07-11 广东九联科技股份有限公司 一种快速切换频道的机顶盒及其方法
CN103297852A (zh) * 2013-06-07 2013-09-11 华为终端有限公司 一种提高换台速度的方法、装置及系统
CN104768058A (zh) * 2014-01-03 2015-07-08 北京赛科世纪数码科技有限公司 一种机顶盒快速切换台技术
CN105898552A (zh) * 2016-06-20 2016-08-24 深圳创维数字技术有限公司 一种播放视频数据的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656869A (zh) * 2008-08-21 2010-02-24 华为技术有限公司 频道切换方法、装置及系统
CN104702994A (zh) * 2013-12-06 2015-06-10 中兴通讯股份有限公司 一种媒体播放方法及装置、机顶盒
CN105430489B (zh) * 2014-09-18 2019-01-25 青岛海信宽带多媒体技术有限公司 一种电视频道的切换方法、装置及设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040181813A1 (en) * 2003-02-13 2004-09-16 Takaaki Ota Methods and systems for rapid channel change within a digital system
CN102572587A (zh) * 2012-02-22 2012-07-11 广东九联科技股份有限公司 一种快速切换频道的机顶盒及其方法
CN103297852A (zh) * 2013-06-07 2013-09-11 华为终端有限公司 一种提高换台速度的方法、装置及系统
CN104768058A (zh) * 2014-01-03 2015-07-08 北京赛科世纪数码科技有限公司 一种机顶盒快速切换台技术
CN105898552A (zh) * 2016-06-20 2016-08-24 深圳创维数字技术有限公司 一种播放视频数据的方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038150A (zh) * 2019-12-09 2021-06-25 青岛海信宽带多媒体技术有限公司 节目切换方法及装置
CN113038150B (zh) * 2019-12-09 2023-09-12 青岛海信宽带多媒体技术有限公司 节目切换方法及装置
CN113973232A (zh) * 2021-09-27 2022-01-25 金钱猫科技股份有限公司 一种视频流切换方法和存储设备
CN113973232B (zh) * 2021-09-27 2023-12-29 金钱猫科技股份有限公司 一种视频流切换方法和存储设备

Also Published As

Publication number Publication date
CN105898552A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017219870A1 (zh) 播放视频数据的方法及装置
US11589113B2 (en) Smart start-up of television
KR101377885B1 (ko) 영상표시기기에서 외부입력 라벨 표시 장치 및 방법
WO2017220017A1 (zh) 接收信号源的方法与系统
US9100708B2 (en) Electronic program guides, systems and methods providing a collapsible channel listing
JP4996754B1 (ja) 表示制御装置、及び表示制御方法
KR20120076483A (ko) 복수의 컨텐츠 제공자로부터 제공되는 컨텐츠를 제공/수신하기 위한 방법 및 그 방법을 이용한 시스템 및 장치
US8830400B2 (en) Method, apparatus, and system for implementing picture in picture in home network
US8928805B2 (en) Method for improving channel change in a television appliance
US20150101001A1 (en) Display apparatus and method for channel changing
JP2011211269A (ja) デジタル放送再生装置及びデジタル放送再生プログラム
KR102270360B1 (ko) 디스플레이장치 및 그 제어방법
JP4968797B2 (ja) ビデオ信号プロセッサにおいてテレビジョン・チャンネルを変更するためのシステムおよび方法
CN103209353B (zh) 控制数字视频装置的方法
JP7254751B2 (ja) 受信装置、受信方法およびプログラム
US20140337878A1 (en) Broadcasting receiving apparatus and control method thereof
JP6587778B2 (ja) デジタル放送受信装置、ネットワーク端末システム、及び、デジタル放送受信装置の表示制御方法
JP2009246928A (ja) デジタル放送受信機
TWI517688B (zh) 控制數位視頻裝置的方法
KR101199232B1 (ko) 방송 채널을 전환하는 셋톱박스 및 이를 위한 방법
JP5391567B2 (ja) 受信装置、および受信システム
TWI511563B (zh) TV changer control method and TV host
KR101683116B1 (ko) 디스플레이 기기의 사용자 인터페이스 출력 방법 및 그 방법을 채용한 디스플레이 기기
KR20110107994A (ko) 사용자 인터페이스 표시 방법 및 그 방법을 채용한 디스플레이 기기
CN118102042A (zh) 一种节目显示方法及显示设备

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: 17814608

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17814608

Country of ref document: EP

Kind code of ref document: A1