CN106612464B - A kind of method and device for establishing live streaming connection - Google Patents
A kind of method and device for establishing live streaming connection Download PDFInfo
- Publication number
- CN106612464B CN106612464B CN201611187952.4A CN201611187952A CN106612464B CN 106612464 B CN106612464 B CN 106612464B CN 201611187952 A CN201611187952 A CN 201611187952A CN 106612464 B CN106612464 B CN 106612464B
- Authority
- CN
- China
- Prior art keywords
- live video
- user
- weighted value
- live
- total
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000004044 response Effects 0.000 claims abstract description 63
- 238000012545 processing Methods 0.000 claims description 17
- 230000000873 masking effect Effects 0.000 claims description 12
- 238000003780 insertion Methods 0.000 claims description 10
- 230000037431 insertion Effects 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000009826 distribution Methods 0.000 claims description 7
- 238000012546 transfer Methods 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
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/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
- H04N21/4756—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/254—Management at additional data server, e.g. shopping server, rights management server
- H04N21/2541—Rights Management
-
- 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4627—Rights management associated to the content
-
- 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)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of method and devices for establishing live streaming connection.Wherein, this method comprises: obtaining the first Client-initiated establishes live streaming connection request, establishing live streaming connection request includes Authentication time section, and the first user is the user for uploading the first live video;The response message that one or more second users are sent respectively in Authentication time section is received, each response message includes corresponding first weighted value;Will second user corresponding with maximum first weighted value as validated user, and obtain validated user upload the second live video;It determines total live video, and issues total live video, total live video is to carry out the live video that Display on the same screen is handled to the first live video and the second live video.This method increase the diversity of net cast, are conducive to fast propagation second live video, and information transfer efficiency is high, can make the available more information of other users.
Description
Technical field
The present invention relates to net cast technical field more particularly to a kind of method and devices for establishing live streaming connection.
Background technique
With the development of smart machine (such as smart phone, tablet computer, smart television), more and more users are used
The various functions of smart machine, wherein video APP (Application) is the common application program of people, and APP is such as broadcast live;With
Family can watch the live video of other users upload by the way that APP is broadcast live.The user of viewing live video can be sent out by text
Comment or message are sent to realize the interaction with the user that uploads live video and exchange.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
The user of existing viewing live video with upload the user of live video in interaction and when exchanging, viewing live video
User comment message can only be sent by way of text or voice, the user for uploading live video can only send language in real time
Sound, the mode that the two sends information are relatively simple;Meanwhile when the user of viewing live video needs to other users with video shape
When formula sharing information, live video, user cumbersome and that the viewing live video cannot be effectively ensured can only be individually uploaded
Quantity, thus the problem of causing information to share slow process, low efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of method and device for establishing live streaming connection, for solving existing viewing live video
User and upload the relatively simple technical problem of user's interactive form of live video.
A kind of method for establishing live streaming connection provided in an embodiment of the present invention, comprising the following steps:
It obtains the first Client-initiated and establishes live streaming connection request, establishing live streaming connection request includes Authentication time section, the
One user is the user for uploading the first live video;
Receive the response message that one or more second users are sent respectively in Authentication time section, each response message packet
Include corresponding first weighted value;
Will second user corresponding with maximum first weighted value as validated user, and obtain validated user upload
Second live video;
It determines total live video, and issues total live video, total live video is that the first live video and second are broadcast live
Video carries out the live video that Display on the same screen is handled.
In one possible implementation, receive what one or more second users were sent respectively in Authentication time section
Response message, comprising:
Receive the sub- response message of one or more that second user is sent in Authentication time section, every sub- response message packet
Corresponding first sub- weighted value is included, all sub- response messages form response message, and the sum of sub- weighted value of all first is
First weighted value.
In one possible implementation, after obtaining the second live video that validated user uploads, this method is also
Include:
It is that the first user distributes the second weighted value according to total weighted value, total weighted value is all the sum of the first weighted values,
And second weighted value be not more than total weighted value.
In one possible implementation, total live video is determined, comprising:
First live video is embedded in the first display layer, the second live video is embedded in the second display layer, the second display layer
Positioned at the upper layer of the first display layer, and the display area of the second display layer is less than the display area of the first display layer;
Insertion treated the first live video and the second live video will be executed as total live video.
In one possible implementation, this method further include:
Obtain the masking instruction for the second live video of direction that third user sends;
Total live video of the second live video of shielding is issued to third user according to masking instruction.
Based on same inventive concept, the embodiment of the present invention also provides a kind of device for establishing live streaming connection, comprising:
First obtains module, establishes live streaming connection request for obtaining the first Client-initiated, establishes live streaming connection request
Including Authentication time section, the first user is the user for uploading the first live video;
Receiving module, the response message sent respectively in Authentication time section for receiving one or more second users,
Each response message includes corresponding first weighted value;
Second obtain module, for will second user corresponding with maximum first weighted value as validated user, and
Obtain the second live video that validated user uploads;
Processing module for determining total live video, and issues total live video, and total live video is to regard to the first live streaming
Frequency and the second live video carry out the live video that Display on the same screen is handled.
In one possible implementation, receiving module is used for: receiving what second user was sent in Authentication time section
One or more sub- response messages, every sub- response message includes corresponding first sub- weighted value, all sub- response messages
Response message is formed, the sum of sub- weighted value of all first is the first weighted value.
In one possible implementation, device further include: distribution module;
After the second live video that second obtains that module obtains validated user upload, distribution module is used for according to total power
Weight values are that the first user distributes the second weighted value, and total weighted value is all the sum of the first weighted values, and the second weighted value is little
In total weighted value.
In one possible implementation, processing module includes:
Delaminating units, for the first live video to be embedded in the first display layer, by the second display of the second live video insertion
Layer, the second display layer is located at the upper layer of the first display layer, and the display area of the second display layer is less than the display of the first display layer
Region;
Processing unit is regarded for that will execute insertion treated the first live video and the second live video as total live streaming
Frequently.
In one possible implementation, the device further include:
Third obtains module, the masking instruction of the second live video of direction for obtaining third user transmission;
Shroud module, for issuing total live video of the second live video of shielding to third user according to masking instruction.
A kind of method and device for establishing live streaming connection provided in an embodiment of the present invention, the first user actively initiate to establish straight
Connection request is broadcast, and validated user is determined according to the first weighted value that second user is sent, it is straight by the first of the first user later
The second live video for broadcasting video and validated user merges that be processed so that other users can watch this simultaneously first straight
Broadcast video and the second live video.This method makes that other users can be embedded in when the first user uploads the first live video
The second live video, increase the diversity of net cast.Meanwhile the validated user can be by the second local live video
The other users of the first user of concern are shared with, fast propagation second live video is conducive to, information transfer efficiency is high;And other
User can obtain the first live video and the second live video simultaneously, so that the available more information of other users.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation
Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention
It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the first method flow chart that live streaming connection is established in the embodiment of the present invention;
Fig. 2 is the method flow diagram that total live video is determined in the embodiment of the present invention;
Fig. 3 is the method flow diagram that the second live video is shielded in the embodiment of the present invention;
Fig. 4 is the second method flow chart that live streaming connection is established in the embodiment of the present invention;
Fig. 5 is the first structure figure that the device of live streaming connection is established in the embodiment of the present invention;
Fig. 6 is the second structure chart that the device of live streaming connection is established in the embodiment of the present invention;
Fig. 7 is the structure chart of processing module in the embodiment of the present invention;
Fig. 8 is the third structure chart that the device of live streaming connection is established in the embodiment of the present invention.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein
Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
Referring to Fig. 1, a kind of process of method that establishing live streaming connection provided in an embodiment of the present invention is as follows, specifically includes step
Rapid 101-104:
Step 101: obtaining the first Client-initiated and establish live streaming connection request, when foundation live streaming connection request includes authentication
Between section, the first user be upload the first live video user.
In the embodiment of the present invention, the first user is the user for uploading live video, such as main broadcaster;Specifically, first use
The live video that family uploads is the first live video.For first user when being in live state, i.e. the first user uploads live streaming view
When frequency, it can initiate to establish live streaming connection request to server, which is used for so that other users also upload directly
Video is broadcast, i.e., so that establishing live streaming connection between other users and server.
Wherein, which is for determining which user can establish the period of live streaming connection, i.e., in the mirror
Determine which user can establish live streaming connection in the power period.For example, the Authentication time section is 12:00:00-12:30:00,
The qualification of live streaming connection is then established to judge which user has according to the behavior of other users during this period of time, that is, is reflected
Power.Wherein, which includes sart point in time and end time point;Specifically, this can be determined in the form of countdown
Authentication time section, i.e. sart point in time are current time, and the time point that current time is determined plus the count value of countdown is knot
Beam time point;Alternatively, point and end time point at the beginning of directly determining Authentication time section, wherein sart point in time and knot
Beam time point can be located at before current time, can also be located at after current time, it is not limited in the embodiment of the present invention.
For example, current time is 13:00:00, a period of time between it can also be used as Authentication time section in a step 101, such as 12:
00:00-12:30:00。
Step 102: receiving the response message that one or more second users are sent respectively in Authentication time section, each sound
Answering information includes corresponding first weighted value.
In the embodiment of the present invention, second user is to watch the user of live video.Wherein, the is obtained in step 101
One Client-initiated is established after live streaming connection request, and server can show foundation live streaming connection request and authentication therein
Period, to indicate that second user sends response message in the Authentication time section.Meanwhile if second user can be sent at any time
Response message, then server can not also show the Authentication time section, after receiving foundation live streaming connection request, server
The only statistics response message that second user is sent in the Authentication time section, ignores the letter that second user is sent in other times
Breath.When second user needs to establish live streaming connection, response message that second user can be sent in Authentication time section.
Meanwhile in a step 102, the first weighted value is also sent while second user sends response message, first power
Weight values are the numerical value that can consume type, i.e., need to consume the first weighted value when second user sends the response message.Specifically, this
Weighted value in inventive embodiments can be user integral, empirical value, ideal money etc., but not limited to this, as long as can consume
Type.
In the embodiment of the present invention, due to generally watch live video user and upload live video user between be more
To one relationship, it is possible to which there are multiple second users, that is, there is the user of multiple viewing live videos.When there are multiple second
When user, the transmittable response message including the first weighted value of each second user, and the first of each second user transmission
Weighted value may be the same or different.The first weighted value in step 102 is not limited to the weight of some user transmission
Value, but indicate the weighted value that this kind of user of second user sends.
Step 103: will second user corresponding with maximum first weighted value as validated user, and obtain effective
The second live video that family uploads.
In the embodiment of the present invention, weighted value is specially a numerical value, therefore there are size relations between weighted value.When multiple
Two with per family to server transmission route weight values when, server can determine maximum weighted value, and then determine that send should
The corresponding user of weight limit value, i.e., second user corresponding with maximum first weighted value.Meanwhile if it exists multiple
When one weighted value is identical and maximum, then can using with reach the second user of maximum first weighted value at first as effective
Family.The live video of validated user upload can be obtained after determining validated user.
Step 104: determine total live video, and issue total live video, total live video be to the first live video and
Second live video carries out the live video that Display on the same screen is handled.
In the embodiment of the present invention, server is uploaded in the first live video and second user for getting the first user upload
The second live video after, Display on the same screen processing is carried out to first live video and the second live video, i.e., so that two-way is straight
Broadcasting video can be with Display on the same screen, so that other users can watch the first live video and the second live video simultaneously.This
" issuing total live video " in inventive embodiments refers to total live video being issued to user, and user herein can wrap
Include the first user and second user.After live video is issued to user, user can be allowed to watch first simultaneously straight
Broadcast video and the second live video.
A kind of method for establishing live streaming connection provided in an embodiment of the present invention, the first user actively initiate to establish live streaming connection
Request, and validated user is determined according to the first weighted value that second user is sent, later by the first live video of the first user
It is merged with the second live video of validated user and is processed so that other users can watch first live video simultaneously
With the second live video.This method makes that the second of other users can be embedded in when the first user uploads the first live video
Live video increases the diversity of net cast.Meanwhile the second local live video can be shared with by the validated user
The other users of the first user are paid close attention to, fast propagation second live video is conducive to, information transfer efficiency is high;And other users can
To obtain the first live video and the second live video simultaneously, so that the available more information of other users.
Another embodiment of the present invention provides a kind of methods for establishing live streaming connection comprising step 101- shown in FIG. 1
104, and it implements process and technical effect embodiment shown in Figure 1;Meanwhile in embodiments of the present invention, step
102 is specific, comprising: receives the sub- response message of one or more that second user is sent in Authentication time section, every height response
Message includes corresponding first sub- weighted value, and all sub- response messages form response message, the sub- weighted value of all first
The sum of be the first weighted value.
In the embodiment of the present invention, second user can send multiple message including weighted value in Authentication time section, i.e.,
Multiple sub- response messages are sent, every sub- response message includes the first identical or different sub- weighted value, the first all son power
The sum of weight values are the first weighted value of the second user.Meanwhile the above process only limits a second user and sends son sound
The process of message is answered, other second users can also send multiple sub- response messages according to the above process.By obtaining second
The sub- response message that user sends, can determine all weighted values that second user is sent in Authentication time section.
For example, user A and user B are the user for watching same live video, user A is sent comprising the first son power
The sub- response message α 1 of weight values a1 has sent the sub- response message α 2 comprising the first sub- weighted value a2 again later;User B sends packet
Sub- response message β 1 containing the first sub- weighted value b1 has sent the sub- response message β 2 comprising the first sub- weighted value b2 again later.
Then for user A, the response message that user A is sent includes sub- response message α 1 and sub- response message α 2, and the first of user A
Weighted value be the first sub- sub- weighted value of weighted value a1 and first a2's and;For user B, the response message of user B transmission
Including sub- response message β 1 and sub- response message β 2, the first weighted value of user B is the first sub- sub- weight of weighted value b1 and first
The sum of value b2.
Another embodiment of the present invention provides a kind of methods for establishing live streaming connection comprising step 101- shown in FIG. 1
104, and it implements process and technical effect embodiment shown in Figure 1;Meanwhile in embodiments of the present invention, in step
It is rapid 103 obtain validated user upload the second live video after, this method further include: according to total weighted value be the first user divide
With the second weighted value, total weighted value is all the sum of the first weighted values, and the second weighted value is not more than total weighted value.
Weighted value in the embodiment of the present invention is the numerical value that can consume type, and second user is sending corresponding response message
When consume corresponding weighted value;It is also possible to increase the weighted value of the first user by way of distributing weighted value, that is, exist
After distributing the second weighted value for the first user, the weighted value of the first user increases.By way of increasing by first user's weighted value,
The first user can be promoted to initiate to establish live streaming connection request, so that further such that second user quickly establishes live streaming connection.
Specifically, the process of weighted value variation is specific so that two second user A and B and weighted value are user integral as an example
As follows: assuming that the initial integration of the first user is 100, the initial integration of second user is 200, and the initial integration of third user is
300.First user initiates to establish live streaming connection request, and second user A has sent the sound comprising 10 integrals in Authentication time section
Answer message, second user B has sent the response message comprising 20 integrals in Authentication time section, then the product of second user A at this time
Divide and be updated to 190 (i.e. 200-10), the integral of second user B is updated to 280 (i.e. 300-20).Due to the first weight of user B
Value is greater than the first weighted value of user A, therefore user B is validated user;After obtaining the second live video that user B is uploaded,
Determine that total weighted value is 30 (i.e. 10+20).If server is default to distribute to the first user for the 50% of total weighted value, after distribution
The first user integral be 115 (i.e. 100+30 × 50%).Wherein, the ratio of the second weighted value and total weighted value can be 0
Arbitrary value among~100%, it is above-mentioned only for 50%.
Another embodiment of the present invention provides a kind of methods for establishing live streaming connection comprising step 101- shown in FIG. 1
104, and it implements process and technical effect embodiment shown in Figure 1;Meanwhile in embodiments of the present invention, referring to
Shown in Fig. 2, total live video is determined in step 104, specifically includes step 1041-1042:
Step 1041: the first live video is embedded in the first display layer, the second live video is embedded in the second display layer, the
Two display layers are located at the upper layer of the first display layer, and the display area of the second display layer is less than the display area of the first display layer.
Step 1042: insertion treated the first live video and the second live video will be executed as total live video.
In the embodiment of the present invention, the first display layer and the second display layer are mutually independent two display layers, and second is aobvious
Show display area of the display area less than the first display layer of layer, i.e. the display size of the first live video is greater than the second live streaming view
The display size of frequency;Meanwhile second display layer be located at the upper layer of the first display layer, i.e., when showing total live video to user,
Second live video part covers the first live video.Specifically, the first live video of full screen display, and can be shown in terminal
One jiao of screen shows second live video, such as shows second live video at the lower right corner of display screen.Pass through
Layering manifestation is carried out to the first live video and the second live video, so that the live streaming route of two live videos is independent of each other,
So that other users can individually obtain live video all the way therein.
In one possible implementation, when third user loses interest in the second live video, third user can
To shield second live video, specifically, shown in Figure 3, which includes step 301-302:
Step 301: obtaining the masking instruction for the second live video of direction that third user sends.
Step 302: issuing total live video of the second live video of shielding to third user according to masking instruction.
In the embodiment of the present invention, as noted previously, as the first live video and the second live video are Layering manifestation, therefore
Other users can only show another corresponding live video with individually shielded one of display layer to realize.Meanwhile the
Any user for the live video that three users can upload for the first user of viewing, i.e. third user can be used for above-mentioned first
Family or second user, or other users, as long as third user can watch the live video of the first user upload i.e.
It can.
The process step of this method is discussed in detail below by one embodiment.
In embodiments of the present invention, shown in Figure 4, the method for foundation live streaming connection specifically includes step 401-408:
Step 401: obtaining the first Client-initiated and establish live streaming connection request, when foundation live streaming connection request includes authentication
Between section.
Wherein, the first user is the user for uploading the first live video
Step 402: receiving the response message that one or more second users are sent respectively in Authentication time section, each sound
Answering information includes corresponding first weighted value.
Step 403: the first weighted value sent to second user is ranked up processing, determines maximum first weighted value.
Step 404: will second user corresponding with maximum first weighted value as validated user, and obtain effective
The second live video that family uploads.
Step 405: sending the solicited message for requesting the second live video of upload to validated user.
Step 406: obtaining the second live video that validated user is uploaded according to solicited message.
In the embodiment of the present invention, during obtaining the second live video, it is thus necessary to determine that validated user whether can more than
Pass live video.Specifically, server is indicated effectively by sending for requesting the solicited message for uploading the second live video
User oneself is executed according to the solicited message needed for operation.Such as, which is the information of a selectivity, including is uploaded
Live video and do not upload two options of live video;It, can be by the second live streaming if validated user selection uploads live video
Video is uploaded to server.
Step 407: the first live video being embedded in the first display layer, the second live video is embedded in the second display layer.
Wherein, the second display layer is located at the upper layer of the first display layer, and the display area of the second display layer is aobvious less than first
Show the display area of layer.
Step 408: insertion treated the first live video and the second live video will be executed as total live video, and
Issue total live video.
Step 409: being that the first user distributes the second weighted value according to total weighted value, total weighted value is the first all weight
The sum of value, and the second weighted value is not more than total weighted value.
A kind of method for establishing live streaming connection provided in an embodiment of the present invention, the first user actively initiate to establish live streaming connection
Request, and validated user is determined according to the first weighted value that second user is sent, later by the first live video of the first user
It is merged with the second live video of validated user and is processed so that other users can watch first live video simultaneously
With the second live video.This method makes that the second of other users can be embedded in when the first user uploads the first live video
Live video increases the diversity of net cast.Meanwhile the second local live video can be shared with by the validated user
The other users of the first user are paid close attention to, fast propagation second live video is conducive to, information transfer efficiency is high;And other users can
To obtain the first live video and the second live video simultaneously, so that the available more information of other users.
The process that the method for live streaming connection is established in the embodiment of the present invention is described in detail above, and this method can also pass through
Corresponding device is realized, the structure and function of the device is described in detail below.
A kind of device for establishing live streaming connection provided in an embodiment of the present invention, it is shown in Figure 5, comprising:
First obtains module 51, establishes live streaming connection request for obtaining the first Client-initiated, establishes live streaming connection and ask
It asks including Authentication time section, the first user is the user for uploading the first live video;
Receiving module 52, the response letter sent respectively in Authentication time section for receiving one or more second users
Breath, each response message includes corresponding first weighted value;
Second obtains module 53, for will second user corresponding with maximum first weighted value as validated user,
And obtain the second live video of validated user upload;
Processing module 54 for determining total live video, and issues total live video, and total live video is to be broadcast live to first
Video and the second live video carry out the live video that Display on the same screen is handled.
In one possible implementation, receiving module 52 is used for: being received second user and is sent in Authentication time section
The sub- response messages of one or more, every sub- response message includes corresponding first sub- weighted value, and all son responses disappear
Breath composition response message, the sum of sub- weighted value of all first are the first weighted value.
In one possible implementation, shown in Figure 6, the device further include: distribution module 55;
After the second live video that second obtains that module 53 obtains validated user upload, distribution module 55 is used for basis
Total weighted value is that the first user distributes the second weighted value, and total weighted value is all the sum of the first weighted values, and the second weighted value
No more than total weighted value.
In one possible implementation, shown in Figure 7, processing module 54 includes:
Delaminating units 541 show the second live video insertion second for the first live video to be embedded in the first display layer
Show layer, the second display layer is located at the upper layer of the first display layer, and the display area of the second display layer is aobvious less than the first display layer
Show region;
Processing unit 542, for that will execute insertion treated the first live video and the second live video as always straight
Broadcast video.
In one possible implementation, shown in Figure 8, the device further include:
Third obtains module 56, the masking instruction of the second live video of direction for obtaining third user transmission;
Shroud module 57, for being regarded according to masking instruction to total live streaming that third user issues the second live video of shielding
Frequently.
A kind of method and device for establishing live streaming connection provided in an embodiment of the present invention, the first user actively initiate to establish straight
Connection request is broadcast, and validated user is determined according to the first weighted value that second user is sent, it is straight by the first of the first user later
The second live video for broadcasting video and validated user merges that be processed so that other users can watch this simultaneously first straight
Broadcast video and the second live video.This method makes that other users can be embedded in when the first user uploads the first live video
The second live video, increase the diversity of net cast.Meanwhile the validated user can be by the second local live video
The other users of the first user of concern are shared with, fast propagation second live video is conducive to, information transfer efficiency is high;And other
User can obtain the first live video and the second live video simultaneously, so that the available more information of other users.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of method for establishing live streaming connection, which comprises the following steps:
It obtains the first Client-initiated and establishes live streaming connection request, the foundation live streaming connection request includes Authentication time section, institute
Stating the first user is the user for uploading the first live video;
Receive the response message that one or more second users are sent respectively in the Authentication time section, each response letter
Breath includes corresponding first weighted value;
Will second user corresponding with maximum first weighted value as validated user, and obtain what the validated user uploaded
Second live video;
Determine total live video, and issue total live video, total live video be to first live video and
Second live video carries out the live video that Display on the same screen is handled;
The response message for receiving one or more second users and being sent respectively in the Authentication time section, comprising:
The sub- response message of one or more that second user is sent in the Authentication time section is received, each sub- response disappears
Breath includes corresponding first sub- weighted value, and all sub- response messages form the response message, all first sons
The sum of weighted value is first weighted value.
2. the method according to claim 1, wherein in second live streaming for obtaining the validated user and uploading
After video, further includes:
It is that first user distributes the second weighted value according to total weighted value, total weighted value is all first weights
The sum of value, and second weighted value is not more than total weighted value.
3. method according to claim 1 to 2, which is characterized in that the total live video of determination, comprising:
First live video is embedded in the first display layer, will second live video the second display layer of insertion, described the
Two display layers are located at the upper layer of first display layer, and the display area of second display layer is less than first display layer
Display area;
Insertion treated the first live video and the second live video will be executed as total live video.
4. according to the method described in claim 3, it is characterized by further comprising:
Obtain the masking instruction for direction second live video that third user sends;
The total live video for shielding second live video is issued to the third user according to the masking instruction.
5. a kind of device for establishing live streaming connection characterized by comprising
First obtains module, establishes live streaming connection request for obtaining the first Client-initiated, connection request is broadcast live in the foundation
Including Authentication time section, first user is the user for uploading the first live video;
Receiving module, the response message sent respectively in the Authentication time section for receiving one or more second users,
Each response message includes corresponding first weighted value;
Second obtains module, for will second user corresponding with maximum first weighted value as validated user, and obtain
The second live video that the validated user uploads;
Processing module for determining total live video, and issues total live video, and total live video is to described the
One live video and second live video carry out the live video that Display on the same screen is handled;
The receiving module is used for: being received the one or more son response that second user is sent in the Authentication time section and is disappeared
Breath, each sub- response message includes corresponding first sub- weighted value, and all sub- response message composition responses disappear
Breath, the sum of described first all sub- weighted value are first weighted value.
6. device according to claim 5, which is characterized in that further include: distribution module;
After the second acquisition module obtains the second live video that the validated user uploads, the distribution module is used for
According to total weighted value be first user distribute the second weighted value, total weighted value be all first weighted values it
With, and second weighted value is not more than total weighted value.
7. according to any device of claim 5-6, which is characterized in that the processing module includes:
Second live video is embedded in second for first live video to be embedded in the first display layer by delaminating units
Display layer, second display layer is located at the upper layer of first display layer, and the display area of second display layer is less than
The display area of first display layer;
Processing unit, for that will execute insertion treated the first live video and the second live video as total live streaming view
Frequently.
8. device according to claim 7, which is characterized in that further include:
Third obtains module, the masking instruction of direction second live video for obtaining third user transmission;
Shroud module, for issuing the total straight of shielding second live video to the third user according to the masking instruction
Broadcast video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611187952.4A CN106612464B (en) | 2016-12-20 | 2016-12-20 | A kind of method and device for establishing live streaming connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611187952.4A CN106612464B (en) | 2016-12-20 | 2016-12-20 | A kind of method and device for establishing live streaming connection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106612464A CN106612464A (en) | 2017-05-03 |
CN106612464B true CN106612464B (en) | 2019-08-27 |
Family
ID=58636069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611187952.4A Expired - Fee Related CN106612464B (en) | 2016-12-20 | 2016-12-20 | A kind of method and device for establishing live streaming connection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106612464B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613311B (en) * | 2017-09-30 | 2020-07-31 | 上海掌门科技有限公司 | Method and equipment for displaying progress of anchor game |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106060591A (en) * | 2016-05-31 | 2016-10-26 | 北京小米移动软件有限公司 | Interaction method and device in video live broadcasting application |
CN106105246A (en) * | 2016-06-24 | 2016-11-09 | 北京小米移动软件有限公司 | Live display packing, Apparatus and system |
CN106131583A (en) * | 2016-06-30 | 2016-11-16 | 北京小米移动软件有限公司 | A kind of live processing method, device, terminal unit and system |
CN106210757A (en) * | 2016-07-28 | 2016-12-07 | 北京小米移动软件有限公司 | Live broadcasting method, live broadcast device and live broadcast system |
-
2016
- 2016-12-20 CN CN201611187952.4A patent/CN106612464B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106060591A (en) * | 2016-05-31 | 2016-10-26 | 北京小米移动软件有限公司 | Interaction method and device in video live broadcasting application |
CN106105246A (en) * | 2016-06-24 | 2016-11-09 | 北京小米移动软件有限公司 | Live display packing, Apparatus and system |
CN106131583A (en) * | 2016-06-30 | 2016-11-16 | 北京小米移动软件有限公司 | A kind of live processing method, device, terminal unit and system |
CN106210757A (en) * | 2016-07-28 | 2016-12-07 | 北京小米移动软件有限公司 | Live broadcasting method, live broadcast device and live broadcast system |
Also Published As
Publication number | Publication date |
---|---|
CN106612464A (en) | 2017-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104539977B (en) | Method for previewing and device is broadcast live | |
Zheng et al. | Online cloud transcoding and distribution for crowdsourced live game video streaming | |
CN106161219B (en) | Message treatment method and device | |
CN104144351B (en) | The video broadcasting method and device of application virtualization platform | |
CN110856011B (en) | Method for grouping live broadcast interaction, electronic equipment and storage medium | |
CN106658040A (en) | Resource distribution method and device | |
CN106534916A (en) | Video direct broadcast system aiming at internet cafe environment and based on three-layer server architecture | |
CN109640191A (en) | A kind of method and apparatus of even wheat live streaming | |
CN103763113A (en) | Live network broadcast method and device and server | |
CN108668139A (en) | living broadcast interactive system, method and device | |
CN112511849A (en) | Game display method, device, equipment, system and storage medium | |
CN108769824A (en) | A kind of video mixed flow method, apparatus, system, equipment and medium | |
CN109218754A (en) | Information display method, device, equipment and medium in a kind of live streaming | |
CN104363509B (en) | A kind of video conversion method, device, play system and terminal | |
CN104349177A (en) | Method for turning to play multimedia file under desktop cloud, virtual machine and system | |
CN105391563B (en) | Information notice method and device | |
CN107318052A (en) | Player method, television set and the storage medium of television video | |
CN109788301A (en) | A kind of live broadcasting method of Streaming Media, terminal device, live broadcast system and computer readable storage medium | |
CN111083504B (en) | Interaction method, device and equipment | |
CN106612464B (en) | A kind of method and device for establishing live streaming connection | |
CN105872756B (en) | A kind of method, apparatus and system for sharing information of televising | |
CN106658208B (en) | A kind of method and device of living broadcast interactive | |
US20170134457A1 (en) | Broadcast-linked service based on cloud streaming, broadcast-linked service client apparatus, trigger content providing server | |
CN105120350A (en) | Television interactive system management platform | |
JP2013045337A (en) | Content distribution control server, method, and program |
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method and device for establishing live broadcast connection Effective date of registration: 20210104 Granted publication date: 20190827 Pledgee: Inner Mongolia Huipu Energy Co.,Ltd. Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd. Registration number: Y2020990001527 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190827 Termination date: 20211220 |
|
CF01 | Termination of patent right due to non-payment of annual fee |