Movatterモバイル変換


[0]ホーム

URL:


CN110213628A - Direct broadcasting room distribution method and server - Google Patents

Direct broadcasting room distribution method and server
Download PDF

Info

Publication number
CN110213628A
CN110213628ACN201810458124.2ACN201810458124ACN110213628ACN 110213628 ACN110213628 ACN 110213628ACN 201810458124 ACN201810458124 ACN 201810458124ACN 110213628 ACN110213628 ACN 110213628A
Authority
CN
China
Prior art keywords
direct broadcasting
broadcasting room
audio
video collection
collection end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810458124.2A
Other languages
Chinese (zh)
Other versions
CN110213628B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201810458124.2ApriorityCriticalpatent/CN110213628B/en
Publication of CN110213628ApublicationCriticalpatent/CN110213628A/en
Application grantedgrantedCritical
Publication of CN110213628BpublicationCriticalpatent/CN110213628B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a kind of direct broadcasting room distribution methods, this method comprises: receiving the live streaming request that audio-video collection end is sent, property parameters are met to the direct broadcasting room of preset condition created, it is confirmed as that direct broadcasting room can be distributed, according to default allocation rule, direct broadcasting room is distributed for audio-video collection end from that can distribute in direct broadcasting room.The embodiment of the invention also discloses a kind of servers, and the efficiency of distribution direct broadcasting room resource can be improved.

Description

Direct broadcasting room distribution method and server
Technical field
The invention belongs to field of computer technology more particularly to a kind of direct broadcasting room distribution method and servers.
Background technique
In direct broadcasting room distribution, in particular moment, direct broadcasting room resource shows unique dependence to resource user, i.e.,It can only serve some specific resource user, existing direct broadcasting room point in specific a certain moment a certain direct broadcasting room resourceWith algorithm there are distinct disadvantage, i.e., existing direct broadcasting room resource be it is static, can not dynamically distribute, utilization efficiency is lower, exists straightA resource allocation pond exhaustion risk is broadcast, is a kind of hiding limitation to direct broadcasting room resource product ability.
In existing direct broadcasting room distribution technique, the distribution logic of direct broadcasting room is the preparatory manual allocation certain amount live streaming of systemBetween, for users to use, user can enter direct broadcasting room by certain way, use direct broadcasting room resource.
Above-mentioned technology needs to allocate in advance a certain number of direct broadcasting rooms, but still needs manpower intervention, and efficiency is relatively low.
Summary of the invention
The present invention provides a kind of direct broadcasting room distribution method and server, can solve and needs people when distributing between being broadcast liveWork intervention distribution, caused by the low problem of allocative efficiency.
First aspect of the embodiment of the present invention provides a kind of direct broadcasting room distribution method, comprising:
Receive the live streaming request that audio-video collection end is sent;
The direct broadcasting room created that property parameters are met to preset condition according to the live streaming request, is confirmed as to distribute straightBetween broadcasting;
It is the audio-video collection end distribution direct broadcasting room from described distribute in direct broadcasting room according to default allocation rule.
A kind of server that second aspect of the embodiment of the present invention provides, comprising:
Receiving module, for receiving the live streaming request of audio-video collection end transmission;
Confirmation module, for according to live streaming request, property parameters to be met to the direct broadcasting room of preset condition created,It is confirmed as that direct broadcasting room can be distributed;
Distribution module, for being the audio-video collection end from described distribute in direct broadcasting room according to allocation rule is presetDistribute direct broadcasting room.
From the embodiments of the present invention it is found that direct broadcasting room distribution method provided by the invention and server, when receiving soundProperty parameters are met the direct broadcasting room of preset condition created, are confirmed as by the live streaming request that video acquisition end is sent, serverDirect broadcasting room can be distributed, according to default allocation rule, distributes direct broadcasting room from that can distribute in direct broadcasting room for audio-video collection end, it can be moreReasonably using direct broadcasting room resource has been distributed, it is intelligently automatically performed distribution, reduces cost of labor, improves allocative efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show belowThere is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only thisSome embodiments of invention for those skilled in the art without any creative labor, can be with rootOther attached drawings are obtained according to these attached drawings.
Fig. 1 is the application scenarios schematic diagram of direct broadcasting room distribution method in the embodiment of the present invention;
Fig. 2 is the flow diagram for the direct broadcasting room distribution method that one embodiment of the invention provides;
Fig. 3 is the interface schematic diagram of the creation direct broadcasting room of one specific example of the present invention;
Fig. 4 be another embodiment of the present invention provides direct broadcasting room distribution method flow diagram;
Fig. 5 is the interface for prompting the audio-video collection end to be allocated such as current to wait direct broadcasting room distribution in the embodiment of the present inventionSchematic diagram;
Fig. 6 is the interface schematic diagram that middle pitch of embodiment of the present invention video acquisition end shows default allocation rule;
Fig. 7 is the structural schematic diagram for the server that one embodiment of the invention provides;
Fig. 8 be another embodiment of the present invention provides server structural schematic diagram.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present inventionAttached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described realityApplying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, those skilled in the artMember's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It is terminal distribution direct broadcasting room that the application scenarios of the following embodiment of the present invention, which are by server,.As shown in Figure 1, clothesBusiness device 10 includes resource pool module 11, resource distribution module 12 and resource reclaim module 13.Server 10 and terminal 20 pass through netNetwork connects, built-in live streaming class APP in terminal 20, when the direct broadcasting room for receiving the live streaming class APP transmission being currently running in terminal 20When distribution request, alternatively, changing when getting direct broadcasting room service condition in the live streaming class APP being currently running in terminal 20When, server 10 distributes direct broadcasting room according to direct broadcasting room distribution method provided in this embodiment.Server 10 is server or serviceDevice cluster;Terminal 20 includes the end with audio-video collection function such as PC (personal computer) and mobile phone, tablet computerEnd, terminal 20 can also have the function of audio and video playing simultaneously.
It is built-in with live streaming class APP in terminal side, which provides live streaming platform, and user can pass through the side of registrationFormula logs in the live streaming platform, is broadcast live with the identity of main broadcaster or with the identity viewing live streaming of spectators, can also pass through tourist'sIdentity is broadcast live without logging into directly being watched with the identity of spectators.When main broadcaster is broadcast live, audio-video collection end is sent out to server 10Live data is sent, when spectators, which watch, to be broadcast live, the live data is requested to server 10 in audio and video playing end.
Creation has resource pool module 11 in the system of server 10, is stored in resource pool module 11 all in systemDirect broadcasting room resource, the direct broadcasting room resource are the direct broadcasting room that can distribute, the quantity of the direct broadcasting room of storage can be limited to 32 it is wholeType number or 64 integers.First resource pond module 11, the resource pool after creation need to be only created in system initializationModule 11 is responsible for the direct broadcasting room resource in management system, and allocated direct broadcasting room resource can be with duplicate allocation, resource distribution moduleIt is preset with priority algorithm in 12, the priority of direct broadcasting room can be distributed according to priority algorithm confirmation, and distribute according to priorityThis can distribute direct broadcasting room.Resource reclaim module 13 puts the direct broadcasting room resource of recycling for recycling allocated direct broadcasting room resourceEnter resource pool module 11, as direct broadcasting room can be distributed, waits lower sub-distribution.The side of the recycling direct broadcasting room resource of resource reclaim module 13Formula includes actively recycling and passive recycling, wherein actively recycling is suitable for the allocated direct broadcasting room without any user, i.e., at thisThe audio-video collection end of propelling data is not present in direct broadcasting room, also there is no broadcast to the audio-video of audio-video collection end request dataPut end.Passive recycling is suitable for because the system in preset time period and audio-video collection end and audio and video playing end are out of touch, andCause allocated direct broadcasting room inactivation, for example, in direct broadcasting room audio-video collection end and audio and video playing end at interval of 1 minute allHeartbeat can be sent to server 10, when no longer receiving any heartbeat in 30 minutes, then it is assumed that direct broadcasting room inactivation forces recyclingThe allocated direct broadcasting room.Passive way of recycling is that the supplement of active way of recycling is avoided and distributed in abnormal casesThe direct broadcasting room wasting of resources.
The description of the specific technical solution of direct broadcasting room distribution method in the present embodiment is referring to following each embodiments.
Fig. 2 is referred to, Fig. 2 is the flow diagram for the direct broadcasting room distribution method that one embodiment of the invention provides, this methodInclude:
S101, the live streaming request that audio-video collection end is sent is received;
Audio-video collection end sends live streaming request to server, and live streaming request is that the audio-video is adopted for request serverCollect end and distributes direct broadcasting room.
It should be noted that user sends live data by audio-video collection end with main broadcaster's identity when progress is broadcast live,User requests live data by audio and video playing end with viewer identity, to watch live streaming.Generally, user is with the identity of main broadcasterIt is broadcast live, needs to log in live streaming platform, the identity of audio-video collection end and user are bound;User is watched with viewer identityLive streaming, can log in live streaming platform, can also watch live streaming without logging into the identity of tourist.Server can be by collecting main broadcasterThe behavioural informations such as behavioural information, such as live streaming, viewing as main broadcaster, the priority with the audio-video collection end of main broadcaster's bindingInstallation warrants.
Referring to Fig. 3, user requests point of the direct broadcasting room of live game " who is planted agent " with main broadcaster's identity in mobile terminal sideTiming, interface as shown in Figure 3, user can trigger server by click " creation room " and distribute direct broadcasting room.
S102, the direct broadcasting room created that property parameters are met to preset condition is requested according to the live streaming, be confirmed as to divideWith direct broadcasting room;
When server receives live streaming request, the property parameters of each direct broadcasting room are obtained, property parameters are to can define live streamingBetween attribute some parameters, including direct broadcasting room state parameter, direct broadcasting room customer parameter, direct broadcasting room priority etc..
Wherein, direct broadcasting room state parameter refers to direct broadcasting room currently whether in use state, for example whether there are the live streamingsBetween the corresponding audio-video collection end to server push live data, then the direct broadcasting room is in main broadcaster's use state if it exists,Direct broadcasting room state parameter can there are many forms to indicate, is represented by live streaming use state at this time;Further, in the direct broadcasting roomWhether corresponding audio and video playing end to server request live data is existed simultaneously, and if it exists, then the direct broadcasting room is also atUser's use state, direct broadcasting room state parameter are represented by main broadcaster's use state, while being in user's use state.
Direct broadcasting room customer parameter refers to that the user type of direct broadcasting room, user type can be divided into main broadcaster and spectators, wherein main broadcasterStar main broadcaster and common main broadcaster can be divided into, spectators, which can be divided into registration spectators and tourist, spectators, can also be divided into VIP(VeryImportantPerson) spectators and General Visitors.Different user types corresponds to different parameter values.
The distribution priority of direct broadcasting room priority indication direct broadcasting room can send preset kind data according to audio and video playing endData volume confirmation distribution priority, send preset kind data data volume it is bigger, distribution priority it is higher.Specifically, in advanceIf categorical data can be virtual present data, that is, indicate that spectators give the data of main broadcaster's present, what audio and video playing end was sentVirtual present data are more, indicate that main broadcaster in the direct broadcasting room and audience interaction atmosphere are better, compared to sending virtual present numberAccording to few settable higher distribution priority of direct broadcasting room.Preset kind data can also be the request for requesting live dataData, the request data is more, illustrates that the spectators of the direct broadcasting room are more, and compared to sending, the few direct broadcasting room of request data is settableHigher distribution priority.
Server analysis obtains the property parameters of each direct broadcasting room, and property parameters are met to the live streaming of preset condition createdBetween, it is confirmed as that direct broadcasting room can be distributed.It is to be not present in the direct broadcasting room created to server that property parameters, which meet preset condition,The audio-video collection end of live data is sent, further, property parameters, which meet preset condition, can also be that this has been created straightThere is no the audio-video collection ends that live data is sent to server between broadcasting, while existing in the direct broadcasting room and asking to serverAsk the audio and video playing end of live data.Such direct broadcasting room is allocated, direct broadcasting room utilization rate can be improved, while being also convenient for pushing awayNext main broadcaster after wide distribution, while the seamless connection of live streaming also may be implemented, improve the viewing experience of spectators.
S103, basis preset allocation rule, distribute direct broadcasting room from that can distribute in direct broadcasting room for audio-video collection end.
Allocation rule is preset in systems, the allocation rule can include: is distributed according to the distribution priority of direct broadcasting roomDirect broadcasting room, alternatively, the distribution priority according to audio-video collection end distributes direct broadcasting room.
In the embodiment of the present invention, when the live streaming request for receiving the transmission of audio-video collection end, server accords with property parametersThe direct broadcasting room created for closing preset condition, is confirmed as that direct broadcasting room can be distributed, according to default allocation rule, from can distribute direct broadcasting roomIn for audio-video collection end distribute direct broadcasting room, can be intelligently automatically performed point more reasonably using direct broadcasting room resource has been distributedMatch, reduce cost of labor, improves allocative efficiency.
Refer to Fig. 4, Fig. 4 be another embodiment of the present invention provides direct broadcasting room distribution method, this method comprises:
S201, the live streaming request that audio-video collection end is sent is received;
When user is broadcast live with main broadcaster's identity, adopted by terminal with audio-video collection function namely audio-videoCollect end, send live streaming request to server, is that direct broadcasting room is distributed at the audio-video collection end for request server.
S202, it is requested according to the live streaming, by there is currently no to the audio-video collection end of server push live data, andIn the presence of the direct broadcasting room created at the audio and video playing end for requesting the live data to server, it is confirmed as that direct broadcasting room can be distributed;
When server receives live streaming request, by there is currently no the audio-video collections to server push live dataEnd, and there is the direct broadcasting room created at the audio and video playing end that the live data is requested to server, it is confirmed as to distribute straightBetween broadcasting, that is, will not there is no main broadcaster in direct broadcasting room, but there is the direct broadcasting room of spectators created to be confirmed as that direct broadcasting room can be distributed.
It is further possible to also not deposited there is currently no to the audio-video collection end of server push live dataThe direct broadcasting room created at the audio and video playing end for requesting from the live data to server is confirmed as that direct broadcasting room can be distributed, that is,To not there is no main broadcaster in direct broadcasting room, also the direct broadcasting room of spectators created is not confirmed as that direct broadcasting room can be distributed.
S203, basis preset allocation rule, distribute direct broadcasting room from that can distribute in direct broadcasting room for audio-video collection end;
Distributed according to default allocation rule, from can distribute distribute direct broadcasting room in direct broadcasting room for audio-video collection end specifically can be withAre as follows:
According to preset priority algorithm and the property parameters that can distribute direct broadcasting room, the distribution that confirmation can distribute direct broadcasting room is excellentFirst grade, the preset priority algorithm are used to calculate the distribution priority of direct broadcasting room.And the sequence according to priority from high to low,Direct broadcasting room is distributed from that can distribute in direct broadcasting room for audio-video collection end.Priority algorithm is preset in the server, specifically may be usedTo be arranged in resource distribution module 12, or it is arranged in other modules of server, this is transferred by resource distribution module 12Priority algorithm confirms that this can distribute the distribution priority of direct broadcasting room in conjunction with the property parameters that can distribute direct broadcasting room.Distribution is preferentialGrade is higher to distribute direct broadcasting room, more preferential distribution.Conversely, distribution priority it is lower distribute direct broadcasting room, distribute more rearward.
Specifically, the weight information that can distribute audio and video playing end in direct broadcasting room is obtained, which is that audio-video is broadcastThe information that end is sent to the weight for confirming audio and video playing end of server is put, according to the weight information, calculating can respectively be distributedThe audio and video playing end proportion of default weight type in direct broadcasting room in audio and video playing end, according to the preset priorityAlgorithm and the proportion, confirmation can distribute the distribution priority of direct broadcasting room, wherein proportion and point that can distribute direct broadcasting roomIt is directly proportional with priority.
In practical applications, which specifically can be the gift sent in the case where spectators give to the scene of main broadcaster's presentThe corresponding data of object.It can be distributed in direct broadcasting room at one, spectators' proportion of gifts is bigger, can distribute point of direct broadcasting roomIt is higher with priority.
For example, can currently distribute in direct broadcasting room, the number for increasing the spectators for object of giving gifts is a, the number of total spectators in direct broadcasting roomFor b, wherein a≤b.
As b > 0, direct broadcasting room distribution priority algorithm, the proportion and this can distribute direct broadcasting room distribution it is excellentThe relationship of first grade are as follows:
Highest priority: a=b;
Second priority: 80%≤1- (b-a)/b < 100%;
Third priority: 40%≤1- (b-a)/b < 80%;
4th priority: 1- (b-a)/b < 40%;
More than, highest priority, the second priority, the distribution priority orders of third priority and the 4th priority be byIt is high to Low.
The preset priority algorithm can be there are many kinds of algorithm, as long as meeting, calculated result is the proportion and this canThe distribution priority for distributing direct broadcasting room is directly proportional, that is, falls within the protection scope of the embodiment of the present invention.Priority algorithm is matchedSetting, the parameter by changing priority algorithm are the distribution of changeable direct broadcasting room resource, realize the dynamic point of direct broadcasting room resourceMatch, increases the flexibility of server distribution direct broadcasting room resource.
When only one audio-video collection end sends live streaming request to server, priority can be distributed in direct broadcasting room mostHigh distributes to the audio-video collection end as direct broadcasting room.
It is suitable according to the time for sending live streaming request when there is multiple audio-video collection ends to send live streaming request to serverSequence, using can distribute priority in direct broadcasting room according to from high to low be sequentially assigned to each audio-video collection end as direct broadcasting room.IntoOne step, if the quantity that can distribute direct broadcasting room is less than the quantity for sending the audio-video collection end of live streaming request, prompt unallocatedAudio-video collection end to direct broadcasting room etc. is to be allocated and prompts the waiting time.Wherein, the waiting time is divided according to current waitThe audio-video collection end matched, the waiting in the audio-video collection ends to be allocated such as allTagmemeAnd it is being broadcast live eachWhat the live streaming end time of direct broadcasting room obtained, that is, obtain the audio-video collection end to be allocated such as current all etc. to be allocatedWaiting tagmeme in audio-video collection end obtains the end for terminating tagmeme direct broadcasting room identical with the waiting tagmeme for terminating live streamingThe time is broadcast live, the end live streaming time of the acquisition is that can distribute to the audio-video collection end direct broadcasting room to be allocated such as currentWaiting time.
One example: the audio-video collection end to be allocated such as current is obtained in the audio-video collection ends to be allocated such as allWaiting tagmeme, which is the 5th, that is, to be allocated there are also 4 etc. before the audio-video collection end to be allocated such as currentAudio-video collection end, obtain the end live streaming time for terminating identical with the waiting tagmeme direct broadcasting room of tagmeme for terminating live streaming,That is, the end live streaming time for obtaining the direct broadcasting room that end tagmeme is the 5th is 22 o'clock sharps of on October 31st, 2018, then prompt is currentThe waiting live streaming direct broadcasting room distribution time etc. audio-video collection end to be allocated is 22 o'clock sharps of on October 31st, 2018, alternatively, meterThe time difference for calculating current time and 22 o'clock sharps on the 31st October in 2018 prompts the sound to be allocated such as current in the form of countdownVideo acquisition end.Specific as shown in Figure 5: showing in the center of mobile terminal display screen " currently there is no idle direct broadcasting room canDistribution, please bear with " prompt information, mobile terminal display screen top position scrolling display " distance can distribute live streamingBetween time be 10 minutes " prompt information.
Further, when sending live data there are audio-video collection end between current live, if the history between current liveAudio-video collection end sends live streaming request, then distributes other direct broadcasting rooms for the history audio-video collection end, and be broadcast live in this priorInterior transmission prompt information, the prompt information include the information of direct broadcasting room where the history audio-video collection end.That is, A main broadcaster exists1 is broadcast live between current live, if 1 former main broadcaster B main broadcaster sends live streaming request between current live, in addition divides for B main broadcasterWith a direct broadcasting room 2,1 between current live in play cuing information, prompt the spectators between current live in 1: B main broadcaster is being broadcast liveBetween 2 be broadcast live, the chance of more more options can be provided for spectators, while improving the conservation rate of the spectators of main broadcaster.
According to default allocation rule, from can distribute distribute direct broadcasting room in direct broadcasting room for audio-video collection end specifically can be withAre as follows:
According to the distribution priority sequence from high to low at audio-video collection end, distribution can respectively distribute direct broadcasting room.Audio-videoCollection terminal is also provided with distribution priority, the higher audio-video collection end of distribution priority, more preferential distribution direct broadcasting room.Audio-video is adoptedCollect end distribution priority can according to the logging state at audio-video collection end, the data content of acquisition, obtain when being broadcast liveThe data volume etc. of the preset kind data that audio and video playing end is sent confirmed, specifically, the login at audio-video collection endState includes log duration, login times, login frequency etc., and log duration is longer, login times are more or it is higher to log in frequencyAudio-video collection end distribution priority it is higher, alternatively, log duration is longer, login times mostly with log in frequency it is higherThe distribution priority at audio-video collection end is higher.It is bad law in the data content of the acquisition at audio-video collection end, regulation, public sequenceThe content of good custom is fewer, and the distribution priority at audio-video collection end is higher.What the audio and video playing end obtained in live streaming was sentThe data volume of the preset kind data is bigger, and the distribution priority at audio-video collection end is higher, indicates that more spectators are seeing at this timeThe live streaming of the main broadcaster is seen, alternatively, indicating more spectators to main broadcaster's gifts.
Such basis of both the above presets allocation rule distribution, straight for the distribution of audio-video collection end in direct broadcasting room from that can distributeThe method of salary distribution between broadcasting avoids the limitation of direct broadcasting room Yu the one-to-one binding of main broadcaster, improves the flexibility of distribution.
Further, as shown in fig. 6, server pushes the default allocation rule to the terminal at built-in audio-video collection end,This is preset allocation rule and shown on the interface of audio-video collection end creation direct broadcasting room by terminal.
If confirming that this can distribute direct broadcasting room without corresponding priority according to the preset priority algorithm, indicating that this can divideThe condition preferentially distributed is not met with direct broadcasting room, then divides direct broadcasting room as can distribute direct broadcasting room from can distribute in direct broadcasting room pond;Alternatively, the not default distribution priority in current audio-video collection end, also illustrates that this can distribute direct broadcasting room and not meet the item preferentially distributedPart can distribute direct broadcasting room from that can distribute division direct broadcasting room conduct in direct broadcasting room pond.
S204, the allocated direct broadcasting room resource of recycling are that can distribute direct broadcasting room.
Recycling allocated direct broadcasting room resource includes the following two kinds mode:
Active way of recycling: recycling there is no to server send live data audio-video collection end, also there is no toServer requests the direct broadcasting room created at the audio and video playing end of live data, as can distribute direct broadcasting room.That is, recycling does not haveMain broadcaster's also not no direct broadcasting room of spectators, as direct broadcasting room can be distributed.
Passive way of recycling: the preset kind that the audio-video collection end of allocated direct broadcasting room and audio and video playing end are sentInformation, the information of preset kind is that can confirm the information kept in touch, and does not receive the letter of the preset kind in preset durationBreath, then recycling and having distributed direct broadcasting room is that can distribute direct broadcasting room.Passive supplement recycling side of the way of recycling as active way of recyclingFormula can reduce the probability of missed that can distribute direct broadcasting room, improve the stability of direct broadcasting room distribution.
For example, periodically or non-periodically sending heartbeat message, heartbeat letter to system after main broadcaster and spectators enter direct broadcasting roomWhether breath can reflect user online.The preset duration is 30 minutes, is not received in 30 minutes into any of the direct broadcasting roomThe heartbeat message of user indicates that the direct broadcasting room has inactivated, then recycling the direct broadcasting room is that can distribute direct broadcasting room.
For another example: after main broadcaster and spectators enter direct broadcasting room, which can be specially speech information or information of giving gifts, the speechWhether information or information of giving gifts can reflect user online.Due to information or the information of giving gifts of making a speech, used not as good as heartbeat message reflectionThe whether online accuracy in family, therefore the setting of the preset duration can be extended, the reflection of speech information or information of giving gifts can be improvedAccuracy.Such as by the preset duration be 40 minutes, do not receive the speech into any user of the direct broadcasting room in 40 minutesInformation or information of giving gifts indicate that the direct broadcasting room has inactivated, then recycling the direct broadcasting room is that can distribute direct broadcasting room.
In the embodiment of the present invention, when the live streaming request for receiving the transmission of audio-video collection end, server accords with property parametersThe direct broadcasting room created for closing preset condition, is confirmed as that direct broadcasting room can be distributed, according to default allocation rule, from can distribute direct broadcasting roomIn for audio-video collection end distribute direct broadcasting room, can be intelligently automatically performed point more reasonably using direct broadcasting room resource has been distributedMatch, reduce cost of labor, improves allocative efficiency.And it is preferentially to distribute the direct broadcasting room created, is not related in resource pool moduleDirect broadcasting room resource, reduce resource pool module resource exhaustion risk, therefore, there is no need to continue monitoring resource pool module in dividedRatio with resource shared by direct broadcasting room reduces monitoring cost.
Refer to Fig. 7, Fig. 7 is the server that one embodiment of the invention provides, which includes: receiving module 701, reallyRecognize module 702 and distribution module 703;
Receiving module 701, for receiving the live streaming request of audio-video collection end transmission;
Property parameters are met the live streaming of preset condition created for requesting according to the live streaming by confirmation module 702Between, it is confirmed as that direct broadcasting room can be distributed;
Distribution module 703, for that can be distributed in direct broadcasting room as the audio-video collection end point from this according to allocation rule is presetWith direct broadcasting room.
Techniques not described details in the embodiment of the present invention, it is no longer superfluous herein referring to earlier figures 2, embodiment illustrated in fig. 4It states.
In the embodiment of the present invention, when the live streaming request for receiving the transmission of audio-video collection end, server accords with property parametersThe direct broadcasting room created for closing preset condition, is confirmed as that direct broadcasting room can be distributed, according to default allocation rule, from can distribute direct broadcasting roomIn for audio-video collection end distribute direct broadcasting room, can be intelligently automatically performed point more reasonably using direct broadcasting room resource has been distributedMatch, reduce cost of labor, improves allocative efficiency.
Refer to Fig. 8, Fig. 8 be another embodiment of the present invention provides server, the service provided with embodiment illustrated in fig. 7Device the difference is that:
Distribution module 703 is also used to be requested according to the live streaming, by there is currently no send live data to the serverThe direct broadcasting room created at audio-video collection end is confirmed as that direct broadcasting room can be distributed;
Distribution module 703 is also used to be requested according to the live streaming, by there is currently no send live data to the serverAudio-video collection end, and there is the direct broadcasting room created at the audio and video playing end that the live data is requested to the server, reallyThink that direct broadcasting room can be distributed.
Further, distribution module 703 includes:
Confirm submodule 7031, for the property parameters of direct broadcasting room can be distributed with this according to preset priority algorithm, reallyThe distribution priority of direct broadcasting room can be distributed by recognizing this;
Distribution sub module 7032, for the sequence according to the priority from high to low, can distribute from this is to be somebody's turn to do in direct broadcasting roomDirect broadcasting room is distributed at audio-video collection end;
Distribution sub module 7032 is also used to the distribution priority sequence from high to low according to audio-video collection end, from thisIt can distribute in direct broadcasting room and distribute direct broadcasting room for the audio-video collection end.
Distribution module 703 can distribute the weight information at audio and video playing end in direct broadcasting room specifically for obtaining this;According to thisWeight information calculates the audio and video playing end institute accounting that can respectively distribute the default weight type in direct broadcasting room in audio and video playing endWeight;According to the preset priority algorithm and the proportion, confirm that this can distribute the priority of direct broadcasting room;Wherein, this is sharedSpecific gravity is directly proportional to the priority that can distribute direct broadcasting room.
Further, server further include:
Computing module 801, if the quantity for that can distribute direct broadcasting room is less than the audio-video collection end for sending live streaming requestQuantity, then according to the waiting sequence of audio-video collection end to be allocated in the audio-video collection ends to be allocated such as all such as currentPosition, and the live streaming end time of each direct broadcasting room being broadcast live obtain the waiting time;
Cue module 802, for prompting unallocated to be allocated to the audio-video collection end of direct broadcasting room etc. and prompting this etc.To the time;
Pushing module 803, for pushing the default allocation rule to the audio-video collection end, which is shownOn the interface of audio-video collection end creation direct broadcasting room.
Distribution module 703, when being also used between current live send live data there are audio-video collection end, if this is current straightHistory audio-video collection end between broadcasting sends live streaming request, then distributes other direct broadcasting rooms for the history audio-video collection end, andPrompt information is sent in the current direct broadcasting room, which includes the information of direct broadcasting room where the history audio-video collection end.
Distribution module 703, if being also used to confirm that this can distribute direct broadcasting room without corresponding according to the preset priority algorithmThe priority, alternatively, the not default distribution priority in current audio-video collection end, then draw from the direct broadcasting room resource pool being pre-createdDivide direct broadcasting room conduct that can distribute direct broadcasting room.
Techniques not described details in the embodiment of the present invention, referring to earlier figures 2, Fig. 4, embodiment illustrated in fig. 7, herein notIt repeats again.
In the embodiment of the present invention, when the live streaming request for receiving the transmission of audio-video collection end, server accords with property parametersThe direct broadcasting room created for closing preset condition, is confirmed as that direct broadcasting room can be distributed, according to default allocation rule, from can distribute direct broadcasting roomIn for audio-video collection end distribute direct broadcasting room, can be intelligently automatically performed point more reasonably using direct broadcasting room resource has been distributedMatch, reduce cost of labor, improves allocative efficiency.And it is preferentially to distribute the direct broadcasting room created, is not related in resource pool moduleDirect broadcasting room resource, reduce resource pool module resource exhaustion risk, therefore, there is no need to continue monitoring resource pool module in dividedRatio with resource shared by direct broadcasting room reduces monitoring cost.
In multiple embodiments provided herein, it should be understood that disclosed method and server can pass throughOther modes are realized.For example, the embodiment of server described above is only schematical, for example, the moduleIt divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple module or componentsIt can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown orThe mutual coupling or direct-coupling or communication linkage discussed can be through some interfaces, the indirect coupling of device or moduleConjunction or communication linkage can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as moduleThe component shown may or may not be physical module, it can and it is in one place, or may be distributed over multipleOn network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in a processing moduleIt is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mouldBlock both can take the form of hardware realization, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent productWhen, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantiallyThe all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other wordsIt embodies, which is stored in a storage medium, including some instructions are used so that a computerEquipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present inventionPortion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory, random access memory, magnetic diskOr the various media that can store program code such as CD.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series ofCombination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described becauseAccording to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also knowIt knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this hairNecessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodimentPoint, it may refer to the associated description of other embodiments.
The above are the descriptions to direct broadcasting room distribution method and server provided by the present invention, for those skilled in the artMember, thought according to an embodiment of the present invention, there will be changes in the specific implementation manner and application range, to sum up, this theoryBright book content should not be construed as limiting the invention.

Claims (14)

CN201810458124.2A2018-05-142018-05-14Live broadcast room distribution method and serverActiveCN110213628B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810458124.2ACN110213628B (en)2018-05-142018-05-14Live broadcast room distribution method and server

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810458124.2ACN110213628B (en)2018-05-142018-05-14Live broadcast room distribution method and server

Publications (2)

Publication NumberPublication Date
CN110213628Atrue CN110213628A (en)2019-09-06
CN110213628B CN110213628B (en)2022-02-18

Family

ID=67778850

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810458124.2AActiveCN110213628B (en)2018-05-142018-05-14Live broadcast room distribution method and server

Country Status (1)

CountryLink
CN (1)CN110213628B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112235593A (en)*2020-10-162021-01-15广州博冠信息科技有限公司Live broadcast processing method and device, electronic equipment and computer readable storage medium
CN113259704A (en)*2021-05-192021-08-13杭州米络星科技(集团)有限公司Method, device and equipment for initializing live broadcast room and storage medium
CN115086689A (en)*2021-03-152022-09-20阿里巴巴新加坡控股有限公司Virtual live broadcast management method, electronic device and computer storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1992621A (en)*2005-12-272007-07-04腾讯科技(深圳)有限公司Method for implementing high capacity network live broadcasting and system thereof
CN103731281A (en)*2013-12-302014-04-16广州华多网络科技有限公司Frequency channel processing method and device
WO2016082281A1 (en)*2014-11-262016-06-02广州华多网络科技有限公司Video studio creating method and service device
CN105791443A (en)*2016-05-132016-07-20武汉斗鱼网络科技有限公司 System and method for providing user service in live broadcast website based on distributed cluster
CN105872640A (en)*2015-12-072016-08-17乐视云计算有限公司Live broadcast video obtaining method, device and system
CN106021478A (en)*2016-05-192016-10-12武汉斗鱼网络科技有限公司Method and apparatus for displaying home page direct broadcast room list in optimized manner through direct broadcast website
KR101667603B1 (en)*2015-05-062016-10-19경희대학교 산학협력단Method, system and chatting server for providing chatting by broadcast channel
CN106993204A (en)*2017-03-292017-07-28武汉斗鱼网络科技有限公司 Method and device for live video broadcast management
CN106993200A (en)*2017-04-182017-07-28腾讯科技(深圳)有限公司A kind of live broadcasting method of data, relevant device and system
CN107592304A (en)*2017-08-292018-01-16武汉斗鱼网络科技有限公司Live Resource Calculation distribution method, storage medium, electronic equipment and system
CN107613309A (en)*2017-08-292018-01-19武汉斗鱼网络科技有限公司 Live resource custom allocation method, storage medium, electronic equipment and system
CN107885578A (en)*2017-11-132018-04-06新华三云计算技术有限公司A kind of resources of virtual machine distribution method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1992621A (en)*2005-12-272007-07-04腾讯科技(深圳)有限公司Method for implementing high capacity network live broadcasting and system thereof
CN103731281A (en)*2013-12-302014-04-16广州华多网络科技有限公司Frequency channel processing method and device
WO2016082281A1 (en)*2014-11-262016-06-02广州华多网络科技有限公司Video studio creating method and service device
KR101667603B1 (en)*2015-05-062016-10-19경희대학교 산학협력단Method, system and chatting server for providing chatting by broadcast channel
CN105872640A (en)*2015-12-072016-08-17乐视云计算有限公司Live broadcast video obtaining method, device and system
CN105791443A (en)*2016-05-132016-07-20武汉斗鱼网络科技有限公司 System and method for providing user service in live broadcast website based on distributed cluster
CN106021478A (en)*2016-05-192016-10-12武汉斗鱼网络科技有限公司Method and apparatus for displaying home page direct broadcast room list in optimized manner through direct broadcast website
CN106993204A (en)*2017-03-292017-07-28武汉斗鱼网络科技有限公司 Method and device for live video broadcast management
CN106993200A (en)*2017-04-182017-07-28腾讯科技(深圳)有限公司A kind of live broadcasting method of data, relevant device and system
CN107592304A (en)*2017-08-292018-01-16武汉斗鱼网络科技有限公司Live Resource Calculation distribution method, storage medium, electronic equipment and system
CN107613309A (en)*2017-08-292018-01-19武汉斗鱼网络科技有限公司 Live resource custom allocation method, storage medium, electronic equipment and system
CN107885578A (en)*2017-11-132018-04-06新华三云计算技术有限公司A kind of resources of virtual machine distribution method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周丹: "多媒体互动直播系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》*

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112235593A (en)*2020-10-162021-01-15广州博冠信息科技有限公司Live broadcast processing method and device, electronic equipment and computer readable storage medium
CN112235593B (en)*2020-10-162022-09-30广州博冠信息科技有限公司Live broadcast processing method and device, electronic equipment and computer readable storage medium
CN115086689A (en)*2021-03-152022-09-20阿里巴巴新加坡控股有限公司Virtual live broadcast management method, electronic device and computer storage medium
CN115086689B (en)*2021-03-152024-04-05阿里巴巴创新公司Virtual live broadcast management method, electronic equipment and computer storage medium
CN113259704A (en)*2021-05-192021-08-13杭州米络星科技(集团)有限公司Method, device and equipment for initializing live broadcast room and storage medium
CN113259704B (en)*2021-05-192023-06-09杭州米络星科技(集团)有限公司Live broadcast room initialization method, device, equipment and storage medium

Also Published As

Publication numberPublication date
CN110213628B (en)2022-02-18

Similar Documents

PublicationPublication DateTitle
CN104967607B (en)A kind of information processing method, terminal and server
US20020049846A1 (en)System and method for improved utilization of bandwidth in a computer system serving multiple users
CN109348237A (en)A kind of direct broadcasting room management method, device, server and storage medium
CN109819285A (en)A kind of live broadcasting method, device, electronic equipment and storage medium
CN109451326A (en)A kind of methods of exhibiting, device, server and the storage medium of main broadcaster&#39;s information
CN104168303A (en)Method and device for displaying network studio
CN110213628A (en)Direct broadcasting room distribution method and server
CN108428144A (en)Flow allocation method, service distribution method and the device of pushed information order
CN104394126A (en)Information recommendation method, server, client side and system
CN108762880B (en) Method and device for determining display position of recommended content
CN111163076B (en)Live broadcast message pushing method and related equipment for network live broadcast
CN107124660B (en)Method and device for triggering broadcast information of live broadcast room
CN106331783B (en)A kind of resource allocation methods, device and intelligent television system
CN117478822A (en)Video conference resource scheduling method, device, equipment and storage medium
CN111144949A (en)Reward data issuing method and device, computer equipment and storage medium
CN113286158A (en)Electronic resource distribution method and device and electronic equipment
CN111275473B (en)Content item delivery method, device, server and storage medium
CN102833592A (en)Media content scheduling method, system and device
CN103237236B (en)A kind of information processing method, BOSS system and information processing system
CN109948082A (en)Live information processing method and processing device, electronic equipment, storage medium
CN114372813B (en)Information popularization method and device, server and storage medium
CN108062691A (en)Resource allocation methods, device, server and storage medium
CN104618743A (en)Method, device and system for allocating code rate resource
CN103763629A (en)Hotel service video system
CN115705380A (en)Live broadcast room heat processing method and device and server

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp