CN111901671B - Video connection method and device - Google Patents
Video connection method and device Download PDFInfo
- Publication number
- CN111901671B CN111901671B CN202010806059.5A CN202010806059A CN111901671B CN 111901671 B CN111901671 B CN 111901671B CN 202010806059 A CN202010806059 A CN 202010806059A CN 111901671 B CN111901671 B CN 111901671B
- Authority
- CN
- China
- Prior art keywords
- terminal
- connection
- video connection
- video
- response
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/437—Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
- H04N21/4758—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for providing answers, e.g. voting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a video connection method and device, and relates to the technical field of videos. The specific implementation mode comprises the following steps: in response to the fact that the setting triggering operation is detected and the first terminal is determined to have the video connection authority, displaying a setting page aiming at the video connection function; responding to the detection of the setting operation on the setting page, and sending a function starting instruction to a server so that the server starts the video connection function of the first terminal; and responding to the video connection instruction received from the server terminal and the second terminal, and performing real-time video connection with the second terminal. According to the method and the device, when the user of the first terminal sets the video connection function with the second terminal, the video connection with other terminals can be automatically carried out through the server. In addition, the second terminal in the application can realize the connection with the first terminal of the anchor through a certain expenditure, so that the benefits of the anchor and/or the live broadcast platform can be increased.
Description
Technical Field
The application relates to the technical field of computers, in particular to the technical field of videos, and particularly relates to a video connection method and device.
Background
With the development of video technology, users can watch various videos such as live video, short video and the like.
In a live scene, the anchor takes a video and uploads the video to the server so that the live viewer views the video. The viewer may interact with the anchor variously, for example, the viewer may send text banners, and may give gifts to the anchor.
Disclosure of Invention
A video connection method, a video connection device, an electronic device and a storage medium are provided.
According to a first aspect, there is provided a video connection method for a first terminal, the method comprising: in response to the fact that the setting triggering operation is detected and the first terminal is determined to have the video connection permission, displaying a setting page aiming at the video connection function; sending a function starting instruction to a server in response to the detection of the setting operation on the setting page, so that the server starts a video connection function of the first terminal; and in response to receiving a video connection instruction with the second terminal from the server, performing 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 costs a target connection cost.
According to a second aspect, there is provided a video connection method for a server, the method including: responding to a received function starting instruction sent by a first terminal, and starting a video connection function of the first terminal, wherein the function starting instruction is sent by the first terminal in response to the detection of a setting operation on the setting page, and the first terminal has a video connection permission; if a video connection request sent by a second terminal to the first terminal is received, responding to the fact that the account number logged in by the second terminal pays a target connection expenditure, sending a video connection instruction with the second terminal to the first terminal, and establishing real-time video connection between the first terminal and the second terminal.
According to a third aspect, there is provided a video connection method for a second terminal, the method comprising: responding to the video connection function of a first terminal, and displaying a connection entrance for video connection with the first terminal, wherein the video connection function is started by a server in response to receiving a function starting instruction sent by the first terminal, the function starting 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 permission; responding to the detected operation on the connection entrance, and sending a video connection request to the server; and in response to receiving a video connection instruction with the first terminal from the server, performing real-time video connection with the first terminal, wherein the video connection instruction is sent by the server in response to determining that a target connection expenditure is paid out by an account logged in by a second terminal.
According to a fourth aspect, there is provided a video wiring apparatus for a first terminal, the apparatus comprising: a presentation unit configured to present a setting page for a video connection function in response to detecting a setting trigger operation and determining that the first terminal has a video connection authority; the function confirming unit is configured to respond to the detection of the setting operation on the setting page, and send a function starting instruction to a server so as to enable the server to start the video connection function of the first terminal; and the connecting unit is configured to respond to a video connecting instruction received from the server end and the second terminal to carry out real-time video connecting with the second terminal, wherein the video connecting instruction is sent by the server end in response to the fact that the account logged in by the second terminal pays the target connecting expenditure.
According to a fifth aspect, there is provided a video cable apparatus for a server, the apparatus comprising: the starting unit is configured to start a video connection function of a first terminal in response to receiving a function starting instruction sent by the first terminal, wherein the function starting instruction is sent by the first terminal in response to detecting a setting operation on the setting page, and the first terminal has a video connection permission; the establishing unit is configured to respond to the fact that the account number logged in by the second terminal pays a target connection expenditure if a video connection request sent by the second terminal to the first terminal is received, send a video connection instruction with the second terminal to the first terminal, and establish real-time video connection between the first terminal and the second terminal.
According to a sixth aspect, there is provided a video wiring apparatus for a second terminal, the apparatus comprising: responding to the video connection function of a first terminal, and displaying a connection entrance for video connection with the first terminal, wherein the video connection function is started by a server in response to receiving a function starting instruction sent by the first terminal, the function starting 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 permission; sending a video connection request to the server in response to the detection of the operation on the connection entrance; and in response to the video connection instruction received from the server and the first terminal, performing real-time video connection with the first terminal, wherein the video connection instruction is sent by the server in response to the fact that the account logged in by the second terminal pays out a target connection expenditure.
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 which, when executed by one or more processors, cause the one or more processors to implement a method as in any one of the embodiments of the video wiring method.
According to an eighth aspect, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as in any one of the embodiments of the video wiring method.
According to the scheme of the application, under the condition that the user of the first terminal sets the video connection function with the second terminal, the video connection can be automatically carried out with other terminals through the server. In addition, the second terminal in the application can realize the connection with the first terminal of the anchor through a certain expenditure, so that the benefits of the anchor and/or the live platform can be increased.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2a is a flow diagram of one embodiment of a video wiring method according to the present application;
FIG. 2b is a schematic diagram of an application scenario of the video wiring method according to the present application;
FIG. 3 is a flow diagram of yet another embodiment of a video wiring method according to the present application;
FIG. 4a is a flow chart of yet another embodiment of a video wiring method according to the present application;
FIG. 4b is a schematic diagram of yet another application scenario of the video wiring method according to the present application;
FIG. 4c is a schematic diagram of yet another application scenario of the video wiring method according to the present application;
FIG. 5 is a schematic block diagram of one embodiment of a video line device according to the present application;
fig. 6 is a block diagram of an electronic device for implementing a video connection method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application to assist in understanding, which are to be considered 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 in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the video wiring method or video wiring apparatus of the present application may be applied.
As shown in fig. 1, system architecture 100 may include terminal devices 101, 102, network 104, and server 103. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102 and the server 103. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102 to interact with the server 105, the server 103, via the network 104, to receive or send messages or the like. Various communication client applications, such as video applications, live applications, instant messaging tools, mailbox clients, social platform software, and the like, may be installed on the terminal devices 101 and 102.
Here, the terminal apparatuses 101 and 102 may be hardware or software. When the terminal devices 101, 102 are hardware, they may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101 and 102 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein. In practice, the terminal devices 101, 102 may be a broadcaster side and a viewer side, respectively.
The server 103 may be a server providing various services, such as a background server providing support for the terminal devices 101, 102. The background server may analyze and perform other processing on the received data such as the function opening instruction, and feed back a processing result (e.g., video connection function opening instruction information) to the terminal device.
It should be noted that the video connection method provided in the embodiment of the present application may be executed by the server 103 or the terminal devices 101 and 102, and accordingly, the video connection apparatus may be disposed in the server 103 or the terminal devices 101 and 102.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2a, a flow 200 of one embodiment of a video wiring method according to the present application is shown. The video connection method comprises the following steps:
In this embodiment, an execution main body (for example, the terminal device shown in fig. 1) on which the video connection method operates may present a setting page for the video connection function if a setting trigger operation is detected when the first terminal has a video connection right. Specifically, the video connection function may refer to a function of performing a video conference between at least two terminals, or to a single-line video connection function between each of at least one terminal and a target terminal (e.g., a terminal of an anchor). In practice, the video connection right may be set by the user of the first terminal or may be given by the server. In practice, the video connection right may be a connection right of the first terminal itself, and the connection right may also be associated with an account number logged in the first terminal, that is, the account number has a connection right, so that the terminal has the connection right.
The user of the first terminal can operate the setting page to realize setting of specific function items of the video connection function. For example, the function items that the video connection function can set may include the number of people who participate in the video connection, and may further include a geographical area of the terminal that participates in the video connection, such as a certain country, and the like.
In practice, the setup page may include options corresponding to different function items, so that the user can select among the options.
In this embodiment, if the execution main body detects a setting operation on the setting page, the execution main body may send a function opening instruction to the server, so that the server opens the video connection function of the first terminal.
The setting operation here may be selection of a function item, or an input name of a function item, or the like. Further, the setting operation may further include a confirmation operation of the selected and/or input content.
In this embodiment, the execution main body may perform automatic real-time video connection with the second terminal when receiving a video connection instruction with the second terminal from the service end.
In the method provided by the above embodiment of the present application, when the user of the first terminal sets the video connection function with the second terminal, the server may automatically perform video connection with other terminals. In addition, the second terminal in this embodiment may implement a connection with the first terminal of the anchor through a certain expenditure, so that the benefit of the anchor and/or the live platform may be increased.
In some optional implementations of this embodiment, the determining that the first terminal has the video connection right in response to detecting the setting triggering operation in step 201 may include: under the condition that a first terminal is in live broadcasting, a trigger operation is detected and the first terminal is determined to have a video connection authority, wherein the first terminal is a main broadcasting terminal, and the second terminal is a spectator terminal.
In these alternative implementations, the first terminal may set the video connection function in the case of live broadcasting. Therefore, the first terminal can be connected with the terminals of the live audiences in a video mode in the live broadcasting process.
The realization modes can lead the anchor and the audience to carry out video connection in a live scene, and provide more interaction channels for the anchor and the audience.
In some optional implementation manners of the embodiment, the page is set to comprise a control of the number of people who connect the line and a control of the line expense, and the line expense is the expense required for video connection with the first terminal; in response to detecting the setting operation on the setting page in step 202, sending a function opening instruction to the server may include: and in response to the detection of a first setting operation of a control for the number of people connected with the line and the detection of a second setting operation of a control for the number of people connected with the line, determining a target number of people connected with the line corresponding to the first setting operation and a target expense connected with the line corresponding to the second setting operation, and sending a function starting instruction carrying indication information to the server, wherein the indication information is used for indicating the number of people connected with the line and the target expense connected with the line, and the number of the second terminals is less than or equal to the number of people connected with the line.
In these optional implementation manners, if the execution main body detects that the user operates the control of the number of people connected with the line, that is, the first setting operation, and detects that the user operates the control of the expense of the line, that is, the second setting operation, the number of people connected with the line corresponding to the first setting operation may be determined as the target number of people connected with the line, and the expense corresponding to the second setting operation is determined as the target expense of the line, and a function opening instruction is sent to the server. Specifically, the function opening instruction may carry information indicating the number of target links and the target link expense. The payout here may refer to a payout of general currency, virtual gold, or the like through an electronic account.
The server side can send a video connection instruction to the first terminal under the condition that the second terminal is determined to pay out the target connection line. The target number of people connected may refer to the number of terminals of the audience connected to the anchor terminal, that is, the first terminal, or may refer to the number of all terminals participating in the video connection.
As shown in FIG. 2b, the paid wiring price, i.e., the target wiring expense, is shown, as well as the number of fans connected at the same time, i.e., the target number of people connected. The "confirmation creation" in the figure is the above-described confirmation operation, which means that the video connection function of the first terminal is confirmed to be created.
The implementation manners can enable the user of the first terminal to set the expense required by the user who performs video connection with the first terminal and the upper limit of the number of the video connection persons, so that the video connection more accords with the desire of the user of the first terminal, such as a main broadcast, and the controllability of the main broadcast on the video connection is increased.
In some optional application scenarios of these implementations, the determining that the first terminal has the video connection right in response to detecting the setting triggering operation in step 201 may include: sending a permission state request to a server in response to the detection of the setting triggering operation; in response to receiving connection authority state information of the first terminal fed back by the server, judging whether the connection authority state information indicates that the first terminal has video connection authority; if so, determining that the first terminal has the video connection authority.
In these optional application scenarios, the server or other electronic devices communicatively connected to the server may store connection authority state information of the first terminal. The execution main body can acquire the connection authority state information from the server side under the condition that the user starts the video connection function setting through the setting triggering operation. Specifically, the executing body may send a connection permission state request to the server when detecting a setting triggering operation of the user, so as to determine, through feedback of the server, a connection permission state of the first terminal, that is, connection permission state information. The connection right state information may indicate whether the first terminal has video connection right.
In practice, the connection right state information may also be stored locally in the first terminal in advance.
The realization methods can store the information indicating the video connection authority of the first terminal in the server, so that the first terminal can still be ensured to accurately determine the local video connection authority under the condition that a user replaces a mobile phone and the like.
Optionally, the step 201, in response to detecting the setting triggering operation and determining that the first terminal has the video connection right, may further include: if not, displaying the connection authority to open the entrance; responding to the detected operation of opening an entrance to the connection authority, and displaying a connection authority setting page; and responding to the detected operation of the authority opening identifier of the connection authority setting page, determining that the first terminal has the video connection authority, and sending information indicating that the first terminal has the video connection authority to the server.
Specifically, the execution main body may display the connection authority to open the entry if the determination result is negative. The entry is used to instruct the user to have permission to open a video connection of the first terminal. The execution main body detects the operation on the entrance, and can display a connection authority setting page, so that a user can start the video connection authority of the first terminal in the page.
The permission opening identifier may exist in the page, and if the execution main body detects that the user operates the identifier, it may be determined that the first terminal has the video connection permission. Specifically, the permission activation identifier may be a switch for activating a video connection permission of the first terminal.
The execution main body may send, to the server, indication information to indicate that the first terminal has the video connection right, when it is determined that the first terminal has the video connection right.
The optional application scenes can display the entrance of the opening authority to the user under the condition that the first terminal has no video connection authority, so that the smooth proceeding of video connection is facilitated.
With continued reference to fig. 3, fig. 3 is a flowchart of an embodiment of a video wiring method according to the present embodiment.
With further reference to fig. 4a, a flow 400 of yet another embodiment of a video wiring method is shown. The process 400, applied to a server, includes the following steps:
In this embodiment, an execution subject (for example, the server shown in fig. 1) on which the video connection method operates may start the video connection function of the first terminal in a case of receiving a function start instruction sent by the first terminal.
In this embodiment, the execution main body may 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, when receiving a video connection request sent by the second terminal.
In practice, the number of second terminals may be one or more than two. And under the condition that the number of the second terminals is more than two, if the server receives a video connection request sent by any one of the more than two second terminals to the server, establishing a real-time video connection between the any one second terminal and the first terminal.
In these alternative implementations, the execution subject may send the video connection instruction in a case where it is determined that the account of the second terminal has paid the target connection expenditure. In practice, the execution body may acquire information indicating whether the second terminal has paid out the target connection line from another electronic device (such as a payment server) in communication connection with the second terminal.
In the method provided by the above embodiment of the present application, when the user of the first terminal sets the video connection function with the second terminal, the server may automatically perform video connection with other terminals. The second terminal in this embodiment can connect with the first terminal of the anchor through a certain expenditure, so that the benefits of the anchor and the live platform can be increased.
In some optional implementations of this embodiment, the responding to the function starting instruction sent by the first terminal in step 401 may include: under the condition that a first terminal is live broadcasting and a second terminal is playing live video uploaded by the first terminal, responding to a function starting instruction sent by the first terminal, wherein the first terminal is a main broadcasting end, and the second terminal is a spectator end.
The realization modes can realize the video connection between the audience terminal and the anchor terminal in the live scene, thereby providing more communication channels for the audience and the anchor.
In some optional application scenarios of these implementations, in response to determining that the account logged in by the second terminal has paid out the target connection line expense, the implementation may include: in response to receiving to-be-confirmed-paying-out information sent by the second terminal in response to detection of paying-out operation for the video connection, determining whether the target connection line paying-out indicated by the to-be-confirmed-paying-out information is successful or not; if the expenditure is determined to be successful, determining that the account registered by the second terminal pays the target connection line expenditure, wherein the expenditure operation indicates the second terminal to pay the target connection line expenditure.
In these optional application scenarios, the user of the second terminal may perform a payout operation to pay out the target connection payout through the login account of the user, and the second terminal of the user may send information to be confirmed for paying out to the server, so that the server may confirm whether the login account of the second terminal is paid out successfully. The execution body may determine whether the second terminal successfully pays the target connection line after receiving the payment to-be-confirmed information.
In the implementation manners, the server side can determine whether the second terminal successfully pays after the user of the second terminal pays, so that the accuracy of determining whether the account logged in by the second terminal pays the target connection line is improved.
In some optional application scenarios of these implementations, after the video connection function of the first terminal is turned on in step 401, the method may further include: sending connection entrance information for video connection with the first terminal to the second terminal so that the second terminal can display a connection entrance corresponding to the connection entrance information; and if the video connection request for the first terminal sent by the second terminal is received in step 402, the method may include: and if a video connection request sent by the second terminal in response to the detection of the operation on the connection entrance is received.
In these optional application scenarios, the execution main body 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 may indicate a connection entry of a video connection between the second terminal and the first terminal. If the second terminal detects the operation of the user on the connection entrance, a video connection request can be generated and sent to the server side so as to request the video connection with the first terminal.
In the application scenes, the second terminal can receive the connection entrance information sent by the server, so that the connection entrance is shown to the user, and the user can independently select whether to carry out video connection with the first terminal.
In some optional implementations of this embodiment, the method may further include: and feeding back connection permission state information of the first terminal to the first terminal in response to receiving a permission state request sent by the first terminal in response to the detection of the setting triggering operation, so that the first terminal judges whether the connection permission state information indicates that the first terminal has video connection permission.
The realization methods can store the information indicating the video connection authority of the first terminal in the server, so that the first terminal can still be ensured to accurately determine the local video connection authority under the condition that a user replaces a mobile phone and the like.
In some optional implementations of this embodiment, the number of the second terminals is at least two; the step 402 may include: if a video connection request sent by a second terminal to the first terminal is received, responding to the fact that the account number logged in by the second terminal pays a target connection expenditure, sending a video connection instruction with the second terminal to the first terminal, and establishing real-time video connection between the first terminal and the second terminal; if a video connection request for the first terminal sent by other second terminals except the second terminal is received, in response to determining that the account logged in by the other second terminals pays a target connection expenditure, executing the following steps: sending video connection instructions with other second terminals to the first terminal, and establishing real-time video connection between the first terminal and the other second terminals; or sending video connection instructions with other second terminals to the first terminal and one second terminal, and adding the other second terminals into the real-time video connection between the first terminal and one second terminal.
In these optional implementations, the execution main body may establish a real-time video connection between the first terminal and at least two second terminals when the number of target connection persons is at least two. In practice, the first terminal may perform a separate video connection with each second terminal, and the second terminals participating in the video connection may not receive video information of each other. In addition, the first terminal may be video-connected with each of the second terminals in the form of a teleconference.
The implementation modes can provide different video connection modes, so that users have different video connection experiences.
The application also provides a video connection method, which is used for a second terminal, and the method can comprise the following steps:
step 1, responding to the video connection function of a first terminal being started, displaying an entrance for video connection with the first terminal, wherein the video connection function is started by a server in response to receiving a function starting instruction sent by the first terminal, the function starting instruction is sent by the first terminal in response to detecting a setting operation on a setting page, and the first terminal has a video connection permission. And step 2, responding to the detected operation on the entrance, and sending a video connection request to the server. And 3, responding to a video connection instruction received from the server and the first terminal, and performing real-time video connection with the first terminal, wherein the video connection instruction is sent by the server in response to the fact that the account logged in by the second terminal has paid out a target connection expenditure.
In this embodiment, the second terminal may display the connection entry, and a user of the second terminal may perform video connection with the first terminal by clicking the connection entry, where the first terminal is a main broadcasting end, and the second terminal is a viewer end.
According to the method provided by the embodiment of the application, when the user of the first terminal sets the video connection function with the second terminal, the video connection between the first terminal and the second terminal can be automatically realized through the server.
In some optional implementations of this embodiment, the responding to that the video connection function of the first terminal is turned on in step 1 above may include: and under the condition that the second terminal plays the live video uploaded by the first terminal, responding to the fact that the video connection function of the first terminal is started.
The realization modes can realize the video connection between the audience terminal and the anchor terminal in the live scene, thereby providing more communication channels for the audience and the anchor.
In some optional implementations of this embodiment, the method may further include: and generating and sending information to be confirmed for paying out to the server in response to the detection of the paying out operation for the video connection, wherein the paying out operation is used for indicating the second terminal to pay out the target connection line paying out so that the server determines whether the target connection line paying out indicated by the information to be confirmed is successful or not.
In these optional implementation manners, the execution main body may detect a payment operation of the user, and if the payment operation is detected, may send payment to-be-confirmed information to the server.
In these implementation manners, the server may determine whether the second terminal successfully pays after the user of the second terminal performs a paying operation, so as to improve accuracy of determining whether the account logged in by the second terminal has paid the target connection line.
In some optional application scenarios of these implementations, in response to detecting a payout operation for a video connection, the implementations may include: in response to detecting the operation on the connecting line inlet, displaying a expenditure confirmation interface for receiving the expenditure operation; in response to detecting a payout operation at a payout confirmation interface, it is determined that a payout operation for the video connection is detected.
In these alternative application scenarios, the executing agent may present a payout confirmation interface to a user of the second terminal in response to detecting an operation on the wiring entry. For example, the payout confirmation interface may include confirmation information as follows: "do you pay 200 coins for video wiring, do you confirm to join the wiring? Accordingly, the payout operation may include an operation of a confirmation button that instructs confirmation of the above-described confirmation information.
As shown in fig. 4b, a payout confirmation interface is shown.
In these application scenarios, the execution subject can enable the user to determine whether to pay the target connection line, thereby avoiding the situation of automatic deduction against the user's will.
In some optional implementations of this embodiment, the method may further include: in response to detecting a first switching operation of a main image in a video picture of a real-time video link, switching the main image from an image shot by a first terminal to an image shot by a second terminal, wherein the size of the main image is larger than the size of other images in a live video; and in response to detecting a second switching operation for the main image in the live video, switching the main image from the image shot by the second terminal to the image shot by the first terminal.
In these alternative implementations, the executing body may switch the main image from an image captured by the first terminal to an image captured by the second terminal in a case where the first switching operation for the main image in the video picture of the live video connection is detected. 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. Then, if the user of the second terminal performs the second switching operation, the execution body may switch back to the original state and continue to use the image captured by the first terminal as the main image. The image taken by the terminal used by the main image may be an original image taken by the terminal or a processed image taken by the terminal and subjected to image processing. And the position difference value between the central point of the main image and the central point of the video picture is less than or equal to a preset difference value threshold value.
The first switching operation and the second switching operation may be user operations on a preset area in a video screen of the real-time video connection, for example, the area may be a button indicating switching.
As shown in fig. 4c, the left diagram in the figure shows that the user performs the first switching operation by clicking the "switch display" key, and the right diagram shows that the user performs the second switching operation by clicking the "switch display" key again.
The realization modes can lead the user of the second terminal, such as a live audience, to see the image presented in the video connection line in an amplifying way, thereby being beneficial to the user to adjust the image of the user to an ideal state according with the desire of the user.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present application provides an embodiment of a video connection apparatus, which corresponds to the embodiment of the method shown in fig. 2a, and which may include the same or corresponding features or effects as the embodiment of the method shown in fig. 2a, in addition to the features described below. The device can be applied to various electronic equipment.
As shown in fig. 5, the video link apparatus 500 of the present embodiment includes: a display unit 501, a function confirmation unit 502 and a wiring unit 503. The display unit 501 is configured to display a setting page for a video connection function in response to detecting a setting trigger operation and determining that the first terminal has a video connection right; a function confirming unit 502 configured to send a function opening instruction to a server in response to detecting a setting operation on the setting page, so that the server opens a video connection function of the first terminal; a connection unit 503, configured to perform real-time video connection with a second terminal in response to receiving a video connection instruction from the server to the second terminal, where the video connection instruction is sent by the server in response to determining that a target connection expenditure has been paid out for an account registered by the second terminal.
In this embodiment, the detailed processing and the technical effects of the presentation unit 501, the function confirmation unit 502 and the connection unit 503 of the video connection apparatus 500 can refer to the related descriptions of step 201, step 202 and step 203 in the corresponding embodiment of fig. 2a, which are not repeated herein.
In some optional implementations of this embodiment, the presentation unit is further configured to perform the triggering operation in response to detecting that the setting is detected and determining that the first terminal has the video connection right, as follows: and under the condition that the first terminal is in live broadcasting, responding to the detection of setting triggering operation and determining that the first terminal has video connection permission.
In some optional implementation manners of this embodiment, the setting page includes a control of the number of people connected to the line and a control of a connection expense, where the connection expense is an expense required for performing video connection with the first terminal; the function confirmation unit is further configured to execute the sending of the function opening instruction to the server in response to the detection of the setting operation on the setting page as follows: in response to the detection of a first setting operation on a control of the number of connected people and the detection of a second setting operation on a control of the connected people expenditure, determining a target number of connected people corresponding to the first setting operation and a target connected people expenditure corresponding to the second setting operation, and sending a function starting instruction carrying indication information to a server, wherein the indication information is used for indicating the target number of connected people and the target connected people expenditure, the video connected instructions are sent by the server in response to the account number logged by the second terminal that the target connected people expenditure is paid, and the number of the second terminals is smaller than or equal to the target number of connected people.
In some optional implementations of this embodiment, the presentation unit is further configured to perform the triggering operation in response to detecting the setting and determining that the first terminal has the video connection right, as follows: sending a permission state request to the server in response to detecting a setting triggering operation; in response to receiving the connection authority state information of the first terminal fed back by the server, judging whether the connection authority state information indicates that the first terminal has video connection authority; and if so, determining that the first terminal has the video connection authority.
In some optional implementations of this embodiment, the presentation unit is further configured to perform the triggering operation in response to detecting that the setting is detected and determining that the first terminal has the video connection right, as follows: if not, displaying the connection authority to open the entrance; responding to the detected operation of opening the entrance to the connection authority, and displaying a connection authority setting page; and responding to the detected operation of the authority opening identifier of the connection authority setting page, determining that the first terminal has the video connection authority, and sending information indicating that the first terminal has the video connection authority to the server.
The application also provides a video connecting device for the server, the device includes: the starting unit is configured to start a video connection function of a first terminal in response to receiving a function starting instruction sent by the first terminal, wherein the function starting instruction is sent by the first terminal in response to detecting a setting operation on the setting page, and the first terminal has a video connection permission; the establishing unit is configured to respond to the fact that the account number logged in by the second terminal pays a target connection expenditure if a video connection request sent by the second terminal to the first terminal is received, send a video connection instruction with the second terminal to the first terminal, and establish real-time video connection between the first terminal and the second terminal.
In some optional implementations of this embodiment, the starting unit is further configured to execute the function starting instruction sent by the first terminal in response to receiving: under the condition that the first terminal is live and the second terminal is playing the live video uploaded by the first terminal, responding to a function starting instruction sent by the first terminal, wherein the first terminal is a main broadcasting terminal, and the second terminal is a spectator terminal.
In some optional implementation manners of this embodiment, the number of the second terminals is less than or equal to the target number of the connected persons.
In some optional implementations of this embodiment, the establishing unit is further configured to perform the responding to determining that the account logged in by the second terminal has paid out a target connection line expense according to the following manners: in response to receiving to-be-confirmed-paying-out information sent by the second terminal in response to detection of paying-out operation for video connection, determining whether the target connection line paying-out indicated by the to-be-confirmed-paying-out information is successful or not; if the expenditure is determined to be successful, determining that the account logged by the second terminal has paid out the target connection line expenditure, wherein the expenditure operation indicates that the second terminal pays out the target connection line expenditure.
In some optional implementations of this embodiment, the apparatus further includes: an entry display unit, configured to send, to the second terminal, connection entry information for performing video connection with the first terminal after the video connection function of the first terminal is started, so that the second terminal displays a connection entry corresponding to the connection entry information; and the establishing unit is further configured to execute the following steps if a video connection request sent by a second terminal for the first terminal is received: and if a video connection request sent by the second terminal in response to the detection of the operation on the connection entrance is received.
In some optional implementations of this embodiment, the apparatus further includes: the feedback unit is configured to feed back connection authority state information of the first terminal to the first terminal in response to receiving an authority state request sent by the first terminal in response to the detection of the setting triggering operation, so that the first terminal judges whether the connection authority state information indicates that the first terminal has video connection authority.
In some optional implementations of this embodiment, the number of the second terminals is at least two; the establishing unit is further configured to execute the following steps of, if a video connection request sent by a second terminal to the first terminal is received, in response to determining that a target connection expenditure has been paid by an account registered by the second terminal, sending a video connection instruction with the second terminal to the first terminal, and establishing a real-time video connection between the first terminal and the second terminal: if a video connection request for the first terminal sent by a second terminal is received, responding to the fact that the target connection expenditure is paid by the account number logged in by the second terminal, sending a video connection instruction with the second terminal to the first terminal, and establishing real-time video connection between the first terminal and the second terminal; if a video connection line request for the first terminal sent by other second terminals except the second terminal is received, in response to determining that the account logged in by the other second terminals pays the target connection line, executing the following steps: sending a video connection instruction with the other second terminals to the first terminal, and establishing real-time video connection between the first terminal and the other second terminals; or sending video connection instructions with other second terminals to the first terminal and the second terminal, and adding the other second terminals into the real-time video connection between the first terminal and the second terminal.
The present application further provides a video connection apparatus for a second terminal, the apparatus comprising: the display unit is configured to display a connection entrance for video connection with a first terminal in response to the video connection function of the first terminal being started, wherein the video connection function is started by a server in response to receiving a function starting instruction sent by the first terminal, the function starting instruction is sent by the first terminal in response to detecting a setting operation on the setting page, and the first terminal has a video connection permission; the request unit is configured to respond to the detection of the operation on the connection entrance and send a video connection request to the server; the execution unit is configured to conduct 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 sent by the server in response to determining that a target connection expenditure is paid out by an account number logged in by the second terminal.
In some optional implementations of this embodiment, the presenting unit is further configured to perform the responding that the video connection function of the first terminal is turned on as follows: under the condition that the second terminal plays the live video uploaded by the first terminal, responding to the fact that the video connection function of the first terminal is started, wherein the first terminal is a main broadcasting end, and the second terminal is a spectator end.
In some optional implementations of this embodiment, the apparatus further includes: the paying-out unit is configured to generate and send information to be confirmed for paying out to the server in response to detection of paying-out operation for video connection, wherein the paying-out operation is used for indicating the second terminal to pay out a target connection line paying out, so that the server determines whether the target connection line paying out indicated by the information to be confirmed for paying out is successful or not.
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 as follows: in response to detecting the operation on the connection inlet, displaying a expenditure confirmation interface for receiving expenditure operation; in response to detecting a payout operation at the payout confirmation interface, determining that a payout operation for a video connection is detected.
In some optional implementations of this embodiment, the apparatus further includes: a first switching unit configured to switch a main image, an image captured from the first terminal to an image captured by the second terminal in response to detection of a first switching operation for the main image in a video picture of the live video link, wherein a size of the main image is larger than sizes of other images in the live video; a second switching unit configured to switch the main image, an image captured from the second terminal to an image captured by the first terminal in response to detecting a second switching operation for the main image in the live video.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 6 is a block diagram of an electronic device according to the video connection method of the 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, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the video connection method provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the video wiring method provided by the present application.
The memory 602, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the video wiring method in the embodiment of the present application (for example, the presentation unit 501, the function confirmation unit 502, and the wiring unit 503 shown in fig. 5). The processor 601 executes various functional applications of the server and data processing, i.e., implements the video connection method in the above method embodiment, by running non-transitory software programs, instructions, and modules stored in the memory 602.
The memory 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 use of the video wired electronic device, and the like. Further, the 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, the memory 602 optionally includes memory located remotely from the processor 601, and these remote memories may be connected to the video-wired electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the video connection method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the video-wired electronic device, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. 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 can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of 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, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block 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 will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a presentation unit, a function confirmation unit, and a wiring unit. The names of these units do not form a limitation on the unit itself in some cases, for example, the presentation unit may also be described as "a unit that detects a setting trigger operation and determines that the first terminal has a video connection right, and presents a setting page for a video connection function".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: displaying a setting page aiming at a video connection function in response to the detection of the setting triggering operation and the determination that the first terminal has the video connection authority; sending a function starting instruction to a server in response to the detection of the setting operation on the setting page, so that the server starts a video connection function of the first terminal; and in response to receiving a video connection instruction with a second terminal from the server, performing real-time video connection with the second terminal, wherein the video connection instruction is sent by the server in response to determining that a target connection expenditure has been paid out by an account number logged in by the second terminal.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to a received function starting instruction sent by a first terminal, and starting a video connection function of the first terminal, wherein the function starting instruction is sent by the first terminal in response to the detection of a setting operation on the setting page, and the first terminal has a video connection permission; if a video connection request sent by a second terminal to the first terminal is received, responding to the fact that the account number logged in by the second terminal pays a target connection expenditure, sending a video connection instruction with the second terminal to the first terminal, and establishing 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 contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to the video connection function of a first terminal, and displaying a connection entrance for video connection with the first terminal, wherein the video connection function is started by a server in response to receiving a function starting instruction sent by the first terminal, the function starting 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 permission; sending a video connection request to the server in response to the detection of the operation on the connection entrance; and in response to receiving a video connection instruction with the first terminal from the server, performing real-time video connection with the first terminal, wherein the video connection instruction is sent by the server in response to determining that a target connection expenditure is paid out by the account logged in by the second terminal.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements in which any combination of the features described above or their equivalents does not depart from the spirit of the invention disclosed above. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
Claims (19)
1. A video connection method for a first terminal, the method comprising:
displaying a setting page aiming at a video connection function in response to the detection of the setting triggering operation and the determination that the first terminal has the video connection authority;
in response to detecting a setting operation on the setting page, sending a function starting instruction to a server to enable the server to start a video connection function of the first terminal, including: responding to a first setting operation of a control for detecting the number of people connecting lines and a second setting operation of a control for detecting the number of people connecting lines, determining the number of target people connecting lines corresponding to the first setting operation and the target line expense corresponding to the second setting operation, and sending a function starting instruction carrying indication information to a server, wherein the number of the target people connecting lines refers to the maximum number of terminals connecting with the first terminal or the maximum number of terminals participating in video connection, and the target line expense refers to the expense of connecting with the first terminal;
and in response to receiving a video connection instruction with a second terminal from the server, performing real-time video connection with the second terminal, wherein the video connection instruction is sent by the server in response to determining that a target connection expenditure is paid out by an account number logged in by the second terminal.
2. The method of claim 1, wherein the determining that the first terminal has video-wiring rights in response to detecting a setup trigger operation comprises:
under the condition that the first terminal is live broadcasting, in response to detection of a setting trigger operation, determining that the first terminal has a video connection permission, wherein the first terminal is a main broadcasting terminal, and the second terminal is a spectator terminal.
3. The method of claim 1 or 2, wherein the settings page includes a control of the number of people connected and a control of the connection expense, the connection expense being an expense required for video connection with the first terminal; the indication information is used for indicating the number of the target line connection persons and the target line connection expenditure, and the number of the second terminals is smaller than or equal to the number of the target line connection persons.
4. The method of claim 3, wherein the determining that the first terminal has video-wiring rights in response to detecting a setup trigger operation comprises:
sending a permission state request to the server in response to detecting a setting triggering operation;
in response to receiving the connection permission state information of the first terminal fed back by the server, judging whether the connection permission state information indicates that the first terminal has a video connection permission;
and if so, determining that the first terminal has the video connection authority.
5. The method of claim 4, wherein the determining that the first terminal has video-wiring rights in response to detecting a setup trigger operation further comprises:
if not, displaying the connection authority to open the entrance;
responding to the detected operation of opening the entrance to the connection authority, and displaying a connection authority setting page;
and responding to the detected operation of the authority opening identifier of the connection authority setting page, determining that the first terminal has the video connection authority, and sending information indicating that the first terminal has the video connection authority to the server.
6. A video connection method is used for a server side, and the method comprises the following steps:
the method comprises the steps that a video connection function of a first terminal is started in response to receiving a function starting instruction sent by the first terminal, wherein the function starting instruction is sent to a server side by the first terminal in response to detecting a first setting operation of a control for the number of people connected with the first terminal and detecting a second setting operation of the control for the expense of the first terminal, the number of target people connected with the first terminal or the maximum number of terminals participating in video connection is determined, and the target people connected with the first terminal and the target expense of the second terminal are sent to the server side;
if a video connection request sent by a second terminal to the first terminal is received, responding to the fact that the account number logged in by the second terminal pays a target connection expenditure, sending a video connection instruction with the second terminal to the first terminal, and establishing real-time video connection between the first terminal and the second terminal.
7. The method of claim 6, wherein the responding to the function starting instruction sent by the first terminal comprises:
under the condition that the first terminal is live and the second terminal is playing the live video uploaded by the first terminal, responding to a function starting instruction sent by the first terminal, wherein the first terminal is a main broadcasting terminal, and the second terminal is a spectator terminal.
8. The method of claim 6 or 7, wherein the number of second terminals is less than or equal to a target number of people connected.
9. The method of claim 8, wherein the responsive to determining that the account to which the second terminal is logged has paid out a target online expense comprises:
in response to receiving to-be-confirmed-paying-out information sent by the second terminal in response to detection of paying-out operation for video connection, determining whether the target connection line paying-out indicated by the to-be-confirmed-paying-out information is successful or not;
if the expenditure is determined to be successful, determining that the account logged by the second terminal has paid the target connection line expenditure, wherein the expenditure operation indicates that the second terminal pays the target connection line expenditure.
10. The method of claim 6, wherein after the turning on the video connection function of the first terminal, the method further comprises:
sending connection entrance information for video connection with the first terminal to the second terminal, so that the second terminal displays a connection entrance corresponding to the connection entrance information; and
if a video connection request sent by a second terminal to the first terminal is received, the method includes:
and if a video connection request sent by the second terminal in response to the detection of the operation on the connection entrance is received.
11. The method of claim 6, wherein the method further comprises:
and in response to receiving an authority state request sent by the first terminal in response to the detection of the setting triggering operation, feeding back connection authority state information of the first terminal to the first terminal so that the first terminal judges whether the connection authority state information indicates that the first terminal has video connection authority.
12. The method of claim 6, wherein the number of second terminals is at least two;
if a video connection request sent by a second terminal to the first terminal is received, in response to determining that a target connection expenditure has been paid by an account number logged in by the second terminal, sending a video connection instruction with the second terminal to the first terminal, and establishing a real-time video connection between the first terminal and the second terminal, the method comprises the following steps:
if a video connection request sent by a second terminal to the first terminal is received, responding to the fact that the account number logged by the second terminal pays the expense of the target connection, sending a video connection instruction with the second terminal to the first terminal, and establishing real-time video connection between the first terminal and the second terminal;
if a video connection request for the first terminal sent by other second terminals except the second terminal is received, in response to determining that account numbers logged in by the other second terminals pay the target connection expenditure, executing the following steps:
sending a video connection instruction with the other second terminals to the first terminal, and establishing real-time video connection between the first terminal and the other second terminals; or
And sending video connection instructions with other second terminals to the first terminal and the second terminal, and adding the other second terminals into the real-time video connection between the first terminal and the second terminal.
13. A video connection method for a second terminal, the method comprising:
responding to the video connection function of a first terminal to be started, and displaying a connection entrance for video connection with the first terminal, wherein the video connection function is started by a server in response to receiving a function starting instruction sent by the first terminal, the function starting instruction is that the first terminal responds to a first setting operation of detecting a control for the number of people on the line and detects a second setting operation of detecting a control for the expenditure on the line, a target number of people on the line corresponding to the first setting operation and a target expenditure on the line corresponding to the second setting operation are determined, and the target number of people on the line is sent to the server, the first terminal has video connection permission, the target number of people on the line is the maximum number of terminals connected with the first terminal or the maximum number of terminals participating in video connection, and the target expenditure on the line is the expenditure on the line with the first terminal;
sending a video connection request to the server in response to the detection of the operation on the connection entrance;
and in response to receiving a video connection instruction with the first terminal from the server, performing real-time video connection with the first terminal, wherein the video connection instruction is sent by the server in response to determining that a target connection expenditure is paid out by the account logged in by the second terminal.
14. The method of claim 13, wherein said responding to the video-wiring function of the first terminal being turned on comprises:
and under the condition that the second terminal plays the live video uploaded by the first terminal, responding to the fact that the video connection function of the first terminal is started, wherein the first terminal is a main broadcasting end, and the second terminal is a spectator end.
15. The method of claim 13, wherein the method further comprises:
and generating and sending information to be confirmed for paying out to the server in response to the detection of the paying out operation for the video connection, wherein the paying out operation is used for indicating the second terminal to pay out the target connection line paying out so that the server determines whether the target connection line paying out indicated by the information to be confirmed for paying out is successful or not.
16. The method of claim 15, wherein the responsive to detecting a payout operation for a video connection comprises:
in response to detecting the operation on the connection inlet, displaying a expenditure confirmation interface for receiving expenditure operation;
in response to detecting a payout operation at the payout confirmation interface, determining that a payout operation for a video connection is detected.
17. The method of claim 13 or 14, wherein the method further comprises:
in response to detecting a first switching operation of a main image in a video picture of the real-time video connection, switching the main image from an image shot by the first terminal to an image shot by the second terminal, wherein the size of the main image is larger than that of other images in a live video;
and in response to detecting a second switching operation of the main image in the live video, switching the main image from the image shot by the second terminal to the image shot by the first terminal.
18. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-17.
19. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1-17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010806059.5A CN111901671B (en) | 2020-08-12 | 2020-08-12 | Video connection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010806059.5A CN111901671B (en) | 2020-08-12 | 2020-08-12 | Video connection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111901671A CN111901671A (en) | 2020-11-06 |
CN111901671B true CN111901671B (en) | 2022-11-15 |
Family
ID=73230428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010806059.5A Active CN111901671B (en) | 2020-08-12 | 2020-08-12 | Video connection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111901671B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114765691B (en) * | 2021-01-13 | 2024-05-28 | 北京字节跳动网络技术有限公司 | Video live broadcasting functional component loading method, data processing method and device |
CN115529485B (en) * | 2022-09-14 | 2024-06-18 | 北京字跳网络技术有限公司 | Live video processing method, device, equipment and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107959891A (en) * | 2017-11-08 | 2018-04-24 | 杭州风远科技有限公司 | A kind of live broadcast system |
CN109756771A (en) * | 2019-01-08 | 2019-05-14 | 北京潘达互娱科技有限公司 | A kind of user's sort method, calculates equipment and storage medium at device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106162211B (en) * | 2016-06-30 | 2019-04-16 | 北京小米移动软件有限公司 | The method and device being broadcast live based on live streaming application |
CN107071584B (en) * | 2017-03-14 | 2019-12-24 | 北京潘达互娱科技有限公司 | Live broadcast wheat connecting method and device |
CN107295354A (en) * | 2017-05-15 | 2017-10-24 | 武汉斗鱼网络科技有限公司 | Connect the live method for building up of wheat and device in a kind of network direct broadcasting |
CN108965932B (en) * | 2017-05-17 | 2021-05-28 | 武汉斗鱼网络科技有限公司 | Continuous wheat window display method and device |
CN107465959B (en) * | 2017-07-14 | 2020-06-30 | 腾讯音乐娱乐(深圳)有限公司 | Online interaction method, device and system |
US10771852B2 (en) * | 2018-06-22 | 2020-09-08 | At&T Intellectual Property I, L.P. | On-demand live media content streaming |
CN109011586A (en) * | 2018-06-27 | 2018-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 |
CN110149525A (en) * | 2019-05-23 | 2019-08-20 | 广州虎牙信息科技有限公司 | A kind of live broadcasting method, device, equipment and storage medium |
-
2020
- 2020-08-12 CN CN202010806059.5A patent/CN111901671B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107959891A (en) * | 2017-11-08 | 2018-04-24 | 杭州风远科技有限公司 | A kind of live broadcast system |
CN109756771A (en) * | 2019-01-08 | 2019-05-14 | 北京潘达互娱科技有限公司 | A kind of user's sort method, calculates equipment and storage medium at device |
Non-Patent Citations (1)
Title |
---|
"泛娱乐类网络直播中的互动仪式研究";田洁;《中国优秀硕士学位论文全文数据库》;20190115;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111901671A (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112416284B (en) | Method, apparatus, device and storage medium for sharing screen | |
CN106454535B (en) | Barrage comment information processing method, client, server and storage medium | |
KR20210135683A (en) | Method, system, and computer program for displaying reaction during voip-based call | |
CN111901671B (en) | Video connection method and device | |
CN112153323B (en) | Simultaneous interpretation method and device for teleconference, electronic equipment and storage medium | |
US20060059236A1 (en) | Instant messaging with audio | |
CN111954077A (en) | Video stream processing method and device for live broadcast | |
CN114503598A (en) | Management server, user terminal, gift system, and information processing method | |
WO2023065686A1 (en) | Data processing method and apparatus | |
CN111586319A (en) | Video processing method and device | |
CN110634220B (en) | Information processing method and device | |
US11140222B2 (en) | Aggregating electronic devices to provide a synchronized presentation | |
CN114727146B (en) | Information processing method, device, equipment and storage medium | |
CN113518265B (en) | Live broadcast data processing method and device, computer equipment and medium | |
US20180123816A1 (en) | Collaboration environments and views | |
US10511700B2 (en) | Communication terminal with first application displaying status of second application | |
US20210127239A1 (en) | Method and system for fairly charging talk time of video call that introduces new person | |
CN108289229B (en) | Interaction method and device for multimedia resources | |
EP3438836A1 (en) | Information transmission system, information transmission method, and program | |
CN111954078A (en) | Video generation method and device for live broadcast | |
CN112528052A (en) | Multimedia content output method, device, electronic equipment and storage medium | |
CN115097984A (en) | Interaction method, interaction device, electronic equipment and storage medium | |
US20180043269A1 (en) | Systems and methods for interactive graphics game and application objects in an instant messaging session | |
CN108521579B (en) | Bullet screen information display method and device | |
CN114173139A (en) | Live broadcast interaction method, system and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |