CN107911707B - A kind of processing method based on live streaming, device and server - Google Patents

A kind of processing method based on live streaming, device and server Download PDF

Info

Publication number
CN107911707B
CN107911707B CN201711095217.5A CN201711095217A CN107911707B CN 107911707 B CN107911707 B CN 107911707B CN 201711095217 A CN201711095217 A CN 201711095217A CN 107911707 B CN107911707 B CN 107911707B
Authority
CN
China
Prior art keywords
main broadcaster
server
video data
corresponding video
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711095217.5A
Other languages
Chinese (zh)
Other versions
CN107911707A (en
Inventor
唐赓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Environment And Wind Technology Co Ltd
Original Assignee
Beijing Environment And Wind 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 Beijing Environment And Wind Technology Co Ltd filed Critical Beijing Environment And Wind Technology Co Ltd
Priority to CN201711095217.5A priority Critical patent/CN107911707B/en
Publication of CN107911707A publication Critical patent/CN107911707A/en
Application granted granted Critical
Publication of CN107911707B publication Critical patent/CN107911707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation 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
    • H04N21/4316Generation 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 for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management 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/462Content 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/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of processing method based on live streaming, device and servers, wherein the described method includes: obtaining the first main broadcaster by first server identifies corresponding video data, and is transferred to the terminal device of each viewing user;Third server receives the corresponding even wheat instruction of the first main broadcaster mark, and the terminal device for meeting preset condition is switched to second server;First main broadcaster is received by second server and identifies corresponding video data, and is received the second main broadcaster in the even wheat instruction and identified corresponding video data;First main broadcaster is identified corresponding video data to second server and second main broadcaster identifies corresponding video data, is sent to the terminal device for meeting preset condition;To save the resource of second server.

Description

A kind of processing method based on live streaming, device and server
Technical field
The present invention relates to Internet technical fields, and in particular to a kind of processing method based on live streaming, a kind of based on live streaming Processing unit and a kind of server.
Background technique
With the continuous development of Internet technology, the increase of network bandwidth, for user using network provide etc. it is more just Benefit, also newborn many industries Internet-based, such as network direct broadcasting, shopping at network.
Wherein, network direct broadcasting is a kind of emerging network social intercourse mode, can be with for the moment by network direct broadcasting, user Between through network system watch video in different intercommunion platform, network direct broadcasting platform also becomes a kind of brand-new social matchmaker Body.As direct seeding technique is increasingly mature, more and more programme televised lives start to pour in such as game live streaming, cuisines live streaming, sing directly Broadcast etc..
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the processing method and respective live system and server of the live streaming of problem.
According to one aspect of the present invention, a kind of processing method based on live streaming is provided, live broadcast system is applied to, it is described Method include: to obtain the first main broadcaster by first server to identify corresponding video data, and be transferred to each viewing user's Terminal device;Third server receives the corresponding even wheat instruction of the first main broadcaster mark, and the terminal device for meeting preset condition is cut Change to second server;First main broadcaster is received by second server and identifies corresponding video data, and described in reception Even the second main broadcaster identifies corresponding video data in wheat instruction;First main broadcaster is identified corresponding video counts by second server Corresponding video data is identified according to second main broadcaster, is sent to the terminal device for meeting preset condition.
Optionally, the first main broadcaster is received by third server and identifies corresponding even wheat instruction, be switched to second server, Include: that third server receives the corresponding even wheat instruction of the first main broadcaster mark, meets preset condition according to version information determination Terminal device;The terminal device for meeting preset condition is switched to second server by first server, and by described One main broadcaster mark and the even wheat instruction are sent to second server.
Optionally, described that the corresponding video data of the first main broadcaster mark is received by second server, and receive The second main broadcaster identifies corresponding video data in the even wheat instruction, comprising: second server is obtained from the even wheat instruction Second main broadcaster mark;It receives first main broadcaster and identifies corresponding video data, and receive second main broadcaster and identify correspondence Video data.
Optionally, further includes: for the terminal device for being unsatisfactory for preset condition, first master is forwarded by first server It broadcasts and identifies corresponding video data and the corresponding video data of second main broadcaster mark.
Optionally, described to forward first main broadcaster to identify corresponding video data and second master by first server Broadcast the corresponding video data of mark, comprising: second server sends first main broadcaster and identifies corresponding video data and described Second main broadcaster identifies corresponding video data to first server;First main broadcaster is identified corresponding video by first server Data and second main broadcaster identify corresponding video data and synthesize, and generate live video data;First server is by institute It states live video data and is sent to the terminal device for being unsatisfactory for preset condition.
Optionally, first main broadcaster is identified corresponding video data by the first server and second main broadcaster marks Know corresponding video data to be synthesized, comprising: determine that first main broadcaster identifies corresponding video data and the second main broadcaster mark Know the dimension scale information of corresponding video data;It is corresponding that the second main broadcaster mark is adjusted according to the dimension scale information The size of video data;The second main broadcaster mark that first main broadcaster is identified corresponding video data and correspondingly-sized is corresponding Video data is synthesized.
Optionally, further includes: third server receives even wheat termination instruction, by the terminal device for meeting preset condition The first server is switched back by the second server.
According to another aspect of the invention, provide a kind of live broadcast system, the live broadcast system include first server, Second server and third server, in which: the first server identifies corresponding video counts for obtaining the first main broadcaster According to, and it is transferred to the terminal device of each viewing user;The third server, for receiving the corresponding even wheat of the first main broadcaster mark Instruction, is switched to second server for the terminal device for meeting preset condition;The second server, for receiving described first Main broadcaster identifies corresponding video data, and receives the second main broadcaster in the even wheat instruction and identify corresponding video data;And First main broadcaster is identified into corresponding video data and second main broadcaster identifies corresponding video data, is sent to described full The terminal device of sufficient preset condition.
Optionally, the third server, for receiving the corresponding even wheat instruction of the first main broadcaster mark, according to version information Determine the terminal device for meeting preset condition;The terminal device for meeting preset condition is switched to second server, and will The first main broadcaster mark and the even wheat instruction are sent to second server.
Optionally, the second server, for obtaining the second main broadcaster mark from the even wheat instruction;Receive described One main broadcaster identifies corresponding video data, and receives second main broadcaster and identify corresponding video data.
Optionally, the first server is also used to for the terminal device for being unsatisfactory for preset condition, forwarding described first Main broadcaster identifies corresponding video data and second main broadcaster identifies corresponding video data.
Optionally, the second server identifies corresponding video data and described for sending first main broadcaster Two main broadcasters identify corresponding video data to first server;
The first server, for first main broadcaster to be identified corresponding video data and second main broadcaster mark Corresponding video data is synthesized, and live video data is generated;And the live video data is sent to be unsatisfactory for it is pre- If the terminal device of condition.
Optionally, the first server, for determining that first main broadcaster identifies corresponding video data and the second master Broadcast the dimension scale information for identifying corresponding video data;The second main broadcaster mark pair is adjusted according to the dimension scale information The size for the video data answered;First main broadcaster is identified to the second main broadcaster mark pair of corresponding video data and correspondingly-sized The video data answered is synthesized.
Optionally, the third server is also used to the company's of reception wheat termination instruction, by the terminal for meeting preset condition Equipment switches back into the first server.
According to another aspect of the present invention, a kind of server is provided, comprising: one or more processors;It deposits thereon The one or more machine readable medias for containing instruction, when being executed by one or more of processors, so that the service Device executes the processing method based on live streaming as described in one or more in the embodiment of the present invention.
According to another aspect of the present invention, one or more machine readable medias are provided, instruction is stored thereon with, when by One or more processors execute when so that server execute as described in one or more in the embodiment of the present invention based on live streaming Processing method.
A kind of processing method based on live streaming according to the present invention passes through first service when the first main broadcaster is broadcast live Device obtains corresponding video data and is sent to the terminal device of corresponding viewing user, and third server receives the first main broadcaster and the Two main broadcasters connect wheat instruction, and the terminal device for meeting preset condition is switched to second server;Then it is obtained by second server The corresponding video data of the first main broadcaster is taken, and obtains the corresponding video data of the second main broadcaster, and this two-path video data is sent out Give the terminal device for meeting preset condition;Second server is just used to provide service when the company of progress wheat is broadcast live, had The resource using second server of effect, thus solves second server problem of resource waste, achieves saving second service The resource beneficial effect of device.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of step flow chart of processing method based on live streaming of one embodiment of the invention;
Fig. 2 shows a kind of step flow charts of processing method based on live streaming of another embodiment of the present invention;
Fig. 3 shows a kind of live broadcast system of one embodiment of the invention;
Fig. 4 shows a kind of structural block diagram of live broadcast system of one embodiment of the invention;
Fig. 5 schematically shows the block diagram for executing server according to the method for the present invention;
Fig. 6 schematically shows the storage for keeping or carrying the program code of realization according to the method for the present invention Unit;And
Fig. 7 schematically shows the block diagram of part-structure relevant to terminal device provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the present invention can be applied to live broadcast system, which includes server (cluster) and terminal device, In, server is to provide the server of service for live streaming, can be made of the cluster that multiple servers are constituted, such as pass through difference Server live streaming management is provided, Data Synthesis etc. services.It can have multiple terminal devices in live broadcast system, including holding The terminal device of row live streaming also includes the terminal device of viewing live streaming.In the embodiment of the present application, each live video can be directed to Group or direct broadcasting room is broadcast live in setting, can have one or more terminal devices connections to watch the live videos in the direct broadcasting room, To which each direct broadcasting room passes through direct broadcasting room ID or live streaming mark characterization.
Wherein, it is known as the user of viewing live streaming to watch user (i.e. spectators), the user being broadcast live is known as main broadcaster.Directly During broadcasting, each main broadcaster can not only interact with the viewing user of the direct broadcasting room, can also be with the main broadcaster of other direct broadcasting rooms Interacted and for example connect wheat interaction, as main broadcaster A and main broadcaster B Lian Maihou, main broadcaster A correspond to direct broadcasting room viewing user and B pairs of main broadcaster The viewing user of direct broadcasting room is answered, the video watched includes the video of main broadcaster A live streaming and the video of main broadcaster B live streaming.Wherein, straight Broadcasting the server for providing live video in system for user includes first server and second server, wherein second server It can support to interconnect the main broadcaster of different direct broadcasting rooms and preside over, so that user can watch the interaction of different main broadcasters in video, will be The server that client, that is, user terminal device provides manage and dispatch is known as third server or dispatch server.
Referring to Fig.1, a kind of step flow chart of processing method based on live streaming of one embodiment of the invention is shown.
Step 102 is obtained the corresponding video data of the first main broadcaster mark by first server, and is transferred to each viewing and uses The terminal device at family.
First main broadcaster, which determines, to need be broadcast live and open from the first main broadcaster after even wheat interact with the second main broadcaster during live streaming Begin, until being all to provide service using second server during the first main broadcaster live streaming terminates;And in this process, even The duration of wheat interaction, it is likely that much smaller than the duration of any main broadcaster live streaming, for example, 1 hour is broadcast live in the first main broadcaster, and even wheat is mutual The dynamic time is 10 minutes, that is, needs to provide service in 1 hour using second server;Due to second server cost compared with Height, therefore other than the even wheat period, other times section provides service using second server, will cause second server resource Waste.Therefore the embodiment of the present invention provides a kind of processing method based on live streaming, i.e. process of the user in viewing live video In, if the live video is presided over by the main broadcaster of a direct broadcasting room, the first main broadcaster mark pair can be obtained by first server The video data answered, and it is transferred to the terminal device of each viewing user.If live streaming during need even wheat, i.e., with other direct broadcasting rooms Main broadcaster interact preside over, then connect wheat execution needs supported by second server, i.e., even the wheat period using provide Lian Maizhi The second server held provides service, and provides clothes using the first server that the not company of offer wheat is supported in other live streaming periods Business, to save the resource of second server.Wherein, can be using itself as the first main broadcaster for each main broadcaster, it will be with Its other main broadcaster for connecting wheat is determined as the second main broadcaster.
The video data of live streaming is uploaded in first server by the first main broadcaster during live streaming, wherein first is main The video data for broadcasting upload carries the first main broadcaster mark, and the first main broadcaster mark is used for the first main broadcaster of unique identification such as main broadcaster Account.Then first server obtains the first main broadcaster and identifies corresponding video data, and identifies according to first main broadcaster, determines The terminal device of viewing user in corresponding direct broadcasting room, then the video data that will acquire are sent into corresponding terminal device;Into And the first main broadcaster identifies the viewing user of corresponding direct broadcasting room, can watch the live video of the first main broadcaster.
Step 104, third server receive the corresponding even wheat instruction of the first main broadcaster mark, will meet the terminal of preset condition Equipment is switched to second server.
During the first main broadcaster live streaming, even wheat interaction request can be initiated to the second main broadcaster, also can receive second The company wheat that main broadcaster sends interacts request;Receive even wheat interaction request or the second main broadcaster in the first main broadcaster and receives even wheat interaction request Afterwards, i.e., producible first main broadcaster identifies corresponding even wheat indicating concurrent and send into the third server that can provide switching service, by Third server switches to terminal device to be connect with second server.Wherein, the even wheat instruction is to be used to indicate the company of execution Wheat interaction, include connecting corresponding second main broadcaster of the second main broadcaster of wheat with the first main broadcaster to identify in the even wheat instruction, and described the Two main broadcasters mark is used for the second main broadcaster of unique identification such as main broadcaster's account.
Live streaming application may have updated in the corresponding terminal device of certain viewing users, it is also possible to not update, Update live streaming application terminal device can company of support wheat interact, i.e., these terminal devices can provide service by second server;And Not updating the terminal device not company of the support wheat interaction of live streaming application, i.e., these terminal devices can only be connect with first server, The direct broadcast service provided by first server.Therefore third server receives the even wheat instruction, and determination meets preset condition The terminal device for meeting preset condition is switched to second server by terminal device, default to meet to use second server The terminal device of condition provides service;Wherein, the terminal device of first main broadcaster and the terminal device of the second main broadcaster are full The terminal device of sufficient preset condition.And for the terminal device for the condition that is unsatisfactory for, still keep these terminal devices and first to take Business device connection, provides service by first server.Wherein, the preset condition refers to support even wheat interaction, meets preset condition Terminal device refer to the terminal device of the company's of support wheat interaction, the terminal device for being unsatisfactory for preset condition refers to that the company of support wheat is not mutual Dynamic terminal device.
Step 106 receives the corresponding video data of the first main broadcaster mark by second server, and described in reception Even the second main broadcaster identifies corresponding video data in wheat instruction.
Step 108, first main broadcaster is identified corresponding video data to second server and second main broadcaster identifies Corresponding video data is sent to the terminal device for meeting preset condition.
Then can by second server obtain the first main broadcaster video data and the second main broadcaster video data, i.e., second Server is identified according to the first main broadcaster, obtains the corresponding video data of the first main broadcaster;And according to the second main broadcaster in even wheat instruction Mark obtains the corresponding video data of the second main broadcaster.Then the first main broadcaster is identified into corresponding video data as video all the way Stream, will the second main broadcaster corresponding video data of mark as another way video flowing, push to the preset condition that meets Terminal device.After the terminal device for meeting preset condition receives two-path video stream, each road video flowing can be passed through respectively One window plays out;I.e. in the terminal device for meeting preset condition, the first main broadcaster can be played by a window respectively It identifies corresponding video data and the second main broadcaster identifies corresponding video data, and then the first main broadcaster and the second main broadcaster is watched to connect The process of wheat interaction.
It is concurrent that the embodiment of the present invention obtains corresponding video data when the first main broadcaster is broadcast live, through first server It send to the terminal device of corresponding viewing user, third server receives the first main broadcaster and the second main broadcaster connects wheat instruction, pre- by meeting If the terminal device of condition switches to second server;Then the corresponding video counts of the first main broadcaster are obtained by second server According to and obtaining the corresponding video data of the second main broadcaster, and this two-path video data is sent to the preset condition that meets Terminal device;Second server is just used to provide service, the effective money for utilizing second server when the company of progress wheat is broadcast live Thus source solves second server problem of resource waste, achieve the resource beneficial effect for saving second server.
In the embodiment of the present invention, when the first main broadcaster and the second main broadcaster carry out even wheat interaction, second server can be satisfaction The terminal device of preset condition provides server, and the terminal device that can not be directly unsatisfactory for preset condition provides service;Cause This terminal device for being unsatisfactory for preset condition can provide server with first server.
Referring to Fig. 2, a kind of step flow chart of processing method based on live streaming of another embodiment of the present invention is shown.
Step 202 is obtained the corresponding video data of the first main broadcaster mark by first server, and is transferred to each viewing and uses The terminal device at family.
The correspondence video data of live streaming is uploaded in first server by the first main broadcaster during live streaming, wherein the The video data that one main broadcaster uploads carries the first main broadcaster mark, and the first main broadcaster mark is used for the first main broadcaster of unique identification such as Main broadcaster's account.Then first server obtains the first main broadcaster and identifies corresponding video data, and identifies according to first main broadcaster, Determine that the terminal device of the viewing user in corresponding direct broadcasting room, then the video data that will acquire are sent to corresponding terminal device In;And then the first main broadcaster identifies the viewing user of corresponding direct broadcasting room, can watch the live video of the first main broadcaster.
Step 204, third server receive the corresponding even wheat instruction of the first main broadcaster mark, determine and meet according to version information The terminal device of preset condition;
The terminal device for meeting preset condition is switched to second server by first server by step 206, and will The first main broadcaster mark and the even wheat instruction are sent to second server.
During live streaming, according to the operation of the first main broadcaster or the operation of the second main broadcaster, the first main broadcaster and the second master are determined It broadcasts after needing the wheat interaction of the company of foundation, the corresponding terminal device of the first main broadcaster is producible to connect wheat instruction, and the even wheat instruction is sent out It send into third server;It wherein, may include the second main broadcaster mark in the even wheat instruction, second main broadcaster mark is and the One main broadcaster connects the mark of the second main broadcaster of wheat, so that server, which identifies determining and the first main broadcaster according to the second main broadcaster, connects the second of wheat Main broadcaster.Third server receives even wheat instruction, determines that the first main broadcaster carries out even wheat interaction, then it is corresponding can to obtain the first main broadcaster The version information of application is broadcast live in the terminal device of direct broadcasting room user, and obtains the terminal that the second main broadcaster corresponds to direct broadcasting room user The version information of application is broadcast live in equipment;And according to the corresponding version information of each terminal device, whether the terminal device is judged For the terminal device for meeting preset condition, if the corresponding version number of the version information, which is higher than, refers to version number, it is determined that corresponding Terminal device be the terminal device for meeting preset condition, if the corresponding version number of the version information be lower than refer to version number, Then determine that corresponding terminal device is the terminal device for being unsatisfactory for preset condition.Then the terminal for meeting preset condition is set It is standby that second server is switched to by first server, service is provided by second server;Wherein, in handoff procedure, third clothes Being engaged in, device is transmittable to connect wheat instruction and the first main broadcaster mark, until second server.
Step 208, second server obtain the second main broadcaster mark from the even wheat instruction.
Step 210 receives the corresponding video data of the first main broadcaster mark, and receives the second main broadcaster mark pair The video data answered.
Step 212, first main broadcaster is identified corresponding video data to second server and second main broadcaster identifies Corresponding video data is sent to the terminal device for meeting preset condition.
Second server can obtain the second main broadcaster from the even wheat instruction after the wheat instruction of the company of reception and the first main broadcaster mark Then mark receives first main broadcaster and identifies corresponding video data, and receives second main broadcaster and identify corresponding view Frequency evidence.For the terminal device for meeting preset condition, this two-path video data directly can be sent to these by second server In terminal device, this two-path video data can be passed through respectively a window and played out by these terminal devices.Wherein, a window Mouth, which can be suspended on another window, to be played out, and optionally, can will play the window of the corresponding road video data of the first main broadcaster mark Mouth maximizes, and identifies corresponding road video data by the first main broadcaster of full screen display, and the second main broadcaster of broadcasting is identified corresponding road video The window of data is suspended in the first main broadcaster of the broadcasting and identifies on the window of corresponding road video data, in order to each direct broadcasting room User preferably watches the main broadcaster of the direct broadcasting room.
In addition, ought video data broadcast window all the way may when being suspended in addition on video data broadcast window all the way This corresponding image of road video data is blocked, viewing user is influenced and watches the road video data;Therefore viewing user can be to window It is adjusted such as moving window, the size for adjusting window, closes window, executed in viewing user and adjust corresponding instruction information Afterwards, corresponding terminal device can execute the adjustment operation of each window according to instruction information.Wherein, the instruction information can Including including at least following one kind: mobile instruction, adjustment indicate and close instruction, corresponding, and the adjustment operation can also be at least Including following one kind: position adjusts operation, sizing operation, closes window.
For preset condition is unsatisfactory for, first main broadcaster can be forwarded to identify corresponding video data by first server Corresponding video data is identified with second main broadcaster, specific as follows:
Step 214, second server send first main broadcaster and identify corresponding video data and second main broadcaster mark Corresponding video data is known to first server.
Step 216, first main broadcaster is identified corresponding video data to first server and second main broadcaster identifies Corresponding video data is synthesized, and live video data is generated.
Second server is receiving the first main broadcaster corresponding video data of mark and second main broadcaster mark pair After the video data answered, received two-path video stream can be sent to first server;The first server can use institute again It states the first main broadcaster and identifies corresponding video data and the corresponding video data of second main broadcaster mark, generate live video number According to the first main broadcaster is identified corresponding video data and the second main broadcaster identifies corresponding video data and synthesizes, is generated straight Video data is broadcast, following sub-step is specifically included:
Sub-step S1, determine that first main broadcaster identifies corresponding video data and the second main broadcaster identifies corresponding video counts According to dimension scale information.
Sub-step S2, the ruler that second main broadcaster identifies corresponding video data is adjusted according to the dimension scale information It is very little.
Sub-step S3, the second main broadcaster mark correspondence that first main broadcaster is identified to corresponding video data and correspondingly-sized Video data synthesized.
The embodiment of the present invention can be arranged as desired in advance in the corresponding live streaming picture of live video data, first main broadcaster's video Picture and the second main broadcaster live streaming picture the dimension scale, and then can be according to pre-set dimension scale, by described the One main broadcaster identifies corresponding video data and second main broadcaster identifies corresponding video data and synthesizes.Specifically, can be true Fixed first main broadcaster identifies corresponding video data and the second main broadcaster identifies the dimension scale information of corresponding video data, In, for the viewing user of the corresponding direct broadcasting room of the first main broadcaster, the first main broadcaster is the main users being broadcast live, and second Main broadcaster is the user of auxiliary live streaming;Therefore first main broadcaster identify corresponding video data can played in full screen, the second main broadcaster mark The size in the region that corresponding video data plays identifies the part of corresponding video data play area size for the first main broadcaster, Such as the dimension scale information is 1:0.2 etc..And then the second main broadcaster mark can be adjusted according to the dimension scale information Then first main broadcaster is identified the second main broadcaster of corresponding video data and correspondingly-sized by the size of corresponding video data It identifies corresponding video data to be synthesized, generates live video data.
The live video data is sent to the terminal device for being unsatisfactory for preset condition by step 218, first server.
After two-path video Data Synthesis live video data, first server can send the live video data To the terminal device for being unsatisfactory for preset condition.The corresponding viewing user of terminal device for being unsatisfactory for preset condition and Speech, can also watch the first main broadcaster be broadcast live video and the second main broadcaster live streaming video, for example, viewing user see it is straight The picture full screen display that picture is the first main broadcaster live streaming of direct broadcasting room is broadcast, the picture of the second main broadcaster live streaming is shown in the lower right corner, greatly Small is 1/9th of entire screen.
Step 220, third server receive even wheat termination instruction, by the terminal device for meeting preset condition by described Second server switches back into the first server.
In the embodiment of the present invention, the first main broadcaster, the second main broadcaster can terminate the even wheat interaction, terminate in even wheat interaction When, first main broadcaster's counterpart terminal equipment and/or second main broadcaster's counterpart terminal equipment produce corresponding even wheat termination instruction, and The even wheat termination instruction is sent to third server;Third server receives the even wheat termination instruction, by the satisfaction The terminal device of preset condition switches back into first server, is continued as by first server by the terminal for meeting preset condition Equipment provides direct broadcast service, to save the resource of second server.
Illustrate below in conjunction with Fig. 3, the interactive process and server in live broadcast system between server and terminal device it Between interactive process, Fig. 3 shows a kind of live broadcast system of one embodiment of the invention, and the live broadcast system includes first service Device, second server and third server, further include terminal device A1, A2, A3 ..., An, B1, B2 ..., Bn;Wherein, All terminal devices are connect with third server, the terminal device A1, A2, A3 ..., An be support even wheat interaction, Can connect, can also be connect with second server with first server, and terminal device B1, B2 ..., the company of support wheat is not mutual by Bn It is dynamic, it can connect, can not be connect with second server with first server.It can be using terminal device A1 as the first main broadcaster corresponding end End equipment, terminal device A3-A55, B7-B32 are the corresponding terminal device of viewing user in first main broadcaster's direct broadcasting room, and will be whole For end equipment A2 as the corresponding terminal device of the second main broadcaster, terminal device A77-A111 is to watch user in second main broadcaster's direct broadcasting room Corresponding terminal device;When the first main broadcaster is broadcast live using A1, video data 1 is uploaded to first server by A1, and first Received video data 1 is pushed to A3-A55, B7-B32 again by server.It is corresponding, it is broadcast live in the second main broadcaster using A2 When, video data 2 is uploaded to first server by A2, and received video data 2 is pushed to A77-A111 again by first server. In A1 and A2 Lian Maihou, third server receives even wheat instruction, by A1, A2, A3 ..., An by first server switch to the Two servers;Then video data 1 is uploaded in second server by A1, and video data 2 is also uploaded to second server by A2 In;After second server receives video data 1 and video data 2, on the one hand video data 1 and video data 2 are directly pushed away Give A3-A55, A77-A111;On the other hand video data 1 and video data 2 are sent to first server, first service closes At video data 1 and video data 2, live video data is obtained, live video data is pushed to B7- again by first server B32;And then A3-A55, A77-A111, B7-B32 can play out live video data.
The embodiment of the present invention uses first server for the first main broadcaster, before the first main broadcaster and the second main broadcaster connect wheat Two main broadcasters provide direct broadcast service, that is, obtain corresponding video data and be sent to the terminal device of corresponding viewing user;Third clothes Business device receives the first main broadcaster and the second main broadcaster connects wheat instruction, and the terminal device for meeting preset condition is switched to second server, Service is provided using second server, that is, obtains the corresponding video data of the first main broadcaster, and obtains the corresponding view of the second main broadcaster Frequency evidence;Then two-path video stream is sent respectively to meet the terminal device of preset condition;I.e. just when the company of progress wheat is broadcast live Service, the effective resource for utilizing second server, to save the resource of second server are provided using second server.
Further, for the terminal device for being unsatisfactory for preset condition, second server sends the corresponding video of the first main broadcaster To first server, this two-path video stream is synthesized, is obtained by first server for data and the corresponding video data of the second main broadcaster To live video data, and the live video data is sent to the terminal device for being unsatisfactory for preset condition;So that the not company of support The terminal device of wheat interaction, which corresponds to user, can watch interaction between main broadcaster, improve user experience, this method is versatile.
Again, third server receives even wheat termination instruction, and the terminal device for meeting preset condition is taken by described second Business device switches back into the first server, is continued to provide direct broadcast server by first server, further saves second service The resource of device.
For embodiment of the method, for simple description, therefore, it is stated as a series of action combinations, but this field Technical staff should be aware of, and embodiment of that present invention are not limited by the describe sequence of actions, because implementing according to the present invention Example, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that, specification Described in embodiment belong to preferred embodiment, the actions involved are not necessarily necessary for embodiments of the present invention.
The embodiment of the invention also provides a kind of live broadcast systems, for guaranteeing the implementation of the above method.
Referring to Fig. 4, a kind of structural block diagram of live broadcast system of one embodiment of the invention is shown;The live broadcast system packet Include first server 402, second server 404, third server 406 and terminal device 408, wherein
The first server 402 identifies corresponding video data for obtaining the first main broadcaster, and is transferred to each viewing and uses The terminal device 408 at family;
The third server 406 will meet preset condition for receiving the corresponding even wheat instruction of the first main broadcaster mark Terminal device is switched to second server 404;
The second server 404 identifies corresponding video data for receiving first main broadcaster, and described in reception Even the second main broadcaster identifies corresponding video data in wheat instruction;And first main broadcaster is identified into corresponding video data and institute It states the second main broadcaster and identifies corresponding video data, be sent to the terminal device 408 for meeting preset condition.
In another embodiment of the invention, the third server 406 identifies corresponding company for receiving the first main broadcaster Wheat instruction, the terminal device for meeting preset condition is determined according to version information;The terminal device for meeting preset condition is cut Second server 404 is changed to, and sends second server 404 for first main broadcaster mark and the even wheat instruction.
In another embodiment of the invention, the second server 404, for obtaining second from the even wheat instruction Main broadcaster's mark;It receives first main broadcaster and identifies corresponding video data, and receive second main broadcaster and identify corresponding view Frequency evidence.
In another embodiment of the invention, the first server 402 was also used to for the end for being unsatisfactory for preset condition End equipment forwards first main broadcaster to identify corresponding video data and the corresponding video data of second main broadcaster mark.
In another embodiment of the invention, the second server 404 identifies correspondence for sending first main broadcaster Video data and second main broadcaster identify corresponding video data to first server;
The first server 402, for first main broadcaster to be identified corresponding video data and second main broadcaster It identifies corresponding video data to be synthesized, generates live video data;And the live video data is sent to discontented The terminal device 408 of sufficient preset condition.
In another embodiment of the invention, the first server 402 is corresponded to for determining that first main broadcaster identifies Video data and the second main broadcaster identify the dimension scale information of corresponding video data;It is adjusted according to the dimension scale information Second main broadcaster identifies the size of corresponding video data;First main broadcaster is identified into corresponding video data and corresponding ruler The second very little main broadcaster identifies corresponding video data and synthesizes.
In another embodiment of the invention, the third server 406 is also used to the company's of reception wheat termination instruction, by institute It states and meets the terminal device of preset condition and switch back into the first server 402.
The embodiment of the present invention uses first server for the first main broadcaster, before the first main broadcaster and the second main broadcaster connect wheat Two main broadcasters provide direct broadcast service, that is, obtain corresponding video data and be sent to the terminal device of corresponding viewing user;Third clothes Business device receives the first main broadcaster and the second main broadcaster connects wheat instruction, and the terminal device for meeting preset condition is switched to second server, Service is provided using second server, that is, obtains the corresponding video data of the first main broadcaster, and obtains the corresponding view of the second main broadcaster Frequency evidence;Then two-path video stream is sent respectively to meet the terminal device of preset condition;I.e. just when the company of progress wheat is broadcast live Service, the effective resource for utilizing second server, to save the resource of second server are provided using second server.
Further, for the terminal device for being unsatisfactory for preset condition, second server sends the corresponding video of the first main broadcaster To first server, this two-path video stream is synthesized, is obtained by first server for data and the corresponding video data of the second main broadcaster To live video data, and the live video data is sent to the terminal device for being unsatisfactory for preset condition;So that the not company of support The terminal device of wheat interaction, which corresponds to user, can watch interaction between main broadcaster, improve user experience, this method is versatile.
Again, third server receives even wheat termination instruction, and the terminal device for meeting preset condition is taken by described second Business device switches back into the first server, is continued to provide direct broadcast server by first server, further saves second service The resource of device.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) are some or complete in terminal device according to an embodiment of the present invention to realize The some or all functions of portion's component.The present invention be also implemented as a part for executing method as described herein or The device or device program (for example, computer program and computer program product) of person's whole.Such realization is of the invention Program can store on a computer-readable medium, or may be in the form of one or more signals.Such signal It can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or be provided in any other form.
The embodiment of the invention provides a kind of servers, comprising: one or more processors;Be stored thereon with instruction One or more machine readable medias, when by one or more of processors execute when so that the server execute such as Based on the processing method of live streaming described in one or more in the embodiment of the present invention.
The embodiment of the invention provides one or more machine readable medias, are stored thereon with instruction, when by one or more When a processor executes, so that server executes the processing side based on live streaming as described in one or more in the embodiment of the present invention Method.
A kind of server is provided in one example of the embodiment of the present invention, may be implemented for example, Fig. 5 is shown according to this hair Bright server, such as management server, storage server, application server, cloud control service, server cluster etc..The service Device conventionally comprises processor 510 and computer program product or computer-readable medium in the form of memory 520.Storage Device 520 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk or ROM etc Electronic memory.Memory 520 has the storage of the program code 531 for executing any method and step in the above method empty Between 530.For example, the memory space 530 for program code may include being respectively used to realize the various steps in above method Rapid each program code 531.These program codes can read or write from one or more computer program product Enter into this one or more computer program product.These computer program products include such as hard disk, compact-disc (CD), The program code carrier of storage card or floppy disk etc.Such computer program product be usually described with reference to FIG. 6 just Take formula or static memory cell.The storage unit can have depositing for 520 similar arrangement of memory in the server with Fig. 5 Store up section, memory space etc..Program code can for example be compressed in a suitable form.In general, storage unit includes that computer can Read code 531 ', it can the code read by such as such as 510 etc processor, these codes are worked as to be run by server When, cause the server to execute each step in method described above.
The terminal device also provided in one example of the embodiment of the present invention, as shown in fig. 7, for ease of description, only showing Part related to the embodiment of the present invention, it is disclosed by specific technical details, please refer to present invention method part.It should Terminal device can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), The arbitrary equipments such as POS (Point of Sales, sale equipment), vehicle-mounted computer.
Fig. 7 shows the block diagram of part-structure relevant to terminal device provided in an embodiment of the present invention.With reference to Fig. 7, Terminal device includes: radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, voicefrequency circuit 760, Wireless Fidelity (wireless fidelity, WiFi) module 770, processor 780, The components such as power supply 790 and camera 7110.It will be understood by those skilled in the art that terminal device structure shown in Fig. 7 is simultaneously The restriction to terminal device is not constituted, may include perhaps combining certain components or not than illustrating more or fewer components Same component layout.
It is specifically introduced below with reference to each component parts of the Fig. 7 to terminal device:
RF circuit 710 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 780;In addition, the data for designing uplink are sent to base station.In general, RF circuit 710 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 710 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 720 can be used for storing software program and module, and processor 780 is stored in memory 720 by operation Software program and module, thereby executing the various function application and data processing of terminal device.Memory 720 can be main Including storing program area and storage data area, wherein storing program area can answer needed for storage program area, at least one function With program (such as sound-playing function, image player function etc.) etc.;Storage data area can store the use according to terminal device Data (such as audio data, phone directory etc.) created etc..In addition, memory 720 may include high random access storage Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid State memory device.
Input unit 730 can be used for receiving the number or character information of input, and generates and set with the user of terminal device It sets and the related key signals of function control inputs.Specifically, input unit 730 may include touch panel 731 and other are defeated Enter equipment 732.Touch panel 731, also referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the operation of any suitable object or attachment such as finger, stylus on touch panel 731 or near touch panel 731), And corresponding attachment device is driven according to preset formula.Optionally, touch panel 731 may include touch detecting apparatus and Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give processor 780, and order that processor 780 is sent can be received and executed.Furthermore, it is possible to using The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 731.It is defeated in addition to touch panel 731 Entering unit 730 can also include other input equipments 732.Specifically, other input equipments 732 can include but is not limited to physics One of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 740 can be used for showing information input by user or the information and terminal device that are supplied to user Various menus.Display unit 740 may include display panel 741, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 741.Further, touch panel 731 can cover display panel 741, when touch panel 731 detects After touch operation on or near it, processor 780 is sent to determine the type of touch event, is followed by subsequent processing 780 basis of device The type of touch event provides corresponding visual output on display panel 741.Although in Fig. 7, touch panel 731 and display Panel 741 is the input and input function for realizing terminal device as two independent components, but in certain embodiments, Can be integrated by touch panel 731 and display panel 741 and that realizes terminal device output and input function.
Terminal device may also include at least one sensor 750, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 741, and proximity sensor can close display when terminal device is moved in one's ear Panel 741 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three in all directions Axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify the application of terminal device posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The other sensors such as the gyroscope, barometer, hygrometer, thermometer, the infrared sensor that can also configure as terminal device, This is repeated no more.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and terminal device.Sound Electric signal after the audio data received conversion can be transferred to loudspeaker 761, be converted to by loudspeaker 761 by frequency circuit 760 Voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, is received by voicefrequency circuit 760 After be converted to audio data, then by after the processing of audio data output processor 780, be sent to through RF circuit 710 such as another Terminal device, or audio data is exported to memory 720 to be further processed.
WiFi belongs to short range wireless transmission technology, and terminal device can help user to receive and dispatch electricity by WiFi module 770 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 shows Go out WiFi module 770, but it is understood that, and it is not belonging to must be configured into for terminal device, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Processor 780 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 720, and calls and is stored in storage Data in device 720 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.It can Choosing, processor 780 may include one or more processing units;Preferably, processor 780 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 780.
Terminal device further includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 780 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
Camera 7110 can execute the function of taking pictures.
Although being not shown, terminal device can also be including bluetooth module etc., and details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The embodiment of the invention discloses A1, a kind of processing method based on live streaming, are applied to live broadcast system, the method Include:
The first main broadcaster is obtained by first server and identifies corresponding video data, and is transferred to the terminal of each viewing user Equipment;
Third server receives the corresponding even wheat instruction of the first main broadcaster mark, and the terminal device for meeting preset condition is switched To second server;
First main broadcaster is received by second server and identifies corresponding video data, and receives the even wheat instruction In the second main broadcaster identify corresponding video data;
First main broadcaster is identified corresponding video data to second server and second main broadcaster identifies corresponding view Frequency evidence is sent to the terminal device for meeting preset condition.
A2, method as described in a1 receive the first main broadcaster by third server and identify corresponding even wheat instruction, be switched to Second server, comprising:
Third server receives the corresponding even wheat instruction of the first main broadcaster mark, meets preset condition according to version information determination Terminal device;
The terminal device for meeting preset condition is switched to second server by first server, and by described first Main broadcaster's mark and the even wheat instruction are sent to second server.
A3, as described in A2 method, it is described that the corresponding video counts of the first main broadcaster mark are received by second server According to, and receive the second main broadcaster in the even wheat instruction and identify corresponding video data, comprising:
Second server obtains the second main broadcaster mark from the even wheat instruction;
It receives first main broadcaster and identifies corresponding video data, and receive second main broadcaster and identify corresponding video Data.
A4, method as described in a1, further includes:
For the terminal device for being unsatisfactory for preset condition, first main broadcaster is forwarded to identify corresponding view by first server Frequency evidence and second main broadcaster identify corresponding video data.
A5, the method as described in A4, it is described to forward first main broadcaster to identify corresponding video data by first server Corresponding video data is identified with second main broadcaster, comprising:
Second server sends the first main broadcaster corresponding video data of mark and second main broadcaster mark is corresponding Video data is to first server;
First main broadcaster is identified corresponding video data to first server and second main broadcaster identifies corresponding view Frequency generates live video data according to being synthesized;
The live video data is sent to the terminal device for being unsatisfactory for preset condition by first server.
First main broadcaster is identified corresponding video data and institute by A6, method as described in a5, the first server The corresponding video data of the second main broadcaster mark is stated to synthesize, comprising:
Determine that first main broadcaster identifies corresponding video data and the second main broadcaster identifies the size of corresponding video data Percent information;
The size that second main broadcaster identifies corresponding video data is adjusted according to the dimension scale information;
The second main broadcaster that first main broadcaster identifies corresponding video data and correspondingly-sized is identified into corresponding video counts According to being synthesized.
A7, method as described in a1, further includes:
Third server receives even wheat termination instruction, by the terminal device for meeting preset condition by the second service Device switches back into the first server.
The embodiment of the invention also discloses B8, a kind of live broadcast system, the live broadcast system includes first server, the second clothes Business device and third server, in which:
The first server identifies corresponding video data for obtaining the first main broadcaster, and is transferred to each viewing user Terminal device;
The third server will meet the end of preset condition for receiving the corresponding even wheat instruction of the first main broadcaster mark End equipment is switched to second server;
The second server identifies corresponding video data for receiving first main broadcaster, and receives the company The second main broadcaster identifies corresponding video data in wheat instruction;And first main broadcaster is identified into corresponding video data and described Second main broadcaster identifies corresponding video data, is sent to the terminal device for meeting preset condition.
B9, the device as described in B8,
The third server determines full for receiving the corresponding even wheat instruction of the first main broadcaster mark according to version information The terminal device of sufficient preset condition;The terminal device for meeting preset condition is switched to second server, and by described One main broadcaster mark and the even wheat instruction are sent to second server.
B10, the device as described in B9,
The second server, for obtaining the second main broadcaster mark from the even wheat instruction;Receive first main broadcaster Corresponding video data is identified, and receives second main broadcaster and identifies corresponding video data.
B11, the device as described in B8,
The first server is also used to forward the first main broadcaster mark for the terminal device for being unsatisfactory for preset condition Know corresponding video data and second main broadcaster identifies corresponding video data.
B12, device as described in b11,
The second server identifies corresponding video data and second main broadcaster mark for sending first main broadcaster Corresponding video data is known to first server;
The first server, for first main broadcaster to be identified corresponding video data and second main broadcaster mark Corresponding video data is synthesized, and live video data is generated;And the live video data is sent to be unsatisfactory for it is pre- If the terminal device of condition.
B13, as described in B12 device,
The first server, for determining that first main broadcaster identifies corresponding video data and the second main broadcaster mark pair The dimension scale information for the video data answered;Second main broadcaster, which is adjusted, according to the dimension scale information identifies corresponding video The size of data;The second main broadcaster that first main broadcaster identifies corresponding video data and correspondingly-sized is identified into corresponding video Data are synthesized.
B14, the device as described in B8,
The third server is also used to the company's of reception wheat termination instruction, and the terminal device for meeting preset condition is cut Gain the first server.
The embodiment of the invention also discloses C15, a kind of server, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that the server executes the processing method based on live streaming as described in one or more in A1-A7.
The embodiment of the invention also discloses D16, one or more machine readable medias, instruction are stored thereon with, when by one When a or multiple processors execute, so that server executes the processing side based on live streaming as described in one or more in A1-A7 Method.

Claims (16)

1. a kind of processing method based on live streaming, is applied to live broadcast system, the method includes:
The first main broadcaster is obtained by first server and identifies corresponding video data, and the terminal for being transferred to each viewing user is set It is standby;
Third server receives the corresponding even wheat instruction of the first main broadcaster mark, and the terminal device for meeting preset condition is switched to the Two servers;
First main broadcaster is received by second server and identifies corresponding video data, and receives in the even wheat instruction the Two main broadcasters identify corresponding video data;
First main broadcaster is identified corresponding video data to second server and second main broadcaster identifies corresponding video counts According to being sent to the terminal device for meeting preset condition.
2. the method as described in claim 1, which is characterized in that receive the first main broadcaster by third server and identify corresponding company Wheat instruction, is switched to second server, comprising:
Third server receives the corresponding even wheat instruction of the first main broadcaster mark, and the end for meeting preset condition is determined according to version information End equipment;
The terminal device for meeting preset condition is switched to second server by first server, and by first main broadcaster Mark and the even wheat instruction are sent to second server.
3. method according to claim 2, which is characterized in that described to receive the first main broadcaster mark by second server Corresponding video data, and receive the second main broadcaster in the even wheat instruction and identify corresponding video data, comprising:
Second server obtains the second main broadcaster mark from the even wheat instruction;
It receives first main broadcaster and identifies corresponding video data, and receive second main broadcaster and identify corresponding video counts According to.
4. the method as described in claim 1, which is characterized in that further include:
For the terminal device for being unsatisfactory for preset condition, first main broadcaster is forwarded to identify corresponding video counts by first server Corresponding video data is identified according to second main broadcaster.
5. method as claimed in claim 4, which is characterized in that described to forward the first main broadcaster mark pair by first server The video data answered and second main broadcaster identify corresponding video data, comprising:
Second server sends first main broadcaster and identifies corresponding video data and the corresponding video of second main broadcaster mark Data are to first server;
First main broadcaster is identified corresponding video data to first server and second main broadcaster identifies corresponding video counts According to being synthesized, live video data is generated;
The live video data is sent to the terminal device for being unsatisfactory for preset condition by first server.
6. method as claimed in claim 5, which is characterized in that the first server identifies first main broadcaster corresponding Video data and second main broadcaster identify corresponding video data and synthesize, comprising:
Determine that first main broadcaster identifies corresponding video data and the second main broadcaster identifies the dimension scale of corresponding video data Information;
The size that second main broadcaster identifies corresponding video data is adjusted according to the dimension scale information;
By the second main broadcaster that first main broadcaster identifies corresponding video data and correspondingly-sized identify corresponding video data into Row synthesis.
7. the method as described in claim 1, which is characterized in that further include:
Third server receives even wheat termination instruction, and the terminal device for meeting preset condition is cut by the second server Gain the first server.
8. a kind of live broadcast system, the live broadcast system includes first server, second server and third server, in which:
The first server identifies corresponding video data for obtaining the first main broadcaster, and is transferred to the end of each viewing user End equipment;
The third server sets the terminal for meeting preset condition for receiving the corresponding even wheat instruction of the first main broadcaster mark It is standby to be switched to second server;
The second server identifies corresponding video data for receiving first main broadcaster, and receives the even wheat and refer to The second main broadcaster identifies corresponding video data in showing;And first main broadcaster is identified into corresponding video data and described second Main broadcaster identifies corresponding video data, is sent to the terminal device for meeting preset condition.
9. system as claimed in claim 8, which is characterized in that
The third server identifies corresponding even wheat instruction for receiving the first main broadcaster, determines that satisfaction is pre- according to version information If the terminal device of condition;The terminal device for meeting preset condition is switched to second server, and main by described first It broadcasts mark and the even wheat instruction is sent to second server.
10. system as claimed in claim 9, which is characterized in that
The second server, for obtaining the second main broadcaster mark from the even wheat instruction;Receive the first main broadcaster mark Corresponding video data, and receive second main broadcaster and identify corresponding video data.
11. system as claimed in claim 8, which is characterized in that
The first server is also used to forward the first main broadcaster mark pair for the terminal device for being unsatisfactory for preset condition The video data answered and second main broadcaster identify corresponding video data.
12. system as claimed in claim 11, which is characterized in that
The second server identifies corresponding video data and second main broadcaster mark pair for sending first main broadcaster The video data answered is to first server;
The first server, for first main broadcaster to be identified corresponding video data and second main broadcaster mark correspondence Video data synthesized, generate live video data;And the live video data is sent to and is unsatisfactory for default item The terminal device of part.
13. system as claimed in claim 12, which is characterized in that
The first server, for determining that first main broadcaster identifies corresponding video data and the second main broadcaster mark is corresponding The dimension scale information of video data;Second main broadcaster, which is adjusted, according to the dimension scale information identifies corresponding video data Size;The second main broadcaster that first main broadcaster identifies corresponding video data and correspondingly-sized is identified into corresponding video data It is synthesized.
14. system as claimed in claim 8, which is characterized in that
The third server is also used to the company's of reception wheat termination instruction, and the terminal device for meeting preset condition is switched back into The first server.
15. a kind of server, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made It obtains the server and executes such as the processing method of any of claims 1-7 based on live streaming.
16. one or more machine readable medias, are stored thereon with instruction, when executed by one or more processors, so that Server executes such as the processing method of any of claims 1-7 based on live streaming.
CN201711095217.5A 2017-11-08 2017-11-08 A kind of processing method based on live streaming, device and server Active CN107911707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711095217.5A CN107911707B (en) 2017-11-08 2017-11-08 A kind of processing method based on live streaming, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711095217.5A CN107911707B (en) 2017-11-08 2017-11-08 A kind of processing method based on live streaming, device and server

Publications (2)

Publication Number Publication Date
CN107911707A CN107911707A (en) 2018-04-13
CN107911707B true CN107911707B (en) 2019-09-17

Family

ID=61843847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711095217.5A Active CN107911707B (en) 2017-11-08 2017-11-08 A kind of processing method based on live streaming, device and server

Country Status (1)

Country Link
CN (1) CN107911707B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719416A (en) * 2019-09-30 2020-01-21 咪咕视讯科技有限公司 Live broadcast method, communication equipment and computer readable storage medium
CN110958464A (en) * 2019-12-11 2020-04-03 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, server, terminal and storage medium
CN114554129B (en) * 2020-11-25 2023-10-31 北京字节跳动网络技术有限公司 Wheat connecting system, method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331754A (en) * 2016-08-18 2017-01-11 北京奇虎科技有限公司 Method of via-microphone live broadcast in live Internet broadcast, and anchor-side device
CN107027048A (en) * 2017-05-17 2017-08-08 广州市千钧网络科技有限公司 A kind of live even wheat and the method and device of information displaying

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170163761A1 (en) * 2015-12-07 2017-06-08 Le Holdings (Beijing) Co., Ltd. Method, device and system for obtaining live video
CN106303657A (en) * 2016-08-18 2017-01-04 北京奇虎科技有限公司 A kind of even method that wheat is live and main broadcaster's end equipment
CN106303586A (en) * 2016-08-18 2017-01-04 北京奇虎科技有限公司 A kind of method of network direct broadcasting, main broadcaster's end equipment, viewer end equipment
CN106454537B (en) * 2016-10-14 2020-04-14 广州华多网络科技有限公司 Video live broadcast method and related equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331754A (en) * 2016-08-18 2017-01-11 北京奇虎科技有限公司 Method of via-microphone live broadcast in live Internet broadcast, and anchor-side device
CN107027048A (en) * 2017-05-17 2017-08-08 广州市千钧网络科技有限公司 A kind of live even wheat and the method and device of information displaying

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络直播的特点及发展;李文立;《数字传媒研究》;20160815;第33卷(第8期);74-76页

Also Published As

Publication number Publication date
CN107911707A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN106101736B (en) A kind of methods of exhibiting and system of virtual present
CN105430424B (en) A kind of methods, devices and systems of net cast
CN110139139A (en) A kind of method for processing business, terminal, server and Related product
CN103905885B (en) Net cast method and device
CN104918124A (en) Live interaction system, information transmission method, information receiving method and device
CN104883358A (en) Interaction method and device based on recommended content
CN108055490B (en) Video processing method and device, mobile terminal and storage medium
CN105828145A (en) Interaction method and interaction device
CN104571979B (en) A kind of method and apparatus for realizing split view
CN106131692B (en) Interactive control method, device and server based on net cast
CN104159159A (en) Interactive method and system based on video as well as terminal and server
CN104820665A (en) Method, terminal and server for exhibiting recommendation information
CN106095387B (en) A kind of the audio setting method and terminal of terminal
CN107911707B (en) A kind of processing method based on live streaming, device and server
CN107995024A (en) A kind of device management method, device, server and storage medium
CN108024123A (en) A kind of live video processing method, device, terminal device and server
CN107943686A (en) A kind of test dispatching method, apparatus, server and storage medium
CN108055567A (en) A kind of method for processing video frequency, device, terminal device and storage medium
CN107741812B (en) A kind of method and terminal handling media file
CN108574778A (en) Throw screen brightness adjusting method and Related product
CN105516784A (en) Virtual good display method and device
CN108228120A (en) A kind of multi-screen ganged method and system under AR scenes
CN109327672A (en) A kind of video call method and terminal
CN106791916B (en) Method, device and system for recommending audio data
CN105430448B (en) A kind of the control processing method and video player client of video player

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