CN107295354A - Connect the live method for building up of wheat and device in a kind of network direct broadcasting - Google Patents

Connect the live method for building up of wheat and device in a kind of network direct broadcasting Download PDF

Info

Publication number
CN107295354A
CN107295354A CN201710339142.4A CN201710339142A CN107295354A CN 107295354 A CN107295354 A CN 107295354A CN 201710339142 A CN201710339142 A CN 201710339142A CN 107295354 A CN107295354 A CN 107295354A
Authority
CN
China
Prior art keywords
wheat
main broadcaster
request
live
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710339142.4A
Other languages
Chinese (zh)
Inventor
汪刚
张文明
陈少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710339142.4A priority Critical patent/CN107295354A/en
Publication of CN107295354A publication Critical patent/CN107295354A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1076Screening of IP real time communications, e.g. spam over Internet telephony [SPIT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications

Abstract

The present invention, which is provided in a kind of network direct broadcasting, connects the live method for building up of wheat and device, and described method includes:Company wheat on viewer end server detection spectator client clicks on event, judges whether the corresponding user of spectator client has even wheat authority;If having, then even wheat request is sent to control server, so that the even wheat request is transmitted to main broadcaster end server by control server, and then so that control server connects the determine instruction that wheat is asked according to what main broadcaster end server was returned for described, the company wheat for setting up main broadcaster's client and spectator client is live, wherein, it is described even wheat request refer to spectator client request participate in main broadcaster's client it is live in.When the company of detecting wheat clicks on event, first judge whether user has even wheat authority, if having even wheat authority, just allow to send even wheat request to main broadcaster end, effective reduce bothers main broadcaster, the reduction number of times that even wheat initiates.

Description

Connect the live method for building up of wheat and device in a kind of network direct broadcasting
Technical field
Inventive network direct seeding technique field, more particularly, to connect in a kind of network direct broadcasting the live method for building up of wheat and Device.
Background technology
Network direct broadcasting is more and more hot in today's society, and many users like seeing live, and live industry needs constantly to push away Go out new technology, new departure and meet live industry to realize general amusement.At present, during live viewing, using unidirectional mode, use Family can only see the video pictures of main broadcaster, and can't see the video pictures of other users, other users can not parameter it is live.
To solve this problem, user terminal can apply for participating in live, the typically user terminal application Lian Maizhi at main broadcaster end Broadcast, main broadcaster end directly receives the request of user terminal, it is live to set up even wheat with user terminal.
Using aforesaid way, any user terminal and main broadcaster end can the company of foundation wheat, lack Filtering system, can the company of causing wheat It is chaotic during live.
The content of the invention
The present invention, which is provided in a kind of network direct broadcasting for overcoming above mentioned problem or solving the above problems at least in part, connects wheat Live method for building up and device.
According to the first aspect of the invention there is provided connecting the live method for building up of wheat in a kind of network direct broadcasting, including:
Company wheat on S1, viewer end server detection spectator client clicks on event, judges the corresponding use of spectator client Whether family has even wheat authority;
S2, if so, then even wheat request is sent to control server, so that the even wheat request is transmitted to by control server Main broadcaster end server, and then so that control server refers to according to what main broadcaster end server was returned for the determination that wheat is asked described even Order, the company wheat for setting up main broadcaster's client and spectator client is live, wherein, the even wheat request refers to spectator client request ginseng With in live to main broadcaster's client.
Beneficial effects of the present invention are:When viewer end server detects even wheat click event, first whether user is judged With even wheat authority, if having even wheat authority, just allow to send even wheat request to main broadcaster end, effective reduce beats main broadcaster Disturb, the reduction number of times that even wheat initiates.
On the basis of above-mentioned technical proposal, the present invention can also make following improvement.
Further, also include before the step S1:
Viewer end server is configured to company's wheat authority of each user, and each user is identified and Lian Maiquan Limit correspondence is stored in operating right list;
The step S1 is specifically included:
When the company wheat that viewer end server is detected on spectator client clicks on event, identified according to the user of login, From the operating right list, the corresponding even wheat authority of user mark is checked.
Further, the step S2 also includes:
When the network connection state of viewer end server and control server is good, viewer end server is serviced to control Device sends even wheat request.
Further, the viewer end server sends even wheat request to control server and specifically included:
Performed using socket agreements in asynchronous thread to control server and initiate the operation that even wheat is asked.
Further, the company's of carrying wheat type, user's mark and request connect main broadcaster's mark of wheat in the even wheat request;
Server is controlled to be referred to according to what main broadcaster end server was returned for the determination that wheat is asked described even in the step S2 Order, the company wheat for setting up main broadcaster's client and spectator client live specifically includes:
Main broadcaster of the server in even wheat request is controlled to identify, even wheat request is transmitted into main broadcaster identifies corresponding main broadcaster Server, and receive company's wheat request confirmation instruction of main broadcaster's server return;
Instruction and even wheat type are confirmed according to the even wheat request, set up between spectator client and main broadcaster's client The company wheat of respective type is live.
Further, the step S2 also includes:
Viewer end server receives the inquiry message that control server is sent, and disappears to control server return for inquiry The confirmation message of breath, so that control server is according to confirmation message and Lian Mai types, sets up spectator client and main broadcaster's client Between respective type company wheat it is live;
Wherein, the inquiry message receives company's wheat request confirmation instruction that main broadcaster end server is returned by control server Sent afterwards to viewer end server, the inquiry message refers to whether inquiry spectator client confirms to connect wheat with main broadcaster's client It is live.
There is provided connecting in a kind of network direct broadcasting, wheat is live to set up device according to the second aspect of the invention, including:Spectators Hold server, control server and main broadcaster end server;
The viewer end server, the company wheat for detecting on spectator client clicks on event, and judges spectator client Whether corresponding user has even wheat authority;If being additionally operable to user has even wheat authority, even wheat request is sent to control server;
The control server, for the even wheat request to be transmitted into main broadcaster end server;It is additionally operable to according to main broadcaster end The determine instruction for the even wheat request that server is returned, the company wheat for setting up main broadcaster's client and spectator client is live;
Main broadcaster end server, for when receiving company's wheat request that control server is sent, to control server Return to the confirmation instruction of the even wheat request.
According to the third aspect of the invention we, additionally provide and connect the live test for setting up device of wheat in a kind of network direct broadcasting and set It is standby, including:
At least one processor, at least one memory, communication interface and bus;Wherein,
The processor, memory, communication interface complete mutual communication by the bus;
For connecting in the test equipment and network direct broadcasting, wheat is live to set up between the communication equipment of device the communication interface Information transfer;
The memory storage, which has, to call described program to refer to by the programmed instruction of the computing device, the processor Order is able to carry out following method:
Company wheat on viewer end server detection spectator client clicks on event, judges that the corresponding user of spectator client is It is no to have even wheat authority;
If so, then even wheat request is sent to control server, so that the even wheat request is transmitted to master by control server End server is broadcast, and then so that control server refers to according to what main broadcaster end server was returned for the determination that wheat is asked described even Order, the company wheat for setting up main broadcaster's client and spectator client is live, wherein, the even wheat request refers to spectator client request ginseng With in live to main broadcaster's client.
According to the fourth aspect of the invention there is provided a kind of computer program product, the computer program product includes The computer program on non-transient computer readable storage medium storing program for executing is stored in, the computer program includes programmed instruction, works as institute When stating programmed instruction and being computer-executed, the computer is set to perform following method:
Company wheat on viewer end server detection spectator client clicks on event, judges that the corresponding user of spectator client is It is no to have even wheat authority;
If so, then even wheat request is sent to control server, so that the even wheat request is transmitted to master by control server End server is broadcast, and then so that control server refers to according to what main broadcaster end server was returned for the determination that wheat is asked described even Order, the company wheat for setting up main broadcaster's client and spectator client is live, wherein, the even wheat request refers to spectator client request ginseng With in live to main broadcaster's client.
According to the fifth aspect of the invention there is provided a kind of non-transient computer readable storage medium storing program for executing, the non-transient meter Calculation machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer perform following method:
Company wheat on viewer end server detection spectator client clicks on event, judges that the corresponding user of spectator client is It is no to have even wheat authority;
If so, then even wheat request is sent to control server, so that the even wheat request is transmitted to master by control server End server is broadcast, and then so that control server refers to according to what main broadcaster end server was returned for the determination that wheat is asked described even Order, the company wheat for setting up main broadcaster's client and spectator client is live, wherein, the even wheat request refers to spectator client request ginseng With in live to main broadcaster's client.
Brief description of the drawings
Fig. 1 for one embodiment of the invention network direct broadcasting in connect the live method for building up flow chart of wheat;
To connect in the network direct broadcasting of another embodiment of the present invention, wheat is live to set up device connection block diagram to Fig. 2;
Fig. 3 connects the live test equipment connection frame for setting up device of wheat in the network direct broadcasting for another embodiment of the invention Figure.
Embodiment
With reference to the accompanying drawings and examples, the embodiment to the present invention is described in further detail.Implement below Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
Referring to Fig. 1, Fig. 1, which is provided in the network direct broadcasting of one embodiment of the invention, connects the live method for building up of wheat, in network During live, the company wheat that can be set up between spectator client and main broadcaster's client is live.This connects the live method for building up bag of wheat Include:Company wheat on S1, viewer end server detection spectator client clicks on event, whether judges the corresponding user of spectator client There is even wheat authority;S2, if so, then even wheat request is sent to control server, so that control server turns the even wheat request Main broadcaster end server is issued, and then so that control server is asked really according to what main broadcaster end server was returned for the even wheat Fixed instruction, the company wheat for setting up main broadcaster's client and spectator client is live, wherein, the even wheat request refers to that spectator client please Ask participate in main broadcaster's client it is live in.
In the live window of spectator client, be provided with company's wheat button, when spectators user click on this connect wheat by During button, represent to wish live with main broadcaster's client foundation even wheat.Specifically, after spectators user enters direct broadcasting room, clicking on this Connect wheat button, viewer end server can detect the clicking operation of company's wheat button of user, hereinafter referred to as connect wheat and click on event.When Viewer end server is detected after company's wheat click event of user, judges whether the corresponding user of spectator client has Lian Maiquan Limit, if user has even wheat authority, viewer end server sends even wheat to control server and asked, wherein, even wheat request Refer to spectator client request participate in main broadcaster's client it is live in.Even wheat request is transmitted to main broadcaster end clothes by control server Business device, main broadcaster end server receives company's wheat request of control server forwarding, is confirmed whether and spectator client is set up and connects wheat Live, if it is confirmed that being set up with spectator client, even wheat is live, then the confirmation for returning to the company's of being directed to wheat request to control server refers to Order.When control server receives the confirmation instruction of even wheat request, the company wheat set up between main broadcaster's client and spectator client It is live.
In the present embodiment when the company wheat that viewer end server is detected on spectator client clicks on event, user is first judged Whether there is even wheat authority, if having even wheat authority, just allow to send even wheat request to main broadcaster end, effectively reduce to main broadcaster's Bother, the reduction number of times that even wheat initiates.
In one embodiment of the invention, also include before the step S1:Viewer end server is used each Company's wheat authority at family is configured, and wheat authority is corresponding is stored in operating right list with company by each user mark.
The step S1 is specifically included:When the company wheat that spectator services device is detected on spectator client clicks on event, root Identified according to the user of login, from the operating right list, check the corresponding even wheat authority of user mark.
Before viewer end server is judged company's wheat authority of user, viewer end server is to each user's Even wheat authority is configured, and wheat authority is corresponding is stored in operating right list by the user of each user mark and company. After viewer end server detects company's wheat click event of user, detect whether user logs in first, if user does not step on Record, user clicks on even wheat button, and viewer end server can be pointed out to user, point out user to be logged in, and intercept entering for user Single stepping, if user has logged on, could carry out follow-up operation.
When User logs in enters direct broadcasting room, it can be identified first according to the user of the User logs in, such as, user's steps on Account is recorded, from operating right list, the corresponding even wheat authority of user mark is checked.In the present embodiment, this is first looked at Whether user has even wheat privilege, if the user has even wheat privilege, then company's wheat button in live window is exactly available shape State, user can click on this and connect wheat button initiation even wheat.If the user is without even wheat privilege, judge that this is used again Whether family is noble, if user had not both connected wheat privilege nor noble, then user clicks on this and connects wheat button, will point out User goes to open noble.If user is without even wheat privilege but is noble, then user can just be pressed by the company of click wheat Button initiates even wheat request.
In the present embodiment, only when user have even wheat privilege either noble when, can the company of initiation wheat, wherein, Opening noble needs paying, therefore, it can be effectively facilitated user charges, improves business revenue.
In another embodiment of the present invention, the step S2 also includes:When viewer end server and control server Network connection state it is good when, viewer end server to control server send even wheat ask.
Connect when in the above-described embodiments, judging that user has after wheat authority, then detection viewer end server and control respectively The network connection state of control server.After company's wheat authority of the complete user of above-mentioned judgement, and detect the network of viewer end server Connection, if the network connection success of viewer end server, could carry out subsequent operation, otherwise, realize Auto-reconnect.Separately Outside, in addition it is also necessary to the network connection situation of detection control server, only when the network of viewer end server and control server connects Connect state it is all good when, viewer end server just can to control server send even wheat request.
In one embodiment of the invention, the viewer end server sends the even specific bag of wheat request to control server Include:Performed using socket agreements in asynchronous thread to control server and initiate the operation that even wheat is asked.
During viewer end server sends even wheat request to control server, viewer end server uses socket Agreement sends even wheat request to control server.Viewer end server creates a queue using the method carried, this establishment Queue performed in asynchronous thread initiate even wheat code, realize to control server initiate even wheat request operation.
The present embodiment first judges the network connection state of server before the wheat request of the company of transmission, and each server is to connect wheat Live basis, therefore, before even wheat is live, it is necessary to first judge the network connection situation of each server, only each server Network connection state it is good when, can the company of progress wheat, it is to avoid the appearance of mistake.Even wheat request is being sent to control server During, operated in asynchronous thread, do not block main thread, it is ensured that operation is smooth.
In another embodiment of the present invention, the company's of carrying wheat type, user's mark and request in the even wheat request Even the main broadcaster of wheat identifies.Server is controlled to connect what wheat was asked for described according to what main broadcaster end server was returned in the step S2 Determine instruction, the company wheat for setting up main broadcaster's client and spectator client live specifically includes:Server is controlled according to even wheat request In main broadcaster's mark, even wheat request will be transmitted to main broadcaster and identify corresponding main broadcaster's server, and receive the return of main broadcaster's server Even wheat request confirms instruction;Instruction and even wheat type are confirmed according to the even wheat request, spectator client and main broadcaster visitor is set up The company wheat of respective type between the end of family is live.
Viewer end server initiates the message that even wheat is asked using socket agreements to control server, wherein, even wheat please The company's wheat type for including initiating is sought, including voice connects wheat and video connects wheat, video connects wheat and referred to, even after wheat, user sees The video pictures for being not only main broadcaster, while it can also be seen that Lian Maizhe video pictures;Voice connects wheat and referred to, even after wheat, What user heard is not only the sound of main broadcaster, while Lian Maizhe sound can also be heard.Even also include current hair in wheat request User's mark of the company of rising wheat and request connect main broadcaster's mark of wheat.
Control server is received after company's wheat request of viewer end server transmission, and the main broadcaster in even wheat request marks Know, even wheat request is transmitted into main broadcaster identifies corresponding main broadcaster's server.Main broadcaster's server is received after even wheat request, will be applied Even user's mark of wheat is updated in the list for alternatively connecting wheat person, may have multiple spectator clients interior at the same time Even wheat request is initiated to main broadcaster's client, now, main broadcaster end server can be shown even wheat applicant by a list Come.Then, main broadcaster end server be confirmed whether with spectator client set up even wheat it is live, if confirm set up, to control service Device returns to the confirmation instruction for even wheat request.After controlling server to receive the confirmation instruction that main broadcaster end server is returned, The company wheat set up between spectator client and main broadcaster's client is live.
In another embodiment of the present invention, the step S2 also includes:Viewer end server receives control server The inquiry message of transmission, and the confirmation message for inquiry message is returned to control server, so that control server is according to really Recognize message and Lian Mai types, the company wheat for setting up respective type between spectator client and main broadcaster's client is live.Wherein, it is described to ask Ask that message receives the backward viewer end server hair of company's wheat request confirmation instruction that main broadcaster end server is returned by control server Send, the inquiry message refers to whether inquiry spectator client confirms to connect wheat with main broadcaster's client live.
After main broadcaster end server sends confirmation instruction, control server can also be to the viewer end server hair for applying for even wheat Inquiry message is sent, wherein, inquiry message refers to whether inquiry spectator client confirms to set up even wheat with main broadcaster's client.Work as spectators Client confirms and main broadcaster's client sets up Lian Maishi, and viewer end server sends confirmation message to control server, works as control Server is received after confirmation message, and the company wheat set up between spectator client and main broadcaster's client is live.If user cancels Lian Mai, the message for cancelling even wheat is sent to control server, and control server can inform that main broadcaster client user connects wheat cancellation Message.
If after the company wheat of spectator client and main broadcaster's client is formally set up, video stream server can operate viewer end Video flowing and main broadcaster end pushing video streaming to user terminal, now, user it is seen that both main broadcaster end and viewer end are regarded Frequency picture or sound.
In the present embodiment, during even wheat, viewer end and main broadcaster end carry out two-way confirmation, are actually to both sides Present network inspection, while being also the inspection whether both sides are kept with presence, both sides confirm the process of checking, it is ensured that The even reliable foundation of wheat connection.
Referring to Fig. 2, Fig. 2, which is provided, connects that wheat is live to set up device in the network direct broadcasting of another embodiment of the present invention, including Viewer end server 1, control server 2 and main broadcaster end server 3.
The viewer end server 1, the company wheat for detecting on spectator client clicks on event, judges spectator client pair Whether the user answered has even wheat authority;If being additionally operable to user has even wheat authority, even wheat request is sent to control server;
The control server 2, for the even wheat request to be transmitted into main broadcaster end server 3;It is additionally operable to according to main broadcaster The determine instruction for the even wheat request that server 3 is returned is held, the Lian Maizhi of main broadcaster's client and spectator client is set up Broadcast;
Main broadcaster end server 3, for when receiving company's wheat request that control server is sent, to control server Return to the confirmation instruction of the even wheat request.
Viewer end server 1 is additionally operable to configure company's wheat authority of each user, and each user is identified Wheat authority is corresponding to be stored in operating right list with connecting;And be additionally operable to when the company wheat detected on spectator client clicks on thing During part, identified according to the user of login, from the operating right list, check the corresponding even wheat authority of user mark.
Wherein, viewer end server 1 is performed to control server in asynchronous thread using socket agreements and initiates even wheat The operation of request.
The company's of carrying wheat type, user's mark and request connect main broadcaster's mark of wheat in the even wheat request.The control clothes Be engaged in device 2 specifically for:
According to main broadcaster's mark in even wheat request, even wheat request is transmitted to main broadcaster and identifies corresponding main broadcaster's server 3, and Receive company's wheat request confirmation instruction that main broadcaster's server 3 is returned;And instruction and even wheat class are confirmed according to the even wheat request Type, the live of company wheat for the respective type set up between spectator client and main broadcaster's client
The control server 2 is additionally operable to:When receiving company's wheat request confirmation instruction that main broadcaster end server is returned, to sight Many end servers 1 send inquiry message, and the inquiry message refers to whether inquiry spectator client confirms to connect with main broadcaster's client Wheat is live;And for after the confirmation message of the return of viewer end server 1 is received, according to confirmation message and Lian Mai types, The company wheat main broadcaster for setting up respective type between spectator client and main broadcaster's client.
Based on connecting in above-mentioned Fig. 2 network direct broadcastings that correspondingly embodiment is provided, wheat is live to set up device, and the present invention is also provided Connect the live test equipment for setting up device of wheat in a kind of network direct broadcasting.Referring to Fig. 3, live set up of wheat is connected in the network direct broadcasting and is filled The test equipment put includes:Processor (processor) 301, memory (memory) 302, communication interface (Communications Interface) 303 and bus 304;
Wherein, processor 301, memory 302 and communication interface 303 complete mutual communication by bus 304 respectively;
For connecting in the test equipment and network direct broadcasting, wheat is live to set up between the communication equipment of device communication interface 303 Information transfer;
Processor 301 is used to call the programmed instruction in memory 302, is provided with performing above-mentioned Fig. 1 correspondences embodiment Network direct broadcasting in connect wheat live broadcasting method, for example including:Company wheat on viewer end server detection spectator client clicks on event, Judge whether the corresponding user of spectator client has even wheat authority;If so, then even wheat request is sent to control server, for control The even wheat request is transmitted to main broadcaster end server by control server, and then so that control server is returned according to main broadcaster end server The determine instruction for the even wheat request returned, the company wheat for setting up main broadcaster's client and spectator client is live, wherein, it is described Even wheat request refer to spectator client request participate in main broadcaster's client it is live in.
The present invention discloses a kind of computer program product, and the computer program product can including being stored in non-transient computer The computer program on storage medium is read, the computer program includes programmed instruction, when programmed instruction is computer-executed, meter Calculation machine is able to carry out connecting wheat live broadcasting method in the network direct broadcasting that above-mentioned Fig. 1 correspondence embodiment is provided, for example including:Viewer end takes The company wheat being engaged on device detection spectator client clicks on event, judges whether the corresponding user of spectator client has even wheat authority;If Have, then send even wheat request to control server, so that the even wheat request is transmitted to main broadcaster end server by control server, And then so that control server connects the determine instruction that wheat is asked according to what main broadcaster end server was returned for described, set up main broadcaster visitor The company wheat of family end and spectator client is live, wherein, the even wheat request refers to that spectator client request participates in main broadcaster client End it is live in.
The present invention also provides a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer readable storage medium storing program for executing is deposited Computer instruction is stored up, the computer instruction makes computer perform in the network direct broadcasting that above-mentioned Fig. 1 correspondences embodiment is provided and connects wheat Live method for building up, for example including:Company wheat on viewer end server detection spectator client clicks on event, judges spectators client Hold whether corresponding user has even wheat authority;If so, then even wheat request is sent to control server, for controlling server by institute The request of the company of stating wheat is transmitted to main broadcaster end server, so for control server is returned according to main broadcaster end server for described in The determine instruction that even wheat is asked, the company wheat for setting up main broadcaster's client and spectator client is live, wherein, the even wheat request refers to Spectator client request participate in main broadcaster's client it is live in.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
The embodiment such as test equipment of progress bar dynamic refresh device is only in multiple data cells described above Schematically, wherein the unit illustrated as separating component can be or may not be physically separate, it is used as unit The part of display can be or may not be physical location, you can with positioned at a place, or can also be distributed to many On individual NE.Some or all of module therein can be selected to realize this embodiment scheme according to the actual needs Purpose.Those of ordinary skill in the art are not in the case where paying performing creative labour, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Understood based on such, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Some Part Methods of example or embodiment.
Connect the live method for building up of wheat and device in a kind of network direct broadcasting that the present invention is provided, when viewer end server is detected Even during wheat click event, first judge whether user has even wheat authority, if having even wheat authority, just allow to send company to main broadcaster end Wheat is asked, and effective reduce is bothered main broadcaster, the reduction number of times that even wheat initiates.During even wheat, viewer end and main broadcaster End carries out two-way confirmation, is actually the inspection to the present network of both sides, while being also whether to be maintained at wire to both sides The inspection of state, both sides confirm the process of checking, it is ensured that the even reliable foundation of wheat connection.
Finally, the present processes are only preferably embodiment, are not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention Within the scope of.

Claims (10)

1. connect the live method for building up of wheat in a kind of network direct broadcasting, it is characterised in that including:
Company wheat on S1, viewer end server detection spectator client clicks on event, judges that the corresponding user of spectator client is It is no to have even wheat authority;
S2, if so, then even wheat request is sent to control server, so that the even wheat request is transmitted to main broadcaster by control server Server is held, and then so that control server connects the determine instruction that wheat is asked according to what main broadcaster end server was returned for described, The company wheat for setting up main broadcaster's client and spectator client is live, wherein, the even wheat request refers to spectator client request participation To main broadcaster's client it is live in.
2. connect the live method for building up of wheat in network direct broadcasting as claimed in claim 1, it is characterised in that before the step S1 Also include:
Viewer end server is configured to company's wheat authority of each user, and each user is identified and even wheat authority pair It should be stored in operating right list;
The step S1 is specifically included:
When the company wheat that viewer end server is detected on spectator client clicks on event, identified according to the user of login, from institute State in operating right list, check the corresponding even wheat authority of user mark.
3. connect the live method for building up of wheat in network direct broadcasting as claimed in claim 2, it is characterised in that the step S2 is also wrapped Include:
When the network connection state of viewer end server and control server is good, viewer end server is sent out to control server The company's of sending wheat request.
4. connect the live method for building up of wheat in network direct broadcasting as claimed in claim 3, it is characterised in that the viewer end server Even wheat request is sent to control server to specifically include:
Performed using socket agreements in asynchronous thread to control server and initiate the operation that even wheat is asked.
5. connect the live method for building up of wheat in network direct broadcasting as claimed in claim 4, it is characterised in that taken in the even wheat request Main broadcaster's mark with even wheat type, user's mark and request even wheat;
The determine instruction for the even wheat request for controlling server to be returned according to main broadcaster end server in the step S2, builds The company wheat of vertical main broadcaster's client and spectator client is live to be specifically included:
Control server to be identified according to the main broadcaster connected during wheat is asked, even wheat request will be transmitted to the corresponding main broadcaster's service of main broadcaster's mark Device, and receive company's wheat request confirmation instruction of main broadcaster's server return;
Instruction and even wheat type are confirmed according to the even wheat request, set up corresponding between spectator client and main broadcaster's client The company wheat of type is live.
6. connect the live method for building up of wheat in network direct broadcasting as claimed in claim 5, it is characterised in that the step S2 is also wrapped Include:
Viewer end server receives the inquiry message that control server is sent, and is returned to control server for inquiry message Confirmation message, so that control server is according to confirmation message and Lian Mai types, sets up between spectator client and main broadcaster's client The company wheat of respective type is live;
Wherein, company's wheat request that the inquiry message receives the server return of main broadcaster end by control server confirms that instruction is backward What viewer end server was sent, the inquiry message refers to whether inquiry spectator client confirms to connect wheat with main broadcaster's client straight Broadcast.
7. connecting in a kind of network direct broadcasting, wheat is live to set up device, including viewer end server, control server and the service of main broadcaster end Device;
The viewer end server, the company wheat for detecting on spectator client clicks on event, and judges spectator client correspondence User whether have even wheat authority;If being additionally operable to user has even wheat authority, even wheat request is sent to control server;
The control server, for the even wheat request to be transmitted into main broadcaster end server;It is additionally operable to be serviced according to main broadcaster end The determine instruction for the even wheat request that device is returned, the company wheat for setting up main broadcaster's client and spectator client is live;
Main broadcaster end server, for when receiving company's wheat request that control server is sent, being returned to control server The confirmation instruction of the even wheat request.
8. connect the live test equipment for setting up device of wheat in a kind of network direct broadcasting, it is characterised in that including:
At least one processor, at least one memory, communication interface and bus;Wherein,
The processor, memory, communication interface complete mutual communication by the bus;
The communication interface is used in the test equipment and network direct broadcasting connect the letter between the live communication equipment for setting up device of wheat Breath transmission;
The memory storage has can be by the programmed instruction of the computing device, and the processor calls described program to instruct energy Enough perform the method as described in claim any one of 1-6.
9. a kind of computer program product, it is characterised in that the computer program product includes being stored in non-transient computer Computer program on readable storage medium storing program for executing, the computer program includes programmed instruction, when described program instruction is by computer During execution, the computer is set to perform the method as described in claim any one of 1-6.
10. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that the non-transient computer readable storage medium storing program for executing is deposited Computer instruction is stored up, the computer instruction makes the computer perform the method as described in claim any one of 1-6.
CN201710339142.4A 2017-05-15 2017-05-15 Connect the live method for building up of wheat and device in a kind of network direct broadcasting Pending CN107295354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710339142.4A CN107295354A (en) 2017-05-15 2017-05-15 Connect the live method for building up of wheat and device in a kind of network direct broadcasting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710339142.4A CN107295354A (en) 2017-05-15 2017-05-15 Connect the live method for building up of wheat and device in a kind of network direct broadcasting

Publications (1)

Publication Number Publication Date
CN107295354A true CN107295354A (en) 2017-10-24

Family

ID=60094408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710339142.4A Pending CN107295354A (en) 2017-05-15 2017-05-15 Connect the live method for building up of wheat and device in a kind of network direct broadcasting

Country Status (1)

Country Link
CN (1) CN107295354A (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108040038A (en) * 2017-11-28 2018-05-15 北京潘达互娱科技有限公司 The live method of network interdynamic, network main broadcaster end and user terminal
CN108574879A (en) * 2018-03-30 2018-09-25 乐蜜有限公司 Joint live broadcasting method, device and electronic equipment
CN108768681A (en) * 2018-05-31 2018-11-06 东莞市华睿电子科技有限公司 The display methods of the instant image of main broadcaster user caused by a kind of virtual resource is given
CN108768680A (en) * 2018-05-31 2018-11-06 东莞市华睿电子科技有限公司 A kind of method for pushing of the instant image of main broadcaster user when live game coverage
CN109257616A (en) * 2018-09-30 2019-01-22 武汉斗鱼网络科技有限公司 A kind of voice connects wheat interactive approach, device, equipment and medium
CN109286821A (en) * 2018-09-30 2019-01-29 武汉斗鱼网络科技有限公司 A kind of direct broadcasting room recommended method, device, server and storage medium
CN109348238A (en) * 2018-09-30 2019-02-15 武汉斗鱼网络科技有限公司 A kind of voice in live streaming connects wheat method, apparatus, server and storage medium
CN109348302A (en) * 2018-09-30 2019-02-15 武汉斗鱼网络科技有限公司 Connect wheat user recommended method, device, server and storage medium in live streaming
CN109391851A (en) * 2018-01-09 2019-02-26 深圳市珍爱网信息技术有限公司 Net cast method, apparatus, computer equipment and storage medium
CN109388924A (en) * 2018-09-30 2019-02-26 武汉斗鱼网络科技有限公司 A kind of auth method, device, server and storage medium
CN109618191A (en) * 2018-12-17 2019-04-12 广州市百果园信息技术有限公司 Live streaming connects wheat method, apparatus, computer readable storage medium and terminal
CN109995741A (en) * 2018-01-02 2019-07-09 武汉斗鱼网络科技有限公司 Connect wheat realization method and system in a kind of network direct broadcasting
CN110225375A (en) * 2018-03-01 2019-09-10 武汉斗鱼网络科技有限公司 A kind of direct broadcasting room connects wheat permission detection method, storage medium, equipment and system
CN110505491A (en) * 2019-07-16 2019-11-26 北京达佳互联信息技术有限公司 A kind of processing method of live streaming, device, electronic equipment and storage medium
CN111107441A (en) * 2018-10-25 2020-05-05 武汉斗鱼网络科技有限公司 Microphone connection communication establishing method, storage medium, electronic device and system
CN111372090A (en) * 2020-02-25 2020-07-03 北京达佳互联信息技术有限公司 Method and device for realizing wheat connection, electronic equipment and storage medium
CN111385349A (en) * 2020-02-07 2020-07-07 北京达佳互联信息技术有限公司 Communication processing method, communication processing device, terminal, server and storage medium
CN111416789A (en) * 2019-01-04 2020-07-14 腾讯科技(深圳)有限公司 Method, apparatus and computer-readable storage medium for assigning usage rights to a user
CN111901671A (en) * 2020-08-12 2020-11-06 上海连尚网络科技有限公司 Video connection method and device
CN111918086A (en) * 2020-08-07 2020-11-10 广州繁星互娱信息科技有限公司 Video connection method, device, terminal, server and readable storage medium
CN112040259A (en) * 2020-08-28 2020-12-04 广州华多网络科技有限公司 Method, server, system, storage medium and equipment for continuous playing
CN112702640A (en) * 2020-12-29 2021-04-23 广州博冠信息科技有限公司 Live broadcast wheat connecting method and device, storage medium and electronic equipment
CN113467675A (en) * 2021-05-31 2021-10-01 北京达佳互联信息技术有限公司 Virtual space operation method and device, electronic equipment and storage medium
CN114025206A (en) * 2020-07-16 2022-02-08 深圳瞬玩科技有限公司 Live broadcast method and system based on cloud mobile phone
CN114205633A (en) * 2020-08-31 2022-03-18 腾讯科技(深圳)有限公司 Live broadcast interaction method and device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634681A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Method, device, client end, server and system for live broadcasting interaction
CN103841353A (en) * 2014-02-24 2014-06-04 广州华多网络科技有限公司 Video interaction method, terminal, server and system
CN105812951A (en) * 2016-03-24 2016-07-27 广州华多网络科技有限公司 Stream media data interaction method, terminal, server and system
CN106303586A (en) * 2016-08-18 2017-01-04 北京奇虎科技有限公司 A kind of method of network direct broadcasting, main broadcaster's end equipment, viewer end equipment
CN106331754A (en) * 2016-08-18 2017-01-11 北京奇虎科技有限公司 Method of via-microphone live broadcast in live Internet broadcast, and anchor-side device
CN106454537A (en) * 2016-10-14 2017-02-22 广州华多网络科技有限公司 Live video streaming method and relevant equipment
CN106488251A (en) * 2016-10-19 2017-03-08 北京小米移动软件有限公司 Realize the live middle even method and device of wheat, main broadcaster's client and subscription client

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634681A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Method, device, client end, server and system for live broadcasting interaction
CN103841353A (en) * 2014-02-24 2014-06-04 广州华多网络科技有限公司 Video interaction method, terminal, server and system
CN105812951A (en) * 2016-03-24 2016-07-27 广州华多网络科技有限公司 Stream media data interaction method, terminal, server and system
CN106303586A (en) * 2016-08-18 2017-01-04 北京奇虎科技有限公司 A kind of method of network direct broadcasting, main broadcaster's end equipment, viewer end equipment
CN106331754A (en) * 2016-08-18 2017-01-11 北京奇虎科技有限公司 Method of via-microphone live broadcast in live Internet broadcast, and anchor-side device
CN106454537A (en) * 2016-10-14 2017-02-22 广州华多网络科技有限公司 Live video streaming method and relevant equipment
CN106488251A (en) * 2016-10-19 2017-03-08 北京小米移动软件有限公司 Realize the live middle even method and device of wheat, main broadcaster's client and subscription client

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108040038A (en) * 2017-11-28 2018-05-15 北京潘达互娱科技有限公司 The live method of network interdynamic, network main broadcaster end and user terminal
CN109995741B (en) * 2018-01-02 2021-07-23 武汉斗鱼网络科技有限公司 Method and system for realizing wheat connection in network live broadcast
CN109995741A (en) * 2018-01-02 2019-07-09 武汉斗鱼网络科技有限公司 Connect wheat realization method and system in a kind of network direct broadcasting
CN109391851A (en) * 2018-01-09 2019-02-26 深圳市珍爱网信息技术有限公司 Net cast method, apparatus, computer equipment and storage medium
CN109391851B (en) * 2018-01-09 2020-04-07 深圳市珍爱网信息技术有限公司 Video live broadcast method and device, computer equipment and storage medium
CN110225375A (en) * 2018-03-01 2019-09-10 武汉斗鱼网络科技有限公司 A kind of direct broadcasting room connects wheat permission detection method, storage medium, equipment and system
CN108574879A (en) * 2018-03-30 2018-09-25 乐蜜有限公司 Joint live broadcasting method, device and electronic equipment
CN108574879B (en) * 2018-03-30 2021-02-05 香港乐蜜有限公司 Combined live broadcast method and device and electronic equipment
CN108768681A (en) * 2018-05-31 2018-11-06 东莞市华睿电子科技有限公司 The display methods of the instant image of main broadcaster user caused by a kind of virtual resource is given
CN108768680A (en) * 2018-05-31 2018-11-06 东莞市华睿电子科技有限公司 A kind of method for pushing of the instant image of main broadcaster user when live game coverage
CN108768681B (en) * 2018-05-31 2021-01-01 东莞市华睿电子科技有限公司 Method for displaying real-time image of anchor user caused by virtual resource presentation
CN108768680B (en) * 2018-05-31 2020-12-01 东莞市华睿电子科技有限公司 Method for pushing instant images of anchor user during event live broadcast
CN109257616B (en) * 2018-09-30 2021-06-15 武汉斗鱼网络科技有限公司 Voice microphone-connected interaction method, device, equipment and medium
CN109388924A (en) * 2018-09-30 2019-02-26 武汉斗鱼网络科技有限公司 A kind of auth method, device, server and storage medium
CN109286821B (en) * 2018-09-30 2021-10-15 武汉斗鱼网络科技有限公司 Live broadcast room recommendation method and device, server and storage medium
CN109257616A (en) * 2018-09-30 2019-01-22 武汉斗鱼网络科技有限公司 A kind of voice connects wheat interactive approach, device, equipment and medium
CN109286821A (en) * 2018-09-30 2019-01-29 武汉斗鱼网络科技有限公司 A kind of direct broadcasting room recommended method, device, server and storage medium
CN109348238A (en) * 2018-09-30 2019-02-15 武汉斗鱼网络科技有限公司 A kind of voice in live streaming connects wheat method, apparatus, server and storage medium
CN109348302A (en) * 2018-09-30 2019-02-15 武汉斗鱼网络科技有限公司 Connect wheat user recommended method, device, server and storage medium in live streaming
CN111107441A (en) * 2018-10-25 2020-05-05 武汉斗鱼网络科技有限公司 Microphone connection communication establishing method, storage medium, electronic device and system
CN109618191A (en) * 2018-12-17 2019-04-12 广州市百果园信息技术有限公司 Live streaming connects wheat method, apparatus, computer readable storage medium and terminal
CN111416789A (en) * 2019-01-04 2020-07-14 腾讯科技(深圳)有限公司 Method, apparatus and computer-readable storage medium for assigning usage rights to a user
CN110505491B (en) * 2019-07-16 2020-11-06 北京达佳互联信息技术有限公司 Live broadcast processing method and device, electronic equipment and storage medium
CN110505491A (en) * 2019-07-16 2019-11-26 北京达佳互联信息技术有限公司 A kind of processing method of live streaming, device, electronic equipment and storage medium
CN111385349A (en) * 2020-02-07 2020-07-07 北京达佳互联信息技术有限公司 Communication processing method, communication processing device, terminal, server and storage medium
US11444992B2 (en) 2020-02-07 2022-09-13 Beijing Dajia Internet Information Technology Co., Ltd. Method and apparatus for communication processing
CN111372090A (en) * 2020-02-25 2020-07-03 北京达佳互联信息技术有限公司 Method and device for realizing wheat connection, electronic equipment and storage medium
CN114025206A (en) * 2020-07-16 2022-02-08 深圳瞬玩科技有限公司 Live broadcast method and system based on cloud mobile phone
CN111918086A (en) * 2020-08-07 2020-11-10 广州繁星互娱信息科技有限公司 Video connection method, device, terminal, server and readable storage medium
CN111901671A (en) * 2020-08-12 2020-11-06 上海连尚网络科技有限公司 Video connection method and device
CN112040259A (en) * 2020-08-28 2020-12-04 广州华多网络科技有限公司 Method, server, system, storage medium and equipment for continuous playing
CN114205633A (en) * 2020-08-31 2022-03-18 腾讯科技(深圳)有限公司 Live broadcast interaction method and device, storage medium and electronic equipment
CN114205633B (en) * 2020-08-31 2024-03-08 腾讯科技(深圳)有限公司 Live interaction method and device, storage medium and electronic equipment
CN112702640A (en) * 2020-12-29 2021-04-23 广州博冠信息科技有限公司 Live broadcast wheat connecting method and device, storage medium and electronic equipment
CN112702640B (en) * 2020-12-29 2022-09-13 广州博冠信息科技有限公司 Live broadcast wheat connecting method and device, storage medium and electronic equipment
CN113467675A (en) * 2021-05-31 2021-10-01 北京达佳互联信息技术有限公司 Virtual space operation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107295354A (en) Connect the live method for building up of wheat and device in a kind of network direct broadcasting
CN110830735B (en) Video generation method and device, computer equipment and storage medium
EP3105711B1 (en) Video communication method and system in instant communication
CN110213522B (en) Video data processing method and device and related equipment
CN104754284B (en) A kind of live broadcast of video conference method, equipment and system
CN108347337B (en) Conference communication method and device
CN110856011B (en) Method for grouping live broadcast interaction, electronic equipment and storage medium
CN106791584A (en) The implementation method of video conference, cut-in method and related device
KR102085383B1 (en) Termial using group chatting service and operating method thereof
CN105493446A (en) Communication with on-calls and machines using multiple modalities through single historical tracking
CN110266810A (en) Message receival method, equipment and storage medium based on MQTT agreement
CN109218370A (en) Message method and device, electronic equipment
CN105847433A (en) Virtual-theatre-based video playing method, apparatus, and system
CN105991963A (en) Group-based multi-user audio and video communication method and apparatus
CN106453231A (en) Signaling obtaining and transmission method and device
CN109413285A (en) A kind of communication means and device
CN108111321B (en) Conference time processing method and device
CN105933790A (en) Video play method, device and system based on virtual movie theater
CN111866440B (en) Method, device and equipment for pushing video data and storage medium
CN105450506B (en) A kind of real-time information interaction method, apparatus and system
CN108288152B (en) Interaction method, terminal and storage medium for sharing information
CN107181926A (en) A kind of communication means, device and server
CN111314647A (en) Electronic whiteboard control method, mobile terminal and electronic whiteboard system
EP2702754A1 (en) Charge management system, charge management method, program, program providing system, and maintenance system
CN111600808A (en) Information processing method and device for instant messaging

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171024