Movatterモバイル変換


[0]ホーム

URL:


CN111901671A - Video connection method and device - Google Patents

Video connection method and device
Download PDF

Info

Publication number
CN111901671A
CN111901671ACN202010806059.5ACN202010806059ACN111901671ACN 111901671 ACN111901671 ACN 111901671ACN 202010806059 ACN202010806059 ACN 202010806059ACN 111901671 ACN111901671 ACN 111901671A
Authority
CN
China
Prior art keywords
terminal
connection
response
video connection
video
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.)
Granted
Application number
CN202010806059.5A
Other languages
Chinese (zh)
Other versions
CN111901671B (en
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.)
Shanghai Lianshang Network Technology Group Co.,Ltd.
Original Assignee
Shanghai Lianshang Network Technology 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 Shanghai Lianshang Network Technology Co LtdfiledCriticalShanghai Lianshang Network Technology Co Ltd
Priority to CN202010806059.5ApriorityCriticalpatent/CN111901671B/en
Publication of CN111901671ApublicationCriticalpatent/CN111901671A/en
Application grantedgrantedCritical
Publication of CN111901671BpublicationCriticalpatent/CN111901671B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了视频连线方法和装置,涉及视频技术领域。具体实施方式包括:响应于检测到设置触发操作且确定该第一终端具有视频连线权限,展示针对视频连线功能的设置页面;响应于在该设置页面检测到设置操作,向服务端发送功能开启指令,以使该服务端开启该第一终端的视频连线功能;响应于从该服务端接收到与第二终端的视频连线指令,与该第二终端进行实时视频连线。本申请在第一终端的用户设置了与第二终端的视频连线功能的情况下,可以通过服务器自动与其它终端进行视频连线。此外,本申请中的第二终端可以通过一定的支出实现与主播的第一终端的连线,从而可以增加主播和/或直播平台的收益。

Figure 202010806059

The present application discloses a video connection method and device, and relates to the field of video technology. The specific embodiment includes: in response to detecting the setting trigger operation and determining that the first terminal has the video connection authority, displaying a setting page for the video connection function; in response to detecting the setting operation on the setting page, sending the function to the server. An opening instruction is used to enable the server to enable the video connection function of the first terminal; in response to receiving a video connection instruction with the second terminal from the server, a real-time video connection is performed with the second terminal. In the present application, when the user of the first terminal has set the function of video connection with the second terminal, the server can automatically perform video connection with other terminals. In addition, the second terminal in the present application can realize the connection with the first terminal of the host through a certain expenditure, so as to increase the income of the host and/or the live broadcast platform.

Figure 202010806059

Description

Translated fromChinese
视频连线方法和装置Video connection method and device

技术领域technical field

本申请涉及计算机技术领域,具体涉及视频技术领域,尤其涉及视频连线方法和装置。The present application relates to the field of computer technology, in particular to the field of video technology, and in particular to a video connection method and device.

背景技术Background technique

随着视频技术的发展,用户可以观看到各种各样的视频,比如直播视频、短视频等等。With the development of video technology, users can watch a variety of videos, such as live videos, short videos, and so on.

在直播的场景中,主播会拍摄视频,并将视频上传到服务器,以使直播的观众观看到视频。观众与主播可以进行各种交互,比如,观众可以发送文字弹幕,还可以向主播赠送礼物。In the live broadcast scenario, the host will shoot the video and upload the video to the server so that the live audience can watch the video. Viewers and anchors can interact in various ways. For example, viewers can send text barrages and present gifts to anchors.

发明内容SUMMARY OF THE INVENTION

提供了一种视频连线方法、装置、电子设备以及存储介质。Provided are a video connection method, device, electronic device and storage medium.

根据第一方面,提供了一种视频连线方法,用于第一终端,该方法包括:响应于检测到设置触发操作且确定所述第一终端具有视频连线权限,展示针对视频连线功能的设置页面;响应于在所述设置页面检测到设置操作,向服务端发送功能开启指令,以使所述服务端开启所述第一终端的视频连线功能;响应于从所述服务端接收到与第二终端的视频连线指令,与所述第二终端进行实时视频连线,其中,视频连线指令是服务端响应于确定第二终端所登录的账号已支出目标连线支出所发送的。According to a first aspect, there is provided a video connection method for a first terminal, the method comprising: in response to detecting a setting trigger operation and determining that the first terminal has a video connection authority, displaying a video connection function setting page; in response to detecting a setting operation on the setting page, send a function enabling instruction to the server, so that the server enables the video connection function of the first terminal; in response to receiving from the server To the video connection instruction with the second terminal, and perform a real-time video connection with the second terminal, wherein the video connection instruction is sent by the server in response to determining that the account logged in by the second terminal has spent the target connection expenditure of.

根据第二方面,提供了一种视频连线方法,用于服务端,所述方法包括:响应于接收到第一终端发送的功能开启指令,开启所述第一终端的视频连线功能,其中,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;若接收到第二终端发送的对所述第一终端的视频连线请求,响应于确定所述第二终端所登录的账号已支出目标连线支出,向所述第一终端发送与所述第二终端的视频连线指令,并建立所述第一终端与所述第二终端的实时视频连线。According to a second aspect, there is provided a video connection method for a server, the method comprising: in response to receiving a function enabling instruction sent by a first terminal, enabling a video connection function of the first terminal, wherein , the function enabling instruction is sent by the first terminal in response to detecting a setting operation on the setting page, and the first terminal has video connection authority; The video connection request of the terminal, in response to determining that the account logged in by the second terminal has spent the target connection expenditure, send a video connection instruction with the second terminal to the first terminal, and establish the first terminal. A real-time video connection between a terminal and the second terminal.

根据第三方面,提供了一种视频连线方法,用于第二终端,所述方法包括:响应于第一终端的视频连线功能已开启,展示与所述第一终端进行视频连线的连线入口,其中,所述视频连线功能是服务端响应于接收到第一终端发送的功能开启指令所开启的,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;响应于检测到对所述连线入口的操作,向所述服务端发送视频连线请求;响应于从所述服务端接收到与所述第一终端的视频连线指令,与所述第一终端进行实时视频连线,其中,视频连线指令是服务端响应于确定第二终端所登录的账号已支出目标连线支出所发送的。According to a third aspect, there is provided a video connection method for a second terminal, the method comprising: in response to the video connection function of the first terminal being enabled, displaying a video connection with the first terminal A connection entry, wherein the video connection function is enabled by the server in response to receiving a function enabling instruction sent by the first terminal, and the function enabling instruction is the first terminal responding to detection on the setting page Sent by the setting operation, the first terminal has video connection authority; in response to detecting the operation on the connection entry, send a video connection request to the server; in response to receiving from the server The video connection instruction with the first terminal is to perform a real-time video connection with the first terminal, wherein the video connection instruction is the response of the server to determining that the account logged in by the second terminal has spent the target connection expenditure. sent.

根据第四方面,提供了一种视频连线装置,用于第一终端,该装置包括:展示单元,被配置成响应于检测到设置触发操作且确定所述第一终端具有视频连线权限,展示针对视频连线功能的设置页面;功能确认单元,被配置成响应于在所述设置页面检测到设置操作,向服务端发送功能开启指令,以使所述服务端开启所述第一终端的视频连线功能;连线单元,被配置成响应于从所述服务端接收到与第二终端的视频连线指令,与所述第二终端进行实时视频连线,其中,视频连线指令是服务端响应于确定第二终端所登录的账号已支出目标连线支出所发送的。According to a fourth aspect, there is provided a video connection apparatus for a first terminal, the apparatus comprising: a presentation unit configured to, in response to detecting a setting trigger operation and to determine that the first terminal has video connection authority, A setting page for the video connection function is displayed; the function confirmation unit is configured to, in response to detecting a setting operation on the setting page, send a function enabling instruction to the server, so that the server enables the first terminal A video connection function; a connection unit configured to perform a real-time video connection with the second terminal in response to receiving a video connection instruction with the second terminal from the server, wherein the video connection instruction is Sent by the server in response to determining that the account logged in by the second terminal has spent the target connection spending.

根据第五方面,提供了一种视频连线装置,用于服务端,所述装置包括:开启单元,被配置成响应于接收到第一终端发送的功能开启指令,开启所述第一终端的视频连线功能,其中,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;建立单元,被配置成若接收到第二终端发送的对所述第一终端的视频连线请求,响应于确定所述第二终端所登录的账号已支出目标连线支出,向所述第一终端发送与所述第二终端的视频连线指令,并建立所述第一终端与所述第二终端的实时视频连线。According to a fifth aspect, there is provided a video connection device for a server, the device comprising: an enabling unit configured to, in response to receiving a function enabling instruction sent by the first terminal, enable the first terminal's A video connection function, wherein the function enabling instruction is sent by the first terminal in response to detecting a setting operation on the setting page, and the first terminal has video connection authority; the establishment unit is configured to: After receiving the video connection request to the first terminal sent by the second terminal, in response to determining that the account logged in by the second terminal has spent the target connection expenditure, sending a video link to the first terminal with the second terminal. The video connection instruction of the terminal is established, and the real-time video connection between the first terminal and the second terminal is established.

根据第六方面,提供了一种视频连线装置,用于第二终端,所述装置包括:响应于第一终端的视频连线功能已开启,展示与所述第一终端进行视频连线的连线入口,其中,所述视频连线功能是服务端响应于接收到第一终端发送的功能开启指令所开启的,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;响应于检测到对所述连线入口的操作,向所述服务端发送视频连线请求;响应于从所述服务端接收到与所述第一终端的视频连线指令,与所述第一终端进行实时视频连线,其中,视频连线指令是服务端响应于确定第二终端所登录的账号已支出目标连线支出所发送的。According to a sixth aspect, there is provided a video connection apparatus for a second terminal, the apparatus comprising: in response to the video connection function of the first terminal being enabled, displaying a video connection with the first terminal A connection entry, wherein the video connection function is enabled by the server in response to receiving a function enabling instruction sent by the first terminal, and the function enabling instruction is the first terminal responding to detection on the setting page Sent by the setting operation, the first terminal has video connection authority; in response to detecting the operation on the connection entry, send a video connection request to the server; in response to receiving from the server The video connection instruction with the first terminal is to perform a real-time video connection with the first terminal, wherein the video connection instruction is the response of the server to determining that the account logged in by the second terminal has spent the target connection expenditure. sent.

根据第七方面,提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如视频连线方法中任一实施例的方法。According to a seventh aspect, there is provided an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, so that a The or more processors implement the method as in any of the embodiments of the video linking method.

根据第八方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如视频连线方法中任一实施例的方法。According to an eighth aspect, there is provided a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the method as in any one of the embodiments of the video connection method.

根据本申请的方案,在第一终端的用户设置了与第二终端的视频连线功能的情况下,可以通过服务器自动与其它终端进行视频连线。此外,本申请中的第二终端可以通过一定的支出实现与主播的第一终端的连线,从而可以增加主播和/或直播平台的收益。According to the solution of the present application, when the user of the first terminal has set the video connection function with the second terminal, the video connection with other terminals can be automatically performed through the server. In addition, the second terminal in the present application can realize the connection with the first terminal of the host through a certain expenditure, so that the income of the host and/or the live broadcast platform can be increased.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1是本申请一些实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;

图2a是根据本申请的视频连线方法的一个实施例的流程图;2a is a flowchart of an embodiment of a video connection method according to the present application;

图2b是根据本申请的视频连线方法的一个应用场景的示意图;2b is a schematic diagram of an application scenario of the video connection method according to the present application;

图3是根据本申请的视频连线方法的又一个实施例的流程图;3 is a flow chart of another embodiment of a video connection method according to the present application;

图4a是根据本申请的视频连线方法的又一个实施例的流程图;4a is a flow chart of yet another embodiment of a video connection method according to the present application;

图4b是根据本申请的视频连线方法的又一个应用场景的示意图;4b is a schematic diagram of another application scenario of the video connection method according to the present application;

图4c是根据本申请的视频连线方法的又一个应用场景的示意图;4c is a schematic diagram of another application scenario of the video connection method according to the present application;

图5是根据本申请的视频连线装置的一个实施例的结构示意图;5 is a schematic structural diagram of an embodiment of a video connection device according to the present application;

图6是用来实现本申请实施例的视频连线方法的电子设备的框图。FIG. 6 is a block diagram of an electronic device for implementing the video connection method according to the embodiment of the present application.

具体实施方式Detailed ways

以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present application are described below with reference to the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

图1示出了可以应用本申请的视频连线方法或视频连线装置的实施例的示例性系统架构100。FIG. 1 illustrates an exemplary system architecture 100 to which embodiments of the video linking method or video linking apparatus of the present application may be applied.

如图1所示,系统架构100可以包括终端设备101、102,网络104和服务器103。网络104用以在终端设备101、102和服务器103之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the system architecture 100 may includeterminal devices 101 , 102 , anetwork 104 and aserver 103 . Thenetwork 104 is a medium used to provide a communication link between theterminal devices 101 , 102 and theserver 103 . Thenetwork 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

用户可以使用终端设备101、102通过网络104与服务器105服务器103交互,以接收或发送消息等。终端设备101、102上可以安装有各种通讯客户端应用,例如视频类应用、直播应用、即时通信工具、邮箱客户端、社交平台软件等。The user can use theterminal devices 101 and 102 to interact with the server 105 and theserver 103 through thenetwork 104 to receive or send messages and the like. Various communication client applications may be installed on theterminal devices 101 and 102 , such as video applications, live broadcast applications, instant communication tools, email clients, social platform software, and the like.

这里的终端设备101、102可以是硬件,也可以是软件。当终端设备101、102为硬件时,可以是具有显示屏的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。当终端设备101、102为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的多个软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。在实践中,终端设备101、102可以分别为主播端和观众端。Theterminal devices 101 and 102 here may be hardware or software. When theterminal devices 101 and 102 are hardware, they can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, e-book readers, laptop computers, desktop computers, and the like. When theterminal devices 101 and 102 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (eg, multiple software or software modules for providing distributed services), or as a single software or software module. There is no specific limitation here. In practice, theterminal devices 101 and 102 may be the host side and the viewer side respectively.

服务器103可以是提供各种服务的服务器,例如对终端设备101、102提供支持的后台服务器。后台服务器可以对接收到的功能开启指令等数据进行分析等处理,并将处理结果(例如视频连线功能开启指示信息)反馈给终端设备。Theserver 103 may be a server that provides various services, such as a background server that provides support for theterminal devices 101 and 102 . The background server can analyze and process the received data such as the function enabling instruction, and feed back the processing result (for example, the video connection function enabling instruction information) to the terminal device.

需要说明的是,本申请实施例所提供的视频连线方法可以由服务器103或者终端设备101、102执行,相应地,视频连线装置可以设置于服务器103或者终端设备101、102中。It should be noted that the video connection method provided by the embodiments of the present application may be executed by theserver 103 or theterminal devices 101 and 102 , and correspondingly, the video connection device may be set in theserver 103 or theterminal devices 101 and 102 .

应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.

继续参考图2a,示出了根据本申请的视频连线方法的一个实施例的流程200。该视频连线方法,包括以下步骤:Continuing to refer to FIG. 2a, aflow 200 of an embodiment of a video connection method according to the present application is shown. The video connection method includes the following steps:

步骤201,响应于检测到设置触发操作且确定第一终端具有视频连线权限,展示针对视频连线功能的设置页面。Step 201, in response to detecting the setting trigger operation and determining that the first terminal has the video connection authority, displaying a setting page for the video connection function.

在本实施例中,视频连线方法运行于其上的执行主体(例如图1所示的终端设备)可以在第一终端具有视频连线权限的情况下,若检测到设置触发操作,则展示针对视频连线功能的设置页面。具体地,视频连线功能可以指至少两个终端之间进行视频会议的功能,或者指至少一个终端中的每个终端分别与目标终端(比如主播的终端)之间的单线视频连线功能。在实践中,视频连线权限可以是第一终端的用户设置的,也可以是服务端赋予的。在实践中,该视频连线权限可以是第一终端本身的连线权限,此外,该连线权限也可以与在第一终端登录的账号相关联,也即,该账号具有连线权限,从而该终端具有该连线权限。In this embodiment, the execution subject (for example, the terminal device shown in FIG. 1 ) on which the video connection method runs may display the setting trigger operation when the first terminal has the video connection authority. Settings page for the video connection feature. Specifically, the video connection function may refer to a video conference function between at least two terminals, or a single-line video connection function between each of the at least one terminal and a target terminal (such as a host's terminal). In practice, the video connection authority may be set by the user of the first terminal, or may be granted by the server. In practice, the video connection authority may be the connection authority of the first terminal itself, and in addition, the connection authority may also be associated with the account logged in the first terminal, that is, the account has the connection authority, thus The terminal has the connection permission.

第一终端的用户可以对设置页面进行操作,以实现设置视频连线功能的具体的功能项目。比如,视频连线功能能够设置的功能项目可以包括参与视频连线的人数,此外,还可以包括参与视频连线的终端的地理区域,比如某个国家等等。The user of the first terminal can operate the setting page to implement specific function items for setting the video connection function. For example, the functional items that can be set by the video connection function may include the number of people participating in the video connection, and may also include the geographic area of the terminal participating in the video connection, such as a certain country and so on.

在实践中,设置页面中可以包括不同的功能项目对应的选项,这样,用户就可以在这些选项中进行选择。In practice, options corresponding to different functional items can be included in the settings page, so that the user can choose among these options.

步骤202,响应于在设置页面检测到设置操作,向服务端发送功能开启指令,以使服务端开启第一终端的视频连线功能。Step 202 , in response to detecting the setting operation on the setting page, send a function enabling instruction to the server, so that the server enables the video connection function of the first terminal.

在本实施例中,上述执行主体若在设置页面检测到设置操作,可以向服务端发送功能开启指令,以使该服务端开启第一终端的视频连线功能。In this embodiment, if the above-mentioned execution body detects a setting operation on the setting page, it may send a function enabling instruction to the server, so that the server enables the video connection function of the first terminal.

这里的设置操作可以是对功能项目的选择,也可以是输入的功能项目名称等等。此外,设置操作还可以包括对选择和/或输入的内容的确认操作。The setting operation here can be the selection of the function item, or the input function item name and so on. In addition, the setting operation may further include a confirming operation of the selected and/or inputted content.

步骤203,响应于从服务端接收到与第二终端的视频连线指令,与第二终端进行实时视频连线,其中,所述视频连线指令是所述服务端响应于确定所述第二终端所登录的账号已支出目标连线支出所发送的。Step 203, in response to receiving a video connection instruction with the second terminal from the server, perform a real-time video connection with the second terminal, wherein the video connection instruction is the response of the server to determining the second terminal. The account logged in by the terminal has already spent the target connection expenses sent.

在本实施例中,上述执行主体在从服务端接收到与第二终端的视频连线指令的情况下,可以与第二终端进行自动的实时视频连线。In this embodiment, the above-mentioned execution body may perform automatic real-time video connection with the second terminal when receiving the video connection instruction with the second terminal from the server.

本申请的上述实施例提供的方法在第一终端的用户设置了与第二终端的视频连线功能的情况下,可以通过服务器自动与其它终端进行视频连线。此外,本实施例中的第二终端可以通过一定的支出实现与主播的第一终端的连线,从而可以增加主播和/或直播平台的收益。In the method provided by the above-mentioned embodiments of the present application, when the user of the first terminal has set the function of video connection with the second terminal, the video connection can be automatically performed with other terminals through the server. In addition, the second terminal in this embodiment can realize the connection with the first terminal of the host through a certain expenditure, so that the income of the host and/or the live broadcast platform can be increased.

在本实施例的一些可选的实现方式中,步骤201中的响应于检测到设置触发操作且确定第一终端具有视频连线权限,可以包括:在第一终端正在进行直播的情况下,响应于检测到设置触发操作且确定第一终端具有视频连线权限,其中,所述第一终端为主播端,所述第二终端为观众端。In some optional implementations of this embodiment, instep 201, in response to detecting the setting trigger operation and determining that the first terminal has the video connection authority, it may include: in the case that the first terminal is performing a live broadcast, responding After the setting trigger operation is detected and it is determined that the first terminal has the video connection authority, the first terminal is the broadcaster and the second terminal is the viewer.

在这些可选的实现方式中,第一终端可以在正在进行直播的情况下设置视频连线功能。从而实现第一终端在直播过程中与直播观众的终端进行视频连线。In these optional implementation manners, the first terminal may set a video connection function when live broadcast is being performed. Thus, the first terminal can perform video connection with the terminal of the live viewer during the live broadcast.

这些实现方式可以在直播的场景中,让主播与观众进行视频连线,给主播和观众提供更多的互动渠道。These implementations can allow the host to connect with the audience in a live broadcast scenario, providing more interactive channels for the host and the audience.

在本实施例的一些可选的实现方式中,设置页面包括连线人数的控件和连线支出的控件,连线支出为与第一终端进行视频连线所需的支出;步骤202中的响应于在设置页面检测到设置操作,向服务端发送功能开启指令,可以包括:响应于检测到对连线人数的控件的第一设置操作,以及检测到对连线支出的控件的第二设置操作,确定第一设置操作对应的目标连线人数和第二设置操作对应的目标连线支出,向服务端发送携带指示信息的功能开启指令,其中,指示信息用于指示目标连线人数和目标连线支出,第二终端的数量小于或等于目标连线人数。In some optional implementations of this embodiment, the setting page includes a control for the number of people connected and a control for connection expenditure, and the connection expenditure is the expenditure required for video connection with the first terminal; the response instep 202 In response to detecting the setting operation on the setting page, sending a function opening instruction to the server may include: in response to detecting the first setting operation of the control for the number of people connected to the connection, and detecting the second setting operation of the control for the connection expenditure , determine the target connection number corresponding to the first setting operation and the target connection expenditure corresponding to the second setting operation, and send a function opening instruction carrying indication information to the server, wherein the indication information is used to indicate the target connection number and target connection. Line spending, the number of second terminals is less than or equal to the target number of connections.

在这些可选的实现方式中,上述执行主体若检测到用户对连线人数的控件的操作也即第一设置操作,且检测到用户对连线支出的控件的操作也即第二设置操作,则可以确定第一设置操作对应的连线人数作为目标连线人数,并确定第二设置操作对应的支出作为目标连线支出,向服务端发送功能开启指令。具体地,该功能开启指令可以携带指示目标连线人数和目标连线支出的信息。这里的支出可以指通过电子账户支出通用货币、虚拟金币等等。In these optional implementations, if the above-mentioned execution body detects that the user's operation on the control of the number of people connected is the first setting operation, and detects that the user's operation on the control of the connection expenditure is also the second setting operation, Then, the number of connections corresponding to the first setting operation may be determined as the target number of connections, and the expenditure corresponding to the second setting operation may be determined as the target connection expenditure, and a function enabling instruction is sent to the server. Specifically, the function enabling instruction may carry information indicating the target number of connections and the target connection expenditure. The expenditure here may refer to the expenditure of common currency, virtual gold coins, etc. through an electronic account.

服务端在确定第二终端已支出目标连线支出的情况下,可以向第一终端发送视频连线指令。目标连线人数可以指与主播的终端也即第一终端进行连线的观众的终端的数量,此外,也可以指参与视频连线的所有终端的数量。The server may send a video connection instruction to the first terminal when it is determined that the target connection expenditure has been spent by the second terminal. The target number of connections may refer to the number of viewers' terminals connected with the host's terminal, that is, the first terminal, and may also refer to the number of all terminals participating in the video connection.

如图2b所示,图中示出了付费连线价格也即目标连线支出,也示出了同时连线粉丝数也即目标连线人数。图中的“确认创建”为上述确认操作,指确认创建第一终端的视频连线功能。As shown in FIG. 2b, the figure shows the price of paid connection, that is, the target connection expenditure, and also the number of fans who are connected at the same time, that is, the target number of connections. "Confirm the creation" in the figure is the above-mentioned confirmation operation, which refers to confirming the creation of the video connection function of the first terminal.

这些实现方式可以让第一终端的用户设置与其进行视频连线的用户所需的支出以及视频连线人数的上限,从而让视频连线更加符合第一终端的用户比如主播的意愿,增加主播对视频连线的可控性。These implementations can allow the user of the first terminal to set the expenditure required by the user who is connected to the video connection and the upper limit of the number of video connections, so that the video connection is more in line with the wishes of the user of the first terminal such as the host, and the host's interest in the video connection is increased. Controllability of video connections.

在这些实现方式的一些可选的应用场景中,步骤201中的响应于检测到设置触发操作且确定第一终端具有视频连线权限,可以包括:响应于检测到设置触发操作,向服务端发送权限状态请求;响应于接收到服务端反馈的、第一终端的连线权限状态信息,判断连线权限状态信息是否指示第一终端具有视频连线权限;若是,则确定第一终端具有视频连线权限。In some optional application scenarios of these implementations, instep 201, in response to detecting the setting trigger operation and determining that the first terminal has the video connection authority, it may include: in response to detecting the setting trigger operation, sending a message to the server. Permission status request; in response to receiving the connection authority status information of the first terminal fed back by the server, determine whether the connection authority status information indicates that the first terminal has video connection authority; if so, determine that the first terminal has video connection authority line permissions.

在这些可选的应用场景中,服务端或者与服务端通信连接的其它电子设备可以存储有第一终端的连线权限状态信息。上述执行主体可以在用户通过设置触发操作来启动视频连线功能设置的情况下,从服务端获取连线权限状态信息。具体地,上述执行主体可以在检测到用户的设置触发操作的情况下,向服务端发送连线权限状态请求,以通过服务端的反馈来判断第一终端的连线权限情况也即连线权限状态信息。该连线权限状态信息可以指示第一终端是否具有视频连线权限。In these optional application scenarios, the server or other electronic devices communicatively connected to the server may store connection permission status information of the first terminal. The above-mentioned execution body can obtain the connection permission status information from the server when the user starts the setting of the video connection function by setting the trigger operation. Specifically, the above-mentioned executive body may send a connection permission status request to the server when detecting the setting triggering operation of the user, so as to judge the connection permission status of the first terminal, that is, the connection permission status through feedback from the server information. The connection permission status information may indicate whether the first terminal has video connection permission.

在实践中,连线权限状态信息也可以预先存储于第一终端本地。In practice, the connection permission state information may also be pre-stored locally in the first terminal.

这些实现方式可以将指示第一终端的视频连线权限的信息存储于服务端,从而在用户更换手机等情况下仍然能够确保第一终端准确地确定出本地的视频连线权限。These implementations can store the information indicating the video connection authority of the first terminal on the server, so that the first terminal can still accurately determine the local video connection authority even when the user changes mobile phones.

可选地,步骤201中的响应于检测到设置触发操作且确定第一终端具有视频连线权限,还可以包括:若否,则显示连线权限开启入口;响应于检测到对连线权限开启入口的操作,显示连线权限设置页面;响应于检测到对连线权限设置页面的权限开启标识的操作,确定第一终端具有视频连线权限,向服务端发送指示第一终端具有视频连线权限的信息。Optionally, instep 201, in response to detecting the setting trigger operation and determining that the first terminal has the video connection authority, it may further include: if not, displaying the connection authority opening entry; in response to detecting that the connection authority is turned on The operation of the entrance displays the connection authority setting page; in response to detecting the operation of the authority opening flag on the connection authority setting page, it is determined that the first terminal has the video connection authority, and an indication is sent to the server that the first terminal has the video connection. permission information.

具体地,上述执行主体可以在判断结果为否的情况下,显示连线权限开启入口。该入口用于指示用户来开启第一终端的视频连线的权限。上述执行主体检测到对该入口的操作,可以显示连线权限设置页面,从而让用户在该页面中开启第一终端的视频连线权限。Specifically, the above-mentioned execution body may display the connection permission opening entry when the judgment result is negative. The entry is used to instruct the user to open the right of the video connection of the first terminal. The above-mentioned execution body detects the operation on the entrance, and can display the connection permission setting page, so that the user can enable the video connection permission of the first terminal on the page.

在该页面中可以存在权限开启标识,若上述执行主体检测到用户对该标识的操作,则可以确定第一终端具有视频连线权限。具体地,该权限开启标识可以为开启第一终端的视频连线权限的开关。There may be a permission opening indicator on this page, and if the above-mentioned execution body detects that the user operates the indicator, it can be determined that the first terminal has the video connection permission. Specifically, the permission opening identifier may be a switch for enabling the video connection permission of the first terminal.

上述执行主体可以在确定第一终端具有视频连线权限的情况下,向服务端发送指示信息,以指示第一终端已具有视频连线权限。The above-mentioned execution body may send indication information to the server to indicate that the first terminal has the right to connect to the video when it is determined that the first terminal has the right to connect to the video.

这些可选的应用场景可以在第一终端没有视频连线权限的情况下,向用户显示开启权限的入口,从而有助于视频连线的顺利进行。These optional application scenarios can display to the user an entrance for enabling the permission when the first terminal does not have the permission to connect to the video, thereby facilitating the smooth progress of the video connection.

继续参见图3,图3是根据本实施例的视频连线方法一个实施例的流程图。Continuing to refer to FIG. 3 , FIG. 3 is a flowchart of an embodiment of a video connection method according to this embodiment.

进一步参考图4a,其示出了视频连线方法的又一个实施例的流程400。该流程400,用于服务端,包括以下步骤:With further reference to Figure 4a, aflow 400 of yet another embodiment of a video linking method is shown. Theprocess 400, for the server, includes the following steps:

步骤401,响应于接收到第一终端发送的功能开启指令,开启第一终端的视频连线功能,其中,功能开启指令是第一终端响应于在设置页面检测到设置操作发送的,第一终端具有视频连线权限。Step 401, in response to receiving a function enabling instruction sent by the first terminal, enable the video connection function of the first terminal, wherein the function enabling instruction is sent by the first terminal in response to detecting a setting operation on the setting page, and the first terminal Have video connection permission.

在本实施例中,视频连线方法运行于其上的执行主体(例如图1所示的服务器)可以在接收到第一终端发送的功能开启指令的情况下,开启第一终端的视频连线功能。In this embodiment, the execution body (for example, the server shown in FIG. 1 ) on which the video connection method runs may start the video connection of the first terminal in the case of receiving the function start instruction sent by the first terminal Function.

步骤402,若接收到第二终端发送的对第一终端的视频连线请求,响应于确定第二终端所登录的账号已支出目标连线支出,向第一终端发送与第二终端的视频连线指令,并建立第一终端与第二终端的实时视频连线。Step 402, if a video connection request to the first terminal sent by the second terminal is received, in response to determining that the account logged in by the second terminal has spent the target connection expenditure, send a video connection with the second terminal to the first terminal. line command, and establish a real-time video connection between the first terminal and the second terminal.

在本实施例中,上述执行主体可以在接收到第二终端发送的视频连线请求的情况下,向第一终端发送与第二终端的视频连线指令,并建立第一终端与第二终端之间的实时视频连线。In this embodiment, the above-mentioned execution body may send a video connection instruction with the second terminal to the first terminal in the case of receiving the video connection request sent by the second terminal, and establish the connection between the first terminal and the second terminal. Live video connection between.

在实践中,第二终端的数量可以是一个或者两个以上。在第二终端的数量为两个以上的情况下,上述服务端若接收到这两个以上的第二终端中的任一第二终端向该服务端发送视频连线请求,则建立该任一第二终端与第一终端之间的实时视频连线。In practice, the number of second terminals may be one or more than two. When the number of the second terminals is more than two, if the above-mentioned server receives any one of the two or more second terminals to send a video connection request to the server, the server will establish any one of the two or more second terminals to send a video connection request to the server. The real-time video connection between the second terminal and the first terminal.

在这些可选的实现方式中,上述执行主体可以在确定第二终端的账户已经支出了目标连线支出的情况下,发送视频连线指令。在实践中,上述执行主体可以从与第二终端有通信连接的其它电子设备(比如支出服务器)获取到指示第二终端是否已支出目标连线支出的信息。In these optional implementation manners, the above-mentioned execution body may send a video connection instruction under the condition that it is determined that the target connection expenditure has been spent in the account of the second terminal. In practice, the above-mentioned executive body may obtain information indicating whether the second terminal has spent the target online payment from other electronic devices (such as a payment server) in communication with the second terminal.

本申请的上述实施例提供的方法在第一终端的用户设置了与第二终端的视频连线功能的情况下,可以通过服务器自动与其它终端进行视频连线。本实施例中的第二终端可以通过一定的支出实现与主播的第一终端的连线,从而可以增加主播、直播平台的收益。In the method provided by the above-mentioned embodiments of the present application, when the user of the first terminal has set the function of video connection with the second terminal, the video connection can be automatically performed with other terminals through the server. The second terminal in this embodiment can realize the connection with the first terminal of the host through a certain expenditure, thereby increasing the income of the host and the live broadcast platform.

在本实施例的一些可选的实现方式中,步骤401中的响应于接收到第一终端发送的功能开启指令,可以包括:在第一终端正在进行直播且第二终端正在播放第一终端上传的直播视频的情况下,响应于接收到第一终端发送的功能开启指令,其中,所述第一终端为主播端,所述第二终端为观众端。In some optional implementations of this embodiment, in response to receiving the function enabling instruction sent by the first terminal instep 401, the method may include: the first terminal is performing a live broadcast and the second terminal is playing the first terminal uploading In the case of a live video, in response to receiving a function enabling instruction sent by a first terminal, wherein the first terminal is a broadcaster and the second terminal is a viewer.

这些实现方式可以在直播场景中,实现观众终端与主播终端之间的视频连线,从而给观众与主播提供更多的交流渠道。These implementations can realize the video connection between the viewer terminal and the host terminal in the live broadcast scenario, thereby providing more communication channels for the viewer and the host.

在这些实现方式的一些可选的应用场景中,这些实现方式中的响应于确定第二终端所登录的账号已支出目标连线支出,可以包括:响应于接收到第二终端响应于检测到针对视频连线的支出操作所发送的支出待确认信息,确定支出待确认信息指示的目标连线支出是否支出成功;若确定支出成功,则确定第二终端所登录的账号已支出目标连线支出,其中,支出操作指示第二终端支出目标连线支出。In some optional application scenarios of these implementation manners, in these implementation manners, in response to determining that the account logged in by the second terminal has spent the target connection spending, may include: in response to receiving the second terminal in response to detecting a The expenditure to be confirmed information sent by the expenditure operation of the video connection is to determine whether the target connection expenditure indicated by the expenditure to be confirmed information is successful; Wherein, the spending operation instructs the second terminal to spend the target online spending.

在这些可选的应用场景中,第二终端的用户可以进行支出操作,以实现该用户的登录账号支出上述目标连线支出,该用户的第二终端则可以向服务端发送支出待确认信息,以使服务端可以确认第二终端的登录账号是否支出成功。上述执行主体可以在接收到支出待确认信息后,确定第二终端是否成功支出上述目标连线支出。In these optional application scenarios, the user of the second terminal can perform a spending operation to realize the above-mentioned target connection spending with the user's login account, and the second terminal of the user can send the payment pending confirmation information to the server, So that the server can confirm whether the payment of the login account of the second terminal is successful. The above-mentioned execution entity may determine whether the second terminal successfully pays the above-mentioned target connection expenditure after receiving the payment to be confirmed information.

这些实现方式中,服务端可以在第二终端的用户进行支出后,确定第二终端是否支出成功,提高了确定第二终端所登录的账号是否已支出目标连线支出的准确度。In these implementation manners, the server can determine whether the payment is successful on the second terminal after the user of the second terminal makes the payment, which improves the accuracy of determining whether the account logged in by the second terminal has spent the target connection payment.

在这些实现方式的一些可选的应用场景中,在步骤401的开启第一终端的视频连线功能之后,方法还可以包括:向第二终端发送与第一终端进行视频连线的连线入口信息,以使第二终端展示连线入口信息对应的连线入口;以及步骤402中的若接收到第二终端发送的对所述第一终端的视频连线请求,可以包括:若接收到所述第二终端响应于检测到对所述连线入口的操作所发送的视频连线请求。In some optional application scenarios of these implementation manners, after enabling the video connection function of the first terminal instep 401, the method may further include: sending a connection entry for video connection with the first terminal to the second terminal information, so that the second terminal displays the connection entry corresponding to the connection entry information; and instep 402, if receiving a video connection request to the first terminal sent by the second terminal, it may include: if receiving all The second terminal sends a video connection request in response to detecting an operation on the connection entry.

在这些可选的应用场景中,上述执行主体可以向第二终端发送连线入口信息,以使第二终端展示该连线入口信息对应的连线入口。这里的连线入口信息可以指示第二终端与第一终端进行视频连线的连线入口。第二终端如果检测到用户对连线入口的操作,可以生成并向服务端发送视频连线请求,以请求与第一终端进行视频连线。In these optional application scenarios, the above-mentioned execution subject may send the connection entry information to the second terminal, so that the second terminal displays the connection entry corresponding to the connection entry information. The connection entry information here may indicate a connection entry for the video connection between the second terminal and the first terminal. If the second terminal detects the user's operation on the connection entry, it may generate and send a video connection request to the server, so as to request a video connection with the first terminal.

这些应用场景中第二终端可以接收服务端发送的连线入口信息,从而向用户展示出连线入口,让用户可以自主选择是否与第一终端进行视频连线。In these application scenarios, the second terminal can receive the connection entry information sent by the server, so as to display the connection entry to the user, so that the user can independently choose whether to perform a video connection with the first terminal.

在本实施例的一些可选的实现方式中,上述方法还可以包括:响应于接收到第一终端响应于检测到设置触发操作所发送的权限状态请求,向第一终端反馈第一终端的连线权限状态信息,以使第一终端判断连线权限状态信息是否指示第一终端具有视频连线权限。In some optional implementations of this embodiment, the above method may further include: in response to receiving a permission status request sent by the first terminal in response to detecting the setting trigger operation, feeding back the connection status of the first terminal to the first terminal. The connection authority status information is used to enable the first terminal to determine whether the connection authority status information indicates that the first terminal has the video connection authority.

这些实现方式可以将指示第一终端的视频连线权限的信息存储于服务端,从而在用户更换手机等情况下仍然能够确保第一终端准确地确定出本地的视频连线权限。These implementations can store the information indicating the video connection authority of the first terminal on the server, so that the first terminal can still accurately determine the local video connection authority even when the user changes mobile phones.

在本实施例的一些可选的实现方式中,第二终端的数量为至少两个;上述步骤402可以包括:若接收到一个第二终端发送的对所述第一终端的视频连线请求,响应于确定所述一个第二终端所登录的账号已支出目标连线支出,向所述第一终端发送与所述一个第二终端的视频连线指令,建立所述第一终端与所述一个第二终端的实时视频连线;若接收到所述一个第二终端以外的其它第二终端发送的对所述第一终端的视频连线请求,响应于确定所述其它第二终端所登录的账号已支出目标连线支出,执行以下步骤:向第一终端发送与其它第二终端的视频连线指令,建立第一终端与其它第二终端的实时视频连线;或向第一终端和一个第二终端发送与其它第二终端的视频连线指令,将其它第二终端加入第一终端与一个第二终端的实时视频连线。In some optional implementations of this embodiment, the number of the second terminals is at least two; the foregoingstep 402 may include: if a video connection request to the first terminal sent by a second terminal is received, In response to determining that the account logged in the one second terminal has spent the target connection expenditure, sending a video connection instruction with the one second terminal to the first terminal, establishing the connection between the first terminal and the one real-time video connection of the second terminal; if a video connection request to the first terminal sent by another second terminal other than the one second terminal is received, in response to determining that the other second terminal is logged in The account has spent the target connection expenditure, and the following steps are performed: send a video connection instruction with other second terminals to the first terminal, and establish a real-time video connection between the first terminal and other second terminals; The second terminal sends a video connection instruction with other second terminals, and the other second terminals are added to the real-time video connection between the first terminal and one second terminal.

在这些可选的实现方式中,上述执行主体可以在目标连线人数为至少两个的情况下,建立第一终端与至少两个第二终端的实时视频连线。在实践中,第一终端可以与每个第二终端进行单独视频连线,参与视频连线的各个第二终端之间可以互相无法收看到对方的视频信息。此外,第一终端可以与各个第二终端以电话会议的形式,进行视频连线。In these optional implementation manners, the above-mentioned executive body may establish real-time video connections between the first terminal and at least two second terminals when the target number of connected persons is at least two. In practice, the first terminal may perform a separate video connection with each second terminal, and each second terminal participating in the video connection may not be able to watch each other's video information. In addition, the first terminal may conduct a video connection with each of the second terminals in the form of a conference call.

这些实现方式可以提供不同的视频连线方式,让用户有不一样的视频连线体验。These implementations can provide different video connection methods, allowing users to have different video connection experiences.

本申请还提供了一种视频连线方法,用于第二终端,上述方法可以包括:The present application also provides a video connection method for the second terminal, and the above method may include:

步骤1,响应于第一终端的视频连线功能已开启,展示与第一终端进行视频连线的入口,其中,视频连线功能是服务端响应于接收到第一终端发送的功能开启指令所开启的,功能开启指令是第一终端响应于在设置页面检测到设置操作发送的,第一终端具有视频连线权限。步骤2,响应于检测到对入口的操作,向服务端发送视频连线请求。步骤3,响应于从服务端接收到与第一终端的视频连线指令,与第一终端进行实时视频连线,其中,所述视频连线指令是所述服务端响应于确定所述第二终端所登录的账号已支出目标连线支出所发送的。Step 1: In response to the video connection function of the first terminal being turned on, an entrance for video connection with the first terminal is displayed, wherein the video connection function is a function that the server receives in response to receiving a function turn-on instruction sent by the first terminal. If it is enabled, the function enabling instruction is sent by the first terminal in response to detecting the setting operation on the setting page, and the first terminal has the video connection authority. Step 2, in response to detecting the operation on the portal, sending a video connection request to the server. Step 3, in response to receiving a video connection instruction with the first terminal from the server, perform a real-time video connection with the first terminal, wherein the video connection instruction is the response of the server to determining the second terminal. The account logged in by the terminal has already spent the target connection expenses sent.

在本实施例中,第二终端可以展示连线入口,第二终端的用户通过点击连线入口可以实现与第一终端进行视频连线,其中,所述第一终端为主播端,所述第二终端为观众端。In this embodiment, the second terminal can display a connection entry, and a user of the second terminal can connect to the first terminal by clicking on the connection entry, wherein the first terminal is the broadcast terminal, and the first terminal is the broadcast terminal. The second terminal is the audience terminal.

本申请的上述实施例提供的方法在第一终端的用户设置了与第二终端的视频连线功能的情况下,可以通过服务器自动实现第一终端与第二终端之间的视频连线。The methods provided by the above embodiments of the present application can automatically realize the video connection between the first terminal and the second terminal through the server when the user of the first terminal has set the video connection function with the second terminal.

在本实施例的一些可选的实现方式中,上述步骤1中的响应于第一终端的视频连线功能已开启,可以包括:在第二终端正在播放第一终端上传的直播视频的情况下,响应于第一终端的视频连线功能已开启。In some optional implementations of this embodiment, the response to the video connection function of the first terminal being enabled in the above step 1 may include: when the second terminal is playing the live video uploaded by the first terminal , in response to the video connection function of the first terminal being enabled.

这些实现方式可以在直播场景中,实现观众终端与主播终端之间的视频连线,从而给观众与主播提供更多的交流渠道。These implementations can realize the video connection between the viewer terminal and the host terminal in the live broadcast scenario, thereby providing more communication channels for the viewer and the host.

在本实施例的一些可选的实现方式中,上述方法还可以包括:响应于检测到针对视频连线的支出操作,生成并向服务端发送支出待确认信息,其中,支出操作用于指示第二终端支出目标连线支出,以使服务端确定支出待确认信息指示的目标连线支出是否支出成功。In some optional implementations of this embodiment, the above method may further include: in response to detecting a payment operation for the video connection, generating and sending payment pending confirmation information to the server, wherein the payment operation is used to indicate the first The second terminal spends the target connection payment, so that the server determines whether the target connection payment indicated by the payment to be confirmed information is successful.

在这些可选的实现方式中,上述执行主体可以检测用户的支出操作,若检测到,则可以向服务端发送支出待确认信息。In these optional implementation manners, the above-mentioned execution body may detect the user's expenditure operation, and if detected, may send expenditure pending confirmation information to the server.

这些实现方式中,服务端可以在第二终端的用户进行支出操作后,确定第二终端是否支出成功,提高了确定第二终端所登录的账号是否已支出目标连线支出的准确度。In these implementation manners, the server can determine whether the payment of the second terminal is successful after the user of the second terminal performs the payment operation, which improves the accuracy of determining whether the account logged in by the second terminal has spent the target connection payment.

在这些实现方式的一些可选的应用场景中,这些实现方式中的响应于检测到针对视频连线的支出操作,可以包括:响应于检测到对连线入口的操作,展示用于接收支出操作的支出确认界面;响应于在支出确认界面检测到支出操作,确定检测到针对视频连接的支出操作。In some optional application scenarios of these implementations, in these implementations, in response to detecting a payout operation for a video connection, may include: in response to detecting an operation on a connection entry, displaying an operation for receiving a payout The spending confirmation interface of the ; in response to detecting a spending operation on the spending confirmation interface, it is determined that a spending operation for the video connection is detected.

在这些可选的应用场景中,上述执行主体可以响应于检测到对连线入口的操作,向第二终端的用户展示出支出确认界面。比如,支出确认界面可以包括如下确认信息:“视频连线需要您支付200个金币,您确认要加入连线吗?”,相应地,支出操作可以包括对指示确认上述确认信息的确认按钮的操作。In these optional application scenarios, the above-mentioned execution body may, in response to detecting an operation on the connection entry, display an expenditure confirmation interface to the user of the second terminal. For example, the payment confirmation interface may include the following confirmation information: "The video connection requires you to pay 200 gold coins, are you sure you want to join the connection?" Correspondingly, the payment operation may include the operation of the confirmation button indicating confirmation of the above confirmation information .

如图4b所示,图中示出了支出确认界面。As shown in Figure 4b, the figure shows the expenditure confirmation interface.

在这些应用场景中,上述执行主体可以让用户确认是否支出目标连线支出,避免出现违背用户意愿而自动扣款的情况。In these application scenarios, the above-mentioned executive body can allow the user to confirm whether to spend the target online expenditure, so as to avoid the situation of automatic deduction against the user's will.

在本实施例的一些可选的实现方式中,上述方法还可以包括:响应于检测到对实时视频连线的视频画面中主图像的第一切换操作,将主图像,从第一终端拍摄的图像切换为第二终端拍摄的图像,其中,主图像的尺寸大于直播视频中其它图像的尺寸;响应于检测到对直播视频中主图像的第二切换操作,将主图像,从第二终端拍摄的图像切换为第一终端拍摄的图像。In some optional implementations of this embodiment, the above method may further include: in response to detecting a first switching operation of the main image in the video picture of the real-time video connection, changing the main image to the image captured by the first terminal. The image is switched to an image captured by the second terminal, wherein the size of the main image is larger than the size of other images in the live video; in response to detecting the second switching operation of the main image in the live video, the main image is captured from the second terminal The image is switched to the image captured by the first terminal.

在这些可选的实现方式中,上述执行主体可以在检测到对实时视频连线的视频画面中的主图像的第一切换操作的情况下,将该主图像从第一终端拍摄的图像切换为第二终端拍摄的图像。这样,第二终端显示的视频画面中的主图像可以切换为第二终端拍摄的图像。之后,如果第二终端的用户进行了第二切换操作,上述执行主体可以切换回原状态,继续将第一终端拍摄的图像作为主图像。主图像所采用的终端拍摄的图像可以是终端拍摄的原始图像,也可以是终端拍摄且经过图像处理的处理后图像。主图像的中心点与视频画面的中心点的位置差值小于或等于预设差值阈值。In these optional implementation manners, the above-mentioned execution body may switch the main image from the image captured by the first terminal to the image captured by the first terminal in the case of detecting the first switching operation of the main image in the video picture of the real-time video connection. The image captured by the second terminal. In this way, the main image in the video picture displayed by the second terminal can be switched to the image captured by the second terminal. After that, if the user of the second terminal performs the second switching operation, the above-mentioned execution subject may switch back to the original state, and continue to use the image captured by the first terminal as the main image. The image captured by the terminal used for the main image may be an original image captured by the terminal, or a processed image captured by the terminal and subjected to image processing. The position difference between the center point of the main image and the center point of the video picture is less than or equal to a preset difference threshold.

第一切换操作和第二切换操作可以是用户对实时视频连线的视频画面中的预设区域的操作,比如该区域可以是指示切换的按钮。The first switching operation and the second switching operation may be operations performed by the user on a preset area in the video picture of the real-time video connection, for example, the area may be a button indicating switching.

如图4c所示,图中的左图为用户通过点击“切换显示”按键,进行第一切换操作,右图为用户通过再次点击“切换显示”按键,进行第二切换操作。As shown in Figure 4c, the left picture in the figure shows the user performing the first switching operation by clicking the "Switch Display" button, and the right picture shows the user performing the second switching operation by clicking the "Switch Display" button again.

这些实现方式可以让第二终端的用户比如直播观众,放大看到自己在视频连线中呈现出的形象,从而可以有助于用户将自己的图像调整到符合自己意愿的理想状态。These implementations allow users of the second terminal, such as live broadcast viewers, to zoom in and see their own image presented in the video connection, thereby helping the user to adjust his own image to an ideal state that conforms to his or her wishes.

进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种视频连线装置的一个实施例,该装置实施例与图2a所示的方法实施例相对应,除下面所记载的特征外,该装置实施例还可以包括与图2a所示的方法实施例相同或相应的特征或效果。该装置具体可以应用于各种电子设备中。Further referring to FIG. 5 , as an implementation of the methods shown in the above figures, the present application provides an embodiment of a video connection device, which corresponds to the method embodiment shown in FIG. 2 a , except for the following In addition to the features described, the apparatus embodiment may also include the same or corresponding features or effects as the method embodiment shown in FIG. 2a. Specifically, the device can be applied to various electronic devices.

如图5所示,本实施例的视频连线装置500包括:展示单元501、功能确认单元502和连线单元503。其中,展示单元501,被配置成响应于检测到设置触发操作且确定所述第一终端具有视频连线权限,展示针对视频连线功能的设置页面;功能确认单元502,被配置成响应于在所述设置页面检测到设置操作,向服务端发送功能开启指令,以使所述服务端开启所述第一终端的视频连线功能;连线单元503,被配置成响应于从所述服务端接收到与第二终端的视频连线指令,与所述第二终端进行实时视频连线,其中,所述视频连线指令是所述服务端响应于确定所述第二终端所登录的账号已支出目标连线支出所发送的。As shown in FIG. 5 , thevideo connection device 500 of this embodiment includes: adisplay unit 501 , afunction confirmation unit 502 and aconnection unit 503 . Thedisplay unit 501 is configured to display a setting page for the video connection function in response to detecting the setting trigger operation and determining that the first terminal has the video connection authority; thefunction confirmation unit 502 is configured to respond to the The setting page detects the setting operation, and sends a function enabling instruction to the server, so that the server enables the video connection function of the first terminal; theconnection unit 503 is configured to respond to the connection from the server. Receive a video connection instruction with the second terminal, and perform a real-time video connection with the second terminal, wherein the video connection instruction is the response of the server to determining that the account logged in by the second terminal has been Spend target sent by wired spend.

在本实施例中,视频连线装置500的展示单元501、功能确认单元502和连线单元503的具体处理及其所带来的技术效果可分别参考图2a对应实施例中步骤201、步骤202和步骤203的相关说明,在此不再赘述。In this embodiment, for the specific processing of thedisplay unit 501 , thefunction confirmation unit 502 and theconnection unit 503 of thevideo connection device 500 and the technical effects brought about by them, please refer tosteps 201 and 202 in the corresponding embodiment of FIG. 2 a respectively. The related descriptions ofstep 203 are not repeated here.

在本实施例的一些可选的实现方式中,所述展示单元,进一步被配置成按照如下方式执行所述响应于检测到设置触发操作且确定所述第一终端具有视频连线权限:在所述第一终端正在进行直播的情况下,响应于检测到设置触发操作且确定所述第一终端具有视频连线权限。In some optional implementations of this embodiment, the display unit is further configured to perform the operation in response to detecting the setting trigger and determine that the first terminal has a video connection right in the following manner: In the case that the first terminal is performing a live broadcast, in response to detecting the setting trigger operation, it is determined that the first terminal has the video connection authority.

在本实施例的一些可选的实现方式中,所述设置页面包括连线人数的控件和连线支出的控件,所述连线支出为与所述第一终端进行视频连线所需的支出;所述功能确认单元,进一步被配置成按照如下方式执行所述响应于在所述设置页面检测到设置操作,向服务端发送功能开启指令:响应于检测到对所述连线人数的控件的第一设置操作,以及检测到对所述连线支出的控件的第二设置操作,确定所述第一设置操作对应的目标连线人数和所述第二设置操作对应的目标连线支出,向服务端发送携带指示信息的功能开启指令,其中,所述指示信息用于指示所述目标连线人数和所述目标连线支出,所述视频连线指令是所述服务端响应于所述第二终端所登录的账号已支出所述目标连线支出所发送的,所述第二终端的数量小于或等于所述目标连线人数。In some optional implementations of this embodiment, the setting page includes a control of the number of people connected and a control of connection expenditure, and the connection expenditure is the expenditure required for video connection with the first terminal The function confirmation unit is further configured to perform the described response to detecting the setting operation on the setting page as follows, and send a function opening instruction to the server: in response to detecting the control of the number of people connected to the connection The first setting operation, and the second setting operation of the control for the connection expenditure is detected, the target connection number corresponding to the first setting operation and the target connection expenditure corresponding to the second setting operation are determined, and the target connection expenditure corresponding to the second setting operation is determined. The server sends a function opening instruction carrying instruction information, wherein the instruction information is used to indicate the target number of connections and the target connection expenditure, and the video connection instruction is the response of the server to the first connection. The account logged in by the second terminal has already spent the target connection payment, and the number of the second terminal is less than or equal to the target connection number.

在本实施例的一些可选的实现方式中,所述展示单元,进一步被配置成按照如下方式执行所述响应于检测到设置触发操作且确定所述第一终端具有视频连线权限:响应于检测到设置触发操作,向所述服务端发送权限状态请求;响应于接收到所述服务端反馈的、所述第一终端的连线权限状态信息,判断所述连线权限状态信息是否指示所述第一终端具有视频连线权限;若是,则确定所述第一终端具有视频连线权限。In some optional implementations of this embodiment, the presentation unit is further configured to perform the operation in response to detecting the setting trigger and determine that the first terminal has a video connection right in the following manner: in response to Detecting the setting trigger operation, sending a permission status request to the server; in response to receiving the connection permission status information of the first terminal fed back by the server, judging whether the connection permission status information indicates the The first terminal has the video connection authority; if so, it is determined that the first terminal has the video connection authority.

在本实施例的一些可选的实现方式中,所述展示单元,进一步被配置成按照如下方式执行所述响应于检测到设置触发操作且确定所述第一终端具有视频连线权限:若否,则显示连线权限开启入口;响应于检测到对所述连线权限开启入口的操作,显示连线权限设置页面;响应于检测到对所述连线权限设置页面的权限开启标识的操作,确定所述第一终端具有视频连线权限,向所述服务端发送指示所述第一终端具有视频连线权限的信息。In some optional implementations of this embodiment, the display unit is further configured to perform the response to the detection of the setting trigger operation and determine that the first terminal has a video connection authority as follows: if no , then display the connection permission opening entry; in response to detecting the operation of opening the entry for the connection permission, display the connection permission setting page; in response to detecting the operation of the permission opening sign on the connection permission setting page, It is determined that the first terminal has the video connection right, and information indicating that the first terminal has the video connection right is sent to the server.

本申请还提供了一种视频连线装置,用于服务端,所述装置包括:开启单元,被配置成响应于接收到第一终端发送的功能开启指令,开启所述第一终端的视频连线功能,其中,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;建立单元,被配置成若接收到第二终端发送的对所述第一终端的视频连线请求,响应于确定所述第二终端所登录的账号已支出目标连线支出,向所述第一终端发送与所述第二终端的视频连线指令,并建立所述第一终端与所述第二终端的实时视频连线。The present application also provides a video connection device for a server, the device includes: an enabling unit configured to, in response to receiving a function enabling instruction sent by the first terminal, open the video connection of the first terminal. line function, wherein the function enabling instruction is sent by the first terminal in response to detecting a setting operation on the setting page, and the first terminal has video connection authority; the establishment unit is configured to receive The video connection request to the first terminal sent by the second terminal, in response to determining that the account logged in by the second terminal has spent the target connection expenditure, send a video connection with the second terminal to the first terminal video connection instruction, and establish a real-time video connection between the first terminal and the second terminal.

在本实施例的一些可选的实现方式中,所述开启单元,进一步被配置成按照如下方式执行所述响应于接收到第一终端发送的功能开启指令:在所述第一终端正在进行直播且所述第二终端正在播放所述第一终端上传的直播视频的情况下,响应于接收到第一终端发送的功能开启指令,其中,所述第一终端为主播端,所述第二终端为观众端。In some optional implementations of this embodiment, the enabling unit is further configured to execute the responding to receiving the function enabling instruction sent by the first terminal in the following manner: the first terminal is performing a live broadcast and the second terminal is playing the live video uploaded by the first terminal, in response to receiving a function enabling instruction sent by the first terminal, wherein the first terminal is the broadcast terminal, and the second terminal is the broadcast terminal. for the audience.

在本实施例的一些可选的实现方式中,所述第二终端的数量小于或等于目标连线人数。In some optional implementations of this embodiment, the number of the second terminals is less than or equal to the target number of connections.

在本实施例的一些可选的实现方式中,所述建立单元,进一步被配置成按照如下方式执行所述响应于确定所述第二终端所登录的账号已支出目标连线支出:响应于接收到所述第二终端响应于检测到针对视频连线的支出操作所发送的支出待确认信息,确定所述支出待确认信息指示的目标连线支出是否支出成功;若确定支出成功,则确定所述第二终端所登录的账号已支出目标连线支出,其中,所述支出操作指示所述第二终端支出所述目标连线支出。In some optional implementations of this embodiment, the establishing unit is further configured to execute the target connection payment in response to determining that the account logged in by the second terminal has spent the target connection payment in the following manner: in response to receiving To the second terminal, in response to detecting the expenditure pending confirmation information sent by the expenditure operation for the video connection, determine whether the expenditure for the target connection indicated by the expenditure pending confirmation information is successful; if it is determined that the expenditure is successful, determine whether the expenditure is successful. The account logged in by the second terminal has spent the target connection expenditure, wherein the expenditure operation instructs the second terminal to spend the target connection expenditure.

在本实施例的一些可选的实现方式中,所述装置还包括:入口展示单元,在所述开启所述第一终端的视频连线功能之后,向所述第二终端发送与所述第一终端进行视频连线的连线入口信息,以使所述第二终端展示所述连线入口信息对应的连线入口;以及所述建立单元,进一步被配置成按照如下方式执行所述若接收到第二终端发送的对所述第一终端的视频连线请求:若接收到所述第二终端响应于检测到对所述连线入口的操作所发送的视频连线请求。In some optional implementation manners of this embodiment, the apparatus further includes: an entrance display unit, which, after the video connection function of the first terminal is enabled, sends a message with the first terminal to the second terminal. A terminal performs the connection entry information of the video connection, so that the second terminal displays the connection entry corresponding to the connection entry information; and the establishing unit is further configured to perform the if-if receiving in the following manner The video connection request to the first terminal sent to the second terminal: if a video connection request sent by the second terminal in response to detecting an operation on the connection entry is received.

在本实施例的一些可选的实现方式中,所述装置还包括:反馈单元,被配置成响应于接收到所述第一终端响应于检测到设置触发操作所发送的权限状态请求,向所述第一终端反馈所述第一终端的连线权限状态信息,以使所述第一终端判断所述连线权限状态信息是否指示所述第一终端具有视频连线权限。In some optional implementations of this embodiment, the apparatus further includes: a feedback unit, configured to, in response to receiving the permission status request sent by the first terminal in response to detecting the setting trigger operation, send the request to the The first terminal feeds back the connection authority status information of the first terminal, so that the first terminal determines whether the connection authority status information indicates that the first terminal has video connection authority.

在本实施例的一些可选的实现方式中,所述第二终端的数量为至少两个;所述建立单元,进一步被配置成按照如下方式执行所述若接收到第二终端发送的对所述第一终端的视频连线请求,响应于确定所述第二终端所登录的账号已支出目标连线支出,向所述第一终端发送与所述第二终端的视频连线指令,并建立所述第一终端与所述第二终端的实时视频连线:若接收到一个第二终端发送的对所述第一终端的视频连线请求,响应于确定所述一个第二终端所登录的账号已支出所述目标连线支出,向所述第一终端发送与所述一个第二终端的视频连线指令,建立所述第一终端与所述一个第二终端的实时视频连线;若接收到所述一个第二终端以外的其它第二终端发送的对所述第一终端的视频连线请求,响应于确定所述其它第二终端所登录的账号已支出所述目标连线支出,执行以下步骤:向所述第一终端发送与所述其它第二终端的视频连线指令,建立所述第一终端与所述其它第二终端的实时视频连线;或向所述第一终端和所述一个第二终端发送与所述其它第二终端的视频连线指令,将所述其它第二终端加入所述第一终端与所述一个第二终端的实时视频连线。In some optional implementation manners of this embodiment, the number of the second terminals is at least two; the establishing unit is further configured to perform the following manner: The video connection request of the first terminal, in response to determining that the account logged in by the second terminal has spent the target connection expenditure, send a video connection instruction with the second terminal to the first terminal, and establish The real-time video connection between the first terminal and the second terminal: if a video connection request to the first terminal sent by a second terminal is received, in response to determining that the second terminal is logged in The account has spent the target connection payment, send a video connection instruction with the one second terminal to the first terminal, and establish a real-time video connection between the first terminal and the one second terminal; if receiving a video connection request to the first terminal sent by another second terminal other than the one second terminal, in response to determining that the account logged in by the other second terminal has spent the target connection expenditure, Perform the following steps: send a video connection instruction with the other second terminal to the first terminal, and establish a real-time video connection between the first terminal and the other second terminal; or send the first terminal to the first terminal. Send a video connection instruction with the other second terminal to the one second terminal, and add the other second terminal to the real-time video connection between the first terminal and the one second terminal.

本申请还提供了一种视频连线装置,用于第二终端,所述装置包括:展示单元,被配置成响应于第一终端的视频连线功能已开启,展示与所述第一终端进行视频连线的连线入口,其中,所述视频连线功能是服务端响应于接收到第一终端发送的功能开启指令所开启的,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;请求单元,被配置成响应于检测到对所述连线入口的操作,向所述服务端发送视频连线请求;执行单元,被配置成响应于从所述服务端接收到与所述第一终端的视频连线指令,与所述第一终端进行实时视频连线,其中,所述视频连线指令是所述服务端响应于确定所述第二终端所登录的账号已支出目标连线支出所发送的。The present application also provides a video connection device for a second terminal, the device includes: a presentation unit configured to, in response to the video connection function of the first terminal being turned on, perform presentation with the first terminal A connection entry of a video connection, wherein the video connection function is activated by the server in response to receiving a function activation instruction sent by the first terminal, and the function activation instruction is activated by the first terminal in response to the If the setting page detects that the setting operation is sent, the first terminal has video connection authority; the request unit is configured to send a video connection request to the server in response to detecting the operation on the connection entry. an execution unit, configured to perform a real-time video connection with the first terminal in response to receiving a video connection instruction with the first terminal from the server, wherein the video connection instruction is the Sent by the server in response to determining that the account logged in by the second terminal has spent the target connection spending.

在本实施例的一些可选的实现方式中,所述展示单元,进一步被配置成按照如下方式执行所述响应于第一终端的视频连线功能已开启:在所述第二终端正在播放所述第一终端上传的直播视频的情况下,响应于第一终端的视频连线功能已开启,其中,所述第一终端为主播端,所述第二终端为观众端。In some optional implementations of this embodiment, the display unit is further configured to execute the response to the video connection function of the first terminal being turned on as follows: when the second terminal is playing the video In the case of the live video uploaded by the first terminal, in response to the video connection function of the first terminal being enabled, the first terminal is the broadcaster and the second terminal is the viewer.

在本实施例的一些可选的实现方式中,所述装置还包括:所述支出单元,被配置成响应于检测到针对视频连线的支出操作,生成并向所述服务端发送支出待确认信息,其中,所述支出操作用于指示所述第二终端支出目标连线支出,以使所述服务端确定所述支出待确认信息指示的目标连线支出是否支出成功。In some optional implementations of this embodiment, the apparatus further includes: the payment unit, configured to generate and send the payment pending confirmation to the server in response to detecting a payment operation for the video connection information, wherein the expenditure operation is used to instruct the second terminal to pay out the target connection expenditure, so that the server determines whether the target connection expenditure indicated by the expenditure pending confirmation information is successful in expenditure.

在本实施例的一些可选的实现方式中,所述支出单元,进一步被配置成按照如下方式执行所述响应于检测到针对视频连线的支出操作:响应于检测到对所述连线入口的操作,展示用于接收支出操作的支出确认界面;响应于在所述支出确认界面检测到支出操作,确定检测到针对视频连接的支出操作。In some optional implementations of this embodiment, the payout unit is further configured to perform the payout operation in response to detecting the video connection in the following manner: in response to detecting the connection entry the operation, displaying a payout confirmation interface for receiving the payout operation; in response to detecting the payout operation on the payout confirmation interface, it is determined that a payout operation for the video connection is detected.

在本实施例的一些可选的实现方式中,所述装置还包括:第一切换单元,被配置成响应于检测到对所述实时视频连线的视频画面中主图像的第一切换操作,将所述主图像,从所述第一终端拍摄的图像切换为所述第二终端拍摄的图像,其中,所述主图像的尺寸大于所述直播视频中其它图像的尺寸;第二切换单元,被配置成响应于检测到对所述直播视频中主图像的第二切换操作,将所述主图像,从所述第二终端拍摄的图像切换为所述第一终端拍摄的图像。In some optional implementations of this embodiment, the apparatus further includes: a first switching unit, configured to respond to detecting a first switching operation of the main image in the video picture of the real-time video connection, switching the main image from the image captured by the first terminal to the image captured by the second terminal, wherein the size of the main image is larger than the size of other images in the live video; the second switching unit, is configured to, in response to detecting a second switching operation on the main image in the live video, switch the main image from an image captured by the second terminal to an image captured by the first terminal.

根据本申请的实施例,本申请还提供了一种电子设备和一种可读存储介质。According to the embodiments of the present application, the present application further provides an electronic device and a readable storage medium.

如图6所示,是根据本申请实施例的视频连线方法的电子设备的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。As shown in FIG. 6 , it is a block diagram of an electronic device according to a video connection method according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the application described and/or claimed herein.

如图6所示,该电子设备包括:一个或多个处理器601、存储器602,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图6中以一个处理器601为例。As shown in FIG. 6, the electronic device includes: one ormore processors 601, amemory 602, and interfaces for connecting various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or otherwise as desired. The processor may process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used with multiple memories and multiple memories, if desired. Likewise, multiple electronic devices may be connected, each providing some of the necessary operations (eg, as a server array, a group of blade servers, or a multiprocessor system). Aprocessor 601 is taken as an example in FIG. 6 .

存储器602即为本申请所提供的非瞬时计算机可读存储介质。其中,存储器存储有可由至少一个处理器执行的指令,以使至少一个处理器执行本申请所提供的视频连线方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的视频连线方法。Thememory 602 is the non-transitory computer-readable storage medium provided by the present application. Wherein, the memory stores instructions executable by at least one processor, so that the at least one processor executes the video connection method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, and the computer instructions are used to cause the computer to execute the video connection method provided by the present application.

存储器602作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的视频连线方法对应的程序指令/模块(例如,附图5所示的展示单元501、功能确认单元502和连线单元503)。处理器601通过运行存储在存储器602中的非瞬时软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的视频连线方法。As a non-transitory computer-readable storage medium, thememory 602 can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions/modules corresponding to the video connection method in the embodiments of the present application (for example, Thedisplay unit 501, thefunction confirmation unit 502 and theconnection unit 503 shown in FIG. 5). Theprocessor 601 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions and modules stored in thememory 602, ie, implements the video connection method in the above method embodiments.

存储器602可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据视频连线电子设备的使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器602可选包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至视频连线电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。Thememory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the video-connected electronic device, and the like. Additionally,memory 602 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments,memory 602 may optionally include memory located remotely fromprocessor 601 that may be connected to the video link electronics via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

视频连线方法的电子设备还可以包括:输入装置603和输出装置604。处理器601、存储器602、输入装置603和输出装置604可以通过总线或者其他方式连接,图6中以通过总线连接为例。The electronic device of the video connection method may further include: aninput device 603 and anoutput device 604 . Theprocessor 601 , thememory 602 , theinput device 603 and theoutput device 604 may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 6 .

输入装置603可接收输入的数字或字符信息,以及产生与视频连线电子设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置604可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。Theinput device 603 can receive input numerical or character information, and generate key signal input related to user settings and function control of the video link electronic equipment, such as touch screen, keypad, mouse, track pad, touch pad, pointing stick, a Or multiple input devices such as mouse buttons, trackballs, joysticks, etc.Output devices 604 may include display devices, auxiliary lighting devices (eg, LEDs), haptic feedback devices (eg, vibration motors), and the like. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.

此处描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein can be implemented in digital electronic circuitry, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.

这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。These computational programs (also referred to as programs, software, software applications, or codes) include machine instructions for programmable processors, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages calculation program. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or apparatus for providing machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memories, programmable logic devices (PLDs), including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.

附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.

描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括展示单元、功能确认单元和连线单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,展示单元还可以被描述为“检测到设置触发操作且确定所述第一终端具有视频连线权限,展示针对视频连线功能的设置页面的单元”。The units involved in the embodiments of the present application may be implemented in a software manner, and may also be implemented in a hardware manner. The described unit can also be provided in the processor, for example, it can be described as: a processor includes a display unit, a function confirmation unit and a connection unit. The names of these units in some cases do not constitute a limitation on the unit itself. For example, the display unit may also be described as "detecting the setting trigger operation and determining that the first terminal has video connection authority, showing Elements of the Settings Page for the Video Connection Feature".

作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该装置执行时,使得该装置:响应于检测到设置触发操作且确定所述第一终端具有视频连线权限,展示针对视频连线功能的设置页面;响应于在所述设置页面检测到设置操作,向服务端发送功能开启指令,以使所述服务端开启所述第一终端的视频连线功能;响应于从所述服务端接收到与第二终端的视频连线指令,与所述第二终端进行实时视频连线,其中,所述视频连线指令是所述服务端响应于确定所述第二终端所登录的账号已支出目标连线支出所发送的。As another aspect, the present application also provides a computer-readable medium, which may be included in the apparatus described in the above-mentioned embodiments, or may exist independently without being assembled into the apparatus. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the device, the device causes the device to: in response to detecting a setting trigger operation and determining that the first terminal has a video connection authority, Displaying a setting page for the video connection function; in response to detecting a setting operation on the setting page, sending a function enabling instruction to the server to enable the server to enable the video connection function of the first terminal; in response to Receive a video connection instruction with the second terminal from the server, and perform a real-time video connection with the second terminal, wherein the video connection instruction is the response of the server to determine the second terminal. The logged-in account has already spent the target connection spending.

作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该装置执行时,使得该装置:响应于接收到第一终端发送的功能开启指令,开启所述第一终端的视频连线功能,其中,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;若接收到第二终端发送的对所述第一终端的视频连线请求,响应于确定所述第二终端所登录的账号已支出目标连线支出,向所述第一终端发送与所述第二终端的视频连线指令,并建立所述第一终端与所述第二终端的实时视频连线。As another aspect, the present application also provides a computer-readable medium, which may be included in the apparatus described in the above-mentioned embodiments, or may exist independently without being assembled into the apparatus. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the device, the device causes the device to: in response to receiving the function enabling instruction sent by the first terminal, enable the function of the first terminal. A video connection function, wherein the function enabling instruction is sent by the first terminal in response to detecting a setting operation on the setting page, and the first terminal has video connection authority; The video connection request to the first terminal, in response to determining that the account logged in by the second terminal has spent the target connection expenditure, send a video connection instruction with the second terminal to the first terminal , and establish a real-time video connection between the first terminal and the second terminal.

作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该装置执行时,使得该装置:响应于第一终端的视频连线功能已开启,展示与所述第一终端进行视频连线的连线入口,其中,所述视频连线功能是服务端响应于接收到第一终端发送的功能开启指令所开启的,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;响应于检测到对所述连线入口的操作,向所述服务端发送视频连线请求;响应于从所述服务端接收到与所述第一终端的视频连线指令,与所述第一终端进行实时视频连线,其中,所述视频连线指令是所述服务端响应于确定所述第二终端所登录的账号已支出目标连线支出所发送的。As another aspect, the present application also provides a computer-readable medium, which may be included in the apparatus described in the above-mentioned embodiments, or may exist independently without being assembled into the apparatus. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the device, the device causes the device to: in response to the video connection function of the first terminal being turned on, display and communicate with the first terminal A connection entry for video connection, wherein the video connection function is activated by the server in response to receiving a function activation instruction sent by the first terminal, and the function activation instruction is the first terminal in response to If the setting page detects that the setting operation is sent, the first terminal has video connection authority; in response to detecting the operation on the connection entry, a video connection request is sent to the server; The server receives a video connection instruction with the first terminal, and performs a real-time video connection with the first terminal, wherein the video connection instruction is the response of the server to determining the second terminal. The logged-in account has already spent the target connection spending.

以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above technical features, and should also cover the above technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in this application (but not limited to) with similar functions.

Claims (19)

Translated fromChinese
1.一种视频连线方法,用于第一终端,所述方法包括:1. A video connection method for a first terminal, the method comprising:响应于检测到设置触发操作且确定所述第一终端具有视频连线权限,展示针对视频连线功能的设置页面;In response to detecting the setting trigger operation and determining that the first terminal has video connection authority, displaying a setting page for the video connection function;响应于在所述设置页面检测到设置操作,向服务端发送功能开启指令,以使所述服务端开启所述第一终端的视频连线功能;In response to detecting the setting operation on the setting page, sending a function enabling instruction to the server to enable the server to enable the video connection function of the first terminal;响应于从所述服务端接收到与第二终端的视频连线指令,与所述第二终端进行实时视频连线,其中,所述视频连线指令是所述服务端响应于确定所述第二终端所登录的账号已支出目标连线支出所发送的。In response to receiving a video connection instruction with the second terminal from the server, perform a real-time video connection with the second terminal, wherein the video connection instruction is a response of the server to determining the first terminal. The account logged in by the second terminal has already spent the target connection expenses sent.2.根据权利要求1所述的方法,其中,所述响应于检测到设置触发操作且确定所述第一终端具有视频连线权限,包括:2. The method according to claim 1, wherein the determining that the first terminal has a video connection right in response to detecting a setting trigger operation comprises:在所述第一终端正在进行直播的情况下,响应于检测到设置触发操作且确定所述第一终端具有视频连线权限,其中,所述第一终端为主播端,所述第二终端为观众端。In the case where the first terminal is performing a live broadcast, in response to detecting the setting trigger operation and determining that the first terminal has the video connection authority, the first terminal is the broadcast terminal, and the second terminal is the audience side.3.根据权利要求1或2所述的方法,其中,所述设置页面包括连线人数的控件和连线支出的控件,所述连线支出为与所述第一终端进行视频连线所需的支出;3. The method according to claim 1 or 2, wherein the setting page includes the control of the number of people connected and the control of the connection expenditure, and the connection expenditure is required for video connection with the first terminal expenditure;所述响应于在所述设置页面检测到设置操作,向服务端发送功能开启指令,包括:The sending a function enabling instruction to the server in response to detecting a setting operation on the setting page, including:响应于检测到对所述连线人数的控件的第一设置操作,以及检测到对所述连线支出的控件的第二设置操作,确定所述第一设置操作对应的目标连线人数和所述第二设置操作对应的目标连线支出,向服务端发送携带指示信息的功能开启指令,其中,所述指示信息用于指示所述目标连线人数和所述目标连线支出,所述第二终端的数量小于或等于所述目标连线人数。In response to detecting the first setting operation of the control for the number of connections, and detecting the second setting operation of the control for the connection expenditure, determine the target number of connections and the number of connections corresponding to the first setting operation. The target connection expenditure corresponding to the second setting operation is sent to the server to send a function opening instruction carrying indication information, wherein the indication information is used to indicate the target connection number and the target connection expenditure, and the first The number of the two terminals is less than or equal to the target number of connections.4.根据权利要求3所述的方法,其中,所述响应于检测到设置触发操作且确定所述第一终端具有视频连线权限,包括:4. The method according to claim 3, wherein the determining that the first terminal has a video connection right in response to detecting a setting trigger operation comprises:响应于检测到设置触发操作,向所述服务端发送权限状态请求;In response to detecting the setting trigger operation, send a permission status request to the server;响应于接收到所述服务端反馈的、所述第一终端的连线权限状态信息,判断所述连线权限状态信息是否指示所述第一终端具有视频连线权限;In response to receiving the connection authority status information of the first terminal fed back by the server, determine whether the connection authority status information indicates that the first terminal has video connection authority;若是,则确定所述第一终端具有视频连线权限。If so, it is determined that the first terminal has video connection authority.5.根据权利要求4所述的方法,其中,所述响应于检测到设置触发操作且确定所述第一终端具有视频连线权限,还包括:5. The method according to claim 4, wherein the determining that the first terminal has a video connection right in response to detecting a setting trigger operation further comprises:若否,则显示连线权限开启入口;If not, display the connection permission opening entry;响应于检测到对所述连线权限开启入口的操作,显示连线权限设置页面;In response to detecting the operation of opening the entrance for the connection authorization, displaying the connection authorization setting page;响应于检测到对所述连线权限设置页面的权限开启标识的操作,确定所述第一终端具有视频连线权限,向所述服务端发送指示所述第一终端具有视频连线权限的信息。In response to detecting the operation of the permission opening flag on the connection permission setting page, it is determined that the first terminal has the video connection permission, and information indicating that the first terminal has the video connection permission is sent to the server .6.一种视频连线方法,用于服务端,所述方法包括:6. A video connection method for a server, the method comprising:响应于接收到第一终端发送的功能开启指令,开启所述第一终端的视频连线功能,其中,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;In response to receiving a function enabling instruction sent by the first terminal, enable the video connection function of the first terminal, wherein the function enabling instruction is sent by the first terminal in response to detecting a setting operation on the setting page , the first terminal has video connection authority;若接收到第二终端发送的对所述第一终端的视频连线请求,响应于确定所述第二终端所登录的账号已支出目标连线支出,向所述第一终端发送与所述第二终端的视频连线指令,并建立所述第一终端与所述第二终端的实时视频连线。If a video connection request to the first terminal sent by the second terminal is received, in response to determining that the account logged in by the second terminal has spent the target connection expenditure, send a video link to the first terminal with the first terminal. The video connection instruction of the two terminals is established, and the real-time video connection between the first terminal and the second terminal is established.7.根据权利要求6所述的方法,其中,所述响应于接收到第一终端发送的功能开启指令,包括:7. The method according to claim 6, wherein the responding to receiving the function enabling instruction sent by the first terminal comprises:在所述第一终端正在进行直播且所述第二终端正在播放所述第一终端上传的直播视频的情况下,响应于接收到第一终端发送的功能开启指令,其中,所述第一终端为主播端,所述第二终端为观众端。In the case where the first terminal is performing a live broadcast and the second terminal is playing a live video uploaded by the first terminal, in response to receiving a function enable instruction sent by the first terminal, wherein the first terminal The host terminal is the host terminal, and the second terminal is the viewer terminal.8.根据权利要求6或7所述的方法,其中,所述第二终端的数量小于或等于目标连线人数。8. The method according to claim 6 or 7, wherein the number of the second terminals is less than or equal to the target number of connections.9.根据权利要求8所述的方法,其中,所述响应于确定所述第二终端所登录的账号已支出目标连线支出,包括:9. The method according to claim 8, wherein the response to determining that the account logged in by the second terminal has spent the target connection spending comprises:响应于接收到所述第二终端响应于检测到针对视频连线的支出操作所发送的支出待确认信息,确定所述支出待确认信息指示的目标连线支出是否支出成功;In response to receiving the expenditure pending confirmation information sent by the second terminal in response to detecting the expenditure operation for the video connection, determining whether the expenditure for the target connection indicated by the expenditure pending confirmation information is successful;若确定支出成功,则确定所述第二终端所登录的账号已支出所述目标连线支出,其中,所述支出操作指示所述第二终端支出所述目标连线支出。If it is determined that the payout is successful, it is determined that the account logged in by the second terminal has paid the target connection payout, wherein the payout operation instructs the second terminal to pay the target connection payout.10.根据权利要求6所述的方法,其中,在所述开启所述第一终端的视频连线功能之后,所述方法还包括:10. The method according to claim 6, wherein after the enabling of the video connection function of the first terminal, the method further comprises:向所述第二终端发送与所述第一终端进行视频连线的连线入口信息,以使所述第二终端展示所述连线入口信息对应的连线入口;以及sending, to the second terminal, connection entry information for performing a video connection with the first terminal, so that the second terminal displays the connection entry corresponding to the connection entry information; and所述若接收到第二终端发送的对所述第一终端的视频连线请求,包括:The if the video connection request to the first terminal sent by the second terminal is received, including:若接收到所述第二终端响应于检测到对所述连线入口的操作所发送的视频连线请求。If a video connection request sent by the second terminal in response to detecting an operation on the connection entry is received.11.根据权利要求6所述的方法,其中,所述方法还包括:11. The method of claim 6, wherein the method further comprises:响应于接收到所述第一终端响应于检测到设置触发操作所发送的权限状态请求,向所述第一终端反馈所述第一终端的连线权限状态信息,以使所述第一终端判断所述连线权限状态信息是否指示所述第一终端具有视频连线权限。In response to receiving the permission status request sent by the first terminal in response to detecting the setting trigger operation, feedback the connection permission status information of the first terminal to the first terminal, so that the first terminal can judge Whether the connection permission status information indicates that the first terminal has video connection permission.12.根据权利要求6所述的方法,其中,所述第二终端的数量为至少两个;12. The method of claim 6, wherein the number of the second terminals is at least two;所述若接收到第二终端发送的对所述第一终端的视频连线请求,响应于确定所述第二终端所登录的账号已支出目标连线支出,向所述第一终端发送与所述第二终端的视频连线指令,并建立所述第一终端与所述第二终端的实时视频连线,包括:If the video connection request to the first terminal sent by the second terminal is received, in response to determining that the account logged in by the second terminal has spent the target connection expenditure, send the video connection request to the first terminal. The video connection instruction of the second terminal, and establishing a real-time video connection between the first terminal and the second terminal, including:若接收到一个第二终端发送的对所述第一终端的视频连线请求,响应于确定所述一个第二终端所登录的账号已支出所述目标连线支出,向所述第一终端发送与所述一个第二终端的视频连线指令,建立所述第一终端与所述一个第二终端的实时视频连线;If a video connection request to the first terminal sent by a second terminal is received, in response to determining that the account logged in by the one second terminal has spent the target connection expenditure, send the request to the first terminal. With the video connection instruction of the one second terminal, establish a real-time video connection between the first terminal and the one second terminal;若接收到所述一个第二终端以外的其它第二终端发送的对所述第一终端的视频连线请求,响应于确定所述其它第二终端所登录的账号已支出所述目标连线支出,执行以下步骤:If a video connection request to the first terminal sent by another second terminal other than the one second terminal is received, in response to determining that the account logged in by the other second terminal has spent the target connection payment , perform the following steps:向所述第一终端发送与所述其它第二终端的视频连线指令,建立所述第一终端与所述其它第二终端的实时视频连线;或Send a video connection instruction with the other second terminal to the first terminal, and establish a real-time video connection between the first terminal and the other second terminal; or向所述第一终端和所述一个第二终端发送与所述其它第二终端的视频连线指令,将所述其它第二终端加入所述第一终端与所述一个第二终端的实时视频连线。Send a video connection instruction with the other second terminal to the first terminal and the one second terminal, and add the other second terminal to the real-time video of the first terminal and the one second terminal connect.13.一种视频连线方法,用于第二终端,所述方法包括:13. A video connection method for a second terminal, the method comprising:响应于第一终端的视频连线功能已开启,展示与所述第一终端进行视频连线的连线入口,其中,所述视频连线功能是服务端响应于接收到第一终端发送的功能开启指令所开启的,所述功能开启指令是所述第一终端响应于在所述设置页面检测到设置操作发送的,所述第一终端具有视频连线权限;In response to the video connection function of the first terminal being turned on, a connection entry for video connection with the first terminal is displayed, wherein the video connection function is a function of the server in response to receiving a transmission from the first terminal If enabled by an enable instruction, the function enable instruction is sent by the first terminal in response to detecting a setting operation on the setting page, and the first terminal has video connection authority;响应于检测到对所述连线入口的操作,向所述服务端发送视频连线请求;In response to detecting an operation on the connection entry, sending a video connection request to the server;响应于从所述服务端接收到与所述第一终端的视频连线指令,与所述第一终端进行实时视频连线,其中,所述视频连线指令是所述服务端响应于确定所述第二终端所登录的账号已支出目标连线支出所发送的。In response to receiving a video connection instruction with the first terminal from the server, perform a real-time video connection with the first terminal, wherein the video connection instruction is the server in response to determining the The account logged in by the second terminal has already spent the target connection spending.14.根据权利要求13所述的方法,其中,所述响应于第一终端的视频连线功能已开启,包括:14. The method according to claim 13, wherein the response to the video connection function of the first terminal being turned on comprises:在所述第二终端正在播放所述第一终端上传的直播视频的情况下,响应于第一终端的视频连线功能已开启,其中,所述第一终端为主播端,所述第二终端为观众端。In the case where the second terminal is playing the live video uploaded by the first terminal, in response to the video connection function of the first terminal being enabled, the first terminal is the broadcast terminal, and the second terminal is the broadcast terminal. for the audience.15.根据权利要求13所述的方法,其中,所述方法还包括:15. The method of claim 13, wherein the method further comprises:响应于检测到针对视频连线的支出操作,生成并向所述服务端发送支出待确认信息,其中,所述支出操作用于指示所述第二终端支出所述目标连线支出,以使所述服务端确定所述支出待确认信息指示的所述目标连线支出是否支出成功。In response to detecting a spending operation for the video connection, generating and sending the payment pending confirmation information to the server, wherein the spending operation is used to instruct the second terminal to spend the target connection spending, so that all The server determines whether the target connection payment indicated by the payment to be confirmed information is successful or not.16.根据权利要求15所述的方法,其中,所述响应于检测到针对视频连线的支出操作,包括:16. The method of claim 15, wherein the response to detecting a spending operation for a video connection comprises:响应于检测到对所述连线入口的操作,展示用于接收支出操作的支出确认界面;In response to detecting an operation on the connection portal, presenting a payout confirmation interface for receiving a payout operation;响应于在所述支出确认界面检测到支出操作,确定检测到针对视频连接的支出操作。In response to detecting a payout operation at the payout confirmation interface, it is determined that a payout operation for the video connection is detected.17.根据权利要求13或14所述的方法,其中,所述方法还包括:17. The method of claim 13 or 14, wherein the method further comprises:响应于检测到对所述实时视频连线的视频画面中主图像的第一切换操作,将所述主图像,从所述第一终端拍摄的图像切换为所述第二终端拍摄的图像,其中,所述主图像的尺寸大于所述直播视频中其它图像的尺寸;In response to detecting the first switching operation of the main image in the video picture of the real-time video connection, the main image is switched from the image captured by the first terminal to the image captured by the second terminal, wherein , the size of the main image is larger than the size of other images in the live video;响应于检测到对所述直播视频中主图像的第二切换操作,将所述主图像,从所述第二终端拍摄的图像切换为所述第一终端拍摄的图像。In response to detecting a second switching operation on the main image in the live video, the main image is switched from an image captured by the second terminal to an image captured by the first terminal.18.一种电子设备,包括:18. An electronic device comprising:一个或多个处理器;one or more processors;存储装置,用于存储一个或多个程序,storage means for storing one or more programs,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-17中任一所述的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-17.19.一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-17中任一所述的方法。19. A computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method of any one of claims 1-17.
CN202010806059.5A2020-08-122020-08-12 Video connection method and deviceActiveCN111901671B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010806059.5ACN111901671B (en)2020-08-122020-08-12 Video connection method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010806059.5ACN111901671B (en)2020-08-122020-08-12 Video connection method and device

Publications (2)

Publication NumberPublication Date
CN111901671Atrue CN111901671A (en)2020-11-06
CN111901671B CN111901671B (en)2022-11-15

Family

ID=73230428

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010806059.5AActiveCN111901671B (en)2020-08-122020-08-12 Video connection method and device

Country Status (1)

CountryLink
CN (1)CN111901671B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114765691A (en)*2021-01-132022-07-19北京字节跳动网络技术有限公司Live video function component loading method, data processing method and equipment
CN115529485A (en)*2022-09-142022-12-27北京字跳网络技术有限公司Live video processing method, device, equipment and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107071584A (en)*2017-03-142017-08-18北京潘达互娱科技有限公司Live even wheat method and device
CN107295354A (en)*2017-05-152017-10-24武汉斗鱼网络科技有限公司Connect the live method for building up of wheat and device in a kind of network direct broadcasting
CN107465959A (en)*2017-07-142017-12-12腾讯音乐娱乐(深圳)有限公司The method, apparatus and system of online interaction
US20180007394A1 (en)*2016-06-302018-01-04Beijing Xiaomi Mobile Software Co., Ltd.Methods and devices for live broadcasting based on live broadcasting application
CN107959891A (en)*2017-11-082018-04-24杭州风远科技有限公司A kind of live broadcast system
CN108965932A (en)*2017-05-172018-12-07武汉斗鱼网络科技有限公司A kind of even wheat window methods of exhibiting and device
CN109011586A (en)*2018-06-272018-12-18深圳开黑科技有限公司It is a kind of to accompany the game for playing platform to accompany object for appreciation request processing method and terminal based on game
CN109756771A (en)*2019-01-082019-05-14北京潘达互娱科技有限公司A kind of user's sort method, calculates equipment and storage medium at device
CN110149525A (en)*2019-05-232019-08-20广州虎牙信息科技有限公司A kind of live broadcasting method, device, equipment and storage medium
US20190394533A1 (en)*2018-06-222019-12-26At&T Intellectual Property I, L.P.On-demand live media content streaming

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20180007394A1 (en)*2016-06-302018-01-04Beijing Xiaomi Mobile Software Co., Ltd.Methods and devices for live broadcasting based on live broadcasting application
CN107071584A (en)*2017-03-142017-08-18北京潘达互娱科技有限公司Live even wheat method and device
CN107295354A (en)*2017-05-152017-10-24武汉斗鱼网络科技有限公司Connect the live method for building up of wheat and device in a kind of network direct broadcasting
CN108965932A (en)*2017-05-172018-12-07武汉斗鱼网络科技有限公司A kind of even wheat window methods of exhibiting and device
CN107465959A (en)*2017-07-142017-12-12腾讯音乐娱乐(深圳)有限公司The method, apparatus and system of online interaction
CN107959891A (en)*2017-11-082018-04-24杭州风远科技有限公司A kind of live broadcast system
US20190394533A1 (en)*2018-06-222019-12-26At&T Intellectual Property I, L.P.On-demand live media content streaming
CN109011586A (en)*2018-06-272018-12-18深圳开黑科技有限公司It is a kind of to accompany the game for playing platform to accompany object for appreciation request processing method and terminal based on game
CN109756771A (en)*2019-01-082019-05-14北京潘达互娱科技有限公司A kind of user's sort method, calculates equipment and storage medium at device
CN110149525A (en)*2019-05-232019-08-20广州虎牙信息科技有限公司A kind of live broadcasting method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田洁: ""泛娱乐类网络直播中的互动仪式研究"", 《中国优秀硕士学位论文全文数据库》*

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114765691A (en)*2021-01-132022-07-19北京字节跳动网络技术有限公司Live video function component loading method, data processing method and equipment
WO2022152041A1 (en)*2021-01-132022-07-21北京字节跳动网络技术有限公司Video livestreaming functional component loading method, data processing method, and device
CN114765691B (en)*2021-01-132024-05-28北京字节跳动网络技术有限公司Video live broadcasting functional component loading method, data processing method and device
US12368902B2 (en)2021-01-132025-07-22Beijing Bytedance Network Technology Co., Ltd.Functional component loading method and data processing method for video live-streaming, and device
CN115529485A (en)*2022-09-142022-12-27北京字跳网络技术有限公司Live video processing method, device, equipment and medium

Also Published As

Publication numberPublication date
CN111901671B (en)2022-11-15

Similar Documents

PublicationPublication DateTitle
CN112416284B (en)Method, apparatus, device and storage medium for sharing screen
EP3266190B1 (en)Presenting a message in a communication session
US9300913B2 (en)Communication system, communication management apparatus, and recording medium
WO2017054309A1 (en)Interactive control method and device for voice and video communications
US20200007944A1 (en)Method and apparatus for displaying interactive attributes during multimedia playback
KR20170063793A (en)Session history horizon control
US11394757B2 (en)Communication terminal, communication system, and method of sharing data
CN111586319A (en) Video processing method and device
KR20200120288A (en)Method, system, and non-transitory computer readable record medium for providing multiple group call in one chat room
US11416202B2 (en)Communication terminal, communication system, method of sharing data, and recording medium
JP6583543B2 (en) Information transmission system, information transmission method, and program
CN110634220A (en) Information processing method and device
US10511700B2 (en)Communication terminal with first application displaying status of second application
US20160241631A1 (en)Image management system, communication system, non-transitory recording medium, and image management method
CN111901671B (en) Video connection method and device
CN115729407A (en)Message processing method and related equipment
CN112528052A (en)Multimedia content output method, device, electronic equipment and storage medium
US11656834B2 (en)Information processing device, non-transitory recording medium, and information processing system
CN109947528A (en) Information processing method and device
CN112770415A (en)Information processing method and device about wireless hotspot
CN111857514A (en)Device control method, device, electronic device and storage medium
WO2021031940A1 (en)Screening room service management method, interaction method, display device, and mobile terminal
CN111818046A (en) Method, apparatus, device and storage medium for exchanging information
WO2024002072A1 (en)Information collection method and apparatus, and electronic device
CN113542802B (en) Video transition method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP03Change of name, title or address

Address after:201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai

Patentee after:Shanghai Lianshang Network Technology Group Co.,Ltd.

Country or region after:China

Address before:201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai

Patentee before:SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd.

Country or region before:China

CP03Change of name, title or address

[8]ページ先頭

©2009-2025 Movatter.jp