WO2017181603A1 - Video display method and device - Google Patents

Video display method and device Download PDF

Info

Publication number
WO2017181603A1
WO2017181603A1 PCT/CN2016/100462 CN2016100462W WO2017181603A1 WO 2017181603 A1 WO2017181603 A1 WO 2017181603A1 CN 2016100462 W CN2016100462 W CN 2016100462W WO 2017181603 A1 WO2017181603 A1 WO 2017181603A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
videos
video
preset number
sub
Prior art date
Application number
PCT/CN2016/100462
Other languages
French (fr)
Chinese (zh)
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 WO2017181603A1 publication Critical patent/WO2017181603A1/en

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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/47End-user applications
    • H04N21/482End-user interface for program selection

Abstract

Provided in embodiments of the present invention are a video display method and device. The method comprises: displaying a preset interface, the preset interface comprising a preset number of sub-windows, and the preset number of sub-windows being arranged according to a preset layout; simultaneously requesting the preset number of videos from a server; respectively receiving data packets of the videos sent by the server; when a preset condition is satisfied, simultaneously playing the preset number of videos in the preset number of sub-windows, according to the received data packets, in such a way that each sub-window plays one of the videos. In the embodiments of the present invention, a plurality of (e.g., nine) video programs are simultaneously displayed to a user by means of a plurality of sub-windows, which not only has a strong visual impact and enhances the viewing effect, but also makes it easy for the user to view the videos, allowing the user to focus on a plurality of programs at the same time, to more easily choose from the programs and to select his or her favorite program(s) to watch, thus greatly improving viewing efficiency.

Description

一种视频显示方法及装置Video display method and device
本申请要求于2016年4月19日提交中国专利局、申请号为201610245131.5、发明名称为“一种视频显示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. PCT Application No. No. No. No. No. No. No. No. No. No. No. No. No. .
技术领域Technical field
本发明实施例涉及视频技术,尤其涉及一种视频显示方法及装置。The embodiments of the present invention relate to video technologies, and in particular, to a video display method and apparatus.
背景技术Background technique
通过电视、手机等终端设备观看视频已成为人们生活不可或缺的一部分。例如,用户可以从电视上观看各种卫视频道,或者从手机、平板电脑、个人电脑甚至大屏幕上观看各种直播或点播的影视节目,等等。Watching videos through terminal devices such as TVs and mobile phones has become an indispensable part of people's lives. For example, users can watch various TV channels from the TV, or watch live or on-demand movies and TV shows from mobile phones, tablets, PCs and even large screens.
不过发明人在实现本发明的过程中发现,现有的电视、手机等终端设备,其屏幕上只能播放当前一个视频,用户只能通过浏览节目列表,进行切换操作后才能看到其他节目,不是很方便。However, in the process of implementing the present invention, the inventor has found that the existing terminal devices such as televisions and mobile phones can only play the current one video on the screen, and the user can only see other programs by browsing the program list and performing the switching operation. not convenient.
发明内容Summary of the invention
本发明实施例提供一种视频显示方法及装置,以提高用户观看视频时的效率。Embodiments of the present invention provide a video display method and apparatus to improve efficiency when a user views video.
根据本发明实施例的第一方面,提供一种视频显示方法,所述方法包括:According to a first aspect of the embodiments of the present invention, a video display method is provided, the method comprising:
显示预设界面,所述预设界面中包含有预设数量的子窗口,且所述预设数量的子窗口按照预设布局进行排列;Displaying a preset interface, where the preset interface includes a preset number of sub-windows, and the preset number of sub-windows are arranged according to a preset layout;
向服务器同时请求所述预设数量的视频;Requesting the preset number of videos simultaneously to the server;
分别接收所述服务器发来的各所述视频的数据包;Receiving data packets of each of the videos sent by the server respectively;
当满足预设条件时,在所述预设数量的子窗口中以每个子窗口播放一个所述视频的方式,根据所接收到的数据包同时起播所述预设数量的视频。 When the preset condition is met, one of the video frames is played in each of the preset number of sub-windows, and the preset number of videos are simultaneously broadcasted according to the received data packet.
可选的,所述预设条件包括:Optionally, the preset conditions include:
接收到的各所述视频的数据包的数量均达到预设阈值。The number of received data packets of each of the videos reaches a preset threshold.
可选的,所述根据所接收到的数据包同时起播所述预设数量的视频,包括:Optionally, the starting, according to the received data packet, the preset number of videos, including:
在同时起播前缓存收到的各所述视频的数据包;Cache the received data packets of each of the videos before starting the broadcast at the same time;
当满足所述预设条件时,均从每个视频的第一个数据包开始同时起播所述预设数量的视频。When the preset condition is met, the preset number of videos are simultaneously broadcasted from the first data packet of each video.
可选的,所述根据所接收到的数据包同时起播所述预设数量的视频,包括:Optionally, the starting, according to the received data packet, the preset number of videos, including:
在同时起播前在后台播放已收到的数据包;Play the received data packet in the background before starting the broadcast at the same time;
当满足所述预设条件时,均从每个视频当前收到的数据包开始同时起播所述预设数量的视频。When the preset condition is met, the preset number of videos are simultaneously broadcasted from the data packet currently received by each video.
可选的,所述预设数量为九个,所述预设布局为三乘三的布局。Optionally, the preset number is nine, and the preset layout is a three by three layout.
可选的:Optional:
所述预设数量的视频为人工指定的视频,或者,The preset number of videos is a manually designated video, or
所述预设数量的视频为根据所述用户的观看习惯而确定的视频。The preset number of videos is a video determined according to the viewing habits of the user.
根据本发明实施例的第二方面,提供一种视频显示装置,所述装置包括:According to a second aspect of the embodiments of the present invention, a video display apparatus is provided, the apparatus comprising:
窗口显示单元,用于显示预设界面,所述预设界面中包含有预设数量的子窗口,且所述预设数量的子窗口按照预设布局进行排列;a window display unit, configured to display a preset interface, where the preset interface includes a preset number of sub-windows, and the preset number of sub-windows are arranged according to a preset layout;
视频请求单元,用于向服务器同时请求所述预设数量的视频;a video requesting unit, configured to simultaneously request the preset number of videos to the server;
视频接收单元,用于分别接收所述服务器发来的各所述视频的数据包;a video receiving unit, configured to separately receive data packets of each of the videos sent by the server;
视频播放单元,用于当满足预设条件时,在所述预设数量的子窗口中以每个子窗口播放一个所述视频的方式,根据所接收到的数据包同时起播所述预设数量的视频。a video playing unit, configured to play a video in each of the preset number of sub-windows in a preset number of sub-windows, and simultaneously play the preset quantity according to the received data packet Video.
可选的,所述预设条件包括: Optionally, the preset conditions include:
接收到的各所述视频的数据包的数量均达到预设阈值。The number of received data packets of each of the videos reaches a preset threshold.
可选的,所述视频播放单元包括:Optionally, the video playing unit includes:
缓存子单元,用于在同时起播前缓存收到的各所述视频的数据包;a buffer subunit, configured to cache the received data packets of each of the videos before starting the broadcast simultaneously;
第一播放子单元,用于当满足所述预设条件时,均从每个视频的第一个数据包开始同时起播所述预设数量的视频。The first playing subunit is configured to simultaneously start the preset number of videos from the first data packet of each video when the preset condition is met.
可选的,所述视频播放单元包括:Optionally, the video playing unit includes:
后台播放子单元,用于在同时起播前在后台播放已收到的数据包;The background playing subunit is configured to play the received data packet in the background before starting the broadcast at the same time;
第二播放子单元,用于当满足所述预设条件时,均从每个视频当前收到的数据包开始同时起播所述预设数量的视频。The second playing subunit is configured to: when the preset condition is met, start playing the preset number of videos simultaneously from the data packet currently received by each video.
可选的,所述预设数量为九个,所述预设布局为三乘三的布局。Optionally, the preset number is nine, and the preset layout is a three by three layout.
可选的:Optional:
所述预设数量的视频为人工指定的视频,或者,The preset number of videos is a manually designated video, or
所述预设数量的视频为根据所述用户的观看习惯而确定的视频。The preset number of videos is a video determined according to the viewing habits of the user.
根据本发明实施例的第三方面,提供一种非易失性计算机可读存储介质,其中,该非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项视频显示方法。According to a third aspect of the embodiments of the present invention, there is provided a non-transitory computer readable storage medium, wherein the non-transitory computer-readable storage medium stores computer-executable instructions for Perform any of the above video display methods.
本发明实施例还提供了一种电子设备,包括:一个或多个处理器;以及,存储器;其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被设置为用于执行上述任一项视频显示方法。An embodiment of the present invention further provides an electronic device, including: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, the instructions being Set to perform any of the above video display methods.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一项视频显示方法。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are When executed, the computer is caused to perform any of the above video display methods.
本发明的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:
在本发明实施例中,可以在一个界面中通过众多子窗口同时向用户展示多个(例如九个)视频节目,不但具有较强的视觉冲击力,提升了 观看效果,而且方便用户收看,使用户可以同时关注多个节目,也可以更容易的对节目进行选择,挑选出喜爱的节目进行收看,从而大大提高了观看效率。In the embodiment of the present invention, multiple (for example, nine) video programs can be simultaneously displayed to the user through a plurality of sub-windows in one interface, which not only has a strong visual impact, but also improves. The viewing effect is convenient for the user to watch, so that the user can pay attention to a plurality of programs at the same time, and the program can be selected more easily, and the favorite programs can be selected for viewing, thereby greatly improving the viewing efficiency.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是根据本发明一示例性实施例示出的一种视频显示方法的流程图;FIG. 1 is a flowchart of a video display method according to an exemplary embodiment of the present invention;
图2是根据本发明一示例性实施例示出的界面示意图;2 is a schematic diagram of an interface according to an exemplary embodiment of the present invention;
图3是根据本发明一示例性实施例示出的界面示意图;FIG. 3 is a schematic diagram of an interface according to an exemplary embodiment of the invention; FIG.
图4是根据本发明一示例性实施例示出的界面示意图;FIG. 4 is a schematic diagram of an interface according to an exemplary embodiment of the invention; FIG.
图5是根据本发明一示例性实施例示出的场景示意图;FIG. 5 is a schematic diagram of a scene according to an exemplary embodiment of the invention; FIG.
图6是根据本发明一示例性实施例示出的一种视频显示方法的流程图;FIG. 6 is a flowchart of a video display method according to an exemplary embodiment of the present invention; FIG.
图7是根据本发明一示例性实施例示出的数据包缓存示意图;FIG. 7 is a schematic diagram of packet buffering according to an exemplary embodiment of the present invention; FIG.
图8是根据本发明一示例性实施例示出的一种视频显示方法的流程图;FIG. 8 is a flowchart of a video display method according to an exemplary embodiment of the present invention; FIG.
图9是根据本发明一示例性实施例示出的界面及操作示意图;FIG. 9 is a schematic diagram showing an interface and an operation according to an exemplary embodiment of the present invention; FIG.
图10是根据本发明一示例性实施例示出的界面及操作示意图;FIG. 10 is a schematic diagram showing an interface and an operation according to an exemplary embodiment of the present invention; FIG.
图11是根据本发明一示例性实施例示出的界面及操作示意图;FIG. 11 is a schematic diagram showing an interface and an operation according to an exemplary embodiment of the present invention; FIG.
图12是根据本发明一示例性实施例示出的界面及操作示意图; FIG. 12 is a schematic diagram showing an interface and an operation according to an exemplary embodiment of the present invention; FIG.
图13是根据本发明一示例性实施例示出的界面示意图;FIG. 13 is a schematic diagram of an interface according to an exemplary embodiment of the present invention; FIG.
图14是根据本发明一示例性实施例示出的界面示意图;FIG. 14 is a schematic diagram of an interface according to an exemplary embodiment of the present invention; FIG.
图15是根据本发明一示例性实施例示出的一种视频显示装置的示意图;FIG. 15 is a schematic diagram of a video display device according to an exemplary embodiment of the invention; FIG.
图16是根据本发明一示例性实施例示出的一种视频显示装置的示意图;FIG. 16 is a schematic diagram of a video display device according to an exemplary embodiment of the invention; FIG.
图17是根据本发明一示例性实施例示出的一种视频显示装置的示意图;FIG. 17 is a schematic diagram of a video display device according to an exemplary embodiment of the invention; FIG.
图18是根据本发明一示例性实施例示出的一种电子设备的结构示意图。FIG. 18 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the invention.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with aspects of the invention as detailed in the appended claims.
图1是根据本发明一示例性实施例示出的一种视频显示方法的流程图。该方法可以用于手机、平板电脑、电视、投影器、大屏幕等电子设备。FIG. 1 is a flow chart showing a video display method according to an exemplary embodiment of the present invention. The method can be used for electronic devices such as mobile phones, tablet computers, televisions, projectors, and large screens.
参见图1所示,该方法可以包括如下步骤:Referring to FIG. 1, the method may include the following steps:
步骤S101,显示预设界面,所述预设界面中包含有预设数量的子窗口,且所述预设数量的子窗口按照预设布局进行排列。Step S101: Display a preset interface, where the preset interface includes a preset number of sub-windows, and the preset number of sub-windows are arranged according to a preset layout.
例如,可以接收用户的开启指令,然后根据所述开启指令,显示所述预设界面。For example, the user's open command can be received, and then the preset interface is displayed according to the open command.
在本实施例中,可以将所述预设界面称为Livewall(直播墙)。以电 子设备是手机为例,当用户想启用Livewall时,可以点击屏幕中的某功能按钮,从而发出开启指令。In this embodiment, the preset interface may be referred to as a Livewall. Electric The child device is a mobile phone. For example, when the user wants to enable the Livewall, he can click a function button on the screen to issue an open command.
对于预设数量具体为多少本实施例并不进行限制,同时对于这些子窗口的布局形式也并不进行限制,本领域技术人员可以根据不同需求或不同场景来自行设计,可以在此处使用的这些设计都没有背离本发明的精神和保护范围。There is no limitation on the number of preset embodiments, and the layout form of these sub-windows is not limited. Those skilled in the art can design according to different needs or different scenarios, and can be used here. None of these designs depart from the spirit and scope of the invention.
作为一种示例,所述预设数量可以为九个,所述预设布局可以为三乘三的布局。As an example, the preset number may be nine, and the preset layout may be a three by three layout.
这种布局可参见图2所示,在图2中电子设备为手机201,手机201的Livewall界面中有3×3共九个子窗口,其中一个子窗口为202。As shown in FIG. 2, the electronic device is the mobile phone 201. The Livewall interface of the mobile phone 201 has a total of nine sub-windows of 3×3, and one of the sub-windows is 202.
而在另一中场景中,如图3所示,Livewall界面中也可以有十二个子窗口,呈现3×4的布局,等等。In another scenario, as shown in FIG. 3, there may also be twelve sub-windows in the Livewall interface, presenting a 3×4 layout, and so on.
电子设备除了是手机外,还可以是电视机等,作为示例可参见图4,在图4中电视机的Livewall界面内有以3×3形式布局的共九个子窗口。In addition to being a mobile phone, the electronic device can also be a television set or the like. As an example, reference can be made to FIG. 4. In the Livewall interface of the television set, there are a total of nine sub-windows arranged in a 3×3 format.
为了方便描述,以下均以Livewall界面中有九个子窗口为例进行说明。For convenience of description, the following describes the nine sub-windows in the Livewall interface as an example.
在同时起播所述预设数量的视频之前,对于如何获取所述预设数量的视频,本实施例并不进行限制。获取视频的数量也为预设数量,也即所述视频的数量与子窗口数量相同。如果有九个子窗口,则也获取九个视频,以使每个子窗口中播放一个获取到的视频。Before the preset number of videos are simultaneously broadcasted, the embodiment does not limit how to obtain the preset number of videos. The number of acquired videos is also a preset number, that is, the number of videos is the same as the number of child windows. If there are nine child windows, then nine videos are also acquired so that one of the acquired videos is played in each child window.
对于所获取到的视频的来源本实施例并不进行限制,例如所述视频可以为直播节目,或者为轮播节目,或者为与电视台同步的节目,等等。其中,轮播节目是指按照某种规则进行轮番播放的节目,例如可以轮番播放某电视剧,等等。The source of the obtained video is not limited in this embodiment, for example, the video may be a live program, or a carousel program, or a program synchronized with a television station, and the like. Among them, the carousel program refers to a program that is played in turn according to certain rules, for example, a TV drama can be played in turn, and the like.
对于获取视频的方式本实施例也并不进行限制,例如可以随机地获取九个视频。The manner in which the video is obtained is also not limited in this embodiment. For example, nine videos can be randomly acquired.
作为示例,所述获取所述预设数量的视频,可以包括:As an example, the acquiring the preset number of videos may include:
获取人工指定的所述预设数量的视频; Obtaining the preset number of videos specified manually;
或者,or,
根据所述用户的观看习惯,获取所述预设数量的视频。Obtaining the preset number of videos according to the viewing habits of the user.
例如运营人员可以预先设置好这九个子窗口各播放什么节目,当用户开启Livewall功能后,便可以按照该预先设置进行起播。For example, the operator can pre-set what programs are played in the nine sub-windows. When the user opens the Livewall function, the user can start the broadcast according to the preset settings.
又例如系统可以在后台预先统计该用户的观看习惯,举例来讲,若用户喜欢观看某连续剧,则当该用户开启Livewall功能后,可以让这九个子窗口同时起播该连续剧,每个子窗口播放一集;再举例来讲,若通过统计发现该用户喜欢观看足球比赛,或者喜欢观看某个导演的电影,则当该用户开启Livewall功能后,可以让这九个子窗口同时起播相应的内容,如每个窗口播放一场足球比赛,或者每个窗口播放一部该导演的电影。For example, the system can pre-count the viewing habits of the user in the background. For example, if the user likes to watch a series, after the user opens the Livewall function, the nine sub-windows can simultaneously play the series, and each sub-window plays. For example, if it is found through statistics that the user likes to watch a football game, or likes to watch a movie of a director, when the user turns on the Livewall function, the nine child windows can be simultaneously broadcasted correspondingly. For example, each window plays a football match, or each window plays a movie of the director.
步骤S102,向服务器同时请求所述预设数量的视频。Step S102: The preset number of videos are simultaneously requested from the server.
作为示例可参见图5所示,在图5中,作为电子设备的手机502向服务器501同时发出对多个视频的请求。As an example, as shown in FIG. 5, in FIG. 5, the mobile phone 502 as an electronic device simultaneously issues a request for a plurality of videos to the server 501.
对于向服务器同时请求所述预设数量的视频的步骤,可以在显示预设界面的步骤之前,也可以在其之后,等等,对此本实施例并不进行限制。The step of simultaneously requesting the preset number of videos to the server may be before or after the step of displaying the preset interface, etc., and the embodiment is not limited thereto.
步骤S103,分别接收所述服务器发来的各所述视频的数据包。Step S103, respectively receiving data packets of each of the videos sent by the server.
步骤S104,当满足预设条件时,在所述预设数量的子窗口中以每个子窗口播放一个所述视频的方式,根据所接收到的数据包同时起播所述预设数量的视频。In step S104, when the preset condition is met, one of the video frames is played in each of the preset number of sub-windows, and the preset number of videos are simultaneously broadcasted according to the received data packet.
在本实施例中,当需要播放各子窗口中的视频时,各窗口中的视频是同时起播,而不是有先有后有快有慢的起播。In this embodiment, when the video in each sub-window needs to be played, the video in each window is simultaneously broadcasted, instead of having a fast start and a slow start.
作为示例,所以预设条件可以包括:As an example, the preset conditions may include:
接收到的各所述视频的数据包的数量均达到预设阈值。The number of received data packets of each of the videos reaches a preset threshold.
对于一个视频来讲,由于视频的体积一般都较大,所以在通过网络传输时,服务器可以先将视频进行分割,得到一个个数据包(在本发明中一个数据包也可以称为是一个视频切片),然后逐一发送给电子设备, 电子设备接收到数据包之后,当满足某条件时,例如收到的数据包的数量已达到预设阈值,便可以起播该视频,从而达到边接收边播放的效果。For a video, since the volume of the video is generally large, when transmitting over the network, the server can first divide the video to obtain one data packet (in the present invention, a data packet can also be called a video. Slice) and then send them to the electronic device one by one, After the electronic device receives the data packet, when a certain condition is met, for example, the number of received data packets has reached a preset threshold, the video can be broadcasted, thereby achieving the effect of playing while receiving.
在本实施例中,由于要达到九个子窗口同时起播的效果,所以需要等至各子窗口视频的数据包的数量均达到预设阈值,而非一个子窗口达到阈值了就起播该子窗口。In this embodiment, since the effect of simultaneously starting the nine sub-windows is to be achieved, it is necessary to wait until the number of data packets of each sub-window video reaches a preset threshold, and instead of a sub-window reaching the threshold, the sub-window is broadcasted. window.
在本实施例或本发明其他某些实施例中,对于如何根据所接收到的数据包同时起播所述预设数量的视频,可以有多种实现方式,对此本实施例并不进行限制。In this embodiment or some other embodiments of the present invention, there may be multiple implementation manners for how to start the preset number of videos according to the received data packet, which is not limited in this embodiment. .
作为示例,参见图6所示,所述根据所接收到的数据包同时起播所述预设数量的视频,可以包括:As an example, as shown in FIG. 6, the starting the broadcast of the preset number of videos according to the received data packet may include:
步骤S601,在同时起播前缓存收到的各所述视频的数据包。Step S601, buffering the received data packets of each of the videos before starting the simultaneous broadcast.
步骤S602,当满足所述预设条件时,均从每个视频的第一个数据包开始同时起播所述预设数量的视频。Step S602: When the preset condition is met, the preset number of videos are simultaneously started from the first data packet of each video.
例如可参见图7所示,在图7中702为服务器701向电子设备发来的一个视频的一个数据包,在图7中电子设备上有四个待播放视频,同时起播的预设条件是每个视频都需要收到至少一个数据包,从图中可以看到有三个视频分别已收到了3、1、2个数据包,而还有一个视频尚未收到数据包,所以当前不能起播,对于已经收到的数据包,先进行缓存。For example, as shown in FIG. 7, in FIG. 7, 702 is a data packet of a video sent by the server 701 to the electronic device, and in FIG. 7, the electronic device has four videos to be played, and the preset conditions for starting the broadcast. It is necessary to receive at least one data packet for each video. From the figure, it can be seen that three videos have received 3, 1, 2 data packets respectively, and another video has not received the data packet, so it cannot currently start. Broadcast, for the packets that have been received, first cache.
这种方式的优点是同时起播时均从每个视频的开头(即每个视频的第一个数据包)开始播放,使用户可以完整的看到视频。The advantage of this method is that it starts playing from the beginning of each video (that is, the first packet of each video) at the same time, so that the user can see the video completely.
作为另一个示例,参见图8所示,所述根据所接收到的数据包同时起播所述预设数量的视频,可以包括:As another example, referring to FIG. 8 , the starting the broadcast of the preset number of videos according to the received data packet may include:
步骤S801,在同时起播前在后台播放已收到的数据包。In step S801, the received data packet is played in the background before being simultaneously broadcasted.
步骤S802,当满足所述预设条件时,均从每个视频当前收到的数据包开始同时起播所述预设数量的视频。Step S802: When the preset condition is met, the preset number of videos are simultaneously started from the data packet currently received by each video.
这种方式的优点是同时起播时可从视频当前最新画面开始起播,这对于直播节目来讲,使得子窗口起播时就与直播同步,避免滞后。The advantage of this method is that it can be broadcasted from the current latest video of the video at the same time. For the live broadcast, the sub-window is synchronized with the live broadcast when the broadcast is started, to avoid lag.
在本实施例中,可以在一个界面中通过众多子窗口同时向用户展示 多个(例如九个)视频节目,不但具有较强的视觉冲击力,提升了观看效果,而且方便用户收看,使用户可以同时关注多个节目,也可以更容易的对节目进行选择,挑选出喜爱的节目进行收看,从而大大提高了观看效率。In this embodiment, the user can be simultaneously presented to the user through a plurality of sub-windows in one interface. Multiple (for example, nine) video programs not only have strong visual impact, but also enhance the viewing effect, and are convenient for users to watch, so that users can pay attention to multiple programs at the same time, and it is also easier to select programs and select them. The favorite programs are watched, which greatly improves the viewing efficiency.
另外,在本实施例或本发明其他某些实施例中,所述方法还可以包括:In addition, in this embodiment or some other embodiments of the present invention, the method may further include:
接收用户针对其中一个子窗口的观看指令。A user receives a viewing instruction for one of the child windows.
根据所述观看指令,进入所述子窗口对应视频的独立播放界面。And according to the viewing instruction, enter an independent play interface of the video corresponding to the sub-window.
例如用户可以使用手指点击其中一个子窗口,从而发出观看指令,则界面离开Livewall,进入到该用户所点击的子窗口对应视频的独立播放界面,从而使该用户开始正常观看该视频。For example, the user can click on one of the child windows to issue a viewing instruction, and the interface leaves the Livewall to enter the independent playing interface of the video corresponding to the child window clicked by the user, so that the user starts to view the video normally.
在本实施例或本发明其他某些实施例中,所述方法还可以包括:In this embodiment or some other embodiments of the present invention, the method may further include:
接收用户的刷新指令。Receive the user's refresh command.
根据所述刷新指令,获取另一批所述预设数量的视频。And acquiring another batch of the preset number of videos according to the refresh instruction.
对于获取的具体方式本实施例也并不进行限制,例如可以获取运营人员所述设置的另一批节目,或者根据用户习惯获取另外一批视频,等等。The specific manner of obtaining the embodiment is also not limited. For example, another batch of programs set by the operator may be obtained, or another batch of videos may be acquired according to user habits, and the like.
在所述预设数量的子窗口中同时起播所述另一批视频。The another batch of videos is simultaneously played in the preset number of sub-windows.
例如参见图9所示,在Livewall界面中,用户可以点击右上角的刷新按钮,从而发出刷新指令,将原来子窗口中播放的视频1~视频9替换为视频10~视频18。For example, as shown in FIG. 9, in the Livewall interface, the user can click the refresh button in the upper right corner to issue a refresh command, and replace the video 1 to video 9 played in the original sub-window with the video 10 to the video 18.
此外,在本实施例或本发明其他某些实施例中,该方法还可以包括:In addition, in this embodiment or some other embodiments of the present invention, the method may further include:
当检测到用户的第一预设操作时,在每个所述子窗口中播放相应视频的同时,显示所播放视频的第一指定信息。When the first preset operation of the user is detected, the first specified information of the played video is displayed while playing the corresponding video in each of the sub-windows.
对于第一预设操作的具体内容本实施例并不进行限制,本领域技术 人员可以根据不同需求或不同场景来自行设计,可以在此处使用的这些设计都没有背离本发明的精神和保护范围。The specific content of the first preset operation is not limited in this embodiment, and the technology in the field Personnel can be designed according to different needs or different scenarios, and the designs that can be used herein do not depart from the spirit and scope of the present invention.
举例来讲,参见图10所示,第一预设操作可以是在屏幕左侧边缘从上而下的滑动操作。For example, referring to FIG. 10, the first preset operation may be a sliding operation from top to bottom on the left edge of the screen.
对于第一指定信息的具体内容本实施例也并不进行限制,例如可以为子窗口中正在播放的视频的简介信息,等等。The specific content of the first designated information is also not limited in this embodiment, and may be, for example, profile information of a video being played in a sub-window, and the like.
在本实施例或本发明其他某些实施例中,所述方法还可以包括:In this embodiment or some other embodiments of the present invention, the method may further include:
输出指定子窗口所播放视频的声音。Outputs the sound of the video played by the specified sub-window.
作为示例,指定子窗口可以是按从左到右且从上到下的顺序时的第一个子窗口,也即左上角的子窗口。As an example, the specified child window may be the first child window in the order from left to right and top to bottom, that is, the child window in the upper left corner.
另外在其他一些实施例中,也可以不播放任何子窗口视频的声音,如设置为静音,或者播放其他声音(如背景音乐),等等,对此本实施例也并不进行限制。In other embodiments, the sound of any sub-window video may not be played, such as being set to mute, or playing other sounds (such as background music), etc., and the embodiment is not limited thereto.
在本实施例或本发明其他某些实施例中,在检测到用户的第一预设操作时,所述方法还可以包括:In this embodiment or some other embodiments of the present invention, when the first preset operation of the user is detected, the method may further include:
在每个子窗口中显示声音切换按钮;Display a sound switching button in each sub-window;
当用户点击了其中一个子窗口的声音切换按钮后,改为输出所点击的声音切换按钮所对应视频的声音。When the user clicks the sound switching button of one of the sub-windows, the sound of the video corresponding to the clicked sound switching button is output.
作为示例可参见图11所示,用户于屏幕左侧边缘进行了从上而下的滑动操作后,各子窗口中便会像图11那样出现声音切换按钮(如图11中1101所示)及第一指定信息(如图11中1102所指虚线框中的内容)。在图11中当前正在输出左上角第一个子窗口的视频的声音,其余子窗口中的声音切换按钮均为静音样式,用户可以点击其中一个静音样式的声音切换按钮,从而令电子设备输出的声音切换为所点击子窗口的视频的声音。As an example, as shown in FIG. 11, after the user performs a sliding operation from top to bottom on the left edge of the screen, a sound switching button (shown as 1101 in FIG. 11) appears in each sub-window as shown in FIG. 11 and The first specified information (such as the content of the dotted line indicated by 1102 in FIG. 11). In Figure 11, the sound of the video of the first sub-window in the upper left corner is currently being output, and the sound switching buttons in the other sub-windows are all in a silent style, and the user can click on one of the silent style sound switching buttons to output the electronic device. The sound switches to the sound of the video of the clicked child window.
在本实施例或本发明其他某些实施例中,所述方法还包括:In this embodiment or some other embodiments of the present invention, the method further includes:
如果在预设时长内未检测到任何操作,则取消显示所述第一指定信息及所述声音切换按钮。 If no operation is detected within the preset duration, the first designation information and the sound switching button are cancelled.
例如出现图11所示的声音切换按钮及第一指定信息后,10s内未检测到用户的任何操作,则可以恢复为图2所示的界面,即取消显示所述第一指定信息及所述声音切换按钮。For example, after the sound switching button and the first designation information shown in FIG. 11 are present, if no operation of the user is detected within 10 seconds, the interface shown in FIG. 2 may be restored, that is, the first designation information and the Sound switch button.
在本实施例或本发明其他某些实施例中,所述方法还可以包括:In this embodiment or some other embodiments of the present invention, the method may further include:
当检测到用户的第二预设操作时,使全部子窗口停止播放视频,改为在每个子窗口中显示所播放视频的第二指定信息。When the second preset operation of the user is detected, all the sub-windows are stopped to play the video, and the second specified information of the played video is displayed in each sub-window instead.
对于第二预设操作和第二指定信息的具体内容本实施例也并不进行限制,本领域技术人员可以根据不同需求或不同场景来自行设计,可以在此处使用的这些设计都没有背离本发明的精神和保护范围。The specific content of the second preset operation and the second specified information is not limited in this embodiment, and those skilled in the art may design according to different needs or different scenarios, and the designs that can be used herein do not deviate from the present design. The spirit of the invention and the scope of protection.
作为示例,第二指定信息可以为海报信息,第二预设操作可以为长按屏幕的操作。As an example, the second specified information may be poster information, and the second preset operation may be an operation of long pressing the screen.
可参见图12及图13所示,在图12中,用户长按屏幕,在弹出的对话框中点击确定按钮,则九个子窗口均停止播放视频,各子窗口改为显示原播放视频的海报,如图13所示。Referring to FIG. 12 and FIG. 13 , in FIG. 12 , the user presses the screen long and clicks the OK button in the pop-up dialog box, then the nine sub-windows stop playing the video, and each sub-window is changed to display the original playing video poster. , as shown in Figure 13.
在本实施例或本发明其他某些实施例中,所述方法还可以包括:In this embodiment or some other embodiments of the present invention, the method may further include:
在显示所述第二指定信息时,如果检测到用户的第三预设操作,则改为在每个子窗口中显示所播放视频的第三指定信息。When the second designation information is displayed, if the third preset operation of the user is detected, the third designation information of the played video is displayed in each sub-window instead.
作为示例第三预设操作也可以为长按屏幕的操作,第三指定信息可以为视频的详情。As an example, the third preset operation may also be an operation of long pressing the screen, and the third designated information may be the details of the video.
可参见图14所示,当用户在图13的界面上再次长按屏幕时,便可以显示图14所示的内容,即每个子窗口中显示原播放视频的详情信息,例如可以包括视频名称、当前是第多少集,下一集是第多少集,等等。Referring to FIG. 14 , when the user presses the screen again on the interface of FIG. 13 , the content shown in FIG. 14 can be displayed, that is, the detailed information of the original played video is displayed in each sub-window, for example, the video name, What is the current episode, the next episode is the first episode, and so on.
下述为本发明装置实施例,可以用于执行本发明方法实施例。对于本发明装置实施例中未披露的细节,请参照本发明方法实施例。The following is an embodiment of the apparatus of the present invention, which can be used to carry out the method embodiments of the present invention. For details not disclosed in the embodiment of the device of the present invention, please refer to the method embodiment of the present invention.
图15是根据本发明一示例性实施例示出的一种视频显示装置的示意图。FIG. 15 is a schematic diagram of a video display device according to an exemplary embodiment of the invention.
参见图15所示,该装置可以包括: Referring to Figure 15, the apparatus can include:
窗口显示单元1501,用于显示预设界面,所述预设界面中包含有预设数量的子窗口,且所述预设数量的子窗口按照预设布局进行排列;The window display unit 1501 is configured to display a preset interface, where the preset interface includes a preset number of sub-windows, and the preset number of sub-windows are arranged according to a preset layout;
视频请求单元1502,用于向服务器同时请求所述预设数量的视频;The video requesting unit 1502 is configured to simultaneously request the preset number of videos from the server;
视频接收单元1503,用于分别接收所述服务器发来的各所述视频的数据包;a video receiving unit 1503, configured to separately receive data packets of each of the videos sent by the server;
视频播放单元1504,用于当满足预设条件时,在所述预设数量的子窗口中以每个子窗口播放一个所述视频的方式,根据所接收到的数据包同时起播所述预设数量的视频。The video playing unit 1504 is configured to: when the preset condition is met, play the video in each of the preset number of sub-windows in a manner of each of the sub-windows, and simultaneously start the preset according to the received data packet. The number of videos.
在本实施例或本发明其他某些实施例中,所述预设条件包括:In this embodiment or some other embodiments of the present invention, the preset condition includes:
接收到的各所述视频的数据包的数量均达到预设阈值。The number of received data packets of each of the videos reaches a preset threshold.
参见图16所示,在本实施例或本发明其他某些实施例中,所述视频播放单元包括:Referring to FIG. 16, in this embodiment or some other embodiments of the present invention, the video playing unit includes:
缓存子单元1601,用于在同时起播前缓存收到的各所述视频的数据包;The buffer subunit 1601 is configured to buffer the received data packets of each of the videos before starting the broadcast simultaneously;
第一播放子单元1602,用于当满足所述预设条件时,均从每个视频的第一个数据包开始同时起播所述预设数量的视频。The first playing sub-unit 1602 is configured to simultaneously start the preset number of videos from the first data packet of each video when the preset condition is met.
参见图17所示,在本实施例或本发明其他某些实施例中,所述视频播放单元包括:As shown in FIG. 17, in this embodiment or some other embodiments of the present invention, the video playing unit includes:
后台播放子单元1701,用于在同时起播前在后台播放已收到的数据包;The background playing subunit 1701 is configured to play the received data packet in the background before starting the simultaneous broadcast;
第二播放子单元1702,用于当满足所述预设条件时,均从每个视频当前收到的数据包开始同时起播所述预设数量的视频。The second playing subunit 1702 is configured to: when the preset condition is met, start playing the preset number of videos simultaneously from a data packet currently received by each video.
在本实施例或本发明其他某些实施例中,所述预设数量为九个,所述预设布局为三乘三的布局。In this embodiment or some other embodiments of the present invention, the preset number is nine, and the preset layout is a three by three layout.
在本实施例或本发明其他某些实施例中:In this embodiment or some other embodiment of the invention:
所述预设数量的视频为人工指定的视频,或者,The preset number of videos is a manually designated video, or
所述预设数量的视频为根据所述用户的观看习惯而确定的视频。 The preset number of videos is a video determined according to the viewing habits of the user.
在本实施例中,可以在一个界面中通过众多子窗口同时向用户展示多个(例如九个)视频节目,不但具有较强的视觉冲击力,提升了观看效果,而且方便用户收看,使用户可以同时关注多个节目,也可以更容易的对节目进行选择,挑选出喜爱的节目进行收看,从而大大提高了观看效率。In this embodiment, multiple (for example, nine) video programs can be simultaneously displayed to the user through a plurality of sub-windows in one interface, which not only has a strong visual impact, but also enhances the viewing effect, and is convenient for the user to watch and make the user It is possible to pay attention to a plurality of programs at the same time, and it is also easier to select a program and select a favorite program for viewing, thereby greatly improving the viewing efficiency.
关于上述实施例中的装置,其中各个单元\模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。With regard to the apparatus in the above embodiment, the specific manner in which each unit\module performs an operation has been described in detail in the embodiment relating to the method, and will not be explained in detail herein.
本申请实施例还提供了一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任一方法实施例中的视频显示方法。The embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions, which can execute any of the foregoing method embodiments The video display method in .
图18是本申请实施例提供的执行视频显示方法的电子设备的硬件结构示意图,如图18所示,该设备包括:FIG. 18 is a schematic structural diagram of hardware of an electronic device for performing a video display method according to an embodiment of the present disclosure. As shown in FIG. 18, the device includes:
一个或多个处理器1810以及存储器1820,图18中以一个处理器1810为例。One or more processors 1810 and memory 1820, one processor 1810 is exemplified in FIG.
执行视频显示方法的设备还可以包括:输入装置1830和输出装置1840。The apparatus that performs the video display method may further include: an input device 1830 and an output device 1840.
处理器1810、存储器1820、输入装置1830和输出装置1840可以通过总线或者其他方式连接,图18中以通过总线连接为例。The processor 1810, the memory 1820, the input device 1830, and the output device 1840 may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
存储器1820作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的视频显示方法对应的程序指令/模块(例如,附图15所示的窗口显示单元、视频请求单元1502、视频接收单元1503和视频播放单元1504)。处理器1810通过运行存储在存储器1820中的非易失性软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例中的视频显示方法。The memory 1820 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program instruction corresponding to the video display method in the embodiment of the present application. / Module (for example, the window display unit, the video requesting unit 1502, the video receiving unit 1503, and the video playing unit 1504 shown in FIG. 15). The processor 1810 performs various functional applications and data processing of the electronic device by executing non-volatile software programs, instructions, and modules stored in the memory 1820, that is, implementing the video display method in the above method embodiments.
存储器1820可以包括存储程序区和存储数据区,其中,存储程序区 可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据视频显示装置(如附图15至附图17任一项视频显示装置)的使用所创建的数据等。此外,存储器1820可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器1820可选包括相对于处理器1810远程设置的存储器,这些远程存储器可以通过网络连接至视频显示装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1820 may include a storage program area and a storage data area, wherein the program area is stored The operating system, an application required for at least one function may be stored; the storage data area may store data or the like created according to the use of the video display device (such as the video display device of any of FIGS. 15 to 17). Moreover, memory 1820 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 1820 can optionally include memory remotely located relative to processor 1810, which can be connected to the video display device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置1830可接收输入的数字或字符信息,以及产生与视频显示装置的用户设置以及功能控制有关的键信号输入。输出装置1840可包括显示屏等显示设备。 Input device 1830 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the video display device. The output device 1840 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器1820中,当被所述一个或者多个处理器1810执行时,执行上述任意方法实施例中的视频显示方法。The one or more modules are stored in the memory 1820, and when executed by the one or more processors 1810, perform the video display method in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
本发明实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the invention exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展 性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability , reliability, security, scalability Sexuality, manageability and other aspects are highly demanding.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一方法实施例中的视频显示方法。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are When executed, the computer is caused to perform the video display method in any of the above method embodiments.
需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。It should be noted that those skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer. In a readable storage medium, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由所附的权利要求指出。Other embodiments of the invention will be apparent to those skilled in the <RTIgt; The present application is intended to cover any variations, uses, or adaptations of the present invention, which are in accordance with the general principles of the present invention and include common general knowledge or conventional technical means in the art that are not disclosed in the present invention. . The specification and examples are to be regarded as illustrative only,
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。 It is to be understood that the invention is not limited to the details of the details of The scope of the invention is limited only by the appended claims.

Claims (15)

  1. 一种视频显示方法,其特征在于,应用于电子设备,所述方法包括:A video display method is applied to an electronic device, and the method includes:
    显示预设界面,所述预设界面中包含有预设数量的子窗口,且所述预设数量的子窗口按照预设布局进行排列;Displaying a preset interface, where the preset interface includes a preset number of sub-windows, and the preset number of sub-windows are arranged according to a preset layout;
    向服务器同时请求所述预设数量的视频;Requesting the preset number of videos simultaneously to the server;
    分别接收所述服务器发来的各所述视频的数据包;Receiving data packets of each of the videos sent by the server respectively;
    当满足预设条件时,在所述预设数量的子窗口中以每个子窗口播放一个所述视频的方式,根据所接收到的数据包同时起播所述预设数量的视频。When the preset condition is met, one of the video frames is played in each of the preset number of sub-windows, and the preset number of videos are simultaneously broadcasted according to the received data packet.
  2. 根据权利要求1所述的方法,其特征在于,所述预设条件包括:The method of claim 1 wherein said predetermined condition comprises:
    接收到的各所述视频的数据包的数量均达到预设阈值。The number of received data packets of each of the videos reaches a preset threshold.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所接收到的数据包同时起播所述预设数量的视频,包括:The method according to claim 1, wherein the simultaneously broadcasting the preset number of videos according to the received data packet comprises:
    在同时起播前缓存收到的各所述视频的数据包;Cache the received data packets of each of the videos before starting the broadcast at the same time;
    当满足所述预设条件时,均从每个视频的第一个数据包开始同时起播所述预设数量的视频。When the preset condition is met, the preset number of videos are simultaneously broadcasted from the first data packet of each video.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所接收到的数据包同时起播所述预设数量的视频,包括:The method according to claim 1, wherein the simultaneously broadcasting the preset number of videos according to the received data packet comprises:
    在同时起播前在后台播放已收到的数据包;Play the received data packet in the background before starting the broadcast at the same time;
    当满足所述预设条件时,均从每个视频当前收到的数据包开始同时起播所述预设数量的视频。When the preset condition is met, the preset number of videos are simultaneously broadcasted from the data packet currently received by each video.
  5. 根据权利要求1所述的方法,其特征在于,所述预设数量为九个,所述预设布局为三乘三的布局。The method according to claim 1, wherein the preset number is nine, and the preset layout is a three by three layout.
  6. 根据权利要求1所述的方法,其特征在于:The method of claim 1 wherein:
    所述预设数量的视频为人工指定的视频,或者, The preset number of videos is a manually designated video, or
    所述预设数量的视频为根据所述用户的观看习惯而确定的视频。The preset number of videos is a video determined according to the viewing habits of the user.
  7. 一种视频显示装置,其特征在于,应用于电子设备,所述装置包括:A video display device is characterized in that it is applied to an electronic device, and the device includes:
    窗口显示单元,用于显示预设界面,所述预设界面中包含有预设数量的子窗口,且所述预设数量的子窗口按照预设布局进行排列;a window display unit, configured to display a preset interface, where the preset interface includes a preset number of sub-windows, and the preset number of sub-windows are arranged according to a preset layout;
    视频请求单元,用于向服务器同时请求所述预设数量的视频;a video requesting unit, configured to simultaneously request the preset number of videos to the server;
    视频接收单元,用于分别接收所述服务器发来的各所述视频的数据包;a video receiving unit, configured to separately receive data packets of each of the videos sent by the server;
    视频播放单元,用于当满足预设条件时,在所述预设数量的子窗口中以每个子窗口播放一个所述视频的方式,根据所接收到的数据包同时起播所述预设数量的视频。a video playing unit, configured to play a video in each of the preset number of sub-windows in a preset number of sub-windows, and simultaneously play the preset quantity according to the received data packet Video.
  8. 根据权利要求7所述的装置,其特征在于,所述预设条件包括:The device according to claim 7, wherein the preset condition comprises:
    接收到的各所述视频的数据包的数量均达到预设阈值。The number of received data packets of each of the videos reaches a preset threshold.
  9. 根据权利要求7所述的装置,其特征在于,所述视频播放单元包括:The device according to claim 7, wherein the video playing unit comprises:
    缓存子单元,用于在同时起播前缓存收到的各所述视频的数据包;a buffer subunit, configured to cache the received data packets of each of the videos before starting the broadcast simultaneously;
    第一播放子单元,用于当满足所述预设条件时,均从每个视频的第一个数据包开始同时起播所述预设数量的视频。The first playing subunit is configured to simultaneously start the preset number of videos from the first data packet of each video when the preset condition is met.
  10. 根据权利要求7所述的装置,其特征在于,所述视频播放单元包括:The device according to claim 7, wherein the video playing unit comprises:
    后台播放子单元,用于在同时起播前在后台播放已收到的数据包;The background playing subunit is configured to play the received data packet in the background before starting the broadcast at the same time;
    第二播放子单元,用于当满足所述预设条件时,均从每个视频当前收到的数据包开始同时起播所述预设数量的视频。The second playing subunit is configured to: when the preset condition is met, start playing the preset number of videos simultaneously from the data packet currently received by each video.
  11. 根据权利要求7所述的装置,其特征在于,所述预设数量为 九个,所述预设布局为三乘三的布局。The device according to claim 7, wherein said predetermined number is Nine, the preset layout is a three by three layout.
  12. 根据权利要求7所述的装置,其特征在于:The device of claim 7 wherein:
    所述预设数量的视频为人工指定的视频,或者,The preset number of videos is a manually designated video, or
    所述预设数量的视频为根据所述用户的观看习惯而确定的视频。The preset number of videos is a video determined according to the viewing habits of the user.
  13. 一种非易失性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:A non-transitory computer readable storage medium storing computer executable instructions, the computer executable instructions being set to:
    显示预设界面,所述预设界面中包含有预设数量的子窗口,且所述预设数量的子窗口按照预设布局进行排列;Displaying a preset interface, where the preset interface includes a preset number of sub-windows, and the preset number of sub-windows are arranged according to a preset layout;
    向服务器同时请求所述预设数量的视频;Requesting the preset number of videos simultaneously to the server;
    分别接收所述服务器发来的各所述视频的数据包;Receiving data packets of each of the videos sent by the server respectively;
    当满足预设条件时,在所述预设数量的子窗口中以每个子窗口播放一个所述视频的方式,根据所接收到的数据包同时起播所述预设数量的视频。When the preset condition is met, one of the video frames is played in each of the preset number of sub-windows, and the preset number of videos are simultaneously broadcasted according to the received data packet.
  14. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
    显示预设界面,所述预设界面中包含有预设数量的子窗口,且所述预设数量的子窗口按照预设布局进行排列;Displaying a preset interface, where the preset interface includes a preset number of sub-windows, and the preset number of sub-windows are arranged according to a preset layout;
    向服务器同时请求所述预设数量的视频;Requesting the preset number of videos simultaneously to the server;
    分别接收所述服务器发来的各所述视频的数据包;Receiving data packets of each of the videos sent by the server respectively;
    当满足预设条件时,在所述预设数量的子窗口中以每个子窗口播放一个所述视频的方式,根据所接收到的数据包同时起播所述预设数量的视频。 When the preset condition is met, one of the video frames is played in each of the preset number of sub-windows, and the preset number of videos are simultaneously broadcasted according to the received data packet.
  15. 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1至6任一项所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, causing the computer The method of any one of claims 1 to 6 is performed.
PCT/CN2016/100462 2016-04-19 2016-09-28 Video display method and device WO2017181603A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610245131.5 2016-04-19
CN201610245131.5A CN105828162A (en) 2016-04-19 2016-04-19 Video display method and device

Publications (1)

Publication Number Publication Date
WO2017181603A1 true WO2017181603A1 (en) 2017-10-26

Family

ID=56526193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100462 WO2017181603A1 (en) 2016-04-19 2016-09-28 Video display method and device

Country Status (2)

Country Link
CN (1) CN105828162A (en)
WO (1) WO2017181603A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828162A (en) * 2016-04-19 2016-08-03 乐视控股(北京)有限公司 Video display method and device
CN106802759A (en) 2016-12-21 2017-06-06 华为技术有限公司 The method and terminal device of video playback
CN107704231A (en) * 2017-09-25 2018-02-16 青岛海信电器股份有限公司 Multi-audio-frequency selects player method and device
CN110765356A (en) * 2019-10-23 2020-02-07 绍兴柯桥浙工大创新研究院发展有限公司 Industrial design man-machine data query system for retrieving and sorting according to user habits

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997160A (en) * 2006-01-06 2007-07-11 腾讯科技(深圳)有限公司 A multi-channel program receiving and displaying system and method
CN101031069A (en) * 2006-12-13 2007-09-05 北京大学 Method and system for navigating video electronic programm in network TV-set
CN103248941A (en) * 2013-03-27 2013-08-14 青岛中星微电子有限公司 Multi-channel video source synchronous display method and device
KR20140117196A (en) * 2013-03-26 2014-10-07 주식회사 엘지유플러스 Broadcasting receiver and controlling method thereof
CN104869429A (en) * 2015-05-19 2015-08-26 乐视致新电子科技(天津)有限公司 Video previewing method and apparatus
CN105472437A (en) * 2015-11-24 2016-04-06 广州华多网络科技有限公司 Video playing method and apparatus thereof
CN105828162A (en) * 2016-04-19 2016-08-03 乐视控股(北京)有限公司 Video display method and device
CN105847938A (en) * 2016-04-19 2016-08-10 乐视控股(北京)有限公司 Video display method and device
CN105916000A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Video display method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8472779B2 (en) * 2008-06-17 2013-06-25 Microsoft Corporation Concurrently displaying multiple trick streams for video
CN102223501A (en) * 2011-06-17 2011-10-19 四川长虹电器股份有限公司 Multi-picture service realization method
CN103680551A (en) * 2012-09-21 2014-03-26 深圳市快播科技有限公司 Player and method thereof for simultaneously playing multiple videos

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997160A (en) * 2006-01-06 2007-07-11 腾讯科技(深圳)有限公司 A multi-channel program receiving and displaying system and method
CN101031069A (en) * 2006-12-13 2007-09-05 北京大学 Method and system for navigating video electronic programm in network TV-set
KR20140117196A (en) * 2013-03-26 2014-10-07 주식회사 엘지유플러스 Broadcasting receiver and controlling method thereof
CN103248941A (en) * 2013-03-27 2013-08-14 青岛中星微电子有限公司 Multi-channel video source synchronous display method and device
CN104869429A (en) * 2015-05-19 2015-08-26 乐视致新电子科技(天津)有限公司 Video previewing method and apparatus
CN105472437A (en) * 2015-11-24 2016-04-06 广州华多网络科技有限公司 Video playing method and apparatus thereof
CN105828162A (en) * 2016-04-19 2016-08-03 乐视控股(北京)有限公司 Video display method and device
CN105847938A (en) * 2016-04-19 2016-08-10 乐视控股(北京)有限公司 Video display method and device
CN105916000A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Video display method and device

Also Published As

Publication number Publication date
CN105828162A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
WO2017181594A1 (en) Video display method and apparatus
WO2017173793A1 (en) Method and apparatus for screen projection of video
US11962934B2 (en) Display device and control method therefor
WO2017181599A1 (en) Method and device for displaying videos
US9015745B2 (en) Method and system for detection of user-initiated events utilizing automatic content recognition
CN110741651A (en) Methods, systems, and media for presenting notifications indicating recommended content
US20130173765A1 (en) Systems and methods for assigning roles between user devices
WO2021012665A1 (en) Interactive audio and video playing method and apparatus
US20180139405A1 (en) Display device and control method therefor
WO2015176485A1 (en) Video selection providing method and device
US20150248918A1 (en) Systems and methods for displaying a user selected object as marked based on its context in a program
WO2017181597A1 (en) Method and device for video playback
EP2934017A1 (en) Display apparatus and control method thereof
WO2017181603A1 (en) Video display method and device
US10812875B2 (en) Method and apparatus for generating information associated with a lapsed presentation of media content
US20170171509A1 (en) Method and electronic apparatus for realizing two-person simultaneous live video
WO2017181595A1 (en) Method and device for video display
US20140337883A1 (en) Method and apparatus for networking media content consumption status in a group of users
WO2014190655A1 (en) Application synchronization method, application server and terminal
US20220030319A1 (en) Image display device and method for controlling the same
WO2016155375A1 (en) Advertisement loading method and device
CN109640136B (en) Method and device for controlling television, electronic equipment and readable medium
US20140331258A1 (en) Apparatus and method for networking media content consumption status in a group of users
US10110943B2 (en) Flexible output of streaming media
KR101518827B1 (en) Mobile terminal and method for displaying image using the same

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16899188

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899188

Country of ref document: EP

Kind code of ref document: A1