Movatterモバイル変換


[0]ホーム

URL:


CN105933756A - Method and device for carrying out live broadcast on video in picture in picture mode - Google Patents

Method and device for carrying out live broadcast on video in picture in picture mode
Download PDF

Info

Publication number
CN105933756A
CN105933756ACN201610483737.2ACN201610483737ACN105933756ACN 105933756 ACN105933756 ACN 105933756ACN 201610483737 ACN201610483737 ACN 201610483737ACN 105933756 ACN105933756 ACN 105933756A
Authority
CN
China
Prior art keywords
picture
window
live
video
floating window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610483737.2A
Other languages
Chinese (zh)
Inventor
方顺豹
姜维
杨中意
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co LtdfiledCriticalBeijing Qihoo Technology Co Ltd
Priority to CN201610483737.2ApriorityCriticalpatent/CN105933756A/en
Publication of CN105933756ApublicationCriticalpatent/CN105933756A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种以画中画方式直播视频的方法及装置。其中,方法包括:截获直播窗口关闭的系统动作;根据系统动作,构建画中画浮窗;将直播窗口正在直播的视频信息同步给画中画浮窗,以在画中画浮窗中播放视频。基于上述实施方案,用户无需停止正在观看的视频便可以使用其他应用,使得用户在使用其他应用的同时也能够观看正在直播的视频,避免了用户因需要使用其他应用而导致错过精彩视频画面的缺陷,保证了用户观看视频的完整性,同时也简化了用户操作。

The invention discloses a method and a device for live broadcasting video in a picture-in-picture manner. Among them, the method includes: intercepting the system action of closing the live window; constructing a picture-in-picture floating window according to the system action; synchronizing the live video information of the live window to the picture-in-picture floating window, so as to play the video in the picture-in-picture floating window . Based on the above-mentioned implementation scheme, the user can use other applications without stopping the video being watched, so that the user can also watch the live video while using other applications, avoiding the defect that the user misses the wonderful video screen due to the need to use other applications , which ensures the integrity of the video watched by the user, and also simplifies the user operation.

Description

Translated fromChinese
以画中画方式直播视频的方法及装置Method and device for live video broadcasting in picture-in-picture mode

技术领域technical field

本发明涉及视频直播技术领域,具体涉及一种以画中画方式直播视频的方法及装置。The present invention relates to the technical field of live video broadcasting, in particular to a method and device for live streaming video in a picture-in-picture manner.

背景技术Background technique

随着宽带网络的普及,视频成为互联网中的主要内容之一。目前互联网中除了提供视频点播、下载等服务,还同时提供视频直播服务,直播的内容涵盖电视节目或者现场活动。With the popularization of broadband network, video has become one of the main contents on the Internet. At present, in addition to providing services such as video on demand and downloading, the Internet also provides live video services at the same time. The content of the live broadcast covers TV programs or live events.

用户可以通过直播应用所提供的直播窗口观看直播视频,然而,本发明的发明人发现,在用户观看直播视频的过程中,随时可能收到其他应用的消息,例如,某用户利用XX聊天应用向用户发了一条聊天信息,若用户需要回复该聊天信息,此时该用户就需要切换到XX聊天应用,才能回复消息,而这时用户就无法继续观看直播视频,直播应用的直播窗口被关闭,导致直播视频观看的中断,使得用户无法继续观看直播视频。当用户需要继续观看直播视频时,可以再切换到直播应用继续观看,但就会导致用户因回复消息而错过很多精彩画面,使用户无法与已观看内容完美衔接。The user can watch the live video through the live broadcast window provided by the live broadcast application. However, the inventor of the present invention found that during the process of watching the live video, the user may receive messages from other applications at any time. For example, a user uses the XX chat application to send The user sends a chat message. If the user needs to reply to the chat message, the user needs to switch to the XX chat application to reply to the message. At this time, the user cannot continue to watch the live video, and the live window of the live application is closed. Causes the interruption of watching the live video, so that the user cannot continue to watch the live video. When the user needs to continue watching the live video, he can switch to the live broadcast application to continue watching, but it will cause the user to miss many wonderful pictures due to replying to the message, so that the user cannot be perfectly connected with the watched content.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的以画中画方式直播视频的方法和相应的以画中画方式直播视频的装置。In view of the above problems, the present invention is proposed to provide a method for live video in picture-in-picture mode and a corresponding device for live video in picture-in-picture mode, which overcome the above problems or at least partially solve the above problems.

根据本发明的一个方面,提供了一种以画中画方式直播视频的方法,其包括:According to one aspect of the present invention, there is provided a method of live video in picture-in-picture mode, which includes:

截获直播窗口关闭的系统动作;Intercept the system action of closing the live window;

根据系统动作,构建画中画浮窗;Build a picture-in-picture floating window according to the system action;

将直播窗口正在直播的视频信息同步给画中画浮窗,以在画中画浮窗中播放视频。Synchronize the live video information of the live window to the picture-in-picture floating window to play the video in the picture-in-picture floating window.

根据本发明的另一方面,提供了一种以画中画方式直播视频的装置,其包括:According to another aspect of the present invention, there is provided a device for live video in picture-in-picture mode, which includes:

截获模块,适于截获直播窗口关闭的系统动作;The interception module is suitable for intercepting the system action of closing the live window;

第一构建模块,适于根据系统动作,构建画中画浮窗;The first building block is suitable for building a picture-in-picture floating window according to system actions;

同步模块,适于将直播窗口正在直播的视频信息同步给画中画浮窗,以在画中画浮窗中播放视频。The synchronization module is suitable for synchronizing the live video information of the live broadcast window to the picture-in-picture floating window, so as to play the video in the picture-in-picture floating window.

根据本发明提供的方案,截获直播窗口关闭的系统动作,根据系统动作,构建画中画浮窗,将直播窗口正在直播的视频信息同步给画中画浮窗,以在画中画浮窗中播放视频。基于上述实施方案,用户无需停止正在观看的视频便可以使用其他应用,使得用户在使用其他应用的同时也能够观看正在直播的视频,避免了用户因需要使用其他应用而导致错过精彩视频画面的缺陷,保证了用户观看视频的完整性,同时也简化了用户操作。According to the scheme provided by the present invention, the system action of closing the live broadcast window is intercepted, and according to the system action, a picture-in-picture floating window is constructed, and the video information being broadcast live in the live window is synchronized to the picture-in-picture floating window, so that the picture-in-picture floating window Play video. Based on the above-mentioned implementation scheme, the user can use other applications without stopping the video being watched, so that the user can also watch the live video while using other applications, avoiding the defect that the user misses the wonderful video screen due to the need to use other applications , which ensures the integrity of the video watched by the user, and also simplifies the user operation.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1示出了根据本发明一个实施例的以画中画方式直播视频的方法的流程图;Fig. 1 shows the flow chart of the method for live video in picture-in-picture mode according to one embodiment of the present invention;

图2示出了根据本发明另一个实施例的以画中画方式直播视频的方法的流程图;Fig. 2 shows a flow chart of a method for live video in picture-in-picture mode according to another embodiment of the present invention;

图3示出了根据本发明一个实施例的以画中画方式直播视频的装置的结构框图。Fig. 3 shows a structural block diagram of an apparatus for live streaming video in a picture-in-picture manner according to an embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

图1示出了根据本发明一个实施例的以画中画方式直播视频的方法的流程图。如图1所示,该方法包括以下步骤:Fig. 1 shows a flow chart of a method for live video in picture-in-picture mode according to an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:

步骤S100,截获直播窗口关闭的系统动作。Step S100, intercepting the system action of closing the live broadcast window.

在本发明实施例中,直播窗口关闭指直播应用退至后台,直播窗口不在前端显示,即用户无法再观看到视频的直播窗口。系统动作是由系统执行的与用户的触发行为对应的动作。其中,用户可以通过多种触发方式,例如,按下Home键或按下应用切换键,将直播窗口关闭,具体地,截获直播窗口关闭时,由系统执行的与用户的触发行为对应的动作。In the embodiment of the present invention, closing the live broadcast window means that the live broadcast application retreats to the background, and the live broadcast window is not displayed at the front end, that is, the user cannot watch the live broadcast window of the video anymore. A system action is an action performed by the system corresponding to a user's trigger behavior. Among them, the user can close the live broadcast window through a variety of trigger methods, for example, pressing the Home button or pressing the application switch button, specifically, intercepting the actions performed by the system corresponding to the user's trigger behavior when the live broadcast window is closed.

步骤S101,根据系统动作,构建画中画浮窗。Step S101, constructing a picture-in-picture floating window according to system actions.

具体地,在截获到直播窗口关闭的系统动作后,根据该系统动作,构建画中画浮窗。该画中画浮窗能够一直保持在终端屏幕上,在用户使用其他应用时,可以一并显示画中画浮窗。Specifically, after intercepting the system action of closing the live window, a picture-in-picture floating window is constructed according to the system action. The picture-in-picture floating window can always be kept on the terminal screen, and the picture-in-picture floating window can be displayed together when the user uses other applications.

步骤S102,将直播窗口正在直播的视频信息同步给画中画浮窗,以在画中画浮窗中播放视频。Step S102, synchronizing the live video information of the live broadcast window to the picture-in-picture floating window, so as to play the video in the picture-in-picture floating window.

具体地,在构建完画中画浮窗后,将直播窗口正在直播的视频信息同步给画中画浮窗,从而在画中画浮窗中播放视频,这样用户便可以在使用其他应用的同时,观看直播视频,从而不会出现因使用其他应用而导致错过精彩视频画面的情况,提高了用户体验。Specifically, after the picture-in-picture floating window is built, the live video information of the live broadcast window is synchronized to the picture-in-picture floating window, so that the video can be played in the picture-in-picture floating window, so that users can use other applications at the same time , to watch the live video, so that you will not miss the wonderful video screen due to the use of other applications, which improves the user experience.

根据本发明上述实施例提供的方法,截获直播窗口关闭的系统动作,根据系统动作,构建画中画浮窗,将直播窗口正在直播的视频信息同步给画中画浮窗,以在画中画浮窗中播放视频。基于上述实施方案,用户无需停止正在观看的视频便可以使用其他应用,使得用户在使用其他应用的同时也能够观看正在直播的视频,避免了用户因需要使用其他应用而导致错过精彩视频画面的缺陷,保证了用户观看视频的完整性,同时也简化了用户操作。According to the method provided by the above-mentioned embodiments of the present invention, the system action of closing the live window is intercepted, and according to the system action, a picture-in-picture floating window is constructed, and the live video information of the live window is being broadcasted synchronously to the picture-in-picture floating window, so that the picture-in-picture Play the video in the floating window. Based on the above-mentioned implementation scheme, the user can use other applications without stopping the video being watched, so that the user can also watch the live video while using other applications, avoiding the defect that the user misses the wonderful video screen due to the need to use other applications , which ensures the integrity of the video watched by the user, and also simplifies the user operation.

图2示出了根据本发明另一个实施例的以画中画方式直播视频的方法的流程图。如图2所示,该方法包括以下步骤:Fig. 2 shows a flowchart of a method for live streaming video in a picture-in-picture manner according to another embodiment of the present invention. As shown in Figure 2, the method includes the following steps:

步骤S200,通过注册广播接收器来截获直播窗口关闭的系统动作。Step S200, intercepting the system action of closing the live broadcast window by registering the broadcast receiver.

具体地,广播接收器被注册到ActivityManagerService中,注册广播接收器有两种方式,一种是静态注册,即写在manifest里面声明;另一种是动态注册,即在Java代码里面注册。Specifically, broadcast receivers are registered in ActivityManagerService. There are two ways to register broadcast receivers. One is static registration, which is declared in the manifest; the other is dynamic registration, which is registered in Java code.

两种注册类型的区别:静态注册是当程序关闭后,如果有广播发过来,还能启动程序;动态注册的生命周期跟程序的生命周期是一样的,程序关闭后动态注册的广播是不能在接收到广播的。The difference between the two types of registration: static registration means that when the program is closed, if a broadcast is sent, the program can still be started; the life cycle of dynamic registration is the same as that of the program, and the broadcast of dynamic registration cannot be used after the program is closed. broadcast received.

广播接收器(Broadcast)用于响应系统的广播消息,当有相应的广播时,广播接收器便能收到该广播。具体地,当发生直播窗口关闭的系统动作后,系统会向广播接收器发送相应的广播,广播接收器便截获直播窗口关闭的系统动作。The broadcast receiver (Broadcast) is used to respond to the broadcast message of the system. When there is a corresponding broadcast, the broadcast receiver can receive the broadcast. Specifically, when the system action of closing the live window occurs, the system will send a corresponding broadcast to the broadcast receiver, and the broadcast receiver will intercept the system action of closing the live window.

步骤S201,分析系统动作的相关参数。Step S201, analyzing relevant parameters of system actions.

在通过注册广播接收器截获直播窗口关闭的系统动作后,需要对该系统动作的相关参数进行分析,主要是为了从系统动作的很多参数中得到表示系统动作的触发方式的参数,以确定系统动作是在按下哪种按键后触发的。After intercepting the system action of closing the live window by registering the broadcast receiver, it is necessary to analyze the relevant parameters of the system action, mainly to obtain the parameters indicating the trigger mode of the system action from many parameters of the system action, so as to determine the system action Is triggered after which key is pressed.

步骤S202,判断系统动作是否由按下Home键或按下应用切换键所触发,若是,则执行步骤S203;若否,则该方法结束。Step S202, judging whether the system action is triggered by pressing the Home button or pressing the application switching button, if yes, execute step S203; if not, the method ends.

本步骤中,需要确定系统动作是在按下哪种按键后触发的,是按下Home键或按下应用切换键或者按下其他功能键所触发的,确定是不是由按下Home键或按下应用切换键所触发主要是为了确定是否要构建画中画浮窗。In this step, it is necessary to determine which button the system action is triggered by pressing the Home button or pressing the application switch button or pressing other function keys. Determine whether it is triggered by pressing the Home button or pressing the The main purpose of triggering the next application switching key is to determine whether to build a picture-in-picture floating window.

步骤S203,启动画中画浮窗服务。Step S203, start the picture-in-picture floating window service.

在根据步骤S202判断出所述系统动作是由按下Home键或按下应用切换键所触发的情况下,启动画中画服务,以构建画中画浮窗。If it is determined according to step S202 that the system action is triggered by pressing the Home key or pressing the application switching key, start the picture-in-picture service to build the picture-in-picture floating window.

步骤S204,获取窗口管理服务对象。Step S204, acquiring the window management service object.

在启动画中画服务后,获取窗口管理服务对象,该窗口管理服务对象可用于管理画中画浮窗的构建,例如画中画浮窗的宽高等。After starting the picture-in-picture service, obtain the window management service object, which can be used to manage the construction of the picture-in-picture floating window, such as the width and height of the picture-in-picture floating window.

步骤S205,构建画中画浮窗。Step S205, building a picture-in-picture floating window.

其中,画中画浮窗能够一直保持在终端屏幕上,在用户使用其他应用时,可以一并显示画中画浮窗。Wherein, the picture-in-picture floating window can be kept on the terminal screen all the time, and the picture-in-picture floating window can be displayed together when the user uses other applications.

步骤S206,将直播窗口正在直播的视频信息同步给画中画浮窗。Step S206, synchronizing the live video information of the live window to the picture-in-picture floating window.

具体地,在构建完画中画浮窗后,将直播窗口正在直播的视频信息同步给画中画浮窗,从而能够在画中画浮窗中播放视频,这样用户便可以在使用其他应用的同时,观看直播视频,从而不会出现因使用其他应用而导致错过精彩视频画面的情况,提高了用户体验。Specifically, after the picture-in-picture floating window is built, the live video information of the live broadcast window is synchronized to the picture-in-picture floating window, so that the video can be played in the picture-in-picture floating window, so that users can use other applications At the same time, watch the live video, so that the situation of missing the wonderful video screen due to the use of other applications will not occur, and the user experience is improved.

步骤S207,检测当前的视频状态,若视频状态为直播结束,则执行步骤S208;若视频状态为直播中,则执行步骤S209。Step S207, detecting the current video status, if the video status is the end of live broadcast, then execute step S208; if the video status is live broadcast, then execute step S209.

具体地,在将直播窗口正在直播的视频信息同步给画中画浮窗后,需要检测当前的视频状态,确定视频是否已经直播结束,以确定是否还需要在画中画浮窗中播放视频。具体地,可以监测NetStream的NET_STATUS事件,若直播结束,会发出stop事件。Specifically, after synchronizing the live video information of the live broadcast window to the picture-in-picture floating window, it is necessary to detect the current video status to determine whether the live broadcast of the video has ended, so as to determine whether the video needs to be played in the picture-in-picture floating window. Specifically, the NET_STATUS event of NetStream can be monitored, and if the live broadcast ends, a stop event will be issued.

步骤S208,停止视频播放,关闭画中画浮窗。Step S208, stop playing the video, and close the picture-in-picture floating window.

具体地,在检测出视频状态为直播结束的情况下,则停止视频播放,关闭已构建的画中画浮窗。Specifically, when it is detected that the video status is the end of the live broadcast, the video playback is stopped, and the constructed picture-in-picture floating window is closed.

步骤S209,在画中画浮窗中播放视频。Step S209, playing the video in the picture-in-picture floating window.

具体地,在检测出视频状态为直播中的情况下,则在画中画浮窗中播放视频,从而使用户可以在使用其他应用的同时观看视频。Specifically, when it is detected that the video status is live, the video is played in the picture-in-picture floating window, so that the user can watch the video while using other applications.

在本实施例的一个可能的实现方式中,该方法还包括:监测当前的环境状态,这里监测当前的环境状态主要是为了确定是否能够播放视频,是否会对用户造成影响等。In a possible implementation of this embodiment, the method further includes: monitoring the current environment state, where the main purpose of monitoring the current environment state is to determine whether the video can be played, whether it will affect the user, and the like.

在监测出环境状态为第一预设状态的情况下,则停止视频播放;在监测出环境状态为第二预设状态的情况下,则在画中画浮窗中播放视频。其中,第一预设状态包括:来电状态或锁屏状态,在来电状态下,播放视频将对用户的正常通话造成影响,因此在监测出环境状态为来电状态的情况下,需要停止播放视频,具体地,可以通过注册监测方式来判断终端的通话状态;第二预设状态包括:非来电状态或非锁屏状态,避免影响用户的正常通话以及资源的浪费。If it is detected that the environmental state is the first preset state, then stop playing the video; if it is detected that the environmental state is the second preset state, then play the video in the picture-in-picture floating window. Wherein, the first preset state includes: an incoming call state or a locked screen state. In the incoming call state, playing video will affect the user's normal call. Therefore, when the environmental state is detected as an incoming call state, it is necessary to stop playing the video. Specifically, the call state of the terminal can be judged by means of registration monitoring; the second preset state includes: non-incoming call state or non-lock screen state, so as to avoid affecting the user's normal call and wasting resources.

在本实施例的一个可能的实现方式中,该方法还包括:根据系统动作,构建用于控制关闭画中画浮窗的控制面板。具体地,可以根据系统动作,构建控制面板,来控制关闭画中画浮窗,可以通过监测用户是否在控制面板上触发关闭画中画浮窗,来确定是否关闭画中画浮窗,在监测到用户在控制面板上触发关闭画中画浮窗后,则可以控制关闭画中画浮窗,停止视频播放,若未监测到用户的触发行为,则继续在画中画浮窗中播放视频,使得用户可以根据自己的需求来确定是否需要在画中画浮窗中播放视频。In a possible implementation of this embodiment, the method further includes: constructing a control panel for controlling closing of the picture-in-picture floating window according to the system action. Specifically, according to the system action, a control panel can be built to control the closing of the picture-in-picture floating window. It can be determined whether to close the picture-in-picture floating window by monitoring whether the user triggers the closing of the picture-in-picture floating window on the control panel. After the user triggers to close the picture-in-picture floating window on the control panel, it can control the closing of the picture-in-picture floating window and stop video playback. If the trigger behavior of the user is not detected, the video will continue to be played in the picture-in-picture floating window. This enables the user to determine whether to play the video in the picture-in-picture floating window according to his own needs.

根据本发明上述实施例提供的方法,用户无需停止正在观看的视频便可以使用其他应用,使得用户在使用其他应用的同时也能够观看正在直播的视频,避免了用户因需要使用其他应用而导致错过精彩视频画面的缺陷,保证了用户观看视频的完整性,同时也简化了用户操作,而且可以通过检测视频状态来确定是否需要在画中画浮窗中播放视频,节省了资源。According to the method provided by the above-mentioned embodiments of the present invention, the user can use other applications without stopping the video being watched, so that the user can also watch the live video while using other applications, avoiding the user's need to use other applications to cause missing The defect of the wonderful video screen ensures the integrity of the user watching the video, and also simplifies the user operation, and can determine whether to play the video in the picture-in-picture floating window by detecting the video status, saving resources.

图3示出了根据本发明一个实施例的以画中画方式直播视频的装置的结构框图。如图3所示,该装置包括:截获模块300、第一构建模块310和同步模块320。Fig. 3 shows a structural block diagram of an apparatus for live streaming video in a picture-in-picture manner according to an embodiment of the present invention. As shown in FIG. 3 , the device includes: an interception module 300 , a first construction module 310 and a synchronization module 320 .

截获模块300,适于截获直播窗口关闭的系统动作。The intercepting module 300 is adapted to intercept the system action of closing the live broadcast window.

在本发明实施例中,直播窗口关闭指直播应用退至后台,直播窗口不在前端显示,即用户无法再观看到视频的直播窗口。系统动作是由系统执行的与用户的触发行为对应的动作。其中,用户可以通过多种触发方式,例如,按下Home键或按下应用切换键,将直播窗口关闭,具体地,截获直播窗口关闭时,由系统执行的与用户的触发行为对应的动作。In the embodiment of the present invention, closing the live broadcast window means that the live broadcast application retreats to the background, and the live broadcast window is not displayed at the front end, that is, the user cannot watch the live broadcast window of the video anymore. A system action is an action performed by the system corresponding to a user's trigger behavior. Among them, the user can close the live broadcast window through a variety of trigger methods, for example, pressing the Home button or pressing the application switch button, specifically, intercepting the actions performed by the system corresponding to the user's trigger behavior when the live broadcast window is closed.

第一构建模块310,适于根据系统动作,构建画中画浮窗。The first construction module 310 is adapted to construct a picture-in-picture floating window according to system actions.

具体地,在截获到直播窗口关闭的系统动作后,根据该系统动作,构建画中画浮窗。该画中画浮窗能够一直保持在终端屏幕上,在用户使用其他应用时,可以一并显示画中画浮窗。Specifically, after intercepting the system action of closing the live window, a picture-in-picture floating window is constructed according to the system action. The picture-in-picture floating window can always be kept on the terminal screen, and the picture-in-picture floating window can be displayed together when the user uses other applications.

同步模块320,适于将直播窗口正在直播的视频信息同步给画中画浮窗,以在画中画浮窗中播放视频。The synchronization module 320 is adapted to synchronize the live video information of the live broadcast window to the picture-in-picture floating window, so as to play the video in the picture-in-picture floating window.

具体地,在构建完画中画浮窗后,将直播窗口正在直播的视频信息同步给画中画浮窗,从而在画中画浮窗中播放视频,这样用户便可以在使用其他应用的同时,观看直播视频,从而不会出现因使用其他应用而导致错过精彩视频画面的情况,提高了用户体验。Specifically, after the picture-in-picture floating window is built, the live video information of the live broadcast window is synchronized to the picture-in-picture floating window, so that the video can be played in the picture-in-picture floating window, so that users can use other applications at the same time , to watch the live video, so that you will not miss the wonderful video screen due to the use of other applications, which improves the user experience.

可选地,截获模块300进一步适于:通过注册广播接收器来截获直播窗口关闭的系统动作。Optionally, the intercepting module 300 is further adapted to: intercept the system action of closing the live broadcast window by registering the broadcast receiver.

具体地,广播接收器被注册到ActivityManagerService中,注册广播接收器有两种方式,一种是静态注册,即写在manifest里面声明;另一种是动态注册,即在Java代码里面注册。两种注册类型的区别:静态注册是当程序关闭后,如果有广播发过来,还能启动程序;动态注册的生命周期跟程序的生命周期是一样的,程序关闭后动态注册的广播是不能在接收到广播的。Specifically, broadcast receivers are registered in ActivityManagerService. There are two ways to register broadcast receivers. One is static registration, which is declared in the manifest; the other is dynamic registration, which is registered in Java code. The difference between the two types of registration: static registration means that when the program is closed, if a broadcast is sent, the program can still be started; the life cycle of dynamic registration is the same as that of the program, and the broadcast of dynamic registration cannot be used after the program is closed. broadcast received.

广播接收器(Broadcast)用于响应系统的广播消息,当有相应的广播时,广播接收器便能收到该广播。具体地,当发生直播窗口关闭的系统动作后,系统会向广播接收器发送相应的广播,广播接收器便截获直播窗口关闭的系统动作。The broadcast receiver (Broadcast) is used to respond to the broadcast message of the system. When there is a corresponding broadcast, the broadcast receiver can receive the broadcast. Specifically, when the system action of closing the live window occurs, the system will send a corresponding broadcast to the broadcast receiver, and the broadcast receiver will intercept the system action of closing the live window.

可选地,该装置还包括:分析模块330,适于分析系统动作的相关参数。Optionally, the device further includes: an analysis module 330, adapted to analyze relevant parameters of system actions.

在通过注册广播接收器截获直播窗口关闭的系统动作后,需要对该系统动作的相关参数进行分析,主要是为了从系统动作的很多参数中得到表示系统动作的触发方式的参数,以确定系统动作是在按下哪种按键后触发的。After intercepting the system action of closing the live window by registering the broadcast receiver, it is necessary to analyze the relevant parameters of the system action, mainly to obtain the parameters indicating the trigger mode of the system action from many parameters of the system action, so as to determine the system action Is triggered after which key is pressed.

判断模块340,适于判断系统动作是否由按下Home键或按下应用切换键所触发。The judging module 340 is adapted to judge whether the system action is triggered by pressing the Home button or pressing the application switch button.

具体地,需要确定系统动作是在按下哪种按键后触发的,是按下Home键或按下应用切换键或者按下其他功能键所触发的,确定是不是由按下Home键或按下应用切换键所触发主要是为了确定是否要构建画中画浮窗。Specifically, it is necessary to determine which button the system action is triggered by pressing the Home button or pressing the application switching button or pressing other function keys, and whether it is triggered by pressing the Home button or pressing the The triggering of the application switch key is mainly to determine whether to build a picture-in-picture floating window.

第一构建模块310进一步适于:在判断出系统动作是由按下Home键或按下应用切换键所触发的情况下,构建画中画浮窗。The first building module 310 is further adapted to: build a picture-in-picture floating window when it is determined that the system action is triggered by pressing the Home key or pressing the application switching key.

可选地,该装置还包括:检测模块350,适于检测当前的视频状态。Optionally, the device further includes: a detection module 350, adapted to detect the current video state.

关闭模块360,适于在检测出视频状态为直播结束的情况下,停止视频播放,关闭画中画浮窗。The closing module 360 is adapted to stop the video playback and close the picture-in-picture floating window when it is detected that the video status is the end of the live broadcast.

播放模块370,适于在检测出视频状态为直播中的情况下,在画中画浮窗中播放视频。The playing module 370 is adapted to play the video in the picture-in-picture floating window when it is detected that the video status is live.

可选地,该装置还包括:第一监测模块380,适于监测当前的环境状态。Optionally, the device further includes: a first monitoring module 380, adapted to monitor the current environmental state.

停止模块390,适于在监测出环境状态为第一预设状态的情况下,停止视频播放。The stopping module 390 is adapted to stop playing the video when it is detected that the environmental state is the first preset state.

播放模块370还适于:在监测出环境状态为第二预设状态的情况下,在画中画浮窗中播放视频。The playing module 370 is further adapted to: play the video in the picture-in-picture floating window when it is detected that the environmental state is the second preset state.

这里监测当前的环境状态主要是为了确定是否能够播放视频,是否会对用户造成影响等。在监测出环境状态为第一预设状态的情况下,则停止视频播放;在监测出环境状态为第二预设状态的情况下,则在画中画浮窗中播放视频。其中,第一预设状态包括:来电状态或锁屏状态,在来电状态下,播放视频将对用户的正常通话造成影响,因此在监测出环境状态为来电状态的情况下,需要停止播放视频,具体地,可以通过注册监测方式来判断终端的通话状态;第二预设状态包括:非来电状态或非锁屏状态,避免影响用户的正常通话以及资源的浪费。The main purpose of monitoring the current environmental status here is to determine whether the video can be played, whether it will affect the user, and so on. If it is detected that the environmental state is the first preset state, then stop playing the video; if it is detected that the environmental state is the second preset state, then play the video in the picture-in-picture floating window. Wherein, the first preset state includes: an incoming call state or a locked screen state. In the incoming call state, playing video will affect the user's normal call. Therefore, when the environmental state is detected as an incoming call state, it is necessary to stop playing the video. Specifically, the call state of the terminal can be judged by means of registration monitoring; the second preset state includes: non-incoming call state or non-lock screen state, so as to avoid affecting the user's normal call and wasting resources.

可选地,该装置还包括:第二构建模块400,适于根据系统动作,构建用于控制关闭画中画浮窗的控制面板。Optionally, the device further includes: a second building module 400, adapted to build a control panel for controlling closing of the picture-in-picture floating window according to system actions.

可选地,该装置还包括:第二监测模块410,适于监测用户是否在控制面板上触发关闭画中画浮窗。Optionally, the device further includes: a second monitoring module 410, adapted to monitor whether the user triggers to close the picture-in-picture floating window on the control panel.

关闭模块360还适于:在监测出用户在控制面板上触发关闭画中画浮窗的情况下,关闭画中画浮窗。The closing module 360 is further adapted to: close the picture-in-picture floating window when it is detected that the user triggers the closing of the picture-in-picture floating window on the control panel.

具体地,可以根据系统动作,构建控制面板,来控制关闭画中画浮窗,可以通过监测用户是否在控制面板上触发关闭画中画浮窗,来确定是否关闭画中画浮窗,在监测到用户在控制面板上触发关闭画中画浮窗后,则可以控制关闭画中画浮窗,停止视频播放,若未监测到用户的触发行为,则继续在画中画浮窗中播放视频,使得用户可以根据自己的需求来确定是否需要在画中画浮窗中播放视频。Specifically, according to the system action, a control panel can be built to control the closing of the picture-in-picture floating window. It can be determined whether to close the picture-in-picture floating window by monitoring whether the user triggers the closing of the picture-in-picture floating window on the control panel. After the user triggers to close the picture-in-picture floating window on the control panel, it can control the closing of the picture-in-picture floating window and stop video playback. If the trigger behavior of the user is not detected, the video will continue to be played in the picture-in-picture floating window. This enables the user to determine whether to play the video in the picture-in-picture floating window according to his own needs.

可选地,第一构建模块310进一步包括:启动单元311,适于启动画中画浮窗服务。Optionally, the first building module 310 further includes: a starting unit 311, adapted to start the picture-in-picture floating window service.

获取单元312,适于获取窗口管理服务对象。The acquiring unit 312 is adapted to acquire the window management service object.

具体地,在启动画中画服务后,获取窗口管理服务对象,该窗口管理服务对象可用于管理画中画浮窗的构建,例如画中画浮窗的宽高等。Specifically, after the picture-in-picture service is started, the window management service object is obtained, and the window management service object can be used to manage the construction of the picture-in-picture floating window, such as the width and height of the picture-in-picture floating window.

构建单元313,适于构建画中画浮窗。The construction unit 313 is suitable for constructing a picture-in-picture floating window.

根据本发明上述实施例提供的装置,用户无需停止正在观看的视频便可以使用其他应用,使得用户在使用其他应用的同时也能够观看正在直播的视频,避免了用户因需要使用其他应用而导致错过精彩视频画面的缺陷,保证了用户观看视频的完整性,同时也简化了用户操作,而且可以通过检测视频状态来确定是否需要在画中画浮窗中播放视频,节省了资源。According to the device provided by the above-mentioned embodiments of the present invention, the user can use other applications without stopping the video being watched, so that the user can also watch the live video while using other applications, avoiding the user's need to use other applications to cause missing The defect of the wonderful video screen ensures the integrity of the user watching the video, and also simplifies the user operation, and can determine whether to play the video in the picture-in-picture floating window by detecting the video status, saving resources.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的以画中画方式直播视频的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of some or all of the components in the device for live video broadcasting in a picture-in-picture mode according to an embodiment of the present invention. Full functionality. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

本发明公开了:A1、一种以画中画方式直播视频的方法,其包括:The invention discloses: A1, a method for live video in picture-in-picture mode, which includes:

截获直播窗口关闭的系统动作;Intercept the system action of closing the live window;

根据所述系统动作,构建画中画浮窗;Build a picture-in-picture floating window according to the system action;

将所述直播窗口正在直播的视频信息同步给所述画中画浮窗,以在画中画浮窗中播放视频。Synchronize the live video information of the live broadcast window to the picture-in-picture floating window, so as to play the video in the picture-in-picture floating window.

A2、根据A1所述的方法,其中,所述截获直播窗口关闭的系统动作进一步包括:通过注册广播接收器来截获直播窗口关闭的系统动作。A2. The method according to A1, wherein the system action of intercepting the closing of the live window further includes: intercepting the system action of closing the live window by registering a broadcast receiver.

A3、根据A1或A2所述的方法,其中,在所述截获直播窗口关闭的系统动作之后,所述方法还包括:分析所述系统动作的相关参数,判断所述系统动作是否由按下Home键或按下应用切换键所触发;A3. The method according to A1 or A2, wherein, after capturing the system action of closing the live broadcast window, the method further includes: analyzing the relevant parameters of the system action, and judging whether the system action is caused by pressing Home key or press the application switching key;

所述构建画中画浮窗进一步包括:若判断出所述系统动作是由按下Home键或按下应用切换键所触发,则构建画中画浮窗。The constructing the picture-in-picture floating window further includes: if it is determined that the system action is triggered by pressing the Home key or pressing the application switching key, then constructing the picture-in-picture floating window.

A4、根据A1-A3任一项所述的方法,其中,在将所述直播窗口正在直播的视频信息同步给画中画浮窗之后,所述方法还包括:A4. The method according to any one of A1-A3, wherein, after synchronizing the live video information of the live window to the picture-in-picture floating window, the method further includes:

检测当前的视频状态,若视频状态为直播结束,则停止视频播放,关闭所述画中画浮窗;若视频状态为直播中,则在画中画浮窗中播放视频。Detect the current video status, if the video status is the end of the live broadcast, stop the video playback, and close the picture-in-picture floating window; if the video status is live, then play the video in the picture-in-picture floating window.

A5、根据A1-A3任一项所述的方法,其中,在将所述直播窗口正在直播的视频信息同步给画中画浮窗之后,所述方法还包括:A5. The method according to any one of A1-A3, wherein, after synchronizing the live video information of the live window to the picture-in-picture floating window, the method further includes:

监测当前的环境状态,若环境状态为第一预设状态,则停止视频播放;若环境状态为第二预设状态,则在画中画浮窗中播放视频。The current environmental state is monitored, and if the environmental state is the first preset state, video playback is stopped; if the environmental state is the second preset state, the video is played in the picture-in-picture floating window.

A6、根据A5所述的方法,其中,所述第一预设状态包括:来电状态或锁屏状态;所述第二预设状态包括:非来电状态或非锁屏状态。A6. The method according to A5, wherein the first preset state includes: an incoming call state or a locked screen state; the second preset state includes: a non-incoming call state or a non-locked screen state.

A7、根据A1-A3任一项所述的方法,其中,所述方法还包括:A7. The method according to any one of A1-A3, wherein the method further comprises:

根据所述系统动作,构建用于控制关闭所述画中画浮窗的控制面板。According to the system action, a control panel for controlling closing of the picture-in-picture floating window is constructed.

A8、根据A7所述的方法,其中,所述方法还包括:A8. The method according to A7, wherein the method also includes:

监测用户是否在控制面板上触发关闭所述画中画浮窗;Monitoring whether the user triggers to close the picture-in-picture floating window on the control panel;

若是,则关闭所述画中画浮窗。If yes, close the picture-in-picture floating window.

A9、根据A1-A8任一项所述的方法,其中,所述构建画中画浮窗进一步包括:A9. The method according to any one of A1-A8, wherein said building a picture-in-picture floating window further includes:

启动画中画浮窗服务;Start the picture-in-picture floating window service;

获取窗口管理服务对象;Get the window management service object;

构建画中画浮窗。Build a picture-in-picture floating window.

本发明还公开了:B10、一种以画中画方式直播视频的装置,其包括:The present invention also discloses: B10, a device for live streaming video in picture-in-picture mode, which includes:

截获模块,适于截获直播窗口关闭的系统动作;The interception module is suitable for intercepting the system action of closing the live window;

第一构建模块,适于根据所述系统动作,构建画中画浮窗;The first building module is suitable for building a picture-in-picture floating window according to the system action;

同步模块,适于将所述直播窗口正在直播的视频信息同步给所述画中画浮窗,以在画中画浮窗中播放视频。The synchronization module is adapted to synchronize the live video information of the live broadcast window to the picture-in-picture floating window, so as to play the video in the picture-in-picture floating window.

B11、根据B10所述的装置,其中,所述截获模块进一步适于:通过注册广播接收器来截获直播窗口关闭的系统动作。B11. The device according to B10, wherein the intercepting module is further adapted to: intercept the system action of closing the live broadcast window by registering a broadcast receiver.

B12、根据B10或B11所述的装置,其中,所述装置还包括:分析模块,适于分析所述系统动作的相关参数;B12. The device according to B10 or B11, wherein the device further comprises: an analysis module, adapted to analyze relevant parameters of the system action;

判断模块,适于判断所述系统动作是否由按下Home键或按下应用切换键所触发;The judging module is adapted to judge whether the system action is triggered by pressing the Home button or pressing the application switch button;

所述第一构建模块进一步适于:在判断出所述系统动作是由按下Home键或按下应用切换键所触发的情况下,构建画中画浮窗。The first building module is further adapted to: build a picture-in-picture floating window when it is determined that the system action is triggered by pressing the Home key or pressing the application switching key.

B13、根据B10-B12任一项所述的装置,其中,所述装置还包括:B13. The device according to any one of B10-B12, wherein the device further comprises:

检测模块,适于检测当前的视频状态;A detection module, adapted to detect the current video state;

关闭模块,适于在检测出视频状态为直播结束的情况下,停止视频播放,关闭所述画中画浮窗;The closing module is adapted to stop the video playback and close the picture-in-picture floating window when the video status is detected as the end of the live broadcast;

播放模块,适于在检测出视频状态为直播中的情况下,在画中画浮窗中播放视频。The playing module is adapted to play the video in the picture-in-picture floating window when it is detected that the video status is live.

B14、根据B10-B12任一项所述的装置,其中,所述装置还包括:B14. The device according to any one of B10-B12, wherein the device further comprises:

第一监测模块,适于监测当前的环境状态;a first monitoring module adapted to monitor the current environmental state;

停止模块,适于在监测出环境状态为第一预设状态的情况下,停止视频播放;The stop module is adapted to stop video playback when the environmental state is monitored to be the first preset state;

播放模块,适于在监测出环境状态为第二预设状态的情况下,在画中画浮窗中播放视频。The playing module is adapted to play the video in the picture-in-picture floating window when it is detected that the environmental state is the second preset state.

B15、根据B14所述的装置,其中,所述第一预设状态包括:来电状态或锁屏状态;所述第二预设状态包括:非来电状态或非锁屏状态。B15. The device according to B14, wherein the first preset state includes: an incoming call state or a locked screen state; the second preset state includes: a non-incoming call state or a non-locked screen state.

B16、根据B10-B12任一项所述的装置,其中,所述装置还包括:B16. The device according to any one of B10-B12, wherein the device further comprises:

第二构建模块,适于根据所述系统动作,构建用于控制关闭所述画中画浮窗的控制面板。The second building module is adapted to build a control panel for controlling closing of the picture-in-picture floating window according to the system action.

B17、根据B16所述的装置,其中,所述装置还包括:B17. The device according to B16, wherein the device also includes:

第二监测模块,适于监测用户是否在控制面板上触发关闭所述画中画浮窗;The second monitoring module is adapted to monitor whether the user triggers to close the picture-in-picture floating window on the control panel;

关闭模块,适于在监测出用户在控制面板上触发关闭所述画中画浮窗的情况下,关闭所述画中画浮窗。The closing module is adapted to close the picture-in-picture floating window when it is detected that the user triggers the closing of the picture-in-picture floating window on the control panel.

B18、根据B10-B17任一项所述的装置,其中,所述第一构建模块进一步包括:B18. The device according to any one of B10-B17, wherein the first building block further comprises:

启动单元,适于启动画中画浮窗服务;The starting unit is suitable for starting the picture-in-picture floating window service;

获取单元,适于获取窗口管理服务对象;An acquisition unit adapted to acquire a window management service object;

构建单元,适于构建画中画浮窗。Construction unit, suitable for constructing picture-in-picture floating windows.

Claims (10)

CN201610483737.2A2016-06-272016-06-27Method and device for carrying out live broadcast on video in picture in picture modePendingCN105933756A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610483737.2ACN105933756A (en)2016-06-272016-06-27Method and device for carrying out live broadcast on video in picture in picture mode

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610483737.2ACN105933756A (en)2016-06-272016-06-27Method and device for carrying out live broadcast on video in picture in picture mode

Publications (1)

Publication NumberPublication Date
CN105933756Atrue CN105933756A (en)2016-09-07

Family

ID=56828264

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610483737.2APendingCN105933756A (en)2016-06-272016-06-27Method and device for carrying out live broadcast on video in picture in picture mode

Country Status (1)

CountryLink
CN (1)CN105933756A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108235104A (en)*2018-01-192018-06-29深圳市富途网络科技有限公司A kind of live video floating window playback method for mobile terminal
CN109151581A (en)*2018-07-262019-01-04北京奇艺世纪科技有限公司A kind of data output method and device
CN109819305A (en)*2018-12-282019-05-28深圳豪客互联网有限公司Video playing control method and device in a kind of application program
CN109933386A (en)*2019-03-282019-06-25努比亚技术有限公司The starting method, apparatus and computer readable storage medium of picture-in-picture mode
CN110276769A (en)*2018-03-132019-09-24上海狮吼网络科技有限公司Live content localization method in a kind of video picture-in-pictures framework
CN111773660A (en)*2020-07-032020-10-16珠海金山网络游戏科技有限公司 A cloud game processing system, method and device
CN113115115A (en)*2021-03-052021-07-13广州虎牙科技有限公司Message pushing method and device, electronic equipment and computer-readable storage medium
CN116506669A (en)*2023-04-032023-07-28云智联网络科技(北京)有限公司Method and device for displaying multiple streams through picture-in-picture and electronic equipment
CN116744067A (en)*2023-06-152023-09-12优酷网络技术(北京)有限公司 Video playback method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2007033946A (en)*2005-07-272007-02-08Sharp Corp Video composition apparatus and program
CN101594504A (en)*2008-05-302009-12-02三星电子(中国)研发中心 How to Add Subpicture Before DVD Disc Finalization
CN103607657A (en)*2013-11-202014-02-26乐视网信息技术(北京)股份有限公司Method and device for realizing picture-in-picture playing function
CN103745733A (en)*2013-12-232014-04-23乐视网信息技术(北京)股份有限公司Video playing control method and video player
CN103957447A (en)*2014-05-082014-07-30济南四叶草信息技术有限公司Multi-window floating playing system
CN105187939A (en)*2015-09-212015-12-23合一网络技术(北京)有限公司Method and device of playing video in webpage game
EP2947932A4 (en)*2013-02-182016-01-13Huawei Tech Co Ltd METHOD AND APPARATUS FOR SYNCHRONIZING LIVE VIDEO BROADCAST
CN105353943A (en)*2015-12-012016-02-24广州华多网络科技有限公司Data display method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2007033946A (en)*2005-07-272007-02-08Sharp Corp Video composition apparatus and program
CN101594504A (en)*2008-05-302009-12-02三星电子(中国)研发中心 How to Add Subpicture Before DVD Disc Finalization
EP2947932A4 (en)*2013-02-182016-01-13Huawei Tech Co Ltd METHOD AND APPARATUS FOR SYNCHRONIZING LIVE VIDEO BROADCAST
CN103607657A (en)*2013-11-202014-02-26乐视网信息技术(北京)股份有限公司Method and device for realizing picture-in-picture playing function
CN103745733A (en)*2013-12-232014-04-23乐视网信息技术(北京)股份有限公司Video playing control method and video player
CN103957447A (en)*2014-05-082014-07-30济南四叶草信息技术有限公司Multi-window floating playing system
CN105187939A (en)*2015-09-212015-12-23合一网络技术(北京)有限公司Method and device of playing video in webpage game
CN105353943A (en)*2015-12-012016-02-24广州华多网络科技有限公司Data display method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
AN9T: "安卓怎样实现画中画视频悬浮播放", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/FEDF073760CC0335AC89778F.HTML》*
超爱小朋友: "华为荣耀6plus怎么边看视频边聊天 视频浮动小窗", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/AFD8F4DE629BCB34E386E967.HTML》*

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108235104A (en)*2018-01-192018-06-29深圳市富途网络科技有限公司A kind of live video floating window playback method for mobile terminal
CN108235104B (en)*2018-01-192020-08-28深圳市富途网络科技有限公司Live video floating window playing method for mobile terminal
CN110276769A (en)*2018-03-132019-09-24上海狮吼网络科技有限公司Live content localization method in a kind of video picture-in-pictures framework
CN110276769B (en)*2018-03-132023-07-11上海薇龙文化传播有限公司Live broadcast content positioning method in video picture-in-picture architecture
CN109151581A (en)*2018-07-262019-01-04北京奇艺世纪科技有限公司A kind of data output method and device
CN109819305A (en)*2018-12-282019-05-28深圳豪客互联网有限公司Video playing control method and device in a kind of application program
CN109933386A (en)*2019-03-282019-06-25努比亚技术有限公司The starting method, apparatus and computer readable storage medium of picture-in-picture mode
CN111773660A (en)*2020-07-032020-10-16珠海金山网络游戏科技有限公司 A cloud game processing system, method and device
CN113115115A (en)*2021-03-052021-07-13广州虎牙科技有限公司Message pushing method and device, electronic equipment and computer-readable storage medium
CN116506669A (en)*2023-04-032023-07-28云智联网络科技(北京)有限公司Method and device for displaying multiple streams through picture-in-picture and electronic equipment
CN116744067A (en)*2023-06-152023-09-12优酷网络技术(北京)有限公司 Video playback method and device

Similar Documents

PublicationPublication DateTitle
CN105933756A (en)Method and device for carrying out live broadcast on video in picture in picture mode
CN106231259B (en)Display methods, video player and the server of monitored picture
US9553968B2 (en)Method and device for recording information
KR101884481B1 (en)Announcement of program synchronized triggered declarative objects
CN106488335B (en)Live-broadcast control method and device
CN105744289B (en)Live event reminding method and device
CN107483812B (en)Multi-platform parallel live broadcast method and device
CN111405311B (en)Live program storage method and device, electronic equipment and storage medium
CN106210797A (en)Live network broadcast method and device
CN105681928A (en)Device control method and apparatus
US20140052775A1 (en)Forwarding information to designated user terminal
US20210029209A1 (en)Method, device, terminal, server, system and storage medium for displaying information
CN105163152A (en)Interactive access method for television interaction system
WO2023011021A1 (en)Live picture display method and apparatus, storage medium, and electronic device
WO2017113707A1 (en)Multi-screen switching method, server and terminal
CN105453576A (en)Paired devices
CN105468438B (en)The method and device of process recovery processing is carried out in the application
CN103024556A (en)System and method for automatically skipping television channels
CN106331619A (en) Information sending method and device
CN110769275B (en)Method, device and system for processing live data stream
CN106879035A (en) A method, device, server and system for realizing switching of terminal equipment
CN111787408B (en)Processing method, playing device and storage medium for multi-type multimedia mixed playing
CN105704576A (en)Page display method and device
CN109831538B (en)Message processing method, device, server, terminal and medium
CN116016284B (en) Data analysis method, device, electronic device and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20160907


[8]ページ先頭

©2009-2025 Movatter.jp